MAIN
NEW THREADS
AD SPOT

Stop cheater hits from bad trades - .htaccess
Protect-X Forum >> SEO, Soft, resources, tools, know-how
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. Goto page 1, 2, 3  Next
Author Message
sharphead



Joined: 17 Nov 2006
Posts: 23
Rank: 4
Location: Winnipeg, MB

PostPosted: 20 Nov 2006 07:17    Post subject: Stop cheater hits from bad trades - .htaccess Reply with quote

Hey everyone,

Well you've found a cheater from Protect-X and they are sending you bad traffic, first thing is to disable the trade in your trade script. Once that's done, you'll need to do one more step to shut down that trade for good and that's adding them into your .htaccess file to tell the server to display a 403 page to everyone coming from that trade. Protect-X wont see hits coming from sites listed here because the server redirects them to a Forbidden Page.

Here is the syntax:

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?cheatertgp.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?badhits.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?botworld.com.*$ [NC]
RewriteRule .* - [F,L]

Just add a line for every referrer you want to effectively kill with the lines [NC,OR] at the end until your done. Essentially it means anything from from http or https, with or without www and domain.com/ and domain.com forbid serving pages to if they are the referrer listed.

Hope that helps, it has helped me make sure the trades that are cheating me are dead and that NONE of my good trades see any traffic from those bad trades.

Enjoy.
Back to top
View user's profile Send private message Visit poster's website
artgps



Joined: 01 Nov 2006
Posts: 5


PostPosted: 24 Nov 2006 21:19    Post subject: Better Method Reply with quote

mod_rewrite is process intensive due to regex... I would recommend that you use mod_setenv instead.

Code:

# Block Cheaters
SetEnvIfNoCase Referer hotadults.net badref=1
SetEnvIfNoCase Referer best4all.net badref=1
SetEnvIfNoCase Referer galleryplanet.com badref=1
SetEnvIfNoCase Referer eroticqueens.com badref=1
SetEnvIfNoCase Referer absolutepics.net badref=1
SetEnvIfNoCase Referer fuckinggalleries.net badref=1
SetEnvIfNoCase Referer sexteensacademy.com badref=1
SetEnvIfNoCase Referer xxxteenbox.com badref=1
SetEnvIfNoCase Referer crazylivesex.com badref=1
SetEnvIfNoCase Referer sexmovielovers.com badref=1
SetEnvIfNoCase Referer livesexspycam.com badref=1
SetEnvIfNoCase Referer hotfreeamateur.com badref=1
SetEnvIfNoCase Referer bestmoviegallery.com badref=1
SetEnvIfNoCase Referer porngalleryhome.com badref=1
SetEnvIfNoCase Referer thepornpictures.com badref=1
SetEnvIfNoCase Referer tgpextractor.com badref=1
SetEnvIfNoCase Referer cogidas.org badref=1
SetEnvIfNoCase Referer ultraporno.net badref=1
SetEnvIfNoCase Referer fuckandsuck.org badref=1
SetEnvIfNoCase Referer bettergirls.net badref=1
SetEnvIfNoCase Referer jhonsons-teens.com badref=1
SetEnvIfNoCase Referer xxxvideoland.com badref=1
SetEnvIfNoCase Referer dailygirlz.net badref=1
SetEnvIfNoCase Referer hornycuties.us badref=1
SetEnvIfNoCase Referer perverted-cuties.com badref=1


Order Deny,Allow
Deny from env=badref

_________________
AKA nation-x
Back to top
View user's profile Send private message
StickyGreen



Joined: 10 Nov 2006
Posts: 146
Rank: 24

PostPosted: 24 Nov 2006 22:24    Post subject: Reply with quote

/\ does that one really work? What about http://www.htaccesstools.com ?
_________________
Back to top
View user's profile Send private message Visit poster's website
thegalleriesxxx



Joined: 11 Nov 2006
Posts: 4


PostPosted: 26 Nov 2006 21:06    Post subject: Re: Better Method Reply with quote

artgps wrote:
mod_rewrite is process intensive due to regex... I would recommend that you use mod_setenv instead.

Code:

# Block Cheaters
SetEnvIfNoCase Referer hotadults.net badref=1
SetEnvIfNoCase Referer best4all.net badref=1
SetEnvIfNoCase Referer galleryplanet.com badref=1
SetEnvIfNoCase Referer eroticqueens.com badref=1
SetEnvIfNoCase Referer absolutepics.net badref=1
SetEnvIfNoCase Referer fuckinggalleries.net badref=1
SetEnvIfNoCase Referer sexteensacademy.com badref=1
SetEnvIfNoCase Referer xxxteenbox.com badref=1
SetEnvIfNoCase Referer crazylivesex.com badref=1
SetEnvIfNoCase Referer sexmovielovers.com badref=1
SetEnvIfNoCase Referer livesexspycam.com badref=1
SetEnvIfNoCase Referer hotfreeamateur.com badref=1
SetEnvIfNoCase Referer bestmoviegallery.com badref=1
SetEnvIfNoCase Referer porngalleryhome.com badref=1
SetEnvIfNoCase Referer thepornpictures.com badref=1
SetEnvIfNoCase Referer tgpextractor.com badref=1
SetEnvIfNoCase Referer cogidas.org badref=1
SetEnvIfNoCase Referer ultraporno.net badref=1
SetEnvIfNoCase Referer fuckandsuck.org badref=1
SetEnvIfNoCase Referer bettergirls.net badref=1
SetEnvIfNoCase Referer jhonsons-teens.com badref=1
SetEnvIfNoCase Referer xxxvideoland.com badref=1
SetEnvIfNoCase Referer dailygirlz.net badref=1
SetEnvIfNoCase Referer hornycuties.us badref=1
SetEnvIfNoCase Referer perverted-cuties.com badref=1


Order Deny,Allow
Deny from env=badref


Hello,
It means what to all listed domains the access is forbidden?
Back to top
View user's profile Send private message
long



Joined: 17 Nov 2006
Posts: 1


PostPosted: 06 Dec 2006 16:02    Post subject: Reply with quote

Bad traffic I send on disney.com
No nothing more beautiful than childhood! Laughing
Back to top
View user's profile Send private message
frozenjag



Joined: 09 Nov 2006
Posts: 37
Rank: 26

PostPosted: 07 Dec 2006 03:15    Post subject: Reply with quote

so i just create a .htaccess file with that code in it, upload it to my httpdocs folder (which has my index.php file) and im good to go? I dont have to put any code in my html to tell it to check this file first?
_________________
<a>
<img>
</a><br>
I promote MIC, u should too! ;]
Back to top
View user's profile Send private message
Protect-X Support



Joined: 30 Oct 2006
Posts: 934
Rank: 35

PostPosted: 07 Dec 2006 08:53    Post subject: Reply with quote

frozenjag wrote:
so i just create a .htaccess file with that code in it, upload it to my httpdocs folder (which has my index.php file) and im good to go? I dont have to put any code in my html to tell it to check this file first?

yes, you right

_________________
Free A-B-C-D Hard Links Exchange Automatic System:
http://www.protect-x.com/index.php?go=shardlinks
Visit other Protect-X sections:
Find/Add NEW SPONSORS:
http://www.protect-x.com/index.php?go=findsponsors
Back to top
View user's profile Send private message Send e-mail
sakrina



Joined: 23 Dec 2006
Posts: 22


PostPosted: 24 Dec 2006 18:51    Post subject: Reply with quote

or like so

<Files 403.html>
order allow,deny
allow from all
</Files>

deny from 66.132.143.91
deny from 84.184.166.10
deny from 210.203.214.162
deny from 212.152.228.243
deny from 84.65.101.113
deny from 213.239.77.159
deny from 83.233.132.235
deny from 82.205.233.4
deny from 82.179.206.139
deny from 212.152.229.071
deny from 64.246.18.25
deny from 216.255.178.0
deny from 82.179.73.139
--------------
then in the file 403.html you can redirect them to another site or make other funny things Twisted Evil
Back to top
View user's profile Send private message
kaosoul



Joined: 03 Jan 2007
Posts: 44
Rank: 3
Location: PA

PostPosted: 08 Jan 2007 06:24    Post subject: Reply with quote

How would I block a range of IP's from 74.6.0.0 through 74.6.255.255 without adding each ip address one by one?
_________________
[url=http://japanesenudebeauties.com/webmasters.htm]Asian Hardlink Trade[/url]
[url=http://www.atcihosting.com/?ref_id=1018][img:90d5d69fcf]http://www.sexocalypse.com/atcihosting.gif[/img:90d5d69fcf][/url]
Back to top
View user's profile Send private message Visit poster's website AIM Address
sakrina



Joined: 23 Dec 2006
Posts: 22


PostPosted: 08 Jan 2007 07:57    Post subject: Reply with quote

like so
74.6.0.0
blocks hole 74.6
Back to top
View user's profile Send private message
kaosoul



Joined: 03 Jan 2007
Posts: 44
Rank: 3
Location: PA

PostPosted: 08 Jan 2007 11:28    Post subject: Reply with quote

sakrina wrote:
like so
74.6.0.0
blocks hole 74.6


Ok Thanks! Sounds easy enough!

_________________
[url=http://japanesenudebeauties.com/webmasters.htm]Asian Hardlink Trade[/url]
[url=http://www.atcihosting.com/?ref_id=1018][img:90d5d69fcf]http://www.sexocalypse.com/atcihosting.gif[/img:90d5d69fcf][/url]
Back to top
View user's profile Send private message Visit poster's website AIM Address
dbs101



Joined: 10 Jan 2007
Posts: 52


PostPosted: 02 Feb 2007 04:07    Post subject: Re: Better Method Reply with quote

artgps wrote:
mod_rewrite is process intensive due to regex... I would recommend that you use mod_setenv instead.

Code:

# Block Cheaters
SetEnvIfNoCase Referer hotadults.net badref=1
SetEnvIfNoCase Referer best4all.net badref=1
SetEnvIfNoCase Referer galleryplanet.com badref=1
SetEnvIfNoCase Referer eroticqueens.com badref=1
SetEnvIfNoCase Referer absolutepics.net badref=1
SetEnvIfNoCase Referer fuckinggalleries.net badref=1
SetEnvIfNoCase Referer sexteensacademy.com badref=1
SetEnvIfNoCase Referer xxxteenbox.com badref=1
SetEnvIfNoCase Referer crazylivesex.com badref=1
SetEnvIfNoCase Referer sexmovielovers.com badref=1
SetEnvIfNoCase Referer livesexspycam.com badref=1
SetEnvIfNoCase Referer hotfreeamateur.com badref=1
SetEnvIfNoCase Referer bestmoviegallery.com badref=1
SetEnvIfNoCase Referer porngalleryhome.com badref=1
SetEnvIfNoCase Referer thepornpictures.com badref=1
SetEnvIfNoCase Referer tgpextractor.com badref=1
SetEnvIfNoCase Referer cogidas.org badref=1
SetEnvIfNoCase Referer ultraporno.net badref=1
SetEnvIfNoCase Referer fuckandsuck.org badref=1
SetEnvIfNoCase Referer bettergirls.net badref=1
SetEnvIfNoCase Referer jhonsons-teens.com badref=1
SetEnvIfNoCase Referer xxxvideoland.com badref=1
SetEnvIfNoCase Referer dailygirlz.net badref=1
SetEnvIfNoCase Referer hornycuties.us badref=1
SetEnvIfNoCase Referer perverted-cuties.com badref=1


Order Deny,Allow
Deny from env=badref


just paste that in my htaccess ?
Back to top
View user's profile Send private message
Protect-X Support



Joined: 30 Oct 2006
Posts: 934
Rank: 35

PostPosted: 02 Feb 2007 13:14    Post subject: Reply with quote

just add a domains that you want to ban instead of those in the code
_________________
Free A-B-C-D Hard Links Exchange Automatic System:
http://www.protect-x.com/index.php?go=shardlinks
Visit other Protect-X sections:
Find/Add NEW SPONSORS:
http://www.protect-x.com/index.php?go=findsponsors
Back to top
View user's profile Send private message Send e-mail
snakegr



Joined: 28 Jan 2007
Posts: 6


PostPosted: 02 Feb 2007 13:34    Post subject: Reply with quote

Ok...everything is done

How can we check if our .htaccess file works?
Back to top
View user's profile Send private message
dbs101



Joined: 10 Jan 2007
Posts: 52


PostPosted: 02 Feb 2007 13:37    Post subject: Reply with quote

mine works perfect.

but i dunno if this is a problem my side or if this is ment to happen.

i can edit the .htaccess twice if i try to edit it a 3rd time the file becomes blank/empty so i just repaste it and save as .htaccess
Back to top
View user's profile Send private message
   
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.
 
Jump to:  
Page 1 of 3
Goto page 1, 2, 3  Next

 
ADVERTISEMENT

ImLive Cam Adult sponsor


Powered by phpBB © 2001, 2005 phpBB Group

Anti Bot Question MOD - phpBB MOD against Spam Bots
Blocked registrations / posts: 0 / 0