Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2000 15:03:55 -0500
From:      "Daniel Domengeaux" <freebsd@supa-fly.org>
To:        "Matt Rudderham" <matt@researcher.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Virtual Hosts & Apache
Message-ID:  <017d01c033be$759e8620$cd2710d1@comspace.com>
References:  <NDBBLEKOOLGIBFPGLFEKIEPNCEAA.matt@researcher.com>

next in thread | previous in thread | raw e-mail | index | archive | help
as long as the ip for both www.something.com and something.com are the same
apache should be listening for all those requests.

also if your intrested in keeping the files clean you might want to look at
the dynamic hosting module for apache, http://funkcity.com/0101/

-daniel


----- Original Message -----
From: "Matt Rudderham" <matt@researcher.com>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Wednesday, October 11, 2000 2:56 PM
Subject: OT: Virtual Hosts & Apache


> Hi,
> I have a small question about virtual hosts in Apache, I have them up and
> runnig, but I was wondering if in the httpd.conf, if two ServerName
options
> for the same hosts, ie, I would like both names listed to look in the same
> DocumentRoot):
> ServerName something.com
> ServerName www.something.com
> I know I could easily add another <VirtualHost> section, however I like to
> keep my files clean incase they need to grow larger later on, Any help
would
> be appreciated. (I tried adding them as I listed them above within the
> <VirtualHost> section, however it appears to have only applied to the
first
> name I listed in my conf) I RTFM and coundn't see this anywhere. Thanks:)
> - Matt
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



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?017d01c033be$759e8620$cd2710d1>