> > [Snip-http.conf]
> > # Virtual hosts
> > Include etc/httpd/httpd-vhosts.conf
> > 
> > [Snip-http-Vhost.conf]
> > NameVirtualHost *:80
> > 
> > <VirtualHost *:80>
> > ServerAdmin webmas...@caloro.ch
> > [...]
> > </VirtualHost>
> > 
> > <VirtualHost *:80>
> > ServerAdmin webmas...@homeshine.ch
> > [...]
> > </VirtualHost>
> 
> You don't want 2 default virtualhost.
> Change the second one to
> <VirtualHost homeshine.ch:80>

I have to disagree. "VirtualHost" only defines which listen address a
virtual host applied to. And "*" means all of them which is definitely
correct here.

I'm using "VirtualHost *:80" respectively "VirtualHost *:443" for all
virtual hosts with Apache 2.4 without problems. The same configuration
worked fine when I was still using Apache 2.2.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/

Reply via email to