On Sat, Sep 26, 1998, Olivier Mueller wrote:

> I have about 30 virtualservers registred in my httpd.conf,
> and I'd like to be able to access to the same pages when
> I use https:// and http:// (for both pages and cgi-bin).
> Is that possible (I guess so). Could somebody show me
> his httpd.conf (learning by example...). 

What you have to do is mainly the following:

1. Make sure your virtual hosts are IP-based
   (see http://www.engelschall.com/sw/mod_ssl/docs/manual21b.html#FAQ-vhosts
   for the reason)

2. Copy your <VirtualHost> sections and
   - replace `..:80>' with `..:443>'
   - Add `SSLEnable' and `SSLCertificatePath', etc.
     to the new sections (see the httpd.conf-dist
     file for hints which directives you should use)

3. Add `SSLDisable' to the old <VirtualHost>
   sections or at least the main server (outside
   any <VirtualHost> sections)

The best advice is to don't confuse yourself is to look at the provided
httpd.conf-dist file and start from there or at least adjust your existing
config with this file in mind.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to