On 9/29/05, Bhavin Modi <[EMAIL PROTECTED]> wrote:
>        RewriteRule ^/users/$ /users/%{REMOTE_USER} [R]

> 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 ?

RewriteCond %{REMOTE_USER} uid=([^,]+),
RewriteRule ^/users/$ /users/%1

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to