From owner-freebsd-questions Wed Oct 11 13: 5: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ultra.comspace.com (209-16-25-2.insync.net [209.16.25.2]) by hub.freebsd.org (Postfix) with ESMTP id 0D2E937B502 for ; Wed, 11 Oct 2000 13:04:59 -0700 (PDT) Received: from danield (cs16255-172.houston.rr.com [24.162.55.172]) by ultra.comspace.com (8.9.3/8.9.3) with SMTP id PAA13803; Wed, 11 Oct 2000 15:04:48 -0500 (CDT) Message-ID: <017d01c033be$759e8620$cd2710d1@comspace.com> From: "Daniel Domengeaux" To: "Matt Rudderham" , References: Subject: Re: Virtual Hosts & Apache Date: Wed, 11 Oct 2000 15:03:55 -0500 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.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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" To: 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 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 > 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