Which, as has been pointed out already, is NOT (yes NOT) name-based virtual
hosting..

It IS IP-based - notice that you show each VHost with a different IP
address..

Rgds
Jeff

----- Original Message -----
From: "David Marshall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 06, 2002 3:29 AM
Subject: RE: SSL and vhosts


> What allows me to host several SSL sites with seperate servernames on a
> single machine without giving users mismatched names/certificate messages
> is:
>
> <VirtualHost IPaddr1:443>
>     DocumentRoot <<document root for this host>>
>     ServerName www.hosta.domain.com <<the hostname for this vhost>>
>     ServerAdmin [EMAIL PROTECTED] << the adminname for this vhost>>
>     ...
>     << all the ssl stuff  certificates for www.hosta.domain.com >>
>     ...
> </VirtualHost>
>
> <VirtualHost IPaddr2:443>
>     DocumentRoot <<document root for this host>>
>     ServerName www.hostb.domain.com <<the hostname for this vhost>>
>     ServerAdmin [EMAIL PROTECTED] << the adminname for this vhost>>
>     ...
>     << all the ssl stuff certificates for www.hostb.domain.com >>
>     ...
> </VirtualHost>
>
> DNS must resolve
>  www.hosta.domain.com to IPaddr1
>  www.hostb.domain.com to IPaddr2
>
> unless you are behind a firewall using address translation,
> then DNS must resolve
>  www.hosta.domain.com to the IP address
>                       that your firewall will resolve to IPaddr1
>  www.hostb.domain.com to the IP address
>                       that your firewall will resolve to IPaddr2
>
> David Marshall
>
<snipped>

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

Reply via email to