if (faketoreal(r->path, r->path_translated, r->cn->s->controls) == 0) {
if (find_vs(r)) { r->error = se_no_virtual; return 500; } if (faketoreal(r->path, r->path_translated, r, 1) == 0) {
static int process_path(struct request *r){	if (faketoreal(r->path, r->path_translated, r->cn->s->controls) == 0) {		r->error = se_alias;		return 500;	}	if (findcontrol(r) == -1) {		r->error = se_no_control;		return 500;	}	if (evaluate_access(r) == DENY) {		r->error = fb_active;		return 403;	}	if (check_path(r) == -1) {		r->error = br_bad_path_name;		return 400;	}	if (get_path_info(r) == -1) {		r->error = se_get_path_info;		return 500;	}	if (r->path_args[0] && r->path_args[1] && findcontrol(r) == -1) {		r->error = se_no_control;		return 500;	}	if (S_ISDIR(r->finfo.st_mode)) {		int rv;		if (r->path_args[0] != '/')			return makedir(r);		if ((rv = append_indexes(r)) != 0)			return rv;	}	if (S_ISREG(r->finfo.st_mode) == 0) {		r->error = fb_not_plain;		return 403;	}	if (check_symlinks(r) == -1) {		r->error = fb_symlink;		return 403;	}	if (get_mime(r) == -1) {		r->error = se_no_mime;		return 500;	}	return r->special ? process_special(r) : process_fd(r);}