Hello,
is there anyway that provide custom ip range in .htaccess for Allow from ?
for exampel following range :
10.0.0.140-10.0.0.190
If you want to block a RANGE of IP numbers, you can use the following:
order allow,deny
deny from 66.98.125.222-240
allow from all.
This will DENY access to anyone with the IP numbers 66.98.125.222 through 66.98.125.240. You
http://billing.handsonwebhosting.com/knowledgebase.php?action=displayarticle&id=195
Code:If you want to block a RANGE of IP numbers, you can use the following: order allow,deny deny from 66.98.125.222-240 allow from all. This will DENY access to anyone with the IP numbers 66.98.125.222 through 66.98.125.240. You
So the same is true of the ALLOW.. just change the wording from "allow" to "deny" and vice versa.
We do this here on a number of our internal IPs for when we're testing sites etc.