<Directory "/share/users">
SSLRequireSSL
DAV on
Options FollowSymLinks SymLinksIfOwnerMatch
AllowOverride None
AuthType basic
AuthName "Restricted Access"
AuthzLDAPEngine on
AuthzLDAPServer "server1 server2"
AuthzLDAPBindDN uid=proxyuser,ou=people,dc=domain,dc=com
AuthzLDAPBindPassword **********
AuthzLDAPUserBase ou=people,dc=domain,dc=com
AuthzLDAPUserKey uid
AuthzLDAPUserScope base
RewriteEngine On
RewriteRule ^/users/$ /users/%{REMOTE_USER} [R]
<Limit GET PUT DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
require valid-user
</Limit>
</Directory>
---------------------------------------
The %{REMOTE_USER} returns a value like "uid=testuser,ou=people,dc=domain,dc=com", so I need to filter "testuser" from this string.
Is there any other way to do what I am trying to do ?
Thanks,
Bhavin.