Apache Server Configuration Full guide
Recommendation: Bamboo Published: January 9, 2001 hits: 1949
The Apache server settings file is located in the/usr/local/apache/conf/directory, traditionally using three profiles httpd.conf,access.conf and srm.conf to configure Apache server behavior.
HTTPD.CONF provides the most basic server configuration, is a technical description of how the daemon httpd run, srm.conf is the server's resource mapping file, tells the server the MIME type of various files, and how to support these files, access.conf to configure the server access rights, control the different Users and computers, these three profiles control the characteristics of the various aspects of the server, so you need to set up these three files in order to run the server properly.
In addition to these three settings files, Apache uses the Mime.types file to identify different files
The corresponding MIME type, the Magic file sets a number of different MIME-type files of the special identity, so that the Apache server from the document suffix can not determine the file's MIME type, the file content through these special tags to determine the document's MIME type.
bash-2.02$ ls-l/usr/local/apache/conf
Total 100
-rw-r--r--1 root wheel 348 APR 16:01 access.conf
-rw-r--r--1 root wheel 348 Feb 13:33 Access.conf.default
-rw-r--r--1 root wheel 30331 may 08:55 httpd.conf
-rw-r--r--1 root wheel 29953 Feb 13:33 httpd.conf.default
-rw-r--r--1 root wheel 12441 Apr 15:42 Magic
-rw-r--r--1 root wheel 12441 Feb 13:33 magic.default
-rw-r--r--1 root wheel 7334 Feb 13:33 mime.types
-rw-r--r--1 root Wheel 383 may 17:01 srm.conf
-rw-r--r--1 root Wheel 357 Feb 13:33 Srm.conf.default
In fact, the current version of Apache will be the original httpd.conf, All configuration parameters in srm.conf and access.conf are placed in a profile httpd.conf, only for reasons that are compatible with previous versions (from NCSA-HTTPD using these three settings files), three configuration files are used. There are no specific settings in the access.conf and srm.conf files provided.
Because in the new version of Apache, all the settings are placed in the httpd.conf, so only the settings in this file need to be adjusted. The following uses the default provided httpd.conf as an example to explain the Apache service
Settings options for the service. However, it is not necessary to worry because it provides too many parameters to set, basically these
Parameters are clear, or you can run the Apache server without modification. But if you need to adjust Apache services
http://www.bkjia.com/PHPjc/629529.html www.bkjia.com true http://www.bkjia.com/PHPjc/629529.html techarticle Apache Server configuration All recommended: Bamboo Published: January 9, 2001 read: 1949 Apache server settings file is located in the/usr/local/apache/conf/directory, traditionally used three ...