Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 1997 17:04:24 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        "Jeffrey J. Mountin" <sysop@mixcom.com>
Cc:        software@crosslogic.com, questions@freebsd.org
Subject:   Re: Virtual Servers on FreeBSD
Message-ID:  <Pine.UW2.3.95.970312165017.29924A-100000@cedb>
In-Reply-To: <3.0.32.19970312155522.011587c8@mixcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <insert aliased ip here>" 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 <document root for this virtual server>
> >ServerName <full qualified domain name for the server>
> >ErrorLog <where the errors are sent to>
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.UW2.3.95.970312165017.29924A-100000>