-
-
Save inoas/7d5f52c33284627a5c6cd702e4df6888 to your computer and use it in GitHub Desktop.
.htaccess for 503 maintenance page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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