I'd like to set up different LDAP authorization rules for different levels of an URL. This is the config currently used
<Location />
AuthType Basic
AuthName "Foo"
AuthBasicProvider ldap
AuthLDAPURL "..."
AuthLDAPBindDN "..."
AuthLDAPBindPassword "..."
</Location>
<Location />
Require ldap-group cn=foo,ou=Groups,dc=com,dc=company
</Location>
<Location /path/>
Require ldap-user bar
</Location>
The problem is that /path/ inherits the rules from /. Hence for user bar to be able to access /path/ he must also be in the foo group.
How can I configure the user bar to be able to access /path/ without also having to be a member of group foo?
EDIT: Changed ldap-group to ldap-user for /path/ for an accurate problem description.
/path/and the main one/last in the list ... ? Unsure if it will work, but worth a try ... – KM01 Feb 21 '12 at 14:21