httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Lewis <...@joe-lewis.com>
Subject Re: [mod_rewrite] Convert POST to GET
Date Wed, 16 Jun 2010 16:41:22 GMT
henryccsf wrote:
> Hi,
>
> Due to our backend implentation limitation, I need to convert POST request
> to GET in our proxy server running apache2.2. I read that mod_rewrite can't
> do it alone since POST variables are not accessible. I have looked at
> apache2::POST200 and doesn't understand how it can apply to solve my
> problem.
>
> Does anyone here have experience handling this kind of situation?
>
> Thanks in advance! 
>   

I would have "solved" that trouble by creating a content generator 
module, read the POST data, and create a sub request (could be a proxy 
request). One thing you will need to be aware of is the GET data will 
have to be limited. It's one of the reasons why POST came into existence.

Joe
-- 
Joe Lewis

Mime
View raw message