Lines Matching refs:httpd
61 bozohttpd_t *httpd = request->hr_httpd;
77 debug((httpd, DEBUG_OBESE, "looking for user %s",
80 request->hr_user = bozostrdup(httpd, request, user);
93 bozo_http_error(httpd, 404, request, "no such user");
97 debug((httpd, DEBUG_OBESE, "user %s dir %s/%s uid %d gid %d",
98 pw->pw_name, pw->pw_dir, httpd->public_html,
102 bozowarn(httpd, "chdir1 error: %s: %s", pw->pw_dir,
104 bozo_http_error(httpd, 404, request, "can't chdir to homedir");
107 if (chdir(httpd->public_html) < 0) {
108 bozowarn(httpd, "chdir2 error: %s: %s", httpd->public_html,
110 bozo_http_error(httpd, 404, request,
115 file = bozostrdup(httpd, request, "/");
117 file = bozomalloc(httpd, strlen(s) + 2);
125 debug((httpd, DEBUG_FAT, "transform_user returning %s under %s", file,