Hello everybody,

We use a cgi-bin developed in C to perform some tags treatments on our pages.
We have installed the Apache 2.0.47 on our server and it is working well.

We think about transform our C program to an apache filter but we block on :

"How to read the Post arguments of the page when we ask a post request (e.g. by a form 
in multi-part/data) " ?
We have already developed a filter test that is work well but only if the request is 
in GET method.

>From our tests, we think that the filter receive only the body of the page with some 
>variables avalaible in the record_rec and
filter_rec structure. We don't understand how to access to the post_data of the 
request in POST method.
We have also tested a hook function, but it does not work. We can't find a hook 
function help in the apache documentation.

Is anybody have an example of a code that read the post_data in a filter, just the 
minimum of the prototyped functions and the good
functions to call to read the args in POST request ?
We may haven't found the good hook and the good structure from the request pool.

Pascal MILON

Reply via email to