[pmwiki-users] Re: authuser and .htgroups

Patrick R. Michaud pmichaud at pobox.com
Fri Jul 1 12:21:12 CDT 2005


On Fri, Jul 01, 2005 at 08:59:20AM +0200, Joachim Durchholz wrote:
> >   $AuthUserHtPasswd = "/path/to/.htpasswd"
> >   $AuthUserLDAP = "ldap://url.to.ldap.server"
> >   $AuthUserPAM = "..."
> 
>   if ($FullName == 'Main.CriticalPage') {
>     unset($AuthScheme['http-basic-unencrypted']);
>   }
> The advantage here is that the person who wants to disable a scheme 
> doesn't need to look up the exact names of the configuration variables.

No, but they'd still need to look up the exact name of the array
index, which amounts to the same thing.  

I may end up with an array or with individual variables -- I'm still
working it out in my head.

Pm



More information about the pmwiki-users mailing list