Last active
April 28, 2017 06:49
-
-
Save finalwebsites/5d59e56770f0fdd7bfeb4e665711fe9f to your computer and use it in GitHub Desktop.
Deny access during website installation and/or provide 503 status for Google
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
order deny, allow | |
deny from all | |
# geef hier uw IP adres op | |
Allow from 95.397.xxx.xxx | |
# misschien heeft u nog een 2. IP adres? | |
#Allow from 177.165.xxx.xxx |
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 | |
# geef hieronder uw IP adres op | |
RewriteCond %{REMOTE_ADDR} !^95\.397\.xxx\.xxx$ | |
RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$ | |
RewriteRule .* - [R=503,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment