Custom error pages


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ErrorDocument 400 /errors/badrequest.html
  2. ErrorDocument 401 /errors/authreqd.html
  3. ErrorDocument 403 /errors/forbid.html
  4. ErrorDocument 404 /errors/notfound.html
  5. ErrorDocument 500 /errors/serverr.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.