From owner-freebsd-questions Tue Jul 4 4:58:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from draenor.org (draenor.org [196.36.119.129]) by hub.freebsd.org (Postfix) with ESMTP id 4C0C937B56E for ; Tue, 4 Jul 2000 04:58:24 -0700 (PDT) (envelope-from marcs@draenor.org) Received: from marcs by draenor.org with local (Exim 3.15 #1) id 139RKJ-00024k-00; Tue, 04 Jul 2000 13:57:19 +0200 Date: Tue, 4 Jul 2000 13:57:19 +0200 From: Marc Silver To: Nathan Vidican Cc: questions@freebsd.org Subject: Re: Apache Virtualhosts an multiple addresses Message-ID: <20000704135719.J82739@draenor.org> References: <3961CF36.104BB7D6@wmptl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3961CF36.104BB7D6@wmptl.com>; from webmaster@wmptl.com on Tue, Jul 04, 2000 at 07:49:10AM -0400 X-Operating-System: FreeBSD 4.0-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why not just use the ServerAlias line in apache. :) For eg: ServerAdmin webmaster@x.org DocumentRoot /usr/local/x ServerName x.org ServerAlias www.x.org www.superman.org www.yougettheidea.org ErrorLog /usr/local/logs/www.x.org-error_log CustomLog /usr/local/logs/www.x.org-access_log common Something like that should work just fine. Cheers, Marc On Tue, Jul 04, 2000 at 07:49:10AM -0400, Nathan Vidican wrote: > Is it possible, to have name-based virtual hosting wherein any given > virtual host can be accessed as somehost.com, or www.somehost.com; > preferably without having to add to virtual hosts to the system? > > > -- > Nathan Vidican > webmaster@wmptl.com > Windsor Match Plate & Tool Ltd. > http://www.wmptl.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message