apache virtual host configuration...
Hi,
The syntax for virtual hosts configuration seems to have changed...
Until now I used the following syntax:
(taken from the configuration files in /etc/apache2/sites-enabled/)
<VirtualHost *:80>
...
</VirtualHost>
<VirtualHost *>
ServerName foo.bar
...
</VirtualHost>
...which seems to not work anymore.
I could make the virtual host foo.bar work again by
changing the second configuration to
<VirtualHost foo.bar>
ServerName foo.bar
...
</VirtualHost>
but now even http://localhost/ is directed to the default
page of the virtual host foo.bar...
How do I have to change the apache configuration files
to make things work again?
Thanks, Dietrich
Reply to: