| 68 location->config.acls = aclList; |
68 location->config.acls = aclList; |
| 69 cxmutstr aclName = dir->args->value; |
69 cxmutstr aclName = dir->args->value; |
| 70 if(cxListAdd(aclList, aclName.ptr)) { |
70 if(cxListAdd(aclList, aclName.ptr)) { |
| 71 return 1; |
71 return 1; |
| 72 } |
72 } |
| |
73 } |
| |
74 } else if(!cx_strcasecmp(name, "VFS")) { |
| |
75 DIR_CHECK_ARGC(1); |
| |
76 location->config.vfs = cx_strdup_a(a, dir->args->value); |
| |
77 VfsType *vfs = vfs_get_type(cx_strcast(location->config.vfs)); |
| |
78 if(!vfs) { |
| |
79 log_ereport(LOG_MISCONFIG, "unknown VFS type %s", location->config.vfs.ptr); |
| 73 } |
80 } |
| 74 } else if(!cx_strcasecmp(name, "Location")) { |
81 } else if(!cx_strcasecmp(name, "Location")) { |
| 75 WSLocation *sub_location = cfg_location_get(cfg, dir); |
82 WSLocation *sub_location = cfg_location_get(cfg, dir); |
| 76 if(!sub_location) { |
83 if(!sub_location) { |
| 77 return 1; |
84 return 1; |