Début des modifs

This commit is contained in:
2024-02-10 15:55:03 +01:00
parent 027e7f4816
commit 4265941cfa
6 changed files with 10 additions and 12 deletions

View File

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

View File

@@ -24,7 +24,7 @@ require __DIR__ . '/../core/vendor/autoload.php';
$trustedIp = array(
'::1',
'127.0.0.1',
'86.210.183.184',
'92.184.108.30'
);
$request = Request::createFromGlobals();