Re: Adding Post Data to a SubRequest

2011-12-15 Thread Torsten Förtsch
On Wednesday, 14 December 2011 16:03:18 Jordan Michaels wrote: 1) Is there an ideal way to add POST data to a subrequest that I'm missing here? No, subrequests don't have a request body by definition. It's hard coded in httpd 2.2.x. Enclosed you find a patch for httpd 2.2.21 that makes is

Re: Adding Post Data to a SubRequest

2011-12-15 Thread Jordan Michaels
Aw, that's terribly sad news. No wonder I couldn't get it to work! lol That's awesome about the patch, but the module I'm working is intended to be distributed, and expecting end users to compile in a patch would probably too much to ask of them. The module I'm working on updates the headers

Re: Adding Post Data to a SubRequest

2011-12-15 Thread Torsten Förtsch
On Thursday, 15 December 2011 12:09:05 Jordan Michaels wrote: The module I'm working on updates the headers and proxies the requests for specific file types off to Tomcat HTTP and AJP ports. Then maybe you don't need subrequests at all. A translation handler may be sufficient. Even an

Re: Adding Post Data to a SubRequest

2011-12-15 Thread Jordan Michaels
Well, I do need mod_rewrite to be run. A lot of our users use SES url's and then use rewrite rules to parse them out. I also have specific requests to leave .htaccess functionality in there (for secured directories and so forth). So yeah, the more typical Apache functionality we can leave in

Re: Adding Post Data to a SubRequest

2011-12-15 Thread André Warnier
Hi. If it may contribute something to the question : I have a case where, within a response handler, I need to make a call to a back-end Tomcat through mod_jk (a simple GET, not a POST). I initially tried to do this through a sub-request, and was getting segfaults in Apache for my trouble.

Adding Post Data to a SubRequest

2011-12-14 Thread Jordan Michaels
I've been working to find a solution to adding Post data to a sub request for a few days now (since last week when I posted about retrieving the POST data in the first place). Adding the POST data to the $subr object using write doesn't work, because it tries to add it to the output response