. htaccess
.htaccess
RewriteOptions inherit
Options -Indexes
#SecFilterEngine Off
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
<IfModule mod_alias.c>
</IfModule>
.htaccess
RewriteOptions inherit
Options -Indexes
#SecFilterEngine Off
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
<IfModule mod_alias.c>
</IfModule>