Joshua Slive wrote on 23.03.2005: >On Wed, 23 Mar 2005 18:03:22 +0100, Jan Eden <lists@xxxxxxxxxxx> >wrote: >>Hi, >> >>I have this >> >>NameVirtualHost 127.0.0.1 >> >><VirtualHost 127.0.0.1> ServerName someservername </VirtualHost> >> >>but get a warning: >> >>[Wed Mar 23 18:02:31 2005] [warn] NameVirtualHost 127.0.0.1:0 has no >>VirtualHosts >> >>Why is that? The VirtualHost and the NameVirtualHost are in sync - >>this should be correct. > >Try tagging :80 onto the end of both. > Hi Joshua, thanks, I had already tried that (sorry for not mentioning it), with the same result: [Thu Mar 24 09:01:08 2005] [warn] NameVirtualHost 127.0.0.1:80 has no VirtualHosts Using * for both directives removes the warning, but I'd rather use a specific IP on the production system. In case it makes a difference: The VirtualHost directives only contain different server names - the CGI script behind the scenes decides which content to deliver based on the hostname. I use Apache 2.0.53. Thanks again for your help, Jan -- The day Microsoft makes something that doesn't suck is the day they start selling vacuum cleaners. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx