Bobby Gontarski wrote:
I need the following:
Allow access from certain IPs to a certain directory and if the user does not 
come from that IP I need to authenticate him/her using the password file.

I can do one or the other - either certain IPs are allowed and others are not 
or the access is controled based on password file regardless of IP.

.htaccess will do all of this for you. Check out this link, I think it will give you what you're looking for:

http://www.javascriptkit.com/howto/htaccess.shtml



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to