Can't Seem To Block And IP


I am having issues blocking an IP, it’s banging away at my site daily under different IP’s. I want to block a range now. Each day I am adding new IP’s from the same spammer into the database, they obviosuly have a massive range.

Todays IP is :

I’ve tried

deny from 88.135.85.
deny from 88.135.85
deny from
deny from

For the last one I used to find the ranges.

Can anyone help

Thanks very much…

Order Deny,Allow
Deny From …

If i remember rightly, the default is Order Allow,Deny

i.e. its allowed before its blocked :slight_smile:

It’s all set up fine I think

SetEnvIfNoCase User-Agent “^Black Hole” bad_bot

<Limit GET POST>
order allow,deny
allow from all
deny from env=bad_bot

deny from
deny from
deny from
deny from


It seems to be stilll getting through. I’ve not restarted the server tho, but I didn’t think you had to.

LIMIT GET,POST rather than space

Equally, they aren’t needed as such in a htaccess, you can do just the commands for order etc.

Okay. Will see if that makes a difference. Thanks