--0-1804544491-1199720093=:82693
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

coooool. thx for that. I'll have a play.

merci.

Geoffrey Young wrote:

Anthony Gardner wrote:
> I'm trying to write a FixupHandler to clean up the query_string
> before it gets to the response phase. Problem is, I can't. After
> cleaning it up, I reassign to $ENV{QUERY_STRING} but in the called
> response script, the original QUERY_STRING is present.
>
> I can add new keys to %ENV at the PerlFixupHandler stage and they're
> made available to the called response script, but not the changed
> QUERY_STRING!!
>
> Any pointers would be great.Thx


try calling

$r->subprocess_env();

in a void context. see

http://perl.apache.org/docs/2.0/api/...ubprocess_env_

HTH

--Geoff




Disclaimer: Technically, I'm always wrong!!

---------------------------------
Sent from Yahoo! - a smarter inbox.
--0-1804544491-1199720093=:82693
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

coooool. thx for that. I'll have a play.

merci.

Geoffrey Young <geoff@modperlcookbook.org> wrote:


Anthony Gardner wrote:
> I'm trying to write a FixupHandler to clean up the query_string
> before it gets to the response phase. Problem is, I can't. After
> cleaning it up, I reassign to $ENV{QUERY_STRING} but in the called
> response script, the original QUERY_STRING is present.
>
> I can add new keys to %ENV at the PerlFixupHandler stage and they're
> made available to the called response script, but not the changed
> QUERY_STRING!!
>
> Any pointers would be great.Thx

try calling

$r->subprocess_env();

in a void context. see


http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_subprocess_env_

HTH

--Geoff




Disclaimer: Technically, I'm always wrong!!



Sent from Yahoo! - a smarter inbox.
--0-1804544491-1199720093=:82693--