mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-07-29 06:09:50 +00:00
pouet
This commit is contained in:
@ -36,26 +36,35 @@ Options All -Indexes
|
||||
|
||||
# lorsque qu'une url va correspondre a un fichier finissant par .php ou .html on interdit l'acces (retourne une erreur 403 (ensuite geré par notre ligne plus haut))
|
||||
<FilesMatch ".*\.(php|html)$">
|
||||
# Order Allow,Deny
|
||||
# Deny from all
|
||||
|
||||
Require all denied
|
||||
<IfVersion < 2.4>
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
</IfVersion>
|
||||
<IfVersion >= 2.4>
|
||||
Require all denied
|
||||
</IfVersion/>
|
||||
</FilesMatch>
|
||||
|
||||
# on donne l'autorisation d'acceder au fichier handler.php (sinon le site ne sera pas foncitonnel)
|
||||
<FilesMatch "handler.php">
|
||||
# Order Allow,Deny
|
||||
# Allow from all
|
||||
|
||||
Require all granted
|
||||
<IfVersion < 2.4>
|
||||
Order Allow,Deny
|
||||
Allow from all
|
||||
</IfVersion>
|
||||
<IfVersion >= 2.4>
|
||||
Require all granted
|
||||
</IfVersion/>
|
||||
</FilesMatch>
|
||||
|
||||
# on donne acces au fichiers webmanifest et svg
|
||||
<FilesMatch ".*\.(webmanifest|svg)$">
|
||||
# Order Allow,Deny
|
||||
# Allow from all
|
||||
|
||||
Require all granted
|
||||
<IfVersion < 2.4>
|
||||
Order Allow,Deny
|
||||
Allow from all
|
||||
</IfVersion>
|
||||
<IfVersion >= 2.4>
|
||||
Require all granted
|
||||
</IfVersion/>
|
||||
</FilesMatch>
|
||||
|
||||
# si le serveur apache a le module mod_deflate.c
|
||||
|
Reference in New Issue
Block a user