THE VIRTUAL SERVER HANDBOOK
Please refer to the modules section in this chapter for more information on
Apache modules.
Hostname Lookups
The Apache web server by default is configured to keep a log of the clients
that access resources on your web site (this can be turned off). The log
includes the hostname (i.e. some.remote.host) or just the IP address (i.e.
32.64.128.16). Set the value to "off" to improve your server performance.
Additional latency is introduced into the server response process when the
web server is required to perform a hostname "lookup." Sites with even
moderate loads should leave this directive off, since hostname lookups can
take considerable amounts of time.
Note: Use a log analysis tools such as WebTrends to look up
hostnames for IP addresses offline.
The following is an example:
HostnameLookups off
For more information, see:
http://www.apache.org/docs/mod/core.html#hostnamelookups
DNSMode
The
DNSMode
directive is equivalent to the
HostNameLookups
directive. Use one or the other. Directive values include:
None
Minimum
Normal
maximum.
Historically, the default was normal. You should set the value to minimum
to improve server performance. This directive is inherited from NCSA
httpd.
The following is an example:
DNSMode minimum
For more information, see:
http://hoohoo.ncsa.uiuc.edu/docs/setup/httpd/DNSMode.html
ServerAdmin
The
ServerAdmin
directive assigns the e mail address the server includes
in error messages that it returns to the client.
The following is an example:
ServerAdmin webmaster@yourdomain.com
For more information, see:
http://www.apache.org/docs/mod/core.html#serveradmin
COPYRIGHT
1999 DIGITAL TOOLS LLC.
92