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

Re: [cobalt-users] Restricting to an ip



You should use just:

<Limit GET POST>
deny from all
allow from 195.13.105
allow from 213.253.128
allow from 213.253.129
allow from 192.168.10
allow from 62.252.0.5
</Limit>


Using the Auth mechanism would imply a user/password access measure in
addition to the IP access.

Nic.
 
> I am trying to set up a raq3 to restrict access to a directory to a certain
> IP address.
> 
> I have the following in my .htaccess file, but this isn't working, can
> anybody shed some light please
> 
> ####tried this######
> 
> AuthUserFile /dev/null
> AuthGroupFile /dev/null
> AuthName WebSiteName
> AuthType Basic
> <Limit GET POST>
> deny from all
> allow from 195.13.105
> allow from 213.253.128
> allow from 213.253.129
> allow from 192.168.10
> allow from 62.252.0.5
> </Limit>