Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124599 - apache-2.2.0 mod_cache doesn't work with reverse proxies
Summary: apache-2.2.0 mod_cache doesn't work with reverse proxies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL: http://issues.apache.org/bugzilla/sho...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-01 22:09 UTC by Sam D. Chuparkoff
Modified: 2006-06-06 17:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
upstream patch (cache-reverse-proxies.upstream.patch,2.85 KB, patch)
2006-03-01 22:11 UTC, Sam D. Chuparkoff
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam D. Chuparkoff 2006-03-01 22:09:56 UTC
mod_cache stable is very nice. Unfortunately, it doesn't play nice
with reverse proxies. Which is too bad for me, since that is, of
course, the first thing I tried to make it do.

The patch to fix this has made it to the 2.2 branch upstream. This
issue should be resolved in 2.2.1. I have no knowledge whatsoever of
when 2.2.1 is coming out, but if you're going to push another 2.2.0,
I'd suggest patching for this.

ebuild /usr/portage/net-www/apache/apache-2.2.0-r1.ebuild unpack
cd /var/tmp/portage/apache-2.2.0-r1/work

A=http://svn.apache.org/repos/asf
svn log -v -r374931 $A > cache-reverse-proxies.upstream.patch
svn diff -r374930:374931 $A/httpd/httpd/branches/2.2.x/modules \
  >> cache-reverse-proxies.upstream.patch

patch -d httpd-2.2.0/modules -p0 < cache-reverse-proxies.upstream.patch

ebuild /usr/portage/net-www/apache/apache-2.2.0-r1.ebuild merge

And now it works.
Comment 1 Sam D. Chuparkoff 2006-03-01 22:11:38 UTC
Created attachment 81088 [details, diff]
upstream patch
Comment 2 Paul Querna 2006-03-01 22:55:18 UTC
Upstream bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=38017

Fixed in 2.2.x branch, will be in next release.
Comment 3 Sam D. Chuparkoff 2006-03-07 07:46:13 UTC
Update: apache-2.2.0-r2 is out without this patch. As Paul noted, this
fix has already been backported to the 2.2.x branch.

As should have been mentioned originally and as stated in the upstream
bug report, this is a regression against apache-2.0.
Comment 4 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-03-07 17:58:38 UTC
Yes, this is a regression from 2.0. However, 2.2 in gentoo is still experimental. We do not need a play by play of every -r bump of the masked package. We will get to it when we get to it.
Comment 5 Sam D. Chuparkoff 2006-03-07 20:08:13 UTC
Thanks for the comment and your efforts. I promise not to touch this
bug again :).
Comment 6 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-06-06 17:20:25 UTC
Apache 2.2.2 is now in the tree, which includes this fix.