You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Adam Retter <ad...@devon.gov.uk> on 2006/01/13 16:03:28 UTC

PATCH for 2.0.55 proxy module to enable reverse proxing of cookies

Hi Chaps,

We setup Apache 2.0.55 here with mod_proxy to enable reverse proxying of
our java application. We had a problem with mod_proxy not reverse
proxying cookies correctly.

I found this bug report and patch for 2.0.53 here -

http://issues.apache.org/bugzilla/show_bug.cgi?id=10722

http://issues.apache.org/bugzilla/attachment.cgi?id=15543


Unfortunately due to updates in mod_proxy between 2.0.53 and 2.0.55, the
patch could not be applied directly to 2.0.55.

I spent some time and bought the patch up to date for the 2.0.55
mod_proxy. It would be great to see this patch make it into the 2.0.x
tree without sitting in limbo for ages, which seems to be its current
state!

So I attach the updated 2.0.55 mod_proxy files that enables correct
handling of cookies when reverse proxying. As far as I can tell the
update simply borrows and implements two additional mod_proxy
configuration directives from the 2.2.x branch -
ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath.

Can someone please take responsibility for this and make sure the hard
work done for this patch (which im sure others need as well - otherwise
it wouldnt be in the 2.2.x tree already) doesnt end up in the ether!!!

Thanks




-- 
Adam Retter

Devon Portal Developer

Devon Portal Project
County Hall
Exeter
Devon
EX11 1PU

t: 01392 38 3683
f: 01392 38 2966
e: adam.retter@devon.gov.uk
w: http://www.devonline.gov.uk