httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matias Silva" <mpsi...@storagecommander.com>
Subject Re: [users@httpd] Virtual Hosts and SSL
Date Sat, 21 Sep 2002 17:13:40 GMT
Quoting from the book I have:

"SSL does not work correctly with name-based virtual hosts, for the simple reason that SSL
comes between the TCP/IP connection and Apache's view of it.  This is a fundamental truth,
and
it cannot be altered"

"Apache 2.0", by Peter Wainwright, May 2002, Wrox 

They have a great section in there detailing SSL and Virtual Hosts

-Matt

    

----- Original Message ----- 
From: "Amir" <amirn@gmx.net>
To: <users@httpd.apache.org>
Sent: Saturday, September 21, 2002 6:12 AM
Subject: [users@httpd] Virtual Hosts and SSL


> Hello,
> 
> I read in the Virtual Host Support page that its impossible to configure
> 
> Name-based Virtual Hosts and SSL support. Its said there something like:
> "Name-based virtual hosting cannot be used with SSL secure servers
> because 
> of the nature of the SSL protocol."
> 
> I was wondering if there is somebody out there who could explain me why
> ?
> I mean I looked all over for an explanation, but couldn't find,  
> why something like the following won't work :
> 
>     Listen 80
>     Listen 443
> 
>     NameVirtualHost 172.20.30.40:80
>     NameVirtualHost 172.20.30.40:443
> 
>     <VirtualHost 172.20.30.40:80>
>         ServerName www.example1.com
>         DocumentRoot /www/domain
>     </VirtualHost>
> 
>     <VirtualHost 172.20.30.40:443>
>         ServerName www.example1.com
>         DocumentRoot /www/domainSSL
>   --- all other SSL configuration ---
>     </VirtualHost>
> 
> Thanks in advance,
> And Best Regards ...
> Amir.
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message