Forum Moderators: phranque
Please help, what have I done wrong?
<VirtualHost 12.34.56.78:443>
DocumentRoot /home/one_html
ServerName www.one.com
SSLEnable
SSLCertificateFile /etc/ssl/certs/www.one.com.crt
SSLCertificateKeyFile /etc/ssl/private/www.one.com.key
SSLCACertificateFile /etc/apache-ssl/ca_new_2018.txt
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
ErrorLog /home/logs/one_ssl_error_log
</VirtualHost><VirtualHost 12.34.56.78:443>
DocumentRoot /home/two_html
ServerName www.two.com
SSLEnable
SSLCertificateFile /etc/ssl/certs/www.two.com.crt
SSLCertificateKeyFile /etc/ssl/private/www.two.com.key
SSLCACertificateFile /etc/apache-ssl/ca_new_2018.txt
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
ErrorLog /home/logs/two_ssl_error_log
</VirtualHost>
Welcome to WebmasterWorld!
This recent thread [webmasterworld.com] addresses the problem you're seeing. SSL is IP address and port-based, not hostname-based.
Jim
Thanks for your reply, not what I wanted to hear unfortunately!
So, if I get another IP address for my machine, then I can use the same apache-ssl server to deal with the other sites requests using 'listen' and changing the ip address for the other virtualhost listing to the new ipaddress, does this sound correct?
One problem after another these days!
Cheers,
Joe