For example, the following is a sample Apache HTTP Server 1.3 directive:
ErrorDocument 404 "The document was not found
To migrate an
ErrorDocument
setting to Apache HTTP Server 2.0, use the following structure:
ErrorDocument 404 "The document was not found"
Note the trailing double quote in the previous
ErrorDocument
directive example.
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#errordocument
2.3. Virtual Host Configuration
The contents of all
<VirtualHost>
containers should be migrated in the same way as the main
server section as described in
Section 2.2, “Main Server Configuration”
.
Important
Note that SSL/TLS virtual host configuration has been moved out of the main
server configuration file and into
/etc/httpd/conf.d/ssl.conf
.
For more on this topic, refer to the chapter titled Apache HTTP Secure Server Configuration in
the Red Hat Enterprise Linux System Administration Guide and the documentation online at the
following URL:
•
http://httpd.apache.org/docs-2.0/vhosts/
2.4. Modules and Apache HTTP Server 2.0
In Apache HTTP Server 2.0, the module system has been changed to allow modules to be
chained together or combined in new and interesting ways. Common Gateway Interface (CGI)
scripts, for example, can generate server-parsed HTML documents which can then be
processed by
mod_include
. This opens up a tremendous number of possibilities with regards to
how modules can be combined to achieve a specific goal.
The way this works is that each request is served by exactly one handler module followed by
zero or more filter modules.
Virtual Host Configuration
155
Summary of Contents for ENTERPRISE LINUX 4.5.0 -
Page 1: ...Red Hat Enterprise Linux 4 5 0 4 5 0 Reference Guide ISBN N A Publication date ...
Page 2: ...Red Hat Enterprise Linux 4 5 0 ...
Page 4: ...Red Hat Enterprise Linux 4 5 0 ...
Page 24: ...xxiv ...
Page 26: ......
Page 36: ...12 ...
Page 72: ...48 ...
Page 112: ...88 ...
Page 122: ...98 ...
Page 140: ...116 ...
Page 142: ......
Page 300: ...276 ...
Page 318: ...294 ...
Page 320: ......
Page 332: ...308 ...
Page 350: ...326 ...
Page 378: ...354 ...
Page 388: ...364 ...
Page 394: ...370 ...
Page 395: ...Part IV Appendixes ...
Page 396: ......