]> granicus.if.org Git - apache/commitdiff
Fix the lookup of the per-directory cache config, we were looking up the
authorGraham Leggett <minfrin@apache.org>
Mon, 11 Oct 2010 23:21:14 +0000 (23:21 +0000)
committerGraham Leggett <minfrin@apache.org>
Mon, 11 Oct 2010 23:21:14 +0000 (23:21 +0000)
per-server config instead.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1021543 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_cache.c

index 708a6cf0fe5bd232dcf67bed4cfc352fe809424f..692e33eac512ad7cca43732f4584e9224a98887f 100644 (file)
@@ -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