Aller au contenu principal Aide Panneau de contrôle

A+   A-

Logiciel serveur «  

Documentation : error.php

error.php - Catch an unexpected error

To use this script under Apache, create the following .htaccess file at your root directory:
#redirect to pretty error pages
ErrorDocument 401 /yacs/error.php/401
ErrorDocument 403 /yacs/error.php/403
ErrorDocument 404 /yacs/error.php/404


In order to avoid tracking of 404 codes due to web spiders browsing our scripts, we don't log these errors if the referer URL matches /scripts.view.php.

This script is a reference file of this system.

Licence : GNU Lesser General Public License

Auteurs :

Testeurs :

  • Manuel L

tn