httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49385] New: mod_disk_cache server side included files are intermittently corrupted
Date Thu, 03 Jun 2010 21:35:35 GMT

           Summary: mod_disk_cache server side included files are
                    intermittently corrupted
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_disk_cache

It appears that when mod_disk_cache reads server side includes to create its
final cached web page, it sometimes corrupts the included file.

I'm speculating that the issue may be that the included file is getting
DEFLATEd and Apache is intermittently forgetting to ungzip it prior to putting
it into the final, parent page (which is then cached).

Details: The parent web page is called "index.shtml" and the child file is
getting included like this:
<!--#include virtual="/dir/include/my_html_file.html" -->

Everything else on the page looks fine but where the my_html_file.html should
be we see binary output in the source code like this:
í\énÛHþÜ|á]åâu?-SìA½¡!ŸÄoÿ›IÅÇsØß'±"’ÿ ¼ñ*dLXúIpV.n§Œ

If I restart Apache, the problem remains. But the problem goes away if I delete
the cache on the web server. So the cache must have gotten corrupted. I can
refresh the page many times after that and the page is fine. 

LoadModule deflate_module modules/
DeflateCompressionLevel 1
DeflateMemLevel 9
DeflateWindowSize 15
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png|ico)$ no-gzip dont-vary
#Header append Vary User-Agent env=!dont-vary

LoadModule disk_cache_module modules/
CacheRoot /var/httpd/proxy/
CacheEnable disk /
CacheDisable /i
CacheMaxFileSize 500000
CacheMinFileSize 1000
CacheDirLevels 2
CacheDirLength 2
CacheIgnoreCacheControl Off
CacheIgnoreNoLastMod On
CacheIgnoreHeaders Set-Cookie
CacheLastModifiedFactor 0.1
CacheMaxExpire 172800
CacheDefaultExpire 86400

Server version: Apache/2.2.3
Server built:   Nov 10 2009 09:06:10
OS: RedHat EL 5 Linux 2.6.18-164.6.1.el5 #1 SMP Tue Oct 27 11:28:30 EDT 2009
x86_64 x86_64 x86_64 GNU/Linux

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message