httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Eden <li...@janeden.org>
Subject Re: [users@httpd] NameVirtualHost warning
Date Tue, 22 Feb 2005 19:00:49 GMT
Hi,

replying to my own post:

When I exchange 127.0.0.1 for * in my VirtualHosts section, the warning vanishes. My ServerName
is 127.0.0.1, too.

Now I am even more confused - why is 127.0.0.1 throwing a warning in the configuration described
below?

Thanks,

Jan

Jan Eden wrote on 22.02.2005:

>Hi,
>
>my httpd.conf contains the following:
>
>NameVirtualHost 127.0.0.1
>
><VirtualHost 127.0.0.1>
>    ServerName localhost    
>    DocumentRoot /usr/local/apache2/htdocs
></VirtualHost>
>
><VirtualHost 127.0.0.1>
>    ServerName janlocal
></VirtualHost>
>
><VirtualHost 127.0.0.1>
>    ServerName janedit
></VirtualHost>
>
>and several other VirtualHosts for 127.0.0.1. Now when I start/restart Apache, I 
>get the warning:
>
>[Tue Feb 22 16:56:04 2005] [warn] NameVirtualHost 127.0.0.1:0 has no 
>VirtualHosts
>
>Why is that? Why does the warning refer to port 0? What is wrong with my setup?
>
>Thanks,
>
>Jan
-- 
Remember: use logout to logout.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message