![]() |
|
|
#1
|
||||
|
||||
|
referrer spam
I was checking my logs today and noticed I'm getting a lot of traffic from a weird site
http://www. coresat. com/ Does anyone know how to block this referrer? I don't think I want traffic coming from this site.
|
|
#2
|
||||
|
||||
|
Do you have a .htaccess file? If so it can be blocked. Let me look for code.
Shannon ---------- If they are not on shared ip add line deny from 123.456.789.012 or whatever their ip is. If on shared id add RewriteEngine on RewriteCond %{HTTP_REFERER} ^http://www\.)?badurl.com.*$[OR] RewriteCond %{HTTP_REFERER} ^http://www\.)?secondbad.com.*$[NC,OR] RewriteCond %{HTTP_REFERER} ^http://www\.)?thirdbad.com.*$[NC,OR] RewriteCond %{HTTP_REFERER} ^http://www\.)?fourthbad.com.*$[NC] RewriteRule .*$ -[F,L] I am trying a multiprong approach. I want to ban particular URL's which have already spammed, ban URL's that have certain keywords like sex, Viagra, porn, ... and spammy urls like keyword1-keyword2-keyword3.com I do not have my .htaccess perfected but have had luck with code given above. I believe most restrictive rewrite rules should be listed first. S
__________________
Shannon - . Controllable Christmas Lights for Celiac Disease : Zend Certified Engineer : Preschool Curriculum Ideas : Restorable Iron Last edited by Smyrl; Apr 19th 2005 at 8:49 pm. Reason: To ad info |
|
#3
|
||||
|
||||
|
Thanks Smryl, I'll try that!
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Referrer spam summary | J.D. | Traffic Analysis | 1 | Jan 18th 2007 7:10 pm |
| Spam Report Coop | Dominic | General Chat | 15 | Aug 1st 2005 6:06 pm |
| Stoping Referrer Spam | kusadasi-guy | Traffic Analysis | 27 | Apr 4th 2005 11:53 am |
| Stopping Referrer Spam | Smyrl | Traffic Analysis | 18 | Mar 16th 2005 6:58 am |
| Fight Email Spam With This Program "ABUSE" | mddv | All Other Tools | 0 | Jul 16th 2004 3:25 am |