Re: [mp2] how to redirect POST data

[prev] [thread] [next] [Date index for 2004/12/17]

From: Joe Schaefer
Subject: Re: [mp2] how to redirect POST data
Date: 04:45 on 17 Dec 2004
Beberle <beberle_2000@xxxxx.xxx> writes:


> Ok, I'm getting closer but still not there yet.  I've
> added a filter like so:

[...]

> I've been able to successfully capture the POST data
> without removing it from the chain.  Problem is, it's
> too late.  From what I've been able to gather from
> printing to the error log, the chain looks like this:
>
> PerlTransHandler --> PerlAccessHandler --> PerlHandler
> --> PerlInputFilterHandler
>
> I thought the filter was accessed before the
> response-handler. 

Request filters aren't normally inserted into
the filter chain until the response-handler is
ready to run.  mod_apreq is an exception, and it's
quite tricky to pull this off without breaking
lots of other things.

> What am I doing wrong?

What you're trying to do isn't a simple thing,
even if you're familiar with apache2's innards.
The input filter system wasn't really designed 
to encourage people to do what you're doing.

So, have you tried using Apache::Request yet?

        -- 
        Joe Schaefer


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

[mp2] how to redirect POST data
Beberle 10:43 on 13 Dec 2004

Re: [mp2] how to redirect POST data
Tom Schindl 12:02 on 13 Dec 2004

Re: [mp2] how to redirect POST data
Reenen C Kroukamp 12:44 on 13 Dec 2004

Re: [mp2] how to redirect POST data
Beberle 01:32 on 15 Dec 2004

Re: [mp2] how to redirect POST data
Joe Schaefer 02:50 on 15 Dec 2004

Re: [mp2] how to redirect POST data
Beberle 02:42 on 17 Dec 2004

Re: [mp2] how to redirect POST data
Joe Schaefer 04:45 on 17 Dec 2004

compile problems
Matthew Berk 07:05 on 17 Dec 2004

Re: compile problems
Stas Bekman 16:12 on 17 Dec 2004

Re: compile problems
Matthew Berk 14:44 on 20 Dec 2004

Generated at 12:15 on 16 Jan 2005 by mariachi v0.52