Sabertooth
06-25-2001, 11:51 PM
I have .htaccess file like this:
deny from all
allow from 194.97.59.0/24 (255.255.255.0)
allow from 195.8.107.0/24 (255.255.255.0)
allow from 195.152.176.0/24 (255.255.255.0)
allow from 195.242.60.0/24 (255.255.255.0)
allow from 198.143.15.0/24 (255.255.255.0)
allow from 202.139.84.0/25 (255.255.255.128)
allow from 210.176.142.64/26 (255.255.255.192)
allow from 216.20.193.0/25 (255.255.255.128)
AuthUserFile /usr/apache/vhosts/yaddayadda.net/httpdocs/members/.htpasswd
AuthGroupFile /dev/null
AuthName "yaddayadda.net: Members Area"
AuthType Basic
require valid-user
<Files .*>
order allow,deny
deny from all
</Files>
satisfy any
It's fine, everything works...but how do I allow access, let's say from http://www.kjasasdckj.com/members/fuckmyhead.html
deny from all
allow from 194.97.59.0/24 (255.255.255.0)
allow from 195.8.107.0/24 (255.255.255.0)
allow from 195.152.176.0/24 (255.255.255.0)
allow from 195.242.60.0/24 (255.255.255.0)
allow from 198.143.15.0/24 (255.255.255.0)
allow from 202.139.84.0/25 (255.255.255.128)
allow from 210.176.142.64/26 (255.255.255.192)
allow from 216.20.193.0/25 (255.255.255.128)
AuthUserFile /usr/apache/vhosts/yaddayadda.net/httpdocs/members/.htpasswd
AuthGroupFile /dev/null
AuthName "yaddayadda.net: Members Area"
AuthType Basic
require valid-user
<Files .*>
order allow,deny
deny from all
</Files>
satisfy any
It's fine, everything works...but how do I allow access, let's say from http://www.kjasasdckj.com/members/fuckmyhead.html