You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Redding, Jason" <JR...@ccbcmd.edu> on 2006/04/24 21:33:26 UTC

[users@httpd] Accessing POST data using mod_ext_filter?

I'm using a perl script as my external filter (mod_ext_filter) and I
need to find out how to access POST data from within this filter.

Platform: SuSe 9.2
Apache version: 2.2.0

---------------
Jason
CCBC

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Accessing POST data using mod_ext_filter?

Posted by Joshua Slive <jo...@slive.ca>.
On 4/24/06, Redding, Jason <JR...@ccbcmd.edu> wrote:
> I'm using a perl script as my external filter (mod_ext_filter) and I
> need to find out how to access POST data from within this filter.

For this, you need an input filter (mode=input).  If what you want to
do is affect both the request and the response, you'll need to
different filters, and should perhaps be thinking of a handler anyway.
 More specifics about what you are trying to accomplish might help.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Accessing POST data using mod_ext_filter?

Posted by Nick Kew <ni...@webthing.com>.
On Monday 24 April 2006 20:33, Redding, Jason wrote:
> I'm using a perl script as my external filter (mod_ext_filter) and I
> need to find out how to access POST data from within this filter.

Simple answer: you can't.  POST data is input data; ext_filter gives
you output data.

Alternative answer: there are workarounds, but I'd need to know more
about what you're doing to say what would make sense.

What is the purpose of your filter?  Why are you using an ext_filter
as opposed to a normal filter?

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org