Linuxathome.net
https://www.linuxathome.net/forum/

SSL
https://www.linuxathome.net/forum/viewtopic.php?f=1&t=93
Page 1 of 1

Author:  LordGemma [ Thu Sep 05, 2002 11:55 pm ]
Post subject:  SSL

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

Page 1 of 1 All times are UTC + 10 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/