httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Barry <ma...@supine.com>
Subject Re: [users@httpd] Virtual hosts
Date Wed, 30 Nov 2011 20:34:15 GMT
$quoted_author = "Stormy" ;
> 
> I just rem'd out all the "NameVirtualHost 192.168.0.90:80" and now
> the warning has changed to:
>
> paul@nelson:/etc/apache2/sites-available$ sudo /etc/init.d/apache2 restart
>  * Restarting web server apache2
> [Wed Nov 30 15:02:51 2011] [warn] VirtualHost 192.168.0.90:80
> overlaps with VirtualHost 192.168.0.90:80, the first has precedence,
> perhaps you need a NameVirtualHost directive

You do need to specify NameVirtualHost once per IP or IP:PORT or *:PORT
combination, but only once. People tend to put that in the main config file.

cheers
Marty

---------------------------------------------------------------------
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