Skip to content

Instantly share code, notes, and snippets.

@pixelchar
Created September 26, 2013 15:45
Show Gist options
  • Select an option

  • Save pixelchar/6716055 to your computer and use it in GitHub Desktop.

Select an option

Save pixelchar/6716055 to your computer and use it in GitHub Desktop.
Define custom error pages in .htaccess
ErrorDocument 400 /400.html
ErrorDocument 401 /401.html
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ErrorDocument 405 /405.html
ErrorDocument 408 /408.html
ErrorDocument 414 /414.html
ErrorDocument 500 /500.html
ErrorDocument 502 /502.html
ErrorDocument 504 /504.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment