Re: Problem with NameVirtualHost and VirtualHost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 20, 2007 10:09 AM, Gregor Schneider <rc46fi@xxxxxxxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux