I redirect all my websites from HTTP to HTTPS with:
ServerName example.com RewriteEngine on RewriteCond %{HTTPS} !on RewriteR