I agree with Peter here on every point - I've got most of them if not all of
them working in practice.
The only thing I'd add which he didn't make explicitly clear is that you can
have sites with the same names, but different ports using different virtual
servers if you so wish.

If you want an example config file then Peter kindly posted some examples to
this list a couple of weeks ago.

If you can't find them, then please just ask I'll post mine  (In fact Nathan
should already have it as I recently emailed it to him)

> -----Original Message-----
> From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
> Of Peter M. Jansson
> Sent: Sunday, February 09, 2003 5:02 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [AOLSERVER] Fwd: AOLServer 4
>
>
> On Sat, 8 Feb 2003, Nathan Folkman wrote:
>
> > Can someone who has actually used these features help Chris out? Thanks!
>
> > 1.  Can you specify a document root for each host
>
> Yes, and, in fact, you must.  Each virtual server is separate, and there
> won't be any "inheritence" of features between them, so if you want a
> virtual server to have a particular feature, you must explicitly enable
> it.
>
> > 2.  Are all sourced Tcl files available to all hosts or can you
> > limit this via config
>
> Not necessarily.  Each virtual server gets its own Tcl interpreters. Any
> Tcl you have in ${AOLSERVER_ROOT}/modules/tcl will be sourced by all
> virtual servers, per the usual instructions (stuff in the dir is done
> alphabetically; subdirs are only loaded if there is a "ns_param <subdir>
> Tcl" in the modules section for the virtual).  Stuff in
> ${AOLSERVER_ROOT}/servers/$server/modules/tcl is strictly per-virtual
> server.
>
> > 3.  Can you do name and ip based virtual hosting
>
> Yes.  You can load the nssock module globally, which enables host-based
> virtual servers.  Additionally, you can load nssock on a per-module basis
> and nail a particular virtual server to a particular IP address.  I don't
> believe you have a choice about which nssock instance gets the name-based
> virtual servers; it's always the global one.
>
> Scott, want to comment on nsopenssl?
>

Reply via email to