Mod_ssl
Jan 16, 2007I was trying to set up mod_ssl on my server for one of my virtual hosts I have created a self signed certificate as that is all I need, and I managed to get it working so that when I go to[url]it works.
My problem is that then when I go to [url]I get "Bad Request".
This is the virtual host entry I have at the moment
Code:
<VirtualHost mydomain.co.uk>
SSLEngine on
SSLCertificateFile /var/vhosts/mydomain.co.uk.cert
SSLCertificateKeyFile /var/vhosts/mydomain.co.uk.key
DocumentRoot /var/vhosts/mydomain.co.uk/html
ServerName mydomain
<Directory "/var/vhosts/mydomain.co.uk">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
What I want to be able to do is allow users to access the site either by http or https without forcing them to use https, could some help me out with how to accomplish this,