httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Sheffer <jimshef...@blueworld.com>
Subject Re: Vhosts one more time
Date Fri, 15 Feb 2002 17:38:07 GMT
Sorry- my bad.
The DocumentRoot for each virtual host is different.
I added the the first "virtualHost * record per someone's recomendations.
I'm not sure why it was there either...
Jim


On 2/15/02 7:57 AM, "Joshua Slive" <joshua@slive.ca> wrote:

> 
>> From: Jim Sheffer [mailto:jimsheffer@blueworld.com]
>> 
>> <VirtualHost *>
>> DocumentRoot /Library/WebServer/Documents/www
>> ServerName www.domain.com
>> </VirtualHost>
>> 
>> <VirtualHost 192.147.160.23>
>> DocumentRoot /Library/WebServer/Documents/www
>> ServerName www.domain.com
>> 
>> <VirtualHost 192.147.160.121>
>> DocumentRoot /Library/WebServer/Documents/www
>> ServerName www.domain.com
>> </VirtualHost>
> 
> If you are using IP-virtual hosts, then you don't want to use <VirtualHost
> *>.
> Perhaps you want <VirtualHost _default_:*> instead.
> 
> But in general, this setup looks silly. Why are you using virtual hosts at
> all if they all map to the same ServerName and DocumentRoot?  Perhaps what
> you are really missing is the Listend directive?
> 
> Joshua.
\


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message