From 3e984dc6c5f99e40ea7f9ff9d75887c5fa73ba82 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Wed, 2 Dec 2015 17:13:13 +0100 Subject: [PATCH] updated htaccess --- .htaccess | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.htaccess b/.htaccess index 087be314..4530eedb 100755 --- a/.htaccess +++ b/.htaccess @@ -100,9 +100,7 @@ DirectoryIndex index.php index.html index.htm # RewriteRule ^ http%{ENV:protossl}://%1%{REQUEST_URI} [L,R=301] # redirect all materiau domains to materio.com - # RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^basebeta\.materio\.com [OR] - # RewriteCond %{HTTP_HOST} ^materio\.com [OR] RewriteCond %{HTTP_HOST} ^www\.materio\.fr [OR] RewriteCond %{HTTP_HOST} ^materio\.fr [OR] RewriteCond %{HTTP_HOST} ^www\.materio\.net [OR] @@ -110,19 +108,16 @@ DirectoryIndex index.php index.html index.htm RewriteCond %{HTTP_HOST} ^www\.materio\.eu [OR] RewriteCond %{HTTP_HOST} ^materio\.eu [OR] RewriteCond %{HTTP_HOST} ^www\.materio\.com - RewriteRule ^ http%{ENV:protossl}://materio.com%{REQUEST_URI} [L,R=301] + RewriteRule ^ https://materio.com%{REQUEST_URI} [L,R=301] # SSL - # RewriteCond %{HTTPS} off [OR] - # RewriteCond %{HTTP_HOST} ^materio\.com* - # RewriteRule ^(.*)$ https://www.materio.com/$1 [L,R=301] - # Redirect to HTTPS # RewriteCond %{HTTPS} off # RewriteCond %{HTTP:X-Forwarded-Proto} !https # RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + # Modify the RewriteBase if you are using Drupal in a subdirectory or in a # VirtualDocumentRoot and the rewrite rules are not working properly. # For example if your site is at http://example.com/drupal uncomment and