I reported this earlier- it is an easy patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=38017 -SS On May 30, 2006, at 2:23 AM, Mike Scott wrote:
I'm trying to set up a reverse proxy cache to cache images in memory, torelieve disk load on the server that's actually storing them.The reverse proxy part is working perfectly, but the files are not being cached. Mod_proxy, mod_cache and mod_mem_cache are all compiled in, andit's a 64-bit build running under Solaris 10 on Opteron. Here are the relevant parts of the config on the caching proxy: ProxyPass / http://10.6.3.1/ ProxyPassReverse / http:/10.6.3.1/ ProxyPreserveHost On CacheEnable mem / CacheDefaultExpire 900 CacheLastModifiedFactor 0.05 CacheMaxExpire 3600 MCacheMaxObjectSize 8192 MCacheMaxObjectCount 1000000 MCacheRemovalAlgorithm GDSF MCacheSize 2048000 I have logging set to DEBUG, and here is the log from a request: [Tue May 30 10:18:28 2006] [debug] mod_cache.c(129): Adding CACHE_SAVE filter for /14k/13115/13115_419067A_19067_IMG_00_t.JPG [Tue May 30 10:18:28 2006] [debug] mod_cache.c(136): AddingCACHE_REMOVE_URL filter for /14k/ 13115/13115_419067A_19067_IMG_00_t.JPG[Tue May 30 10:18:28 2006] [debug] mod_proxy_http.c(54): proxy: HTTP:canonicalising URL //10.6.3.1/14k/ 13115/13115_419067A_19067_IMG_00_t.JPG [Tue May 30 10:18:28 2006] [debug] proxy_util.c(1378): [client 10.6.3.3]proxy: http: found worker http://10.6.3.1/ for http://10.6.3.1/14k/13115/13115_419067A_19067_IMG_00_t.JPG[Tue May 30 10:18:28 2006] [debug] mod_proxy.c(756): Running scheme httphandler (attempt 0)[Tue May 30 10:18:28 2006] [debug] mod_proxy_http.c(1662): proxy: HTTP:serving URL http://10.6.3.1/14k/13115/13115_419067A_19067_IMG_00_t.JPG[Tue May 30 10:18:28 2006] [debug] proxy_util.c(1798): proxy: HTTP: hasacquired connection for (10.6.3.1)[Tue May 30 10:18:28 2006] [debug] proxy_util.c(1858): proxy: connectinghttp://10.6.3.1/14k/13115/13115_419067A_19067_IMG_00_t.JPG to 10.6.3.1:80[Tue May 30 10:18:28 2006] [debug] proxy_util.c(1951): proxy: connected/14k/13115/13115_419067A_19067_IMG_00_t.JPG to 10.6.3.1:80[Tue May 30 10:18:28 2006] [debug] proxy_util.c(2045): proxy: HTTP: fam2 socket created to connect to 10.6.3.1 [Tue May 30 10:18:28 2006] [debug] proxy_util.c(2141): proxy: HTTP: connection complete to 10.6.3.1:80 (10.6.3.1)[Tue May 30 10:18:28 2006] [debug] mod_proxy_http.c(1448): proxy: startbody send[Tue May 30 10:18:28 2006] [debug] mod_cache.c(602): cache: Caching url:/14k/13115/13115_419067A_19067_IMG_00_t.JPG [Tue May 30 10:18:28 2006] [debug] mod_cache.c(608): cache: Removing CACHE_REMOVE_URL filter. [Tue May 30 10:18:28 2006] [info] mem_cache: Cached url:http://media.rightmove.co.uk:80/14k/ 13115/13115_419067A_19067_IMG_00_t.JPG? [Tue May 30 10:18:28 2006] [debug] mod_proxy_http.c(1537): proxy: end body send[Tue May 30 10:18:28 2006] [debug] proxy_util.c(1816): proxy: HTTP: hasreleased connection for (10.6.3.1) Mike Scott______________________________________________________________________ __ This email has been scanned for all viruses by the MessageLabs service. ______________________________________________________________________ __---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx