Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 2686 invoked from network); 21 Oct 2004 08:39:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Oct 2004 08:39:40 -0000 Received: (qmail 25251 invoked by uid 500); 21 Oct 2004 08:39:40 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 25023 invoked by uid 500); 21 Oct 2004 08:39:38 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 25007 invoked by uid 99); 21 Oct 2004 08:39:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 21 Oct 2004 01:39:37 -0700 Received: (qmail 5712 invoked by uid 50); 21 Oct 2004 08:41:40 -0000 Date: 21 Oct 2004 08:41:40 -0000 Message-ID: <20041021084140.5711.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 31822] New: - mod_proxy as reverse proxy brokes images X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=31822 mod_proxy as reverse proxy brokes images Summary: mod_proxy as reverse proxy brokes images Product: Apache httpd-2.0 Version: 2.0.52 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: mod_proxy AssignedTo: bugs@httpd.apache.org ReportedBy: pekka.panula@sofor.fi I use mod_proxy as reverse proxy with mod_deflate to compress www-pages and mod_mem_cache as cache My backend http-server is Lotus Domino 6.0.3. Problem is that Apache somehow brokes images (gif/jpeg) for some unknown reason. It does not depend on browser as this happens with MSIE 6 (all hotfixes, service packs included) and with Firefox 1.0 Preview version, also with squid as forward proxy, still images sometimes goes broken also happens with older Mozilla versions. If i do not use reverse proxy everything works just fine, so i do not think Lotus Domino brokes images in normal situation without reverse proxy (never happened that Domino brokes images). What i have discovered that there is missing couple kilobytes from beginning of image. Could this problem be related with combination of mod_mem_cache, mod_deflate and mod_proxy as reverse proxy. and when reloading page or waiting some time and reloading page it gets image ok. My configuration for host is: # - COMPRESSION - # SetOutputFilter DEFLATE BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html # do not compress images, pdf also nogo SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|pdf)$ no-gzip dont-vary Header append Vary User-Agent env=!dont-vary DeflateFilterNote Input instream DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio # - COMPRESSION - # # - GLOBAL CACHE SETTINGS - # CacheDefaultExpire 3600 CacheIgnoreCacheControl Off CacheIgnoreNoLastMod Off CacheMaxExpire 3600 CacheForceCompletion 100 SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 ServerName www.xxxx.yy ServerAdmin xxx@yyy.zz ProxyRequests Off ProxyPreserveHost On ProxyPass /error/ ! ProxyPass / http://x.y.z.z/ ProxyPassReverse / http://x.y.z.z/ CacheEnable mem / # 128 MB cache MCacheSize 131072 MCacheMaxObjectCount 2500 MCacheMinObjectSize 1 # max. 50 kB obj. size MCacheMaxObjectSize 51200 CacheIgnoreCacheControl Off CacheIgnoreNoLastMod Off CacheMaxExpire 3600 Order deny,allow Allow from all CustomLog "|/usr/sbin/cronolog /path/logfiles/z.y.z/z.y.x-access_log-%Y-%m-%d" combined --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org