On Sat, 20 May 2000, Steve Fairhead wrote:

> James Smallacombe said:
> 
> >> on an unrelated (to SSL) issue, is there a way to use a separate file
> (from httpd.conf) for virtual hosts?  I STFW and didn't find anything, and
> tried doing $INCLUDE ala BIND and RADIUS and that broke the server.  I need
> to make a script for adding virtual hosts, and it seems like it makes more
> sense using a separate file from httpd.conf, since any kind of parsing error
> in it kills the server... <<
> 
> I do just this: in my virtual hosts section I have:
> 
> Include conf/vhost.conf
> 
> and in the SSL section I have:
> 
> Include conf/vhost-ssl.conf
> 
> Each file is resident in the same directory as httpd.conf (don't get fooled
> by the conf/ path).

Thanks!  This was just what I was looking for, and it works fine.

> FWIW the standard Apache-modssl httpd.conf file contains examples of this.

Actually, neither of versions that I'm running (mod_ssl-2.6.2-1.3.12 and
mod_ssl-2.4.5-1.3.9 ) contain any examples of this whatsoever.

James Smallacombe                     PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]                                                     http://3.am
=========================================================================

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to