You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Steffen Heil <li...@steffen-heil.de> on 2004/03/26 20:35:43 UTC

RE: [users@httpd] Problems with virtualhost's withApache2.0......

Hi

> I have tried that and it doesn't work either.

> NameVirtualHost *
>
> <VirtualHost *>
> DocumentRoot /var/www/html
> ServerName www.domain1.com
> </VirtualHost>
>
> <VirtualHost *>
> DocumentRoot /var/www/domain2
> ServerName www.domain2.com
> </VirtualHost>
 
For me this works, except, that I have ServerName first and DocumentRoot
last.
I use Apache 2.0.48 on debian sarge.

> Anything else you can think of?

No, sorry.

Regards,

Steffen


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