Blocking IPs with .htaccess
-
Hi all,
I know it’s futile to try to ban every spammer, but I’d like to ban at least a few of the more prolific ones that keep coming back to my site from the same subnets. However, although I’ve tried modifying htaccess to keep them out, they keep coming back. I’ve followed instructions I’ve found on this site and elsewhere, without success. These are the very first lines of my htaccess file:
order deny,allow
deny from 81.177.15.*
deny from 81.177.14.*
deny from 85.255.113.*
deny from 85.255.114.*
deny from 195.225.176.86
deny from 85.255.117.250
allow from allCan anyone see an error in that? How come people from those subnets are still able to access my site?
- The topic ‘Blocking IPs with .htaccess’ is closed to new replies.