www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: general/1768: Virtual hosts not properly recognised
Date Tue, 03 Feb 1998 20:30:00 GMT
The following reply was made to PR general/1768; it has been noted by GNATS.

From: Dean Gaudet <dgaudet@arctic.org>
To: Mark Morley <mark@islandnet.com>
Cc: apbugs@hyperreal.org
Subject: Re: general/1768: Virtual hosts not properly recognised
Date: Tue, 3 Feb 1998 12:35:06 -0800 (PST)

 On 3 Feb 1998, Mark Morley wrote:
 
 >    <VirtualHost A.B.C.D>
 >    ServerName x.com
 >    DocumentRoot /home/x/x/www
 >    </VirtualHost>
 
 If these are name style virtual hosts then you almost certainly want to
 add "ServerAlias www.x.com". 
 
 > On two Pentium boxes (and one SunOS web server) this works perfectly.  You can
 > access "http://x.com", "http://www.x.com", and "http://a.b.c.d" and get the
 > exact same page for each one.
 > 
 > On the third Pentium box, it only works if you use "http://x.com".  Using the
 > "www" version or the IP number directly gives us the default web page rather
 > than the user's virtual site.
 
 Sounds like a configuration error. 
 
 > We are using the exact same Apache binary on all the machines, and line-by-line
 > comparisons of all the config files show no differences.  All IPs are within
 > the same class C space, etc.
 
 "line by line comparison" ... is that a manual line-by-line or did you use
 diff? 
 
 Dean
 

Mime
View raw message