htaccess ssl
This commit is contained in:
parent
a5edc41323
commit
0a863fc1bb
13
.htaccess
13
.htaccess
@ -71,8 +71,8 @@ DirectoryIndex index.php index.html index.htm
|
||||
# downloaded.
|
||||
RewriteRule "(^|/)\." - [F]
|
||||
|
||||
# redirect all materiau domains to materio.com
|
||||
RewriteCond %{HTTPS} off
|
||||
# redirect all materiau domains to materio.com
|
||||
RewriteCond %{HTTPS} off [OR]
|
||||
RewriteCond %{HTTP_HOST} ^basebeta\.materio\.com [OR]
|
||||
RewriteCond %{HTTP_HOST} ^materio\.com [OR]
|
||||
RewriteCond %{HTTP_HOST} ^www\.materio\.fr [OR]
|
||||
@ -80,10 +80,13 @@ DirectoryIndex index.php index.html index.htm
|
||||
RewriteCond %{HTTP_HOST} ^www\.materio\.net [OR]
|
||||
RewriteCond %{HTTP_HOST} ^materio\.net [OR]
|
||||
RewriteCond %{HTTP_HOST} ^www\.materio\.eu [OR]
|
||||
RewriteCond %{HTTP_HOST} ^materio\.eu [NC]
|
||||
RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301]
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^materio\.eu
|
||||
RewriteRule ^ https://www.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]
|
||||
|
||||
|
||||
# If your site can be accessed both with and without the 'www.' prefix, you
|
||||
|
Loading…
x
Reference in New Issue
Block a user