This wiki is for the exclusive use of my friends and colleagues. Account creation and anonymous editing have been turned off.

If you are a friend or colleague of mine, and would like to participate in this project, please send me a message.

If you find these pages useful, please donate to help cover server costs. Thanks!

Difference between revisions of "Custom error pages"

From OdleWiki
m
m (Added "Needs Attention" template)
 
Line 1: Line 1:
 +
{{Template:Needs Attention}}
 +
 
Sets custom error pages in a directory called ''errors''.
 
Sets custom error pages in a directory called ''errors''.
  
Line 12: Line 14:
 
[[category:Apache]]
 
[[category:Apache]]
 
[[category:htaccess]]
 
[[category:htaccess]]
[[category:Articles_needing_attention]]
 

Latest revision as of 18:01, 8 July 2017

Farm-Fresh cup edit.png

Needs Attention
This article needs attention; however, it is not necessarily a stub or an orphan.


Sets custom error pages in a directory called errors.

# Sets custom error pages
ErrorDocument 400 /errors/400.php
ErrorDocument 401 /errors/401.php
ErrorDocument 403 /errors/403.php
ErrorDocument 404 /errors/404.php