You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/03/08 12:26:12 UTC

DO NOT REPLY [Bug 45273] mod_dir bypasses mod_cache

https://issues.apache.org/bugzilla/show_bug.cgi?id=45273

--- Comment #2 from duchuanying <hu...@gmail.com> 2010-03-08 11:26:10 UTC ---

In mod_dir,  used ap_internal_fast_redirect, so  CACHE_SAVE filter is not
executed. 

mod_dir use fast_redirect only when the file is local static file. 

        if (rr->status == HTTP_OK
            && (   (rr->handler && !strcmp(rr->handler, "proxy-server"))
                || rr->finfo.filetype == APR_REG)) {
            ap_internal_fast_redirect(rr, r); 
            return OK; 
        }

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org