DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13946>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13946

reverse proxy errors when a document expires from the cache

           Summary: reverse proxy errors when a document expires from the
                    cache
           Product: Apache httpd-2.0
           Version: 2.0.43
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: [EMAIL PROTECTED]


Hi!
Using apache as a reverse proxy with mod_mem_cache, when using simple HTTP/1.0 
requests to files, sometimes (when the object in the cache is expired) the 
proxy does weird requisitions:

The request:
GET /index.html HTTP/1.0
Host: 10.0.0.2

Document cached:
[Fri Oct 25 18:52:07 2002] [debug] mod_cache.c(118): cache: URL /index.html is 
being handled by mem
[Fri Oct 25 18:52:07 2002] [debug] mod_cache.c(232): cache: fresh cache - add 
cache_out filter and handle request
[Fri Oct 25 18:52:07 2002] [debug] mod_cache.c(357): cache: running CACHE_OUT 
filter
[Fri Oct 25 18:52:07 2002] [debug] mod_cache.c(366): cache: serving cached 
version of /index.html

After the document expires:
[Fri Oct 25 18:59:00 2002] [debug] proxy_http.c(109): proxy: HTTP: 
canonicalising URL //10.0.0.2/proxy:http://10.0.0.2/index.html
[Fri Oct 25 18:59:00 2002] [debug] mod_proxy.c(461): Trying to run 
scheme_handler
[Fri Oct 25 18:59:00 2002] [debug] proxy_http.c(1061): proxy: HTTP: serving 
URL http://10.0.0.2/proxy:http://10.0.0.2/index.html
[Fri Oct 25 18:59:00 2002] [debug] proxy_http.c(221): proxy: HTTP connecting 
http://10.0.0.2/proxy:http://10.0.0.2/index.html to 10.0.0.2:80

and after a few mseconds:
[Fri Oct 25 18:59:00 2002] [debug] mod_cache.c(118): cache: URL /index.html is 
being handled by mem
[Fri Oct 25 18:59:00 2002] [debug] mod_cache.c(203): cache: no cache - add 
cache_in filter and DECLINE

Here is a piece of my httpd.conf file:
ProxyRequests Off
ProxyVia Full
ProxyTimeout 30
ProxyReceiveBufferSize 16384
ProxyMaxForwards 10
CacheEnable mem /
CacheDefaultExpire 10
CacheMaxExpire 30
CacheLastModifiedFactor 0.1
CacheMaxStreamingBuffer 65536 
MCacheSize 524288
MCacheMaxObjectCount 32768
MCacheMinObjectSize 1 
MCacheMaxObjectSize 100000
MCacheRemovalAlgorithm GDSF
RewriteEngine   on
RewriteRule     ^(.*)$     $1 [P,L]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to