2007/9/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> as i see there is no way to set request parameter in mod_perl2
You can rewrite an url using mp2's PerlTransHandler.
This is the sample code from book mp2 user's guide.
If the URI:
http://example.com/news/20021031/09/index.html
is now handled by:
On 9/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> as i see there is no way to set request parameter in mod_perl2
What makes you think that? You can set the query string in mod_perl2.
You can also do things like create an input filter to alter
parameters on their way in.
- Perrin
That's probably a question for the libapreq list. I know that for me
this was a really annoying thing to have to work around when porting to
MP2. the other thing that changed in apreq is that @params =
$req->param() will now return (a, b, b) for the query string
"?a=1&b=1&b=2" instead of (a, b).