Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 77514 invoked from network); 7 Jan 2009 03:52:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2009 03:52:10 -0000 Received: (qmail 61501 invoked by uid 500); 7 Jan 2009 03:52:00 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 61470 invoked by uid 500); 7 Jan 2009 03:52:00 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 61458 invoked by uid 99); 7 Jan 2009 03:51:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 19:51:59 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of josephmmorgan@hotmail.com designates 65.55.34.82 as permitted sender) Received: from [65.55.34.82] (HELO col0-omc2-s8.col0.hotmail.com) (65.55.34.82) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 03:51:51 +0000 Received: from COL107-W24 ([65.55.34.71]) by col0-omc2-s8.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 6 Jan 2009 19:51:30 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_9429e8e0-fabe-4dab-80cd-3ee7fdac8bc7_" X-Originating-IP: [68.113.201.224] From: Joseph Morgan To: Date: Tue, 6 Jan 2009 21:51:30 -0600 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 07 Jan 2009 03:51:30.0888 (UTC) FILETIME=[39BF0C80:01C9707B] X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Virtual Hosts Problem - Many hours - No Luck --_9429e8e0-fabe-4dab-80cd-3ee7fdac8bc7_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks=2C Jim. I assume you have something similar to an index.html in=20 each document root? I actually tried using the NameVirtualHost *=2C but it didn't change a=20 thing. Apache still served the first virtual host (and poorly at that)=20 in the list. Someone has suggested to use 127.0.0.1:80=2C and that serves up the=20 index.html at the common document root (G:/webroot/htdocs) Jim Walls wrote: > Joseph Morgan wrote: >> I am having a problem configuring virtual hosts on my Apache 2.2.6 >> server. Apache ALWAYS serves up the first virtual host regardless of >> the actual host requested. > > Well=2C that does not look close to my Virtual Hosts section of my=20 > httpd.conf - excerpted here: > > NameVirtualHost * > >=20 > ServerName no.name > DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" >=20 > >=20 > ServerName www.k6ccc.org > ServerAlias k6ccc.org *.k6ccc.org > DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/k6ccc.org" >=20 > >=20 > ServerName www.thewallshouse.org > ServerAlias thewallshouse.org *.thewallshouse.org > DocumentRoot "C:/Program Files/Apache=20 > Group/Apache2/htdocs/TheWallsHouse.org" >=20 > >=20 > ServerName www.wc-phantoms.org > ServerAlias wc-phantoms.org *.wc-phantoms.org > DocumentRoot "C:/Program Files/Apache=20 > Group/Apache2/htdocs/wc-phantoms.org" >=20 > > > > The first is the default if someone comes in looking for the IP=20 > address. This works... > _________________________________________________________________ Send e-mail anywhere. No map=2C no compass. http://windowslive.com/oneline/hotmail?ocid=3DTXT_TAGLM_WL_hotmail_acq_anyw= here_122008= --_9429e8e0-fabe-4dab-80cd-3ee7fdac8bc7_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks=2C Jim. I assume you have something similar to an index.html in each document root?

I actually tried using the NameVirtualHost *=2C= but it didn't change a
thing. Apache still served the first virtual h= ost (and poorly at that)
in the list.

Someone has suggested to u= se 127.0.0.1:80=2C and that serves up the
index.html at the common docu= ment root (G:/webroot/htdocs)


Jim Walls wrote:
> Joseph Morga= n wrote:
>> I am having a problem configuring virtual hosts on my Apache= 2.2.6
>> server. Apache ALWAYS serves up the first virtual host regardl= ess of
>> the actual host requested.
>
> Well=2C that does not loo= k close to my Virtual Hosts section of my
> httpd.conf - excerpted here= :
>
> NameVirtualHost *
>
>
> ServerName no= .name
> DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
= >

>
>
> ServerName www.k6ccc.org> ServerAlias k6ccc.org *.k6ccc.org
> DocumentRoot "C:/Program Files= /Apache Group/Apache2/htdocs/k6ccc.org"
>

>
>
> ServerName www.thewallshouse.org
> ServerAlias thewall= shouse.org *.thewallshouse.org
> DocumentRoot "C:/Program Files/Apache =
> Group/Apache2/htdocs/TheWallsHouse.org"
>
>
>=
> ServerName www.wc-phantoms.org
> ServerAlias wc-= phantoms.org *.wc-phantoms.org
> DocumentRoot "C:/Program Files/Apache =
> Group/Apache2/htdocs/wc-phantoms.org"
>

>
>>
> The first is the default if someone comes in looking for the IP > address. This works...
>



Send e-mail anywhere. N= o map=2C no compass. Get your Hotma= il=AE account now. = --_9429e8e0-fabe-4dab-80cd-3ee7fdac8bc7_--