Forum Moderators: phranque

Message Too Old, No Replies

htaccess block range

         

authuser

8:56 am on Dec 10, 2006 (gmt 0)

10+ Year Member



I've built .htaccess files before that can ALLOW ( i can't edit the topic sorry) an entire range of IP's or individual IP's, but is it possible to ALLOW ...
For example:

Order allow,deny
allow from 58.14.0.0 - 58.25.255.255 <---- is there a way to write this?

I'm trying to avoid writing in each individual IP for a whole range of IPs.

Thanks.

jdMorgan

2:55 pm on Dec 10, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Several solutions are discussed in this recent thread [webmasterworld.com], and in the mod_access documentation [httpd.apache.org] itself.

Jim