Block proxy enter site?

Fix it!!

Block proxy enter site?

Postby celebritywallpaper.us » Tue Nov 10, 2009 8:15 am

I dont want anyone using proxy enter my site..this is what i got so far and is not working...when i try hidemyass.com enter my site and allow me in without any problem. is there anyway to block them.

Code: Select all
RewriteEngine On
RewriteBase /

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}      !^$
RewriteCond %{HTTP_USER_AGENT} anonymous [NC]
RewriteCond %{HTTP:XROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:X-FORWARDED-FOR} !^$ [OR]
RewriteCond %{HTTP:FORWARDED-FOR} !^$ [OR]
RewriteCond %{HTTP:X-FORWARDED} !^$ [OR]
RewriteRule ^(.*)$ - [F]
celebritywallpaper.us
 
Posts: 41
Joined: Sat Feb 03, 2007 6:27 am

Return to Security with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 4 guests

cron