Using Apache Configuration Directives

An Apache directive is a command in one of Apache's configuration files. Apache's primary configuration file is httpd.conf , located in the /etc/httpd/conf directory.

Using the directives in Apache's configuration files, you can control the behavior of the Apache Web server.

Although you can use the Linux Configuration applet to control basic Apache configuration, most Apache administrators are used to working with directives and httpd.conf rather than a visual administration tool. Fortunately, the file is well commented, so it is pretty easy to understand what each section is supposed to do.

A hash mark (#) at the beginning of a line in the configuration file indicates a comment. Directives that are commented ...

Get Red Hat Linux 6: Visual QuickPro Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.