httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32849] New: - CacheDisable broken in 2.0.52?
Date Mon, 27 Dec 2004 16:52:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32849>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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

           Summary: CacheDisable broken in 2.0.52?
           Product: Apache httpd-2.0
           Version: 2.0.52
          Platform: SGI
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Dick.Snippe@tech.omroep.nl


When mod_mem_cache is used in combination with ProxyPass as a reverse proxy,
CacheDisable appears to disable caching entirely.
Excample:

CacheDisable /dontcachethis
ProxyPass / http://somewhere.else/

Now hits on e.g. /cachethat aren't cached anymore.
When the CacheDisable line is removed, hits on /cachethat
are cached again.

I think the error is in line 90 of cache_util.c:
if ((ent[i].url) && !strncasecmp(url, ent[i].url, ent[i].urllen)) 

it should read:
if ((ent[i].url) && strncasecmp(url, ent[i].url, ent[i].urllen))

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message