View Single Post
Old 07-16-2004, 02:42 AM  
mysh
Registered User
 
Join Date: Jul 2004
Location: far far away
Posts: 24
If you want to allow users from some IPs, and deny all others, you type:

order deny,allow
deny from all
allow from 12.13.14.15
allow from 12.13.14.16

and so on. besides, you can define an address mask in allow from rule. for example, you want to allow all users from 12.13.14.* network - then you type:

allow from 12.13.14.0/24

so for 12.13.*.* - 12.13.0.0/16

and so on... you get that.

and if you want to allow all users except some addresses, you type

order allow,deny
allow from all
deny from 12.13.14.15

and so on. masks are allowed too. No matter where place you put those strings in .htaccess it will work fine.
__________________
Maximum response from your teen traffic is HERE
mysh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote