test 1.2 de la récupération de pp discord sur site web
This commit is contained in:
parent
d2bcf00ee7
commit
42db666026
4 changed files with 525 additions and 3 deletions
18
.htaccess
18
.htaccess
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue