On Sat, 2002-12-14 at 21:40, Rick Johnson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Bret Hughes wrote:
> 
> | probably would not hurt to replace some.domain.here in the servernae
> | directive too.  This will fix directory accesses to dirs not ending in /
> | I belive.
> |
> 
> The problem w/ using a hostname is that Apache must resolve that name
> each time the config is loaded. With hundreds of domains in one config
> (if you're virtual hosting many sites), could take Apache quite a while
> to restart. We had machines at XO which had several hundred virtual
> hosts and they'd take minutes to restart Apache if we used hostnames in
> the config w/o including the hosts in /etc/hosts (not to mention the DNS
> traffic).
> 

Makes perfect sense to me.  Since you obvoously know more than I do
about this I will defer to your experience.  I did not mean to imply
that the hosts entry should not be made but that the ServerName should
be set.  I thought that was different than the ipaddress in the
<VirtualHost ipaddress> tag itself.  Are you saying that setting
ServerName at all causes the slow down?

Bret



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to