]> granicus.if.org Git - apache/commitdiff
Since the directives CacheIgnoreCacheControl and CacheIgnoreNoLastMod
authorPaul J. Reder <rederpj@apache.org>
Wed, 6 Nov 2002 14:08:31 +0000 (14:08 +0000)
committerPaul J. Reder <rederpj@apache.org>
Wed, 6 Nov 2002 14:08:31 +0000 (14:08 +0000)
are AP_INIT_FLAG one should be able to set them explicitely to "Off".

Submitted by: Andre Malo
Reviewed by: Paul J. Reder

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

modules/experimental/mod_cache.c

index 8b732ccfcbdfd6e964b167bcf9cfae610a7bc841..93a0c60709f2cdf8916cef4914fc6e1c7dd14757 100644 (file)
@@ -963,7 +963,7 @@ static const char *set_cache_ignore_no_last_mod(cmd_parms *parms, void *dummy,
     conf =
         (cache_server_conf *)ap_get_module_config(parms->server->module_config,
                                                   &cache_module);
-    conf->no_last_mod_ignore = 1;
+    conf->no_last_mod_ignore = flag;
     conf->no_last_mod_ignore_set = 1;
     return NULL;
 
@@ -977,7 +977,7 @@ static const char *set_cache_ignore_cachecontrol(cmd_parms *parms,
     conf =
         (cache_server_conf *)ap_get_module_config(parms->server->module_config,
                                                   &cache_module);
-    conf->ignorecachecontrol = 1;
+    conf->ignorecachecontrol = flag;
     conf->ignorecachecontrol_set = 1;
     return NULL;
 }