* mod_cache_disk configuration directives handlers. */
| 1431 | * mod_cache_disk configuration directives handlers. |
| 1432 | */ |
| 1433 | static const char |
| 1434 | *set_cache_root(cmd_parms *parms, void *in_struct_ptr, const char *arg) |
| 1435 | { |
| 1436 | disk_cache_conf *conf = ap_get_module_config(parms->server->module_config, |
| 1437 | &cache_disk_module); |
| 1438 | conf->cache_root = arg; |
| 1439 | conf->cache_root_len = strlen(arg); |
| 1440 | /* TODO: canonicalize cache_root and strip off any trailing slashes */ |
| 1441 | |
| 1442 | return NULL; |
| 1443 | } |
| 1444 | |
| 1445 | /* |
| 1446 | * Consider eliminating the next two directives in favor of |
nothing calls this directly
no test coverage detected