httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Issac Goldstand <>
Subject Re: How to write apache module in C through which to retrieve POST form data from browser?
Date Thu, 17 Jan 2013 08:30:38 GMT
On 17/01/2013 00:23, Sorin Manolache wrote:
> On 2013-01-17 03:59, Dhiren123 wrote:
>>    Samething i put HTML page(GET method) in /www folder  and through
>> my apache
>> module i communicate with browser successfully.
>>     But when i connect to apache module through POST method  ,that action
>> page is not found by the server.
>> Actually what happens i donot know or where i make the mistakes .Anybody
>> suggest me....
> I think there are two methods for getting the POST data, I don't know
> which one is the "correct" one.
> \\

Method (1) allows other modules to co-exist with you.  Method (2) 
doesn't.  IIRC, core actually will call ap_get_client_block for you, 
forcing all of the input filters to slurp the data at some point 
(although maybe I'm confusing core and mod_apreq, and it's the latter 
that does so)


View raw message