Guest User

Untitled

a guest
Jun 25th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. # check if there is a file named maintenance.html
  2. # so when you want to disable maintenance mode just remname "mv maintenance.html maintenance.html.disabled"
  3. RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
  4. RewriteCond %{SCRIPT_FILENAME} !maintenance.html
  5. RewriteRule ^.*$ /maintenance.html [R=503,L]
  6. ErrorDocument 503 /maintenance.html
Add Comment
Please, Sign In to add comment