You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ben Laurie <be...@gonzo.ben.algroup.co.uk> on 1996/04/21 23:25:29 UTC

Re: virtual hosts failing (fwd)

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.