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