182
Chapter 14. Apache HTTP Server
14.2.2.2. Logging
The following logging directives have been removed:
AgentLog
RefererLog
RefererIgnore
However, agent and referrer logs are still available using the
CustomLog
and
LogFormat
directives.
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_log_config.html#customlog
http://httpd.apache.org/docs 2.0/mod/mod_log_config.html#logformat
14.2.2.3. Directory Indexing
The deprecated
FancyIndexing
directive has now been removed. The same functionality is available
through the
FancyIndexing
option within the
IndexOptions
directive.
The new
VersionSort
option to the
IndexOptions
directive causes files containing version
numbers to be sorted in the natural way, so that
httpd 2.0.6.tar
would appear before
httpd 2.0.36.tar
in a directory index page.
The defaults for the
ReadmeName
and
HeaderName
directives have changed from
README
and
HEADER
to
README.html
and
HEADER.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_autoindex.html#indexoptions
http://httpd.apache.org/docs 2.0/mod/mod_autoindex.html#readmename
http://httpd.apache.org/docs 2.0/mod/mod_autoindex.html#headername
14.2.2.4. Content Negotiation
The
CacheNegotiatedDocs
directive now takes the argument
on
or
off
. Existing instances of
CacheNegotiatedDocs
should be replaced with
CacheNegotiatedDocs 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/mod_negotiation.html#cachenegotiateddocs
14.2.2.5. Error Documents
To use a hard coded message with the
ErrorDocument
directive, the message should be enclosed in
a pair of double quotes, rather than just preceded by a double quote as required in Apache 1.3.
To migrate an
ErrorDocument
setting to Apache HTTP Server 2.0, use the following structure:
ErrorDocument 404 "The document was not found"
Note that there is a trailing double quote in the example
ErrorDocument
directive above.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved