Date: Thu, 7 Sep 2000 10:31:11 -0700 From: "paradive" <james@enfect.com> To: "Konan Houphoue" <bahobab@hotmail.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: Virtual Host Question Message-ID: <04f301c018f1$6a3643a0$02fea8c0@localdomain> References: <F238jBOh8s4KWiGtXsL00009419@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: Konan Houphoue <bahobab@hotmail.com> To: <freebsd-questions@FreeBSD.ORG> 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 > <VirtualHost 1.2.3.4> > 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 > </VirtualHost> > > 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 <VirtualHost></VirtualHost> paradive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04f301c018f1$6a3643a0$02fea8c0>