Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id SAA24966; Fri, 22 Aug 1997 18:23:01 -0700 (PDT) Received: from twinlark.arctic.org (twinlark.arctic.org [204.62.130.91]) by hyperreal.org (8.8.5/8.8.5) with SMTP id SAA24961 for ; Fri, 22 Aug 1997 18:22:56 -0700 (PDT) Received: (qmail 19801 invoked by uid 500); 23 Aug 1997 00:10:35 -0000 Date: Fri, 22 Aug 1997 17:10:35 -0700 (PDT) From: Dean Gaudet To: new-httpd@apache.org Subject: Re: bug o' the week In-Reply-To: <3.0.3.32.19970822175126.00829100@hyperreal.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org 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 > > > ServerName www.one.com > DocumentRoot /one > > > > ServerName www.two.com > DocumentRoot /two > > > > Servername www.three.com > DocumentRoot /three > > > > Servername www.four.com > DocumentRoot /four > > > 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 >