Re: Using AuthName with mod_rewrite

2008-12-18 Thread Ravi Verma
Thank you Bob. Adding the following lines in the conf file made it work. RewriteEngine on RewriteRule ^$ http://localhost/bob/ravi.html?userid=%{REMOTE_USER} [R,L] Regards. On Thu, December 18, 2008 3:19 am, Bob Ionescu wrote: >> When I use >> RewriteEngine on >> RewriteCond %{REMOTE_USER} ^

Re: Using AuthName with mod_rewrite

2008-12-18 Thread Bob Ionescu
> When I use > RewriteEngine on > RewriteCond %{REMOTE_USER} ^ That RegEx is always true (so you can skip the condition). To check for at least one character present, use a '.', i.e. %{REMOTE_USER} . But anyway... > RewriteRule ^/$ http://localhost/home.seam?userid=%{REMOTE_USER} [L] That is

Using AuthName with mod_rewrite

2008-12-17 Thread Ravi Verma
Dear Friends, I am new to Apache and mod_rewrite. I have a challenge to append the AuthName to the URL. I am using the following directive to protect the location / with a popup and user data coming from an LDAP server. AuthzLDAPMethod ldap AuthzLDAPServer 10.2.1.86 AuthzLDAPU