Hide PHP errors from visitors

  1. 1
  2. 2
  3. 3
  4. 4
# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off


27 октября 2009

 ErrorPage

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
# htaccess custom error pages
ErrorDocument 400 /errors/400.html
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html


  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
# htaccess custom error messages
ErrorDocument 400 "Ooops - Bad request!
ErrorDocument 401 "Speak friend and enter
ErrorDocument 403 "Strictly fabidden..
ErrorDocument 404 "Missing in action..
ErrorDocument 500 "Server gone wild..


27 октября 2009

Календарь

  • Сегодня
    17 Марта 2026, Вторник
    ПНВТСРЧТПТСБВС
    1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031

Авторизация