Created
January 5, 2010 16:22
-
-
Save edavis10/269491 to your computer and use it in GitHub Desktop.
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
## Put inside the Rails apache virtual host | |
# | |
# 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