Skip to content

Instantly share code, notes, and snippets.

@finalwebsites
Last active April 28, 2017 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save finalwebsites/5d59e56770f0fdd7bfeb4e665711fe9f to your computer and use it in GitHub Desktop.
Save finalwebsites/5d59e56770f0fdd7bfeb4e665711fe9f to your computer and use it in GitHub Desktop.
Deny access during website installation and/or provide 503 status for Google
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
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