Created
April 5, 2022 08:03
-
-
Save fedek6/cdfb38c434b4401138a38721c869e393 to your computer and use it in GitHub Desktop.
Rewrite everything to maintenance page when IP does not equal
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
RewriteCond %{REMOTE_ADDR} !=95.160.157.10 | |
RewriteCond %{REQUEST_URI} !=/maintenance.html | |
RewriteRule ^(.*)$ /maintenance.html [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment