Configuration Directives In; Httpd.conf - Red Hat ENTERPRISE LINUX 3 Reference Manual

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

138
the Services Configuration Tool program. Refer to the chapter titled Controlling Access to Services
in Red Hat Enterprise Linux System Administration Guide for more information regarding these tools.
Note
If running the Apache HTTP Server as a secure server, the secure server's password is required after
the machine boots when using an encrypted private SSL key.
For information about setting up an Apache HTTP Secure Server refer to the chapter titled Apache
HTTP Secure Server Configuration in the Red Hat Enterprise Linux System Administration Guide.
10.5. Configuration Directives in
The Apache HTTP Server configuration file is
file is well-commented and mostly self-explanatory. The default configuration works for most situa-
tions; however, it is a good idea to become familiar some of the more important configuration options.
Warning
With the release of Apache HTTP Server 2.0, many configuration options have changed. If migrating
a version 1.3 configuration file to the 2.0 format, refer to Section 10.2 Migrating Apache HTTP Server
1.3 Configuration Files.
10.5.1. General Configuration Tips
If configuring the Apache HTTP Server, edit
reload, restart, or stop and start the
.
httpd
Before editing

httpd.conf

recover from mistakes made while editing the configuration file.
If a mistake is made and the Web server does not work correctly, first review recently edited passages
in
to verify there are no typos.
httpd.conf
Next look in the Web server's error log,
easy to interpret, depending on your level of expertise. However, the last entries in the error log should
provide useful information.
The following subsections contain a list of short descriptions for many of the directives included
in
. These descriptions are not exhaustive. For more information, refer to the Apache
httpd.conf
documentation online at http://httpd.apache.org/docs-2.0/.
For more information about
http://httpd.apache.org/docs-2.0/mod/mod_ssl.html.
10.5.2.
ServerRoot
The
directive specifies the top-level directory containing website content. By default,
ServerRoot
is set to
ServerRoot
httpd
, make a copy the original file. Creating a backup makes it easier to
/var/log/httpd/error_log
mod_ssl
for both secure and non-secure servers.
"/etc/httpd"
httpd.conf
/etc/httpd/conf/httpd.conf
/etc/httpd/conf/httpd.conf
process as outlined in Section 10.4 Starting and Stopping
directives, refer to the documentation online at
Chapter 10. Apache HTTP Server
. The
and then either
. The error log may not be
httpd.conf

Advertisement

Table of Contents
loading

Table of Contents