I am getting massive comment spam the past 24 hours from IP: 81.95.146.227, I've noticed this same person is hitting my regular wordpress blogs too, so I tried to do an htaccess block on his IP to keep him from accessing the site, but maybe it is not set up properly?
I modded the htaccess to look like this:
----------------------------------
RewriteEngine On
RewriteBase /
# Rewrite http://www.domain.com to domain.com
RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule ^(.*) http://%1/$1 [R,L]
#uploaded files
RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
order allow,deny
deny from 81.95.146.227
allow from all
----------------------
Is this the wrong way?
Any help would be appreciated!