multiple SSL virtual hosts

Hiya all,

I had virtual hosting working fine, I'm quite familiar with that... I am also familiar with the concept that name based virtual hosting is impossible when you throw SSL into the mix.

I had about 30 virtual hosts, and 1 SSL host running... The problem came when I tried to add a second one...

My SSL vhost is something like:

<VirtualHost my.ip.address.blah:443>
DocumentRoot "/web/site1.com/htdocs"
ServerName site1.com
ServerAlias www.site1.com
ServerAdmin webmaster@site1.com
ErrorLog /web/logs/site1.com/error_log
CustomLog "|/usr/local/sbin/rotatelogs /web/logs/site1.com/access_log-%Y-%m-%d 86400 -360" combined
<IfDefine SSL>
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
# SSLCertificateFile /usr/local/etc/apache/ssl.crt/server.crt
# SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server.key
SSLCertificateFile /web/certificates/site1.com.cer
SSLCertificateKeyFile /web/certificates/site1.key
SSLCertificateChainFile /web/certificates/sf_issuing.crt
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</VirtualHost>


Problem is -- if I add a second :443 vhost with the IP incremented by 1 (yes, my NIC is listening on this second IP address) -- apache will no longer start!

I get no error message, no notification that it didn't start, nothing!



Anyone have any idea what I'm doing wrong?

 

 

 

 

Top