Red Hat Bugzilla – Bug 439125
mod_cache fails to retrieve objects cached for URLs which have been rewritten to target URLs with a query string
Last modified: 2011-02-08 08:36:26 EST
Description of problem:
Using mod_rewrite in conjunction with mod_cache, when a requested object is
cached, the path to the cache object is calculated by hashing on the requested
URL (http://localhost/real). However, when retrieval of the object is attempted
on subsequent requests, the path to the cache object is calculated by hashing on
the requested URL *plus* the query string in the target of the RewriteRule.
Version-Release number of selected component (if applicable):
Apache has already fixed this and backported it to 2.2 upstream. Can we include
the patch? mod_cache is kinda broke without it. Thanks!
mod_cache is also affected by
https://issues.apache.org/bugzilla/show_bug.cgi?id=41475 (mod_cache does not
serve (CACHE_OUT) URLs which are url-escaped). This has also been backported to
2.2 upstream (http://svn.apache.org/viewvc?view=rev&revision=539112).
Can we also include this patch? Should I file a new bug for this? Thanks!
Thanks for the reports. Please do file a separate bug for PR 41475.
(FYI, we're looking at a wholesale rebase of modules/cache to the 2.2.6/later
versions, to pick up the myriad fixes which have been made)
Filed Bug 439842.
This should be fixed as of the RHEL 5.3 httpd update (sorry, forgot to reference this bug) - are you still seeing this issue?
Jeremy was actually the one dealing with this...
I'm closing this out since the referenced patches are included since 5.3 - let us know if you're still seeing issues.