how to modify post data before $r->internal_redirect

This is a multi-part message in MIME format.
--------------090006090509010904070804
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit

we know apache takes all post form data to sub-request when we do
internal redirect, but I will modify some param value and then pass the
new value to subrequest, is it possible?

--

*陈建春|ChenJianchun*
傲游Web应用部
E-mail: chenjch [at] maxthon.net <mailto:chenjch [at] maxthon.net>

*Maxthon^? * --每个人的互联网中心! 上网从傲游开始!
傲游天下科技有限公司(中国) <http://www.maxthon.cn/> | www.maxthon.cn
<http://www.maxthon.cn/>

*诚信、创新、务实、奋斗!*


--------------090006090509010904070804
Content-Type: text/html; charset=GB2312
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
we know apache takes all post form data to sub-request when we do
internal redirect, but I will modify some param value and then pass the
new value to  subrequest, is it possible?<br>
<br>
<div class="moz-signature">-- <br>
<p
style="margin: 0pt 0pt 10px; font-size: 9pt; font-family: Verdana; line-height: 125%; color: rgb(128, 128, 128);">
<span style="color: rgb(0, 81, 151);"><strong>陈建春 | ChenJianchun</strong></span><br>
傲游Web应用部<br>
<span style="color: rgb(99, 36, 35); font-size: 8pt;"> E-mail: <a
href="mailto:chenjch [at] maxthon.net"
style="color: rgb(128, 128, 128); text-decoration: none;">chenjch [at] maxthon.net</a>
</span>
</p>
<p
style="margin: 0pt 0pt 10px; font-size: 9pt; font-family: Verdana; line-height: 175%; color: rgb(128, 128, 128);">
<span style="color: rgb(0, 81, 151); font-size: 11pt;"><strong>Maxthon<sup
style="font-size: 8pt;">®</sup></strong></span> --每个人的互联网中心!         <span
style="color: rgb(0, 81, 151); font-size: 9pt;">上网从傲游开始!</span><br>
<a href="http://www.maxthon.cn/"
style="color: rgb(66, 113, 144); text-decoration: none;">傲游天下科技有限公司(中国)</a>
| <a href="http://www.maxthon.cn/"
style="color: rgb(66, 113, 144); text-decoration: none; font-size: 8pt;">www.maxthon.cn</a>
</p>
<p
style="margin: 0pt; font-size: 9pt; font-family: Verdana; line-height: 150%; color: rgb(92, 115, 47);"><strong>诚
信、创新、务实、奋斗!</strong></p>
</div>
</body>
</html>

--------------090006090509010904070804--
chenjch [ Fr, 15 Januar 2010 06:49 ] [ ID #2028854 ]

Re: how to modify post data before $r->internal_redirect

On Friday 15 January 2010 06:49:14 =E9=99=88=E5=BB=BA=E6=98=A5 wrote:
> we know apache takes all post form data to sub-request when we do
> internal redirect, but I will modify some param value and then pass the
> new value to subrequest, is it possible?
>
You'll need a request based input filter. The docs provide some examples.

Torsten
torsten.foertsch [ Fr, 15 Januar 2010 10:34 ] [ ID #2028857 ]
Webserver » gmane.comp.apache.mod-perl » how to modify post data before $r->internal_redirect

Vorheriges Thema: A ghost in the machine?
Nächstes Thema: Caveats to using Perl Sections for server configuration?