If I enable SSL on mydomain.com, how come the virtual hosts for http://mydomain.com and https://mydomain.com point to the same place? How should I set it up so that users are prevented from accessing the 'secure content' insecurely? Regards, Lewis
http and https sites point always to the same place. You may use e.g. a apache rewrite rule for this.
I have tried looking through the apache documentation. Could you give me an example? Would I just have: Redirect / https://mydomain.com/ but then, if I went to https://mydomain.com/folder1/ I would be redirected to https://mydomain.com/ Regards, Lewis
Something like this should work: RewriteEngine On RewriteCond %{SERVER_PORT} !443 RewriteRule (.*) https://mydomain.com/ [R]