httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Speekenbrink <d.g.speekenbr...@student.utwente.nl>
Subject Re: [users@httpd] Virtual Host document root problem
Date Fri, 18 Apr 2003 21:27:13 GMT
Hi,

Do you have:

NameVirtualHost *

In your httpd.conf file just above the VirtualHost definitions?
And do your requests go to your global DocumentRoot, or to the first 
VirtualHost-DocumentRoot (which automatically acts as the default...)?

Grtz,
Dennis

># Default server
><VirtualHost *>
>     ServerAdmin me@mydomain.net
>     DocumentRoot /var/www/html
>     ServerName www.mydomain.net
></VirtualHost>
>
># 2nd server
><VirtualHost *>
>     ServerAdmin me@mydomain.net
>     DocumentRoot /var/www/html/2ndServerDir
>     Servername www.my2nd-domain.net
></VirtualHost>



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