Skip to content

Instantly share code, notes, and snippets.

@donnykurnia
Created April 1, 2013 08:52
Show Gist options
  • Save donnykurnia/5283907 to your computer and use it in GitHub Desktop.
Save donnykurnia/5283907 to your computer and use it in GitHub Desktop.
.htaccess for 503 maintenance page
ErrorDocument 503 /index.html
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /index.html [R=503,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment