From: vincent@cubedesigners.com Date: Fri, 6 Dec 2019 16:18:31 +0000 (+0000) Subject: fix #3248 @0:15 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2fe3fe402b2c24aed205c276a2a086d4860c0ceb;p=cubedesigners-v7.git fix #3248 @0:15 --- diff --git a/.htaccess b/.htaccess index 5b4cd42..d173b7f 100644 --- a/.htaccess +++ b/.htaccess @@ -15,12 +15,14 @@ RewriteEngine on RewriteBase / # + RewriteCond %{HTTPS} off + RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Redirection to www. subdomain RewriteCond %{HTTP_HOST} =cubedesigners.fr - RewriteRule ^(.*)$ http://www.cubedesigners.fr/$1 [R=301,L] + RewriteRule ^(.*)$ https://www.cubedesigners.fr/$1 [R=301,L] # Redirection to www. subdomain RewriteCond %{HTTP_HOST} =cubedesigners.com - RewriteRule ^(.*)$ http://www.cubedesigners.com/$1 [R=301,L] + RewriteRule ^(.*)$ https://www.cubedesigners.com/$1 [R=301,L] # Block browser access to the framework folder and sensitive files RewriteRule ^framework/.*$ - [F]