RE: [users@httpd] More than one name-based vhost with SSL

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

 



 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:steffen@xxxxxxxxxxx] 
Sent: Wednesday, January 04, 2006 5:30 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] 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 webmaster@xxxxxxxxxxx
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: 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