Re: htaccess (IP)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!! :)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux