I saw a solution to this at HTTP to HTTPS redirect not working on Apache 2.4
<VirtualHost *:80>
ServerName www.example.com
ServerAlias example.com
Redirect permanent "/" "https://www.example.com/"
</VirtualHost>
My question is, doesn't this directive send any and all page requests on a site to https://www.example.com/
?
How do you get http://www.example.com/someDir/somePage.html
to resolve to https://www.example.com/someDir/somePage.html
using Apache 2.4 directives?