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 40169] New: - CacheEnable not caching Forward proxy
Date Wed, 02 Aug 2006 16:14:58 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=40169>.
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=40169

           Summary: CacheEnable not caching Forward proxy
           Product: Apache httpd-2
           Version: 2.2-HEAD
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: mod_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rpender@us.ibm.com


I am doing some work with Apache 2.2.3 (win32 and linux) and am running into
some problems with CacheEnable and proxy requests. My ultimate goal is to cache
only forward proxy requests (with mod_disk_cache), but right now I am running
into problems with the basic scenario of just http proxied url's.

The 2.2 CacheEnable documentation lists the following example:
# Cache content from www.apache.org
CacheEnable disk http://www.apache.org/ 

This works as expected (caches proxy requests to apache.org, but not others). 
If I then change it to:
CacheEnable disk http://

My same proxy request to http://www.apache.org does not get cached on my server.
 The debug level error log does not list the cache save filter as ever being
added (while it does when i use CacheEnable disk http://www.apache.org/), so I
never am able to see why the request to the url was not cached.  Should this not
be cached? I see the same example in the CacheEnable 2.2 doc for proxied ftp
requests (CacheEnable disk ftp://).

I know an easy solution to caching only proxy requests would be to put the catch
all 'CacheEnable disk  /' in a virtual host - but I need to be able to cover the
scenario of when a customer wants to only cache proxy requests, and specifies it
in the server context.

Should 'cacheenable disk http://' be caching all http proxy requests? How do you
 cache proxy requests to all protocols? Would I have to cacheenable for every
protocol?

This problem exists on win32 and unix 2.2.3 source.

-- 
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