[CentOS] excessive DNS slows httpd

Tue Aug 4 00:33:38 UTC 2009
Mike -- EMAIL IGNORED <m_d_berger_1900 at yahoo.com>

On Mon, 03 Aug 2009 20:11:09 -0400, Brian Mathis wrote:

> What did you revise in your httpd.conf file?  My guess is that you
> enabled DNS lookups for the connecting clients.
> 

HostnameLookups Off

The changes were largely the removal of a lot of common
code for <Directory>s and <VirtualHost>s to other files
and the addition of Includes.  I then tightened up some
<RewriteRule>s and <RewriteCond>s, and added some
<IfDefine> so I don't have to edit the file as often.
And I added SSL for one virtual host, and bought a
certificate.

Remember -- the httpd configuration and the web data
itself are exactly the same on both boxes, except
for the IP addresses.

Mike.