RewriteCond %{HTTPS} !=on RewriteRule (.*) https://some.example.com/$1 [L,R]