Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual page 338

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

Advertisement

Chapter 22. Apache HTTP Server
document which is handled by a module that is now implemented as a filter, as each contains trailing
path information after the true file name. The core module, which initially handles the request, does
not by default understand PATH_INFO and returns 404 Not Found errors for requests that contain
such information. As an alternative, use the AcceptPathInfo directive to coerce the core module
into accepting requests with PATH_INFO.
The following is an example of this directive:
AcceptPathInfo on
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/core.html#acceptpathinfo
http://httpd.apache.org/docs-2.0/handler.html
http://httpd.apache.org/docs-2.0/filter.html
22.2.2.4.1. The suexec Module
In Apache HTTP Server 2.0, the mod_suexec module uses the SuexecUserGroup directive, rather
than the User and Group directives, which is used for configuring virtual hosts. The User and Group
directives can still be used in general, but are deprecated for configuring virtual hosts.
For example, the following is a sample Apache HTTP Server 1.3 directive:
<VirtualHost vhost.example.com:80> User someone Group somegroup </VirtualHost>
To migrate this setting to Apache HTTP Server 2.0, use the following structure:
<VirtualHost vhost.example.com:80> SuexecUserGroup someone somegroup </VirtualHost>
22.2.2.4.2. The mod_ssl Module
The configuration for mod_ssl has been moved from the httpd.conf file into the /etc/httpd/
conf.d/ssl.conf file. For this file to be loaded, and for mod_ssl to work, the statement Include
conf.d/*.conf must be in the httpd.conf file as described in
Shared Object (DSO)
Support".
ServerName directives in SSL virtual hosts must explicitly specify the port number.
For example, the following is a sample Apache HTTP Server 1.3 directive:
<VirtualHost _default_:443> # General setup for the virtual host ServerName
ssl.example.name ... </VirtualHost>
To migrate this setting to Apache HTTP Server 2.0, use the following structure:
312
Section 22.2.2.1.3, "Dynamic

Advertisement

Table of Contents
loading

Table of Contents