Searched defs:cwd (Results 1 - 3 of 3) sorted by relevance
/httpd/support/ |
H A D | suexec.c | 296 char cwd[AP_MAXPATH]; /* current working directory */ local 540 if (getcwd(cwd, AP_MAXPATH) == NULL) { 549 ((chdir(cwd)) != 0)) { 557 ((chdir(cwd)) != 0)) { 563 if ((strncmp(cwd, dwd, strlen(dwd))) != 0) { 564 log_err("command not in docroot (%s/%s)\n", cwd, cmd); 569 * Stat the cwd and verify it is a directory, or error out. 571 if (((lstat(cwd, &dir_info)) != 0) || !(S_ISDIR(dir_info.st_mode))) { 572 log_err("cannot stat directory: (%s)\n", cwd); 577 * Error out if cwd i [all...] |
/httpd/server/mpm/winnt/ |
H A D | mpm_winnt.c | 548 char *cwd; local 561 if (((rv = apr_filepath_get(&cwd, 0, ptemp)) != APR_SUCCESS) 562 || ((rv = apr_procattr_dir_set(attr, cwd)) != APR_SUCCESS)) {
|
/httpd/modules/proxy/ |
H A D | mod_proxy_ftp.c | 884 char *cwd = NULL; local 908 cwd = ap_getword_conf(r->pool, &dirp); 911 return cwd; 985 char *path, *strp, *type_suffix, *cwd = NULL; local 1328 /* Special handling for leading "%2f": this enforces a "cwd /" 1783 cwd = ftp_get_PWD(r, origin, bb); 1784 if (cwd != NULL) { 1785 apr_table_set(r->notes, "Directory-PWD", cwd); 1800 else if (cwd == NULL || strchr(cwd, '/') ! [all...] |
Completed in 20 milliseconds