httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Troubleshooting namebased virtual websites
Date Tue, 13 Jul 2010 18:52:13 GMT
On Tue, Jul 13, 2010 at 2:43 PM, John Hudak <jjhudak@gmail.com> wrote:
> results of apache2ctl -S are:

You have
>
> apache2: Could not reliably determine the server's fully qualified domain
> name, using ubuntuserver.homeunix.com for ServerName
> [Tue Jul 13 14:26:22 2010] [warn] VirtualHost 2150sunshine.homeip.net:0
> overlaps with VirtualHost ubuntuserver.homeunix.com:0, the first has
> precedence, perhaps you need a NameVirtualHost directive

Your NameVirtualHost arguments doesn't exactly match your VirtualHost arguments

> [Tue Jul 13 14:26:22 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
> [Tue Jul 13 14:26:22 2010] [warn] NameVirtualHost *:80 has no VirtualHosts

This is the other side of "Your NameVirtualHost arguments doesn't
exactly match your VirtualHost arguments".


> VirtualHost configuration:
> 192.168.0.110:*        homeip.net
> (/etc/apache2/sites-enabled/2150sunshine.homeip.net:1)
> 127.0.0.1:*            homeunix.com
> (/etc/apache2/sites-enabled/ubuntuserver.homeunix.com:1)
> 24.3.xxx.xxx:*         homeunix.com
> (/etc/apache2/sites-enabled/homecontrol.homeunix.com:1)
>

You don't need to explicitly list IP's in VirtualHost unless you
really want Apache to care about the interface the request comes in
on.

Simple fixes:
*  Remove all but 1 NameVirtualHost *:80
*  change each <VirtualHost> to have an argument of *:80

-- 
Eric Covener
covener@gmail.com

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