Welcome to WebmasterWorld Guest from 54.167.252.62

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

htaccess rule to ban a top-level domain

Direct Referral Marketing spammer

     
8:05 am on Apr 18, 2014 (gmt 0)



I need help writing a RewriteRule to ban host37.server6.example.com. I created this rule: RewriteCond %{HTTP_USER_AGENT} *.example\.com [NC,OR] but example.com appears under several servers.

[edited by: coopster at 1:29 pm (utc) on Apr 18, 2014]
[edit reason] please use example.com domain, thanks! [/edit]

2:53 pm on Apr 18, 2014 (gmt 0)

WebmasterWorld Senior Member wilderness is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



SingleHop [webmasterworld.com]

FDCSERVERS [whois.arin.net]
4:25 pm on Apr 19, 2014 (gmt 0)

WebmasterWorld Senior Member wilderness is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



1) Gather all the SingleHop & FDC CIDR's.
2) Create lines for all IP's.
a) Ex:
Deny From 184.154.0.0/16

Please note; there are other lines that will be required (there are multiple examples in both this forum and the SSID forum)to make these IP lines complete and functional, however a full copy and paste solution is beyond the charter of this forum.

Don
5:23 pm on Apr 19, 2014 (gmt 0)



You have been a lot of help! My email got spoofed recently, so I am taking all precaution. 175,608 emails were sent out and I don't ever want that to happen again. Just think how productive the idiot could be that did that if he'd get a real job. Thanks again, Don.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month