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

[cobalt-developers] Restricting Access to an IP



Hi

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>



####and this######
order deny,allow
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.22.194

Thanks in advance

Gary