Index: [Article Count Order] [Thread]

Date:  Thu, 10 Aug 2006 09:33:36 +0100
From:  "Colin Jack" <colin (at mark) mainline.co.uk>
Subject:  [coba-e:06306] Re: BQ default web page
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <F07DD4D0940AFF41A207BE85479D2AFF181449 (at mark) server.mainline.local>
X-Mail-Count: 06306

All sites are using the same IP ...  I will have to dig.

The odd thing is that all my other BQ/C servers work the way that you
say it should ;)

-Colin

> -----Original Message-----
> From: Bruce Timberlake [mailto:brucetimberlake (at mark) gmail.com] 
> Sent: 09 August 2006 23:15
> To: coba-e (at mark) bluequartz.org
> Subject: [coba-e:06299] Re: BQ default web page
> 
> > Nope :)
> > 
> > This is from my httpd.conf
> > 
> > #</VirtualHost>
> > Include /etc/httpd/conf/vhosts/site1
> > Include /etc/httpd/conf/vhosts/site2
> > 
> > Put the IP in and I get vsite133
> 
> And I'm guessing that site1 has the same IP as site133?  I'm stumped. 
> The official docs [1] say:
> 
> Unless a NameVirtualHost directive is used for a specific IP 
> address the first vhost with that address is treated as an 
> IP-based vhost.
> 
> Hmmm... but wait, the config file *does* use NameVirtualHost 
> directives, doesn't it?? Maybe that's a clue... the rest of 
> that section goes on to say:
> 
> 
> If name-based vhosts should be used a NameVirtualHost 
> directive must appear with the IP address set to be used for 
> the name-based vhosts. 
> In other words, you must specify the IP address that holds 
> the hostname aliases (CNAMEs) for your name-based vhosts via 
> a NameVirtualHost directive in your configuration file.
> 
> Multiple NameVirtualHost directives can be used each with a 
> set of VirtualHost directives but only one NameVirtualHost 
> directive should be used for each specific IP:port pair.
> 
> 
> Where are the NameVirtualHost directives and what order are they in? 
> Maybe that will help you...?
> 
> 
> [1] - http://httpd.apache.org/docs/2.2/vhosts/details.html
> 
> 
>