Hi,

Within a perl Authentication hanlder what is the best way to preserve the
REMOTE_USER value and forward to the same but modified internal URL (without
some query parameters).

for eg. 

htttp://localhost/private?MYTEMP=4

I want to remove MYTEMP=4 and forward to htttp://localhost/private within
the Auth Hanlder after populating the remote user as MYTEMP used internally
for authentication purpose.


I tried witht $r->internal_redirect("<above url>");  and did the following
in the top of the auth handler


return OK unless $r->is_initial_req;

but doesnt seem to work (has lost the remote_user value and also the url
looks the same)


Is there a workaround for this

Thanks




-- 
View this message in context: 
http://www.nabble.com/What-is-the-best-way-tf3145726.html#a8720359
Sent from the mod_perl - General mailing list archive at Nabble.com.

Reply via email to