Re: Adding Post Data to a SubRequest

2011-12-16 Thread Jordan Michaels
Interesting. I appreciate the feedback! So far I have basic proxying working nicely in LWP, so I'm only delayed about a week. I ran into Apache segfaults too when using subrequests. I debugged it by adding logging points throughout my code, and if a segfault was hit after a specific log point,

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. Rath

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 t

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 intern

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 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 p