Main Server Configuration - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

preceding the one corresponding to
ResourceConfig
values, include them explicitly as

2.2. Main Server Configuration

The main server configuration section of the configuration file sets up the main server, which
responds to any requests that are not handled by a virtual host defined within a
container. Values here also provide defaults for any
The directives used in this section have changed little between Apache HTTP Server 1.3 and
version 2.0. If the main server configuration is heavily customized, it may be easier to modify the
existing configuration file to suit Apache HTTP Server 2.0. Users with only lightly customized
main server sections should migrate their changes into the default 2.0 configuration.
2.2.1.
Mapping
UserDir
The
directive is used to enable URLs such as
UserDir
a subdirectory within the home directory of the user
side-effect of this feature allows a potential attacker to determine whether a given username is
present on the system. For this reason, the default configuration for Apache HTTP Server 2.0
disables this directive.
To enable
mapping, change the directive in
UserDir
UserDir disable
to the following:
UserDir public_html
For more on this topic, refer to the following documentation on the Apache Software
Foundation's website:
http://httpd.apache.org/docs-2.0/mod/mod_userdir.html#userdir
2.2.2. Logging
The following logging directives have been removed:
AgentLog
RefererLog
RefererIgnore
AccessConfig
and
conf/srm.conf
conf/access.conf
<VirtualHost>
http://example.com/~bob/
, such as
bob
httpd.conf
Main Server Configuration
. If using the default
files.
<VirtualHost>
containers defined.
to map to
/home/bob/public_html/
from:
. A
153

Advertisement

Table of Contents
loading

Table of Contents