Re: [users@httpd] access control

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

 





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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux