Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual page 367

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

To enable name-based virtual hosting, uncomment the NameVirtualHost configuration directive
and add the correct IP address. Then add additional VirtualHost containers for each virtual host as
is necessary for your configuration.
Options
The Options directive controls which server features are available in a particular directory. For
example, under the restrictive parameters specified for the root directory, Options is only set to
the FollowSymLinks directive. No features are enabled, except that the server is allowed to follow
symbolic links in the root directory.
By default, in the DocumentRoot directory, Options is set to include Indexes and
FollowSymLinks. Indexes permits the server to generate a directory listing for a directory if no
DirectoryIndex (for example, index.html) is specified. FollowSymLinks allows the server to
follow symbolic links in that directory.
Note
Options statements from the main server configuration section need to be replicated to
each VirtualHost container individually. Refer to
Order
The Order directive controls the order in which allow and deny directives are evaluated. The server
is configured to evaluate the Allow directives before the Deny directives for the DocumentRoot
directory.
PidFile
PidFile names the file where the server records its process ID (PID). By default the PID is listed in /
var/run/httpd.pid.
Proxy
<Proxy *> and </Proxy> tags create a container which encloses a group of configuration directives
meant to apply only to the proxy server. Many directives which are allowed within a <Directory>
container may also be used within <Proxy> container.
ProxyRequests
To configure the Apache HTTP Server to function as a proxy server, remove the hash mark (#) from
the beginning of the <IfModule mod_proxy.c> line, the ProxyRequests, and each line in the
<Proxy> stanza. Set the ProxyRequests directive to On, and set which domains are allowed access
to the server in the Allow from directive of the <Proxy> stanza.
ReadmeName
ReadmeName names the file which, if it exists in the directory, is appended to the end of server
generated directory listings. The Web server first tries to include the file as an HTML document and
then tries to include it as plain text. By default, ReadmeName is set to README.html.
General Configuration Tips
VirtualHost
for more information.
341

Advertisement

Table of Contents
loading

Table of Contents