Recent Topics

1 Feb 10, 2005 05:39    

I am honestly not sure where to put this. I am having a problem with this one spam referer that has over 6500 hits. Every time I try to check & ban, the page won't fully load all the way for me to delete the hits. Is there some way I can maybe manually ban this domain on the server side?

2 Feb 10, 2005 06:20

.htaccess can ban them entirely at the server side, but I've never figured out how to make it work. Another simple method is to use phpmyadmin to add the offender to your keyword antispam list (insert new record) and then wipe them out of your hitlog table (delete where referer is like %blah%).

3 Feb 10, 2005 06:30


RewriteCond %{HTTP_REFERER} ^http://(www.)?bad-domain.*$ [OR]
RewriteCond %{HTTP_REFERER} ^http://12.163.72.13$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www.)?baddomain-2.com.*$ [NC]
RewriteRule ^(.*) http://%{REMOTE_ADDR}/ [R=301,L]

the placement of the[NC] and [OR]'s does matter.

4 Feb 10, 2005 10:04

whoo wrote:


RewriteCond %{HTTP_REFERER} ^http://(www.)?bad-domain.*$ [OR]
RewriteCond %{HTTP_REFERER} ^http://12.163.72.13$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www.)?baddomain-2.com.*$ [NC]
RewriteRule ^(.*) http://%{REMOTE_ADDR}/ [R=301,L]

the placement of the[NC] and [OR]'s does matter.

Er... Dumb it down for us non-savvy people. Does the IP addy in there have to be changed to anything? And other than that, can I post it as-is to my .htaccess?

Because I've got one that's SLAMMING me, about every two minutes reguarly. It's up to 55% of my external link visits now.

5 Feb 10, 2005 10:26

Hopefully whoo will clarify, but in the mean time if you've got phpmyadmin available take advantage of it. Go to your database and select your antispam table then select SQL and paste in this:

INSERT INTO `evo_antispam` ( `aspm_ID` , `aspm_string` , `aspm_source` ) VALUES ( '', 'greatgooglymoogly', 'local' )


That won't stop them from hitting your site, but it will stop b2evo from recording it. While you're in there you can clear up your hitlog table. Select the hitlog table and SQL then paste in this:

DELETE FROM `evo_hitlog` WHERE `referingURL` LIKE '%greatgooglymoogly%'


Of course go to your antispam tab and first get the update(s) then report "greatgooglymoogly" to central.

EDIT: the % before and after the keyword you want to ban is like wild-cards, so you need them there.


Form is loading...