Update web/.htaccess
This commit is contained in:
@@ -3,15 +3,15 @@ AddDefaultCharset UTF-8
|
|||||||
Options +FollowSymlinks -Indexes
|
Options +FollowSymlinks -Indexes
|
||||||
|
|
||||||
#Order Deny,Allow
|
#Order Deny,Allow
|
||||||
#Allow from 80.13.219.222
|
#Allow from 92.108.30
|
||||||
#Deny from all
|
#Deny from all
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
# Forcer le HTTPS
|
# Forcer le HTTPS
|
||||||
RewriteCond %{SERVER_PORT} 80
|
#RewriteCond %{SERVER_PORT} 80
|
||||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]
|
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]
|
||||||
|
|
||||||
# Forcer le sous domaine
|
# Forcer le sous domaine
|
||||||
#RewriteCond %{HTTP_HOST} !^www.light-domotique.fr$
|
#RewriteCond %{HTTP_HOST} !^www.light-domotique.fr$
|
||||||
|
|||||||
Reference in New Issue
Block a user