From owner-freebsd-questions Thu Sep 7 10:36:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from eve.speakeasy.net (eve.speakeasy.net [216.254.0.17]) by hub.freebsd.org (Postfix) with ESMTP id 012BA37B422 for ; Thu, 7 Sep 2000 10:36:15 -0700 (PDT) Received: from paradive (dsl254-006-184-sea1.dsl-isp.net [216.254.6.184]) by eve.speakeasy.net (8.10.0/8.10.0) with SMTP id e87HYfr29630; Thu, 7 Sep 2000 10:34:41 -0700 Message-ID: <04f301c018f1$6a3643a0$02fea8c0@localdomain> From: "paradive" To: "Konan Houphoue" , References: Subject: Re: Virtual Host Question Date: Thu, 7 Sep 2000 10:31:11 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: Konan Houphoue To: Sent: Wednesday, September 06, 2000 11:30 PM Subject: Virtual Host Question > Hi all, > > I'm running Apache 1.3 with FreeBSD 4.0. > I have 2 domins registered, say a.com and b.com that resolve to the same IP > address configured at my ISP. > I've set a name virtual host section in /usr/local/etc/apache/httpd.conf for > b.com as follow: > > NameVirtualHost 1.2.3.4:80 #ip_address:port > > ServerAdmin me@myserver.b.com > DocumentRoot /usr/local/www/b #directory exists > ServerName www.b.com > ErrorLog /var/log/b/error_log #created > CustomLog /var.log/access_log #created > > > The problem is that invoking www.b.com still points at www.a.com > directory/documents (the default). they need to be in 2 seperate paradive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message