Skip to content

Instantly share code, notes, and snippets.

@boogah
Created April 22, 2010 19:14
Show Gist options
  • Save boogah/375671 to your computer and use it in GitHub Desktop.
Save boogah/375671 to your computer and use it in GitHub Desktop.
RewriteEngine on
RewriteCond %{HTTP:VIA} !^$ [OR]
RewriteCond %{HTTP:FORWARDED} !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$
RewriteRule ^(.*)$ - [F]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment