On Sat, 2002-12-14 at 11:53, Rick Johnson wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Søren Neigaard wrote: > | I keep getting this error message when I start Apache: > | > | [Sat Dec 14 13:34:43 2002] [error] (22002)Name or service not known: > Failed to resolve server name for 192.168.1.5 (check DNS) -- or specify > an explicit ServerName > | > | But everything seems to work fine. What's the problem here, the IP > | "192.168.1.5" is the machines IP, why can't Apache see this? > | > | I have some virtual host set up like this (could that be the problem): > | > | --------------- > | NameVirtualHost 192.168.1.5 > | > | <VirtualHost 192.168.1.5> > | DocumentRoot /home/www/html > | </VirtualHost> > | > | <VirtualHost 192.168.1.5> > | ServerName some.domain.here > | DocumentRoot /home/www/html/something > | </VirtualHost> > | --------------- > > Easy fix - put an entry for 192.168.1.5 in your /etc/hosts file. >
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. Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list