phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
How do I block anonymous proxies with htaccess?

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Apache mod Rewrite
::  
Author Message
arch stanton
PR1
PR1


Joined: 04 Oct 2006
Posts: 117

How do I block anonymous proxies with htaccess?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
Visit poster's website
Peter77
phpBB SEO Team
phpBB SEO Team


Joined: 10 May 2006
Posts: 512
Location: Michigan

How do I block anonymous proxies with htaccess?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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

How do I block anonymous proxies with htaccess?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
Visit poster's website
arch stanton
PR1
PR1


Joined: 04 Oct 2006
Posts: 117

How do I block anonymous proxies with htaccess?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. Sad
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

How do I block anonymous proxies with htaccess?Posted: Fri Feb 02, 2007 12:18 pm    Post subject: Re: How do I block anonymous proxies with htaccess?

The mod linked by Peter77 can be a solution, if proxy user cannot register, it will help Wink

_________________
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
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Apache mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: