From: Graham Leggett Date: Mon, 11 Oct 2010 23:21:14 +0000 (+0000) Subject: Fix the lookup of the per-directory cache config, we were looking up the X-Git-Tag: 2.3.9~339 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16274f6ad6c0268cf3120e328bf14834f38b7a95;p=thirdparty%2Fapache%2Fhttpd.git Fix the lookup of the per-directory cache config, we were looking up the per-server config instead. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1021543 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c index 708a6cf0fe5..692e33eac51 100644 --- a/modules/cache/mod_cache.c +++ b/modules/cache/mod_cache.c @@ -731,7 +731,7 @@ static int cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in) * all. This section is* run before the above section. */ - dconf = ap_get_module_config(r->server->module_config, &cache_module); + dconf = ap_get_module_config(r->per_dir_config, &cache_module); /* read expiry date; if a bad date, then leave it so the client can * read it