This commit is contained in:
2026-04-12 23:27:04 +02:00
parent b15a2b4442
commit 3527066cd6
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
RewriteEngine On
# Si on demande la racine, on envoie vers public/
RewriteRule ^$ public/ [L]
# Si on demande un fichier qui n'existe pas, on cherche dans public/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ public/$1 [L]