Created
November 17, 2015 09:37
-
-
Save andevsoftware/79d9f94107c39c09caf0 to your computer and use it in GitHub Desktop.
HTACCESS - Redirect public to maintenance page
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
# Redirect public to maintenance page | |
RewriteCond %{DOCUMENT_ROOT}/dist/maintenance.enable -f | |
RewriteCond %{REQUEST_URI} !/maintenance.html$ [NC] | |
RewriteRule ^ /maintenance.html [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment