This went first to users@, but it appears that the auth-fu isn't strong there right now. ;-)

I was hoping that someone (Brad?) might be able to assist me with this. I was trying to come up with a non-LDAP example for the documentation, since this seems a really useful feature that should be accessible to folks that don't use LDAP. But so far no joy.

Begin forwarded message:

From: Rich Bowen <[EMAIL PROTECTED]>
Date: September 4, 2006 16:34:45 EDT
To: [email protected]
Subject: [EMAIL PROTECTED] AuthProviderAlias and mod_authn_file
Reply-To: [email protected]

I'm trying to come up with a working example of using AuthProviderAlias with something other than LDAP. I'm sure I'm overlooking something simple, but I can't get it working, and could use some advice. Here's what I've got:

<AuthnProviderAlias file file1>
    AuthUserFile /tmp/auth1
</AuthnProviderAlias>

<AuthnProviderAlias file file2>
    AuthUserFile /tmp/auth2
</AuthnProviderAlias>

    <Directory /usr/local/apache/vhosts/drbacchus/x>
        AuthType Basic
        AuthName 'wooga'
        AuthBasicAuthoritative off
        AuthBasicProvider file1 file2

        Require valid-user
    </Directory>

On trying to authenticate, I get the following in the error log:

access to /x failed, reason: require directives present and no Authoritative handler.

Any advice would be greatly appreciated. With any luck, I'll figure it out as soon as I press send ...

--
They went to sea in a sieve, they did
In a sieve they went to see


Reply via email to