test 1.2 de la récupération de pp discord sur site web

This commit is contained in:
KIRITO_KMA 2026-02-08 22:31:31 +01:00
parent d2bcf00ee7
commit 42db666026
4 changed files with 525 additions and 3 deletions

View file

@ -1,5 +1,17 @@
# Sécurisation minimale
# Désactiver l'affichage des dossiers
Options -Indexes
# Page 404 personnalisée
ErrorDocument 404 omegakube/pages/404.html
<IfModule mod_rewrite.c>
RewriteEngine On
# Si fichier/dossier n'existe pas → afficher 404.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ pages/404.php [L]
# Si c'est un dossier sans index → afficher 404.php
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule ^ pages/404.php [L]
</IfModule>