1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 19:02:33 +00:00

Dossier server_files désormais inaccessible

This commit is contained in:
Yohann 2019-09-02 17:54:29 +02:00
parent e9579e7e94
commit 7b678e4683
3 changed files with 8 additions and 1 deletions

View File

@ -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]

View File

@ -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>

View File

@ -3,6 +3,8 @@
include_once "server_files/config.php"; include_once "server_files/config.php";
include "server_files/header.php"; include "server_files/header.php";
http_response_code(404);
?> ?>
<h1>Cette page n'existe pas.</h1> <h1>Cette page n'existe pas.</h1>