So this is obviously a 2x2 matrix - www and non-www, against SSL and non-SSL.
I want all traffic to be directed to SSL and www.
http://www.example.com over to
https://www.example.com is simple; I just add this line in the
<VirtualHost *.80> container:
Redirect / https://www.example.com
And it works. The problem is getting
https://example.com over to
https://www.example.com. I don't have a digital certificate for
example.com - the cert is written for
I'm thinking anything I put inside the
<VirtualHost *.443> wrapper (Rewrite Rules etc.) won't help because the cert validity is checked first. I'm wanting the redirect to happen BEFORE I get the scary-looking message below. How would I do this?