In my httpd.conf, I have
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^mysite.com [NC]
RewriteRule ^(.*)$ https://www.mysite.com/$1 [L,R=301]
But that's not working properly. I want the following to redirect to https://www.mysite.com:
How can I accomplish this?