Created
June 15, 2019 04:55
-
-
Save thehelvetian/9385532d6499999b12cc034cdb32ca2b to your computer and use it in GitHub Desktop.
Apache maintenance mode
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
RewriteEngine On | |
RewriteCond %{ENV:REDIRECT_STATUS} !=503 | |
RewriteCond "/var/www/example.com/html/.maintenance" -f | |
RewriteRule ^(.*)$ /$1 [R=503,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment