The VirtualHost default settings refer to all virtual hosts. You don't need
to copy it all out.

This is all you need as a minimum for each virtual secure host

<VirtualHost secure:443>
        SSLEngine on
        SSLCertificateFile /etc/httpd/conf/ssl.crt/certificate.crt
        SSLCertificateKeyFile /etc/httpd/conf/ssl.key/key.key
        ServerName secure.domain.name
</VirtualHost>

Although I guess you will want to have a separate document root and separate
log files for each secure host, together with any other settings.

John

-----Original Message-----
From: Loic Guilmard [mailto:[EMAIL PROTECTED]]
Sent: 24 March 2000 14:35
To: [EMAIL PROTECTED]
Subject: name-based virtual host configuration with mod ssl


I try to use the NameVirtualHost parameter in httpd.conf to enable two
servers with the same address, but a different name.
I can't get it, I shoudn't place my two <VirtualHost IPaddress> section
in the right place.
I have the <VirtualHost _default_:443> sections.
Should I make two sections <VirtualHost IPaddress> inserting the ssl
rows of the default section in each new sections ?
I know that my questions seems stupid !

Thanx for your understanding ...

loic


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

Reply via email to