htaccess (IP)

Doc Schneider doc at maddoc.net
Wed Nov 16 23:31:30 UTC 2005


CH wrote:
> Hello all,
> 
> In the <Directory> directive is it possible to have wild cards for the
> IP address?
> 
> Something like this:
> deny from 192.168.1.*
> 
> The above IP would be a WAN IP not a LAN IP.
> 
> If not, what is the correct way??
> 
> Thanks,
> ~WILL~
> 

I believe you have to use
Deny from 192.168.1.0/24

for the whole class C or you can also do

Deny from 192.168.1.0/255.255.255.0

-- 
-Doc




More information about the fedora-list mailing list