From owner-freebsd-questions Wed Jan 16 8: 9:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id AAA6E37B405 for ; Wed, 16 Jan 2002 08:09:36 -0800 (PST) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id F36962EEFD; Wed, 16 Jan 2002 18:09:29 +0200 (EET) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with SMTP id g0GGBon12774; Wed, 16 Jan 2002 18:11:50 +0200 (EET) Message-ID: <009201c19e9f$02c5f140$6d36120a@comsys.ntukpi.kiev.ua> From: "Andrey Simonenko" To: "ScaryG" Cc: "freeBSD Questions" References: <3C455B4E.6992.80D010@localhost> Subject: Re: Apache Virtual Domains: Quick Config Question Date: Wed, 16 Jan 2002 18:03:52 +0300 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.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: ScaryG To: Andrey Simonenko Cc: freeBSD Questions Sent: Wednesday, January 16, 2002 6:51 PM Subject: Re: Apache Virtual Domains: Quick Config Question > On 16 Jan 2002 at 17:36, Andrey Simonenko wrote: > > > There is a special section in the Apache documentation. Please read > > it, this section discusses your problem. > > Thanks, I'm aware of that. I've read it, I'm confused, that's why I > posted. > > Do I need to use the BindAddress for the main domain on the first ip > # > > and then set the NameVirtualHost to the other ip #? > > Then, in the tags, use the 1st ip in the tag for the > 'main domain' and the second ip in the tag for all the other name- > based domains. > As I understood you don't need to use BindAddress, instead: 1.specify "Listen 80" - http #port 2. specify "NameVirtualHost IP1", "NameVirtualHost IP2". 3. create for all your vhosts, each of VirtualHost section should have "ServerName", etc. Suppose this will work, at least it work on my system: there are some vhosts on some the same IP addresses and there are some vhosts on their own IP addresses. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message