Apache Configuration detailed diagram

Source: Internet
Author: User
Tags aliases mime file

Directory

    • Apache Configuration Detailed diagram
      • 1.01 ServerRoot Configuration
      • 1.02? Mutex Default:logs
      • 1.03? Listen Configuration
      • 1.04 Dynamic Shared Object (DSO) support
      • 1.05 Apache Run User Configuration
      • 1.06 Apache Service Default Administrator address setting
      • 1.07 Apache's default service name and port settings
      • 1.08 Apache access control settings for root directory
      • 1.09 Apache Default Web site root settings and access control
      • 1.10 Apache's default home page settings
      • 1.11 Apache about. HT File Access Configuration
      • 1.12 Apache about log file configuration
      • 1.13 URL redirection, CGI module configuration instructions
      • 1.14 MIME media files, and related HTTP file resolution configuration instructions
      • 1.15 Server Page prompt settings
      • 1.16 Apache Server Supplemental settings
      • 1.17 Apache Server Secure connection settings
Apache configuration detailed with figure 1.01 serverroot configuration

"ServerRoot" is used primarily to specify the installation path for Apache, which will automatically write Apache's path when Apache is installed. When Windows is installed, the value of this option is the path to the Windows installation, and the option value is the path selected at compile time for Linux installation "

1.02? Mutex Default:logs

Mutex: Allows you to set the mutex "mutex mechanism" and the mutex file directory for several different mutex objects, or to modify the global default value

Uncomment and change the directory if the mutex is file-based and the default mutex file directory is not on the local disk or is not applicable for other reasons.

"The following command is a directory that changes the mutex object"

1.03? Listen Configuration

"Listen mainly listens to the Web service port State, the default is: 80, that is, listening to all the addresses of the 80 port, note that this can also be written as the IP address of the listening form, not write the default address: 0.0.0.0"

1.04 Dynamic Shared Object (DSO) support

"Mainly used to add Apache dynamic modules, such as the PHP support module. REDIRECT module, authentication module support, note If you need to add some module support, only the relevant module before the comment symbol cancellation. , to add a function module to Apache, remove the previous comment symbol on the line "

1.05 Apache Run User Configuration

"This option is used primarily for running users and user groups that specify Apache services, by default: Daemon,"

1.06 Apache Service Default Administrator address setting

"This option mainly uses the specified Apache service administrator to notify the mailbox address, select the default value, if you have a real mailbox address can also set this value"

1.07 Apache's default service name and port settings

"This option is mainly used to specify the Apache default server name and port, and the default parameter value is set to: ServerName localhost:80"

1.08 Apache access control settings for root directory

"This option is primarily for user control of all access rights under the root directory, and the default Apache access to the root directory is access denied." We'll go back to "

1.09 Apache Default Web site root settings and access control

"The configuration file for this zone, primarily for the Apache Default Web site root settings and related access settings, default to the root directory of the Web site has access, this option is the default value"

1.10 Apache's default home page settings

"This zone file mainly sets the Apache default supported home page, the default is only supported: Index.html home, if you want to support other types of home, you need to add in this area: such as index.php support index.php type Home"

1.11 Apache about. HT File Access Configuration

"This option is primarily for. HT file access control, which by default has access, this zone file defaults to "

1.12 Apache about log file configuration

"This zone file is mainly for Apache default log level, default access log path, default error log path and other related settings, this option content default"

1.13 URL redirection, CGI module configuration instructions

"This zone file mainly contains some related settings such as URL redirection, aliases, script aliases, and some specific handlers, such as CGI setup instructions. Later will continue to say "

1.14 MIME media files, and related HTTP file resolution configuration instructions

"This zone file mainly contains some MIME file support, as well as adding some directives to establish a mapping relationship between a given file extension and a specific content type, such as adding a mapping to a php file extension." 】

1.15 Server Page prompt settings

"This area can be customized for access error response hints, supported in three ways: 1 plaintext, 2 local redirect 3, external redirection; also includes memory maps or" Send file system calls "can be used to distribute files and other configurations"

1.16 Apache Server Supplemental settings

"This area mainly includes: Server pool management, multi-lingual error messages, dynamic directory list form configuration, language settings, user home directories, real-time information on requests and configurations, virtual hosting, Apache Http Server manuals, Distributed Authoring and versioning, multi-type default settings, Mod_ Proxy_html, which complements the supplemental configuration of HTML4/XHTML1, etc. "

1.17 Apache Server Secure connection settings

"This area is primarily about server-safe connection settings, where you use HTTPS to connect to servers, and so on."

Original Address https://www.cnblogs.com/hh1137054072/p/7612652.html

Apache Configuration detailed diagram

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.