httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime Petazzoni <maxime.petazz...@bulix.org>
Subject Re: [PATCH] Multiple AuthUserFile support
Date Wed, 26 Oct 2005 00:10:26 GMT
* Justin Erenkrantz <justin@erenkrantz.com> [2005-10-25 17:05:57]:

> --On October 26, 2005 1:49:15 AM +0200 Maxime Petazzoni 
> <maxime.petazzoni@bulix.org> wrote:
> 
> >In the light of the issue reported by noodl at
> >http://eul0000113.eu.verio.net/~noodl/apache_issues.txt I decided to
> >implement multiple AuthUserFile support.
> 
> I don't get it.
> 
> mod_authn_alias is the solution here.  Like so:
> 
> ---
> <AuthnProviderAlias file foo>
>     AuthUserFile conf/foo-user
> </AuthnProviderAlias>
> 
> <AuthnProviderAlias file foo1>
>     AuthUserFile conf/foo1-user
> </AuthnProviderAlias>
> 
> AuthBasicProvider foo foo1
> ---
> 
> So, I don't think extending AuthUserFile doesn't make sense; and the 
> mod_authn_alias approach already works today...  -- justin

You're right. But I don't think everybody as such an extensive
knowledge of the authentication configuration. The example you gave
may look simple to you, but I believe adding multiple AuthUserFile
lines to a "classic" Basic Auth configuration schema is a lot more
intuitive :

    AuthType Basic
    AuthName "Developpement HTTPd server"
    AuthUserFile /home/sam/.local/access.user
    AuthUserFile /home/sam/.local/access.user2
    Require valid-user

Just my 2 ยข,
- Sam

-- 
Maxime Petazzoni (http://www.bulix.org)
 -- gone crazy, back soon. leave message.

Mime
View raw message