Hi guys, I want to run apache with name based hosting containing 2
normal(port 80) domains and 1 SSL domain. I set up the 2 domains on port 80
and one SSL domain. It all worked fine and I was cheery but I then
discovered that ALL of the domains include the ones on port 80 were secured
as well. I only want the SSL site to be secured. Reading around, I figured
it may have something to do with SSLDisable/Engine but am stuck. Any help would be
appreciated. Config is below:
NameVirtualHost 192.168.0.3:80
NameVirtualHost 192.168.0.3:443
<VirtualHost 192.168.0.3:80>
ServerName host1
DocumentRoot /path1
ServerAdmin root@localhost
ServerSignature email
</VirtualHost>
<VirtualHost 192.168.0.3:80>
ServerName host2
DocumentRoot /path2
ServerAdmin root@localhost
ServerSignature email
</VirtualHost>
<VirtualHost 192.168.0.3:443>
ServerName secure
DocumentRoot /secure
ServerAdmin root@localhost
ServerSignature email
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
</VirtualHost>
I am using Apache and Mod_ssl
|