httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sameer <sam...@c2.net>
Subject Re: WWW Form Bug Report: "virtualhost documentroot directive overrides others" on FreeBSD
Date Tue, 23 Jul 1996 22:53:11 GMT
> Hmm, this can't be right.  Are you saying that in a config file which
> looks like this
> 
>   DocumentRoot /www/htdocs/default
> 
>   <VirtualHost foobar.com>
>   DocumentRoot /www/htdocs/foobar.com
>   </VirtualHost>
> 
> then the first DocumentRoot is "clobbered" by the second?  I have not seen
> this happen anywhere else, and I have my httpd.conf set up just like this.
> Is there something else going on?
> 

	Perhaps he meant:

DocumentRoot /a

<VirtualHost foobar.com>
DocumentRoot /b
</VirtualHost>

<VirtualHost barfoo.com>
[stuff, but no DocumentRoot]
</VirtualHost>


	ends up with barfoo.com having /b rather than /a as docroot.

-- 
Sameer Parekh					Voice:   510-986-8770
Community ConneXion, Inc.			FAX:     510-986-8777
The Internet Privacy Provider
http://www.c2.net/				sameer@c2.net

Mime
View raw message