htaccess (IP)

CH ch at code-heads.com
Thu Nov 17 00:09:37 UTC 2005


On Wed, 2005-11-16 at 17:31 -0600, Doc Schneider wrote:
> 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


Thanks!! :)




More information about the users mailing list