| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
arch stanton PR1

Joined: 04 Oct 2006 Posts: 117
|
Posted: Thu Feb 01, 2007 3:13 pm Post subject: How do I block anonymous proxies with htaccess? |
|
|
Someone is trying to get round an IP ban (they're accessing from a work IP) by using an anonymous proxy at something called radicaloverthrow.com
The referrer URLs take the form http:// www. radicaloverthrow. com / prox/pf.php?url=http:/ /www.mydomain.com/forum/example-vt2241.html
I tried blocking it in my .htaccess with the following:
| Code: | SetEnvIfNoCase Referer radicaloverthrow.com spammer=yes
Order allow,deny
allow from all
deny from env=spammer |
But it didn't work. When I tried accessing through that URL, it was still getting through.
Is there a better way of blocking it? I simply do not want this person sniffing around my site, period.
Thanks.
[dcz: I know this has nothing to do with SEO, sorry, but you seem to know so much more about mod-rewrite than anyone else] |
Last edited by arch stanton on Thu Feb 01, 2007 11:17 pm; edited 2 times in total |
|
| Back to top |
|
 |
|
 |
Peter77 phpBB SEO Team


Joined: 10 May 2006 Posts: 512 Location: Michigan
|
Posted: Thu Feb 01, 2007 5:41 pm Post subject: Re: How do I block anonymous proxies with htaccess? |
|
|
Have you considered the Block Open Proxy Registrants MOD?
::edit:: oops, nevermind. you are probably talking about browsing your site using proxy, not just registering. |
_________________ Juarol.com
| Frekuenciadigital.com | |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14403
|
Posted: Thu Feb 01, 2007 11:40 pm Post subject: Re: How do I block anonymous proxies with htaccess? |
|
|
Well you could try to block access based upon the referrer, but, it can be empty so it's not 100%.
The easiest and most secure way to block access from a proxy, besides implementing a script that checks is the client is a proxy, wit a script, is to just block the proxy ip itself.
If the proxy service is not using many ips, it's easy, you just need to add :
| Code: | Satisfy any
Order Deny,Allow
Deny from xx.xx.xx.xx
Allow from all |
at the begining f your root's .htaccess.
Where xx.xx.xx.xx would be the proxy ip, you can find it in the server log.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
arch stanton PR1

Joined: 04 Oct 2006 Posts: 117
|
Posted: Fri Feb 02, 2007 12:00 pm Post subject: Re: How do I block anonymous proxies with htaccess? |
|
|
Yeah, have already set an IP ban for that particular one. But having looked into it, there are thousands of the goddamn things out there. I was hoping to be able to block by the referrer but that doesn't seem to be working.  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14403
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |