Reading through the Apache documentation here:
[
httpd.apache.org...]
I find two interesting binary operators:
-ipmatch
IP address matches address/netmask
-R
Same as "%{REMOTE_ADDR} -ipmatch ...", but more efficient
Has any used any of these with rewriterules to match IPs against a netmask? It has to be far more efficient that all the various string matches, plus you don't have to convert netmasks.