LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NameVirtualHost IP# has no VirtualHosts? (https://www.linuxquestions.org/questions/linux-networking-3/namevirtualhost-ip-has-no-virtualhosts-46820/)

DigiCrime 02-23-2003 05:40 PM

NameVirtualHost IP# has no VirtualHosts?
 
What exactly does this mean NameVirtualHost has no VirtualHosts ??

root [~]# /usr/local/apache/bin/httpd
[Sun Feb 23 18:37:19 2003] [warn] NameVirtualHost 66.246.52.2:80 has no VirtualHosts
[Sun Feb 23 18:37:19 2003] [warn] NameVirtualHost 66.246.52.2:80 has no VirtualHosts
[Sun Feb 23 18:37:19 2003] [warn] NameVirtualHost 66.246.52.2:80 has no VirtualHosts
[Sun Feb 23 18:37:19 2003] [warn] NameVirtualHost 66.246.52.2:80 has no VirtualHosts
[Sun Feb 23 18:37:19 2003] [warn] NameVirtualHost 66.246.52.2:80 has no VirtualHosts
[Sun Feb 23 18:37:19 2003] [warn] NameVirtualHost 66.246.52.9:80 has no VirtualHosts

Crashed_Again 02-23-2003 09:20 PM

Looks like there is no entry in you httpd.conf file that deals with that IP address.

Xit 10-11-2004 12:24 AM

I think I found it...
 
Looks like excessive 'NameVirtualHost *' entries will generate it.

Debian's Sarge has it in the top of it's "default" vhost container (/etc/apache2/sites-available/default). I ended up using the default file as a template for my 60+ hosted domains... (I coudn't figure out why I only got exactly 10 errors less then v-hosted domains.)

IMHO the statement (NamedVirtualHost *) should probably be put into a file outside of the ../sites-available directory.


All times are GMT -5. The time now is 02:52 AM.