RewriteEngine On RewriteCond%{HTTPS}off RewriteRule(.*)https: