Customize Error documents

How can we customize Error document with .htaccess ?

Just add following in your doc root to take the error page from within errors folder in DocumentRoot.

ErrorDocument 400 /errors/badrequest.html
ErrorDocument 401 /errors/authreqd.html
ErrorDocument 403 /errors/forbid.html
ErrorDocument 404 /errors/notfound.html
ErrorDocument 500 /errors/serverr.html

Then check it.

 

 


Customize Error documents, Hostripples Web Hosting
HR-ADMIN