schwim Posted January 27, 2007 Share Posted January 27, 2007 Hi there guys!I'm having a problem on one of my community sites:My referrers are being spammed. It was easy to block initially, because keywords were in the URL's that would never be found in a legitimate keyword for my site, and I could safely block them. Now the spammers are using ambiguous URL's in hopes of a click to sell their wares, no longer relying on keywords in the URL:Old referrer: http:// www . buyillegalviagra . comNew referrer: http:// www . mormonsarecool . com/#the majority of the spam referrers have "/#" appended to them, so I thought I'd simply add a rule blocking that, but I'm having a problem doing that. Here's my current method of blocking via htaccess:[code]SetEnvIfNoCase Referer "^/\#" BadReferrerorder deny,allowdeny from env=BadReferrerdeny from 80.227.0.153deny from 69.16.200.85<Files 403.shtml>order deny,allowallow from all</Files>ErrorDocument 403 /403.shtmlErrorDocument 404 /404.shtml[/code]but it's not working. I created a page linking to my site on another domain, and accessed it with a pound sign at the end of the URL, and when linking, it doesn't get blocked.How do I get my current rule to block any referrers ending with "/#"?I'm very appreciative of any help you might be able to provide.thanks,json Quote Link to comment Share on other sites More sharing options...
schwim Posted January 29, 2007 Author Share Posted January 29, 2007 Wehheell, thanks for everything guys!It may take me some time to try all of these suggestions, but I promise I will get back to you with a full report of how each of these worked. It's the least I can do for all the time you've put into it.Again, thanks so much. I'm humbled at the level of enthusiasm.thanks,json Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.