View Single Post
Old 03-26-2013, 11:32 PM  
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by venus View Post
Anyone know how to block a domain name in htaccess from sending traffic to your site?

I have a guy, with a bunch of cam sites
http://www.mycam.com
http://www.indianlivesexchat.com
http://www.dacams.com

and some others sending scam signups, stolen credit cards, hoping that I will send out a check before I catch on...has not happened, caught on before I ever sent them a check, they are scamming ccbill sites also, the chargeback I missed had about a dozen ccbill sites on the paper the owner said was not his.

so I want to block the traffic coming from those sites, any idea how?
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^(.*)(<|>|'|%0A|%0D|%27|%3C|%3E|%00).* [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?mycam(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?indianlivesexchat(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?dacams(-|.).*$ [NC]
RewriteRule ^(.*)$ - [F,L]
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote