The Apache server settings file is located in the/usr/local/apache/conf/directory and traditionally uses three profiles httpd.conf, access.conf, and srm.conf to configure the Apache server's behavior. HTTPD.CONF provides the most basic server configuration, 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 the files; ACCESS.CONF is used to configure access rights for the server, to control access restrictions for different users and computers, and these three profiles control all aspects of the server, so the three files need to be set up to run the server properly.
In addition to these three settings files, Apache uses the Mime.types file to identify the MIME types for different files, and magic files to set some special identities for different MIME type files so that the Apache server cannot determine the MIME type of the file from the document suffix. The MIME type of the document can be judged by these special tags in the contents of the file. [Iaspec@www conf]$ pwd/usr/local/apache/conf [iaspec@www conf]$ ls access.conf httpd.conf.OLD magic.default srm.conf acc Ess.conf.default Httpd.conf.SAVE mime.types Srm.conf.default httpd.conf Magic
The new version of Apache puts all of the configuration parameters in the original httpd.conf, srm.conf, and access.conf in one profile httpd.conf, only for reasons compatible with previous versions ( Use these three settings files in a way that originates from ncsa-httpd to use three profiles. There are no specific settings in the access.conf and srm.conf files provided.
Because in the new version of Apache, all of the settings are placed in the httpd.conf, so you just need to adjust the settings in this file. This article, based on the httpd.conf of Redhat 7.2, explains the various setup options for the Apache server and, of course, its configuration method can be extended to almost all UNIX systems.
Although Apache provides a lot of settings, basically these parameters are very clear, or you can run the Apache server without modification. However, if you need to adjust the performance of the Apache server and increase support for an attribute, you need to understand what these settings parameters mean.