| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Blocking IPs with subnet mask|
Suppose the IP range is aa.bb.cc.224 - 255
In .htaccess, I want to deny this range. What is the subnet mask?
Deny from aa.bb.cc.224/255.255.255.31 ?
Deny from aa.bb.cc.31/255.255.255.224 ?
or something else? It's hard to test it. Right now I'm using
Deny from aa.bb.cc
but I don't want to deny from 0-223
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved