Update web/.htaccess

This commit is contained in:
2024-02-10 23:25:24 +01:00
parent b4b17b0fb7
commit 27d1a74b81

View File

@@ -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$