
bugzilla at apache
Aug 1, 2012, 5:23 AM
Post #1 of 1
(52 views)
Permalink
|
|
[Bug 53634] New: mod_cache returning HTTP 200 for nonexistent resources
|
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=53634 Priority: P2 Bug ID: 53634 Assignee: bugs [at] httpd Summary: mod_cache returning HTTP 200 for nonexistent resources Severity: normal Classification: Unclassified OS: Linux Reporter: glen.birnie [at] bbc Hardware: Other Status: NEW Version: 2.2.22 Component: mod_cache Product: Apache httpd-2 IF a 404 ErrorDocument is configured within a URL range where mod_cache is enabled AND the error document was previously requested (and cached by mod_disk_cache) THEN all subsequent responses to nonexistent resources return HTTP 200 instead of the expected HTTP 404 response. Example configuration: ### LoadModule cache_module modules/mod_cache.so LoadModule disk_cache_module modules/mod_disk_cache.so CacheRoot /cache-root CacheDirLevels 3 CacheDirLength 1 CacheMinFileSize 0 CacheMaxFileSize 1000000 CacheEnable disk / ErrorDocument 404 /error.jpg ### Assumptions: /cache-root exists and is writable by httpd, initially empty contents. /error.jpg exists within the document root directory. To reproduce: request "/error.jpg" request any nonexistent resource, say, "/nonexistent". NB Bug 49996 describes a very similar issue involving mod_proxy. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe [at] httpd For additional commands, e-mail: bugs-help [at] httpd
|