[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    What is the best way
From:       Tracy12 <j_lalith () yahoo ! com>
Date:       2007-01-30 23:32:53
Message-ID: 8720359.post () talk ! nabble ! com
[Download RAW message or body]


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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic