In your conf below, you use the same certificate in both VH although the 
ServerName are different.

All requests will be handled by the grundfunk VH regardless of whether you 
request grundfunk.de or ronalter.de.

If you add 

CustomLog /etc/apache2/log/grundfunk_access_log combined

to the grundfunk VH and

CustomLog /etc/apache2/log/ronalter_access_log combined

I am pretty sure that the latter log file will remain empty.

-ascs

-----Original Message-----
From: Steffen Ronalter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 04, 2006 5:30 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] More than one name-based vhost with SSL

NameVirtualHost *:443

<VirtualHost *:443>
ServerName grundfunk.de
ServerName grundfunk.de
ServerAlias www.grundfunk.de
DocumentRoot /var/www/grundfunk
SSLEngine on
SSLCertificateFile    /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
BrowserMatch "MSIE [1-4]" nokeepalive ssl-unclean-shutdown downgrade-1.0 
force-response-1.0
BrowserMatch "MSIE [5-9]" ssl-unclean-shutdown SSLCipherSuite 
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
</VirtualHost>

<VirtualHost *:443>
ServerName ronalter.de
ServerAlias www.ronalter.de
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/ronalter
SSLEngine on
SSLCertificateFile    /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
BrowserMatch "MSIE [1-4]" nokeepalive ssl-unclean-shutdown downgrade-1.0 
force-response-1.0
BrowserMatch "MSIE [5-9]" ssl-unclean-shutdown SSLCipherSuite 
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
</VirtualHost>

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