Gentoo Archives: gentoo-server

From: Stelian Ionescu <stelian.ionescu-zeus@×××××.it>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] httpd (2.0.55) proxying https to zope's http mangling POST data
Date: Fri, 03 Mar 2006 21:53:18
Message-Id: 20060303215033.GB11396@universe.org
In Reply to: Re: [gentoo-server] httpd (2.0.55) proxying https to zope's http mangling POST data by Andy Dustman
1 On Fri, Mar 03, 2006 at 04:31:44PM -0500, Andy Dustman wrote:
2 >On 3/3/06, Edward Muller <edwardam@××××××××.com> wrote:
3 >> One of our clients has the following setup:
4 >> httpd 2.0.55 (Gentoo package 2.0.55-r1)
5 >> Zope 2.6.1
6 >>
7 >> Apache proxies zope for a http and https host via mod_rewrite/proxy
8 >>
9 >> POSTs going to httpd=>zope via http are fine, posts going to httpd=>zope via
10 >> https are not.
11 >
12 >Yup:
13 >
14 >https://bugs.gentoo.org/show_bug.cgi?id=121402
15 >http://issues.apache.org/bugzilla/show_bug.cgi?id=37145
16 >
17 >Unfortunately for you and me, despite having the patch available from
18 >upstream, the developer closed the bug with the comment "2.0.56 should
19 >be out real soon now, which addresses this problem." That was a month
20 >ago.
21 1) download this patch:
22 http://svn.apache.org/viewcvs.cgi/httpd/httpd/branches/2.0.x/modules/proxy/proxy_http.c?p2=%2Fhttpd%2Fhttpd%2Fbranches%2F2.0.x%2Fmodules%2Fproxy%2Fproxy_http.c&p1=httpd%2Fhttpd%2Fbranches%2F2.0.x%2Fmodules%2Fproxy%2Fproxy_http.c&r1=372046&r2=372045&rev=372046&view=diff&makepatch=1&diff_format=u
23 to /usr/portage/net-www/apache/files/plone.patch
24 2) add this lines to the src_unpack in apache-2.0.55-r1.ebuild right
25 after "epatch ${GENTOO_PATCHDIR}...":
26
27 epatch ${FILESDIR}/plone.patch
28
29 3) execute: ebuild /usr/portage/net-www/apache/apache-2.0.55-r1.ebuild digest
30 4) remerge apache-2.0.55-r1
31
32 (I'm ssuming that you're using an ~arch apache and that your portage
33 tree is in /usr/portage; alternativerly you might copy the ebuild to an
34 overlay and add the patch there)
35
36 --
37 (sign :name "Stelian Ionescu" :aka "fe[nl]ix"
38 :quote "Quidquid latine dictum sit, altum sonatur.")

Replies

Subject Author
Re: [gentoo-server] httpd (2.0.55) proxying https to zope's http mangling POST data Andy Dustman <farcepest@×××××.com>