Commit 13e1e4dd2c12c73c764895e49f30fed46fb90b25

Authored by Geoffrey PREUD'HOMME
1 parent 917edd32

Erreur customisées

Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
api/.htaccess
... ... @@ -2,6 +2,12 @@
2 2  
3 3 Options +FollowSymLinks -MultiViews
4 4  
  5 +ErrorDocument 401 '{"status":"non_authentifie"}\n'
  6 +ErrorDocument 403 '{"status":"acces_refuse"}\n'
  7 +ErrorDocument 404 '{"status":"requete_inconnue"}\n'
  8 +ErrorDocument 500 '{"status":"erreur_interne"}\n'
  9 +ErrorDocument 503 '{"status":"service_indisponible"}\n'
  10 +
5 11 RewriteEngine On
6 12 RewriteBase /api/
7 13  
... ...