httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] Problem with NameVirtualHost and VirtualHost
Date Tue, 20 Nov 2007 15:28:08 GMT
On Nov 20, 2007 10:09 AM, Gregor Schneider <rc46fi@googlemail.com> wrote:
> NameVirtualHost *:443
> <VirtualHost *:443>
>     ServerName test-clue
>     ....
> </VirtualHost>
> <VirtualHost *:443>
>     ServerName test-dom
>     ....
> </VirtualHost>

> When I enter the url "https://test-ltc", I'm always sent to
> "https://test-clue", and I kust don't understand why.

For SSL, apache selects the virtualhost based on the IP:port
combination, because the decision must be made at the beginning of the
handshake (before the HTTP Host: header is available).

The default vhost is the first vhost specified.


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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