httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Bligh <>
Subject Re: [users@httpd] Should name based virtual hosts work when the ServerName is an IP address?
Date Thu, 31 May 2012 10:47:24 GMT

--On 31 May 2012 08:34:42 +0100 Alex Bligh <> wrote:

> To recap the problem is that accessing returns the
> default site (the first one), not the specific site (the third).
> Suppose I change the line marked '*** THIS LINE ***" so it reads
>  <VirtualHost *:80>  # <--- *** THIS LINE ***
> Will that interfere in any way with the IP based virtual host which is
> the fourth above? I have no other name based virtual hosts and even if
> I did, I wouldn't mind this being the global default. And will it fix
> the issue that is not connecting to the third
> virtual host block above?

This fails because <VirtualHost *:80> does not appear to set
a default when you also have a <VirtualHost>. The
latter always becomes the default.

Alex Bligh

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message