Ver originalRewriteCond %{HTTPS} ^on [NC]RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]