mod_rewrite problem

Hi
I am writting the below code in httpd-vhosts.conf. but it is not working for me… Can anyone explain me where I am wrong.

RewriteCond %{LA-U:REMOTE_USER} (.+)
RewriteRule ^%{HTTP_HOST}:8080/seaside/UserLoginPage?userid=%1$ %{HTTP_HOST}:8080/seaside/UserLoginPage?[L]

I want to remove query string from my URL but I need it also while I logged in my home page. If any one know any other way of doing this so that I can retain my authantication.
I really stuck with this problem and need to solve it urgently…

Thanks & Regards

Harry,

Sorry, I don’t normally venture into the Server board so I just found this post and moved it to the Apache forum.

Basically, your RewriteRule is wrong - it can ONLY examine the {REQUEST_URI} variable in the regex and you’ve got it looking at the {HTTP_HOST}. Please re-read the article for more examples.

Regards,

DK