Hello folks,

I'll greatly appreciate any help you could offer in getting to the right
solution to my problems. I'm acquainted with Apche and SSL, but I'm not a
GURU.
I have two domains, let say mydomain1.com and mydomain2.com and a single
registered IP address. Both domains are mapped to the single IP address and
the domain lookup is working perfectly.

I've installed Apache 1.3.19 with mod_ssl version 2.8. Using the default
configuration, I could access the domain mydomain1.com via http(80) and
https(443) without problems.

Now I'm in the process of modifying the configuration to incorporate both
domains. I've not been very succesful in getting this accomplihed.

Here is in summary what I actually want to accomplish.

I want to access mydomain1.com via http (80) and https (443) and
mydomain2.com via http(80) and http(444). I have a single certificate.

Based on information gathered via threads in this mailing list, I understand
that I could accomplish this using name-based virtual host.

I've not been able to get this up and running.

Any input will be appreciated.


Here is the default configuration:

....
Listen 80
Listen 443
Listen 444
...
...
DocumentRoot "C:/websites/public"
...
...
#
<Directory "C:/websites/public">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
#
#
<Directory "C:/websites/confidential">
    Options FollowSymlinks
    SSLRequireSSL
    Order allow,deny
    Allow from all
    AuthName "Confidential Documentation"
    AuthType Basic
    AuthUserFile pwd/htpasswd.usr
    Require valid-user
</Directory>
#
# SSL Options

SSLMutex sem
SSLRandomSeed startup builtin
SSLSessionCache none
SSLProtocol SSLv3

SSLCipherSuite MEDIUM:+HIGH:+RSA:+EXP56:!ADH:!EDH
# SSLVerifyClient require

SSLLog logs/SSL.log
SSLLogLevel info
# You can later change "info" to "warn" if everything is OK

<VirtualHost *:443>
SSLEngine On
SSLCertificateFile ssl/server.cert
SSLCertificateKeyFile ssl/server.key
DocumentRoot "C:/websites/confidential"
# SSLRequireSSL
</VirtualHost>


I understand that I could use:

<VirtualHost _default_:443>
......
......
<VirtualHost>
<VirtualHost _default_:444>
......
......
<VirtualHost>

Could you please be kind to proivide specific implementation examples?

Thanks.
Peter

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

Reply via email to