mod_proxy and balancer problems

2006-09-29 Thread Mathias Herberts
Hi, I am in the process of evaluating Apache 2.2 using mod_proxy_balancer and mod_proxy_ajp as a replacement for our good old 1.3/mod_jk setup as a front-end to Tomcat 5.5. I found several problems during this process. * redirect feature of balanced workers does not work as advertised. The

Re: Regexp-based rewriting for mod_headers?

2006-09-29 Thread Nick Kew
On Thursday 28 September 2006 18:29, Garrett Rooney wrote: On 9/28/06, Nick Kew [EMAIL PROTECTED] wrote: We have a problem with DAV + SSL hardware. It appears to be the issue described in http://svn.haxx.se/users/archive-2006-03/0549.shtml It seems to me that the ability to rewrite a

Re: mod_proxy and balancer problems

2006-09-29 Thread Ruediger Pluem
On 09/29/2006 09:53 AM, Mathias Herberts wrote: So redirection is only used when handling session bound requests which is exactly the opposite of what the documentation said. The goal of graceful worker shutdown is therefore not achieved as there is no way to have session bound requests

Re: svn commit: r451006 - in /httpd/httpd/trunk/modules/generators: mod_cgi.c mod_cgid.c

2006-09-29 Thread Joe Orton
On Thu, Sep 28, 2006 at 08:15:44PM -, [EMAIL PROTECTED] wrote: --- httpd/httpd/trunk/modules/generators/mod_cgi.c (original) +++ httpd/httpd/trunk/modules/generators/mod_cgi.c Thu Sep 28 13:15:42 2006 @@ -837,6 +837,11 @@ APR_BLOCK_READ, HUGE_STRING_LEN);

[Fwd: Re: [PATCH] setenvif filter]

2006-09-29 Thread Brian Akins
Bringing this up. again. Adds a filter that allows mod_setenvif to act on response headers. Original Message Subject: Re: [PATCH] setenvif filter Date: Wed, 31 May 2006 17:24:33 +0200 From: Francois Pesce [EMAIL PROTECTED] Reply-To: dev@httpd.apache.org To:

Re: mod_proxy and balancer problems

2006-09-29 Thread Jim Jagielski
On Sep 29, 2006, at 3:53 AM, Mathias Herberts wrote: Hi, I am in the process of evaluating Apache 2.2 using mod_proxy_balancer and mod_proxy_ajp as a replacement for our good old 1.3/mod_jk setup as a front-end to Tomcat 5.5. I found several problems during this process. ... I have other

Re: Regexp-based rewriting for mod_headers?

2006-09-29 Thread Brian Akins
+1 on the patch -- Brian Akins Chief Operations Engineer Turner Digital Media Technologies

Re: [Fwd: Re: [PATCH] setenvif filter]

2006-09-29 Thread Brian Rectanus
On 9/29/06, Brian Akins [EMAIL PROTECTED] wrote: Bringing this up. again. Adds a filter that allows mod_setenvif to act on response headers. FWIW, I like it :) Have been wanting to do it myself, but have not found the time. -B

Re: svn commit: r451006 - in /httpd/httpd/trunk/modules/generators: mod_cgi.c mod_cgid.c

2006-09-29 Thread Garrett Rooney
On 9/29/06, Joe Orton [EMAIL PROTECTED] wrote: On Thu, Sep 28, 2006 at 08:15:44PM -, [EMAIL PROTECTED] wrote: --- httpd/httpd/trunk/modules/generators/mod_cgi.c (original) +++ httpd/httpd/trunk/modules/generators/mod_cgi.c Thu Sep 28 13:15:42 2006 @@ -837,6 +837,11 @@

Re: svn commit: r451006 - in /httpd/httpd/trunk/modules/generators: mod_cgi.c mod_cgid.c

2006-09-29 Thread Ruediger Pluem
On 09/29/2006 03:49 PM, Garrett Rooney wrote: On 9/29/06, Joe Orton [EMAIL PROTECTED] wrote: On Thu, Sep 28, 2006 at 08:15:44PM -, [EMAIL PROTECTED] wrote: --- httpd/httpd/trunk/modules/generators/mod_cgi.c (original) +++ httpd/httpd/trunk/modules/generators/mod_cgi.c Thu Sep 28

Re: Regexp-based rewriting for mod_headers?

2006-09-29 Thread Garrett Rooney
On 9/29/06, Nick Kew [EMAIL PROTECTED] wrote: On Thursday 28 September 2006 18:29, Garrett Rooney wrote: On 9/28/06, Nick Kew [EMAIL PROTECTED] wrote: We have a problem with DAV + SSL hardware. It appears to be the issue described in http://svn.haxx.se/users/archive-2006-03/0549.shtml

Re: Regexp-based rewriting for mod_headers?

2006-09-29 Thread Nick Kew
On Friday 29 September 2006 15:45, Garrett Rooney wrote: My only comment about the patch itself is I'm not overly thrilled about recursively processing matches, simply because every time we recurse we allocate an entire new string to hold the entire results, which seems wasteful. But on the

Re: Regexp-based rewriting for mod_headers?

2006-09-29 Thread Mads Toftum
On Thu, Sep 28, 2006 at 05:16:24PM +0100, Nick Kew wrote: It seems to me that the ability to rewrite a request header will fix that. As a generic fix, I've patched mod_headers to support regexp-based rewriting of arbitrary headers. +1 from the peanut gallery - I've had to do similar hackery

Re: mod_proxy and balancer problems

2006-09-29 Thread Jim Jagielski
Joost de Heer wrote: I tend to say that disabled means: Take requests if their routing information matches mine but no other ones. stopped means: Take no requests at all. enabled means: Take all requests. Wouldn't 'standby' be a better name for the functionality

Re: mod_proxy and balancer problems

2006-09-29 Thread Ruediger Pluem
On 09/29/2006 06:28 PM, Joost de Heer wrote: I tend to say that disabled means: Take requests if their routing information matches mine but no other ones. stopped means: Take no requests at all. enabled means: Take all requests. Wouldn't 'standby' be a better name for