Re: [PATCH] ProxyAddXHeaders for mod_proxy

2007-04-13 Thread Dziugas Baltrunas
Hi, looks like same patch works with the trunk out of the box. However, attaching same patch against the trunk branch. Short instructions to test it: 1. Apply the patch. 2. Compile httpd with mod_proxy and mox_rewrite enabled. 3. Add the following lines to httpd.conf: ProxyRequests On

Re: [PATCH] ProxyAddXHeaders for mod_proxy

2007-04-04 Thread Dziugas Baltrunas
Hi, any commens/objections on this patch? On 2/28/07, Dziugas Baltrunas [EMAIL PROTECTED] wrote: Hi, list, attaching same patch with small correction to the one submitted previously (was unnecessary double check for PROXYREQ_REVERSE). Patch is for httpd-2.2.x branch. On 2/28/07, Dziugas

Re: [PATCH] ProxyAddXHeaders for mod_proxy

2007-04-04 Thread Nick Kew
On Wed, 4 Apr 2007 12:08:15 +0300 Dziugas Baltrunas [EMAIL PROTECTED] wrote: Hi, any commens/objections on this patch? Hmmm ... not sure I understand the problem you're fixing. Currently mod_proxy_http adds X-Forwarded-* headers unconditionally when we have a reverse proxy request and

Re: [PATCH] ProxyAddXHeaders for mod_proxy

2007-04-04 Thread Dziugas Baltrunas
Hi, Nick, if you recall my initial paragraph, I'm here to address the configuration of httpd acting as a generic HTTP proxy which is able to handle both a standard (forward proxy mode) and transparent (reverse proxy mode) proxy requests. This is the same what other proxy servers (like Squid) do.

Re: [PATCH] ProxyAddXHeaders for mod_proxy

2007-04-04 Thread Jim Jagielski
On Feb 28, 2007, at 11:59 AM, Dziugas Baltrunas wrote: Hi, list, attaching same patch with small correction to the one submitted previously (was unnecessary double check for PROXYREQ_REVERSE). Patch is for httpd-2.2.x branch. Patches should be against trunk. Once approved and proven in

[PATCH] ProxyAddXHeaders for mod_proxy

2007-02-28 Thread Dziugas Baltrunas
Hi list, for those of us who are using Apache HTTPD as a internet proxy (a combination of forward and reverse proxy modes) it's important that requests going to the remote servers (which are not known backends but anonymous boxes in this case) would look the same independently whether the

Re: [PATCH] ProxyAddXHeaders for mod_proxy

2007-02-28 Thread Dziugas Baltrunas
Hi, list, attaching same patch with small correction to the one submitted previously (was unnecessary double check for PROXYREQ_REVERSE). Patch is for httpd-2.2.x branch. On 2/28/07, Dziugas Baltrunas [EMAIL PROTECTED] wrote: Hi list, for those of us who are using Apache HTTPD as a internet