Skip to content

Instantly share code, notes, and snippets.

@samg
Created June 22, 2009 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samg/134071 to your computer and use it in GitHub Desktop.
Save samg/134071 to your computer and use it in GitHub Desktop.
# Check for maintenance file and redirect all requests
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /system/maintenance.html [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment