From owner-freebsd-questions Wed Mar 12 17:05:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA23517 for questions-outgoing; Wed, 12 Mar 1997 17:05:56 -0800 (PST) Received: from cedb.dpcsys.com (cedb.DPCSYS.com [209.25.4.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA23512 for ; Wed, 12 Mar 1997 17:05:53 -0800 (PST) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id BAA00290; Thu, 13 Mar 1997 01:04:24 GMT Date: Wed, 12 Mar 1997 17:04:24 -0800 (PST) From: Dan Busarow To: "Jeffrey J. Mountin" cc: software@crosslogic.com, questions@freebsd.org Subject: Re: Virtual Servers on FreeBSD In-Reply-To: <3.0.32.19970312155522.011587c8@mixcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 12 Mar 1997, Jeffrey J. Mountin wrote: > At 09:36 AM 3/12/97 +0100, Simon Lindgren wrote: > >Then, you need to add a "Listen " to your > >httpd.conf file, > >and lastly, use the VirtualHost statement in httpd.conf such as this: > > This would mean that every time you add a host you must add a line. > > BindAddress * > > will work just as well and save time. ;-) BindAddress is deprecated for virtual hosts. Use the VirtualHost directive as suggested. But skip the Listen ... part, just use VirtualHost. [both BindAddress and Listen have uses, just not for generic virtual hosting] > >DocumentRoot > >ServerName > >ErrorLog > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Uh, they are stored just the TranferLog. If you use the VirtualHost directive errors go to the ErrorLog. Pretty much anything that can be set for the main server can be over-ridden on a server by server basis within VirtualHost. Try it, you might like it. Oh, re. something not belonging in srm.conf, it hasn't mattered which of the three files you put things in for a *long* time. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82