| 2399 | } |
| 2400 | |
| 2401 | static const char *set_cache_lock_path(cmd_parms *parms, void *dummy, |
| 2402 | const char *arg) |
| 2403 | { |
| 2404 | cache_server_conf *conf; |
| 2405 | |
| 2406 | conf = |
| 2407 | (cache_server_conf *)ap_get_module_config(parms->server->module_config, |
| 2408 | &cache_module); |
| 2409 | |
| 2410 | conf->lockpath = ap_server_root_relative(parms->pool, arg); |
| 2411 | if (!conf->lockpath) { |
| 2412 | return apr_pstrcat(parms->pool, "Invalid CacheLockPath path ", |
| 2413 | arg, NULL); |
| 2414 | } |
| 2415 | conf->lockpath_set = 1; |
| 2416 | return NULL; |
| 2417 | } |
| 2418 | |
| 2419 | static const char *set_cache_lock_maxage(cmd_parms *parms, void *dummy, |
| 2420 | const char *arg) |
nothing calls this directly
no test coverage detected