Received: by taz.hyperreal.com (8.6.12/8.6.5) id PAA13567; Sun, 21 Apr 1996 15:02:30 -0700 Received: from arachnet.algroup.co.uk by taz.hyperreal.com (8.6.12/8.6.5) with SMTP id PAA13541; Sun, 21 Apr 1996 15:02:12 -0700 Received: from heap.ben.algroup.co.uk by arachnet.algroup.co.uk id aa23719; 21 Apr 96 23:01 BST Received: from gonzo.ben.algroup.co.uk by heap.ben.algroup.co.uk id aa16019; 21 Apr 96 22:30 BST Subject: Re: virtual hosts failing (fwd) To: new-httpd@hyperreal.com Date: Sun, 21 Apr 1996 22:25:29 +0100 (BST) From: Ben Laurie In-Reply-To: from "Brian Behlendorf" at Apr 21, 96 02:29:36 pm X-Mailer: ELM [version 2.4 PL24 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1381 Message-ID: <9604212225.aa12004@gonzo.ben.algroup.co.uk> Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com Brian Behlendorf wrote: > > On Sun, 21 Apr 1996, Alexei Kosut wrote: > > Here's the problem.. if I do a "host movie.pcug.co.uk": > > > > movie.pcug.co.uk CNAME www.uk.imdb.org > > www.uk.imdb.org CNAME uk.imdb.org > > uk.imdb.org A 192.68.174.59 > > > > Therefore, the uk.imdb.com virtualhost was the same IP as the main > > server, so it got ignored except for the Host-generating > > browsers. I'd call the original config wrong, as it had a virtual host > > and main server pointing to the same IP address. The fix that he did > > is fine, or he could have changed the main ServerName to > > olive.pcug.co.uk. > > > > Apache's working exactly as it's supposed to, therefore, it's just > > your configuration that was a bit screwed up. > > I thought CNAMEs to CNAMEs were illegal? Nope. They are permitted but deprecated. There is a depth limit (arbitrary but usually 8) [no, that isn't a smiley ;-)]. Cheers, Ben. > > Brian > > --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- > brian@organic.com | We're hiring! http://www.organic.com/Home/Info/Jobs/ > -- Ben Laurie Phone: +44 (181) 994 6435 Freelance Consultant and Fax: +44 (181) 994 6472 Technical Director Email: ben@algroup.co.uk A.L. Digital Ltd, URL: http://www.algroup.co.uk London, England.