httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: bug o' the week
Date Sat, 23 Aug 1997 00:10:35 GMT
We only support name-based hosts for the main server address, and then it
doesn't matter which main server address you use, they're all treated the
same.  So unless A and B are both main server addresses then this isn't a
valid configuration.

The fact that it might have done something in 1.2 is a bug.  It's the bug
whereby and host, not just name-vhosts, can be reached by telnetting to a
main server address and using Host: foobar. 

Dean

On Fri, 22 Aug 1997, Brian Behlendorf wrote:

> 
> Things are broken again but not too badly.  This time, it's name-based
> vhosts living on an aliased IP number.  For example, let's say your box has
> IP numbers
> A and B.  Let's say you have
> 
> <Vhost A>
> ServerName www.one.com
> DocumentRoot /one
> </Vhost>
> 
> <Vhost A>
> ServerName www.two.com
> DocumentRoot /two
> </Vhost>
> 
> <Vhost B>
> Servername www.three.com
> DocumentRoot /three
> </Vhost>
> 
> <Vhost B>
> Servername www.four.com
> DocumentRoot /four
> </Vhost>
> 
> with the current code in "apachen", www.four.com doesn't show up - when
> accessed, it gives the content for www.three.com, and accesses are logged
> as www.three.com.  
> 
> If the config file is rearranged and www.four.com is placed before
> www.three.com, then four takes precedence and three disappears.
> 
> Any ideas?
> 
> 	Brian
> 
> 
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> "Why not?" - TL           brian@organic.com - hyperreal.org - apache.org
> 


Mime
View raw message