httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Hauck <>
Subject [users@httpd] How to use ap_parse_form_data and keep request body?
Date Fri, 01 Aug 2014 04:21:44 GMT
I am developing a module for apache that performs some authentication
before passing requests off to the backend. Some of this authentication at
times requires parsing form data. The problem is that ap_parse_form_data
appears to exhaust the request body, so that by the time it passes my
module and gets to the ProxyPass directive which funnels it off to the
backend, the request body is gone and the backend thinks there is no form
data supplied.

Is there any way to use ap_parse_form_data in such a way that it keeps the
request body intact?


(PS. I asked this question on stackoverflow
then decide to ask it here as well since apache-module questions did not
seem to be very well represented on stackoverflow...)


View raw message