Skip to content

Instantly share code, notes, and snippets.

@jorgepedret
Created June 6, 2011 22:13
Show Gist options
  • Select an option

  • Save jorgepedret/1011234 to your computer and use it in GitHub Desktop.

Select an option

Save jorgepedret/1011234 to your computer and use it in GitHub Desktop.
Create custom error pages (htaccess)
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment