Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 11:05:27 -0500
From:      devin-freebsdquestions@rintrah.org
To:        ScaryG <freymann@eagle.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache Virtual Domains: Quick Config Question
Message-ID:  <20020116110527.A832@tharmas.rintrah.org>
In-Reply-To: <3C455B4E.6992.80D010@localhost>; from freymann@eagle.ca on Wed, Jan 16, 2002 at 10:51:58AM -0500
References:  <005f01c19e9b$268a4580$6d36120a@comsys.ntukpi.kiev.ua> <3C455B4E.6992.80D010@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 16, 2002 at 10:51:58AM -0500, ScaryG wrote:
> 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 
> #

If you want Apache to respond to multiple IP's, you probably want 

BindAddress *

> 
>  and then set the NameVirtualHost to the other ip #?

If you want to use NameVirtualHost on only 1 ip, set it to

NameVirtualHost <ip>

Usually, though, you will want

NameVirtualHost *

which will let you use name based virtual hosts on any of your IP's or interfaces.

Somehow I missed your original post, so I don't know what you want to do specifically.

> 
>  Then, in the <virtualhost> 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.
> 
> gf.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Gerry Freymann - Senior Systems Manager
> eagle.ca Internet Services www.eagle.ca
> Voice: 905-373-9313 Fax: 905-373-1801
> http://www.eagle.ca/support
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Mathematicians are like Frenchmen: whatever you say to them they
translate into their own language, and forthwith it is something
entirely different.
                -- Johann Wolfgang von Goethe

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?20020116110527.A832>