mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 07:02:22 +00:00
Dossier server_files désormais inaccessible
This commit is contained in:
parent
e9579e7e94
commit
7b678e4683
@ -2,7 +2,7 @@ ErrorDocument 403 /tfjm/403.php
|
|||||||
ErrorDocument 404 /tfjm/404.php
|
ErrorDocument 404 /tfjm/404.php
|
||||||
|
|
||||||
Options +FollowSymlinks
|
Options +FollowSymlinks
|
||||||
# Options -Indexes
|
Options -Indexes
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteOptions Inherit
|
RewriteOptions Inherit
|
||||||
RewriteBase /tfjm
|
RewriteBase /tfjm
|
||||||
@ -30,3 +30,6 @@ RewriteRule ^syntheses_orga$ server_files/syntheses_orga.php [L]
|
|||||||
RewriteRule ^tournoi/(.*?)/(.*?)$ server_files/tournoi.php?nom=$1&$2 [L]
|
RewriteRule ^tournoi/(.*?)/(.*?)$ server_files/tournoi.php?nom=$1&$2 [L]
|
||||||
RewriteRule ^tournoi/(.*?)$ server_files/tournoi.php?nom=$1 [L]
|
RewriteRule ^tournoi/(.*?)$ server_files/tournoi.php?nom=$1 [L]
|
||||||
RewriteRule ^tournois$ server_files/tournois.php [L]
|
RewriteRule ^tournois$ server_files/tournois.php [L]
|
||||||
|
|
||||||
|
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\ /tfjm/server_files.*? [NC]
|
||||||
|
RewriteRule ^server_files.*?$ - [R=404]
|
||||||
|
2
403.php
2
403.php
@ -3,6 +3,8 @@
|
|||||||
include "server_files/config.php";
|
include "server_files/config.php";
|
||||||
include "server_files/header.php";
|
include "server_files/header.php";
|
||||||
|
|
||||||
|
http_response_code(403);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h1>Vous n'êtes pas autorisé à accéder à cette page.</h1>
|
<h1>Vous n'êtes pas autorisé à accéder à cette page.</h1>
|
||||||
|
Loading…
Reference in New Issue
Block a user