From owner-freebsd-questions Wed Oct 11 13: 9:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from munich.v-net.org (u57n248.hfx.eastlink.ca [24.222.57.248]) by hub.freebsd.org (Postfix) with ESMTP id 8797A37B502 for ; Wed, 11 Oct 2000 13:09:35 -0700 (PDT) Received: from unisys (Windozzze [192.168.8.2]) by munich.v-net.org (8.9.3/8.9.3) with SMTP id RAA55436; Wed, 11 Oct 2000 17:08:51 -0300 (ADT) (envelope-from matt@researcher.com) From: "Matt Rudderham" To: "Daniel Domengeaux" , Subject: RE: Virtual Hosts & Apache Date: Wed, 11 Oct 2000 17:04:45 -0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <017d01c033be$759e8620$cd2710d1@comspace.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal 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 The domains are name based, not IP, I have other domains operating as virtual domains on this IP besides the one mentioned, I forgot to mention I was doing name based:) - Matt >> 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