mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
Since the directives CacheIgnoreCacheControl and CacheIgnoreNoLastMod
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user