httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Children <stu...@terminus.co.uk>
Subject Re: 'POST SubRequest via mod_proxy' Question
Date Thu, 08 Mar 2007 14:50:02 GMT
Hi

David Wortham wrote:
> (2) I am using the above subrequest to bounce a POST request off mod_proxy
> (to get the POST to an external server).  I have the headers built
> correctly.  Is there any way to add POST variables to the subrequest before
> it gets to mod_proxy?  Perhaps by use of an input or output filter?

You can create an input filter yes (and set Content-Length appropriately).

However, you're going to have issues with POST sub-requests with more 
recent Apache versions:
http://issues.apache.org/bugzilla/show_bug.cgi?id=37402

PatchAvailable there. I don't think it's clear whether Apache should 
work with them (sub-requests essentially being its own "thing"), but 
they used to, and it does the job for me.

HTH

-- 
Stuart Children
http://terminus.co.uk/

------------------------------------------------------------------
Visit Guardian Unlimited - the UK's most popular newspaper website
http://guardian.co.uk http://observer.co.uk
------------------------------------------------------------------
The Newspaper Marketing Agency
Opening Up Newspapers
http://www.nmauk.co.uk
------------------------------------------------------------------

This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.

Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.

Guardian News & Media Limited
A member of Guardian Media Group PLC
Registered Office
Number 1 Scott Place, Manchester M3 3GG
Registered in England Number 908396

Mime
View raw message