Last active
March 16, 2018 12:23
-
-
Save unzeitigm/ac2d7a38540f678610f4313166496aff to your computer and use it in GitHub Desktop.
Website Maintenance Mode
This file contains 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
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_URI} !^/maintenance\.html$ [NC] | |
RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif|css|js|tff|woff) [NC] | |
RewriteRule ^(.*)$ http://%{HTTP_HOST}/maintenance.html [R=307,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment