Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # check if there is a file named maintenance.html
- # so when you want to disable maintenance mode just remname "mv maintenance.html maintenance.html.disabled"
- RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
- RewriteCond %{SCRIPT_FILENAME} !maintenance.html
- RewriteRule ^.*$ /maintenance.html [R=503,L]
- ErrorDocument 503 /maintenance.html
Add Comment
Please, Sign In to add comment