Home | History | Annotate | Download | only in httpd

Lines Matching defs:user

33 /* this code implements ~user support for bozohttpd */
50 * - chdir's /~user/public_html
55 * transform_request() is supposed to check that we have user support
62 char *s, *file = NULL, *user;
66 user = strchr(request->hr_file + 1, '~');
69 assert(user != NULL);
71 user++;
73 if ((s = strchr(user, '/')) != NULL) {
77 debug((httpd, DEBUG_OBESE, "looking for user %s",
78 user));
79 pw = getpwnam(user);
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",