37 lines
1.9 KiB
ApacheConf
37 lines
1.9 KiB
ApacheConf
ErrorDocument 403 /tfjm/server_files/403.php
|
|
ErrorDocument 404 /tfjm/server_files/404.php
|
|
|
|
Options +FollowSymlinks
|
|
Options -Indexes
|
|
RewriteEngine On
|
|
RewriteOptions Inherit
|
|
RewriteBase /tfjm
|
|
RewriteRule index.html accueil [L]
|
|
RewriteRule ^accueil$ server_files/index.php [L]
|
|
RewriteRule ^ajouter_equipe$ server_files/ajouter_equipe.php [L]
|
|
RewriteRule ^ajouter_organisateur$ server_files/ajouter_organisateur.php [L]
|
|
RewriteRule ^ajouter_tournoi$ server_files/ajouter_tournoi.php [L]
|
|
RewriteRule ^confirmer_mail/(.*?)$ server_files/confirmer_mail.php?token=$1 [L]
|
|
RewriteRule ^connexion$ server_files/connexion.php [L]
|
|
RewriteRule ^connexion/reinitialiser_mdp/(.*?)$ server_files/connexion.php?reset_password&token=$1 [L]
|
|
RewriteRule ^connexion/(.*?)$ server_files/connexion.php?$1 [L]
|
|
RewriteRule ^deconnexion$ server_files/deconnexion.php [L]
|
|
RewriteRule ^equipe/(.*?)$ server_files/equipe.php?trigram=$1 [L]
|
|
RewriteRule ^file/(.*?)$ server_files/view_file.php?file_id=$1 [L]
|
|
RewriteRule ^informations/(.*?)/.*?$ server_files/informations.php?id=$1 [L]
|
|
RewriteRule ^inscription$ server_files/inscription.php [L]
|
|
RewriteRule ^mon_compte$ server_files/mon_compte.php [L]
|
|
RewriteRule ^mon_equipe/(.*?)$ server_files/mon_equipe.php?$1 [L]
|
|
RewriteRule ^mon_equipe$ server_files/mon_equipe.php [L]
|
|
RewriteRule ^rejoindre_equipe$ server_files/rejoindre_equipe.php [L]
|
|
RewriteRule ^solutions$ server_files/solutions.php [L]
|
|
RewriteRule ^solutions_orga$ server_files/solutions_orga.php [L]
|
|
RewriteRule ^syntheses$ server_files/syntheses.php [L]
|
|
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 [L]
|
|
RewriteRule ^tournois$ server_files/tournois.php [L]
|
|
|
|
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\ /tfjm/server_files.*? [NC]
|
|
RewriteRule ^server_files.*?$ - [R=404]
|