Difference between revisions of "Custom error pages"
From OdleWiki
m |
m (Added "Needs Attention" template) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Template:Needs Attention}} | |
− | < | + | Sets custom error pages in a directory called ''errors''. |
+ | |||
+ | <pre> | ||
# Sets custom error pages | # Sets custom error pages | ||
ErrorDocument 400 /errors/400.php | ErrorDocument 400 /errors/400.php | ||
Line 7: | Line 9: | ||
ErrorDocument 403 /errors/403.php | ErrorDocument 403 /errors/403.php | ||
ErrorDocument 404 /errors/404.php | ErrorDocument 404 /errors/404.php | ||
− | </ | + | </pre> |
[[category:Apache]] | [[category:Apache]] | ||
[[category:htaccess]] | [[category:htaccess]] | ||
− |
Latest revision as of 18:01, 8 July 2017
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