I've read this: 
http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts 

and it seems to state that this: 

<VirtualHost *:443> 
AddHandler fastcgi-script .fcgi .fcg .fpl .py .pyc 
DocumentRoot /home/eggs/jt/pi/www/htdocs 
ServerName eggs.test.mycompany.com 
FastCgiExternalServer /home/eggs/jt/pi/pylib -host 127.0.0.1:5000 
SSLEngine on 
SSLCipherSuite 
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+SSLv2:+EXP:+eNULL 
SSLCertificateFile /etc/httpd/ssl/host.cert 
SSLCertificateKeyFile /etc/httpd/ssl/host.key 
</VirtualHost> 

<VirtualHost *:443> 
AddHandler fastcgi-script .fcgi .fcg .fpl .py .pyc 
DocumentRoot /home/toast/jt/pi/www/htdocs 
ServerName toast.test.mycompany.com 
FastCgiExternalServer /home/toast/jt/pi/pylib -host 127.0.0.1:5000 
SSLEngine on 
SSLCipherSuite 
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+SSLv2:+EXP:+eNULL 
SSLCertificateFile /etc/httpd/ssl/host.cert 
SSLCertificateKeyFile /etc/httpd/ssl/host.key 
</VirtualHost> 

However, it's working fine for me. When I go to eggs.test.mycommpany.com, I get 
the "eggs site", and when I go to toast, I get the "toast site." 

Am I missing something? I'm using the same certificate for all sites. The 
statement is very clear that this cannot and will not work, but it seems to be 
working for me. 

Can someone elucidate? 

Reply via email to