httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Restriction of access using both mod_authz_host and mod_auth_basic
Date Thu, 04 Oct 2007 13:09:37 GMT
On 10/4/07, Roberto Suarez Soto <robe@allenta.com> 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@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