I have an expression that I use to block the ip range of 00.175.0.32 to 00.175.0.47
^00\.175\.0\.(3[2-9]¦4[0-7])$
Can I use this expression in a "Deny From" statement?
Thanks!
gergoe
9:47 am on Jun 2, 2004 (gmt 0)
Together with SetEnvIf for example, yes; I'd rather not use regular expressions in this case; easier and more straightforward is to use a network address/subnetmask pair, like this:
Deny From 00.175.0.32/28
...which will deny access to the given ip addresses. See [telusplanet.net...] for more details on how the 00.175.0.32/28 is calculated.