You can't to name based virtual hosting.

You need more IP addresses :)

The way SSL works is by connecting to the first host. It will then be
tied to that one forever...

You'd need to run the extra SSL sites on either extra IP addresses or
other port numbers.

D


On Tue, 2007-11-20 at 16:09 +0100, Gregor Schneider wrote:
> Hi Guys,
> 
> I always keep being puzzled about those options, and I also don't get
> enlighted by the doc.
> 
> this is what I have:
> 
> System: Debian Etch
> 
> /etc/apache2/apaxhe2.conf:
> 
> ...
> NameVirtualHost *:80
> NameVirtualHost *:443
> ...
> 
> in /etc/apache2/sites-enabled I have
> 
> file clue:
> 
> <VirtualHost *:80>
>     ServerName test-clue
>     ....
> </VirtualHost>
> <VirtualHost *:443>
>     ServerName test-clue
>     ....
> </VirtualHost>
> 
> file dom:
> 
> <VirtualHost *:80>
>     ServerName test-dom
>     ....
> </VirtualHost>
> <VirtualHost *:443>
>     ServerName test-dom
>     ....
> </VirtualHost>
> 
> file ltc:
> 
> <VirtualHost *:80>
>     ServerName test-ltc
>     ....
> </VirtualHost>
> <VirtualHost *:443>
>     ServerName test-ltc
>     ....
> </VirtualHost>
> 
> Since I'm running the test-server on one single IP, I'm aware that I'm
> getting ssl-warnings - it doesn't matter.
> 
> However, this is what's driving me nuts:
> 
> When I enter the url "https://test-ltc";, I'm always sent to
> "https://test-clue";, and I kust don't understand why.
> 
> According to the docs
> (http://httpd.apache.org/docs/2.2/de/vhosts/examples.html) my example
> doesn't look all that wrong.
> 
> Is there anything I'm overlooking?
> 
> This is my /etc/hosts:
> 
> 10.170.202.5    test-clue
> 10.170.202.5    test-ltc
> 10.170.202.5    test-ltc-kr
> 10.170.202.5    test-dom
> 
> Could somebody please shed some light here?
> 
> TIA
> 
> Gregor


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to