Apache Configuration Files

 < Day Day Up > 



Configuration directives are placed in the httpd.conf configuration file. A documented version of the httpd.conf configuration file is installed automatically in /etc/httpd. It is strongly recommended that you consult this file on your system. It contains detailed documentation and default entries for Apache directives.

Any of the directives in the main configuration files can be overridden on a per- directory basis using an .htaccess file located within a directory. Although originally designed only for access directives, the .htaccess file can also hold any resource directives, enabling you to tailor how Web pages are displayed in a particular directory. You can configure access to .htaccess files in the httpd.conf file.

Note 

With Apache version 1.3.4 and 2.0, all configuration directives are placed in one file, the httpd.conf file. Older versions used two other files, the srm.conf and access.conf files.



 < Day Day Up > 



Red Hat(c) The Complete Reference
Red Hat Enterprise Linux & Fedora Edition (DVD): The Complete Reference
ISBN: 0072230754
EAN: 2147483647
Year: 2004
Pages: 328

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net