Re: Restriction of access using both mod_authz_host and mod_auth_basic

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

 



On 10/4/07, Roberto Suarez Soto <robe@xxxxxxxxxxx> wrote:
> Hi,
>
>         I have a website that I want only a few selected IPs to see. For
> this, I use "Allow from" directives in the VirtualHost section of this
> website. But besides, I have some people that use dynamic IP addresses (so
> I can't use "Allow from") and that must see the website too. So, ideally,
> I'd like to use "Allow from" directives to allow access from my "allowed
> IPs" list, and if someone from an IP not in the list tries to access, I'd
> like him or her to be able to use basic authentication to be allowed.

You're looking for the Satisfy directive. Also see:
http://wiki.apache.org/httpd/BypassAuthenticationOrAuthorizationRequirements

Joshua.

---------------------------------------------------------------------
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