Samb0123
04-30-2009, 08:59 AM
ok umm here is what I need.
I need a proxy Spam Filteration Blocking thing on my site so if i try and access my site using proxy it will lead them to my 403.shtml file yes I could go deny from www.???.com it will take forever I need something better something that will block like 99% of proxys in one hit can you post me a script I have come across
# block proxy servers from site access
# http://perishablepress.com/press/2008/04/20/how-to-block-proxy-servers-via-htaccess/
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]
Yes I'v doesn't work I tried it on a couple of proxy's all got through succesfully. Reason why I want to do now yesterday had a spam attack blocked IP however I think his next return will be via proxies! I want to be one step ahead.
I need a proxy Spam Filteration Blocking thing on my site so if i try and access my site using proxy it will lead them to my 403.shtml file yes I could go deny from www.???.com it will take forever I need something better something that will block like 99% of proxys in one hit can you post me a script I have come across
# block proxy servers from site access
# http://perishablepress.com/press/2008/04/20/how-to-block-proxy-servers-via-htaccess/
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]
Yes I'v doesn't work I tried it on a couple of proxy's all got through succesfully. Reason why I want to do now yesterday had a spam attack blocked IP however I think his next return will be via proxies! I want to be one step ahead.