[BNM] .htaccess question / blocking IP range

Antony Jones antonyj at gamesys.co.uk
Fri Apr 4 12:42:25 BST 2008


> It's because you're doing it wrong. You don't specify a range of
> addresses using "start - end", you need to use either a full ip
> address,
> a partial IP address or a netmask. You would want to do:
> 
> Deny from 82.99.30.0/25

I love CIDR masks, but I have absolutely no idea how to work them out. I
learned once but I forgot again. Has anybody got an easy-to-remember way
of doing it?

Cheers,

Ant

On Fri, 2008-04-04 at 12:28 +0100, David Pashley wrote:
> It's because you're doing it wrong. You don't specify a range of
> addresses using "start - end", you need to use either a full ip
> address,
> a partial IP address or a netmask. You would want to do:
> 
> Deny from 82.99.30.0/25


More information about the BNMlist mailing list. Powered by Wessex Networks