Classnotes | UNIX02 | RecentChanges | Preferences Showing revision 1 Apache's configuration file format contains markup similar to HTML or XML. This makes this file fairly easy to visualize and understand.
On Red Hat (and many other UNIX systems) Apache's configuration files are installed in /etc/httpd/conf. However, when built from source, Apache's configuration files have traditionally defaulted to /var/apache/conf. The move to /etc/httpd is a logical one, as most system configuration files go there, but you should be aware of the variants.
The basic configuration unit of the Apache config file is known as a Directive. There is allowed one Directive per line. Groups of Directives are broken up into Modules.
Taking a look at an example module from /etc/httpd/conf/httpd.conf: