httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Ray [Lists]" <li...@blazestudios.com>
Subject Re: [users@httpd] access control
Date Wed, 31 May 2006 22:32:00 GMT


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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message