updated htaccess
This commit is contained in:
parent
3e984dc6c5
commit
90be34eef1
@ -108,16 +108,14 @@ DirectoryIndex index.php index.html index.htm
|
|||||||
RewriteCond %{HTTP_HOST} ^www\.materio\.eu [OR]
|
RewriteCond %{HTTP_HOST} ^www\.materio\.eu [OR]
|
||||||
RewriteCond %{HTTP_HOST} ^materio\.eu [OR]
|
RewriteCond %{HTTP_HOST} ^materio\.eu [OR]
|
||||||
RewriteCond %{HTTP_HOST} ^www\.materio\.com
|
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]
|
RewriteRule ^ https://materio.com%{REQUEST_URI} [L,R=301]
|
||||||
|
|
||||||
|
|
||||||
# SSL
|
|
||||||
# Redirect to HTTPS
|
# Redirect to HTTPS
|
||||||
# RewriteCond %{HTTPS} off
|
# RewriteCond %{HTTPS} off
|
||||||
# RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
# RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
||||||
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||||
|
|
||||||
|
|
||||||
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
|
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
|
||||||
# VirtualDocumentRoot and the rewrite rules are not working properly.
|
# VirtualDocumentRoot and the rewrite rules are not working properly.
|
||||||
# For example if your site is at http://example.com/drupal uncomment and
|
# For example if your site is at http://example.com/drupal uncomment and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user