From owner-freebsd-questions Wed Oct 11 19:24:44 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 F3CE137B66E for ; Wed, 11 Oct 2000 19:24:40 -0700 (PDT) Received: from unisys (3l33t-1@Windozzze [192.168.8.2]) by munich.v-net.org (8.9.3/8.9.3) with SMTP id XAA55902; Wed, 11 Oct 2000 23:24:30 -0300 (ADT) (envelope-from matt@researcher.com) From: "Matt Rudderham" To: Cc: Subject: RE: OT: Virtual Hosts & Apache Date: Wed, 11 Oct 2000 23:18:21 -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: <20001011225546.D9D381F26@static.unixfreak.org> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> 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 believe you are looking for ServerAlias. For example: > > > ServerName www.unixfreak.org > ServerAlias unixfreak.org > ServerAdmin dima@unixfreak.org > [...] > > >ServerAlias can also take multiple arguments, as in: "ServerAlias >www.something.com www.something-else.com". > >Hope this helps Exactly wha I was looking for, thanks to all who answered :) - Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message