Lines Matching refs:physical

207           "Path         : %s", r->physical.path.ptr);  in http_response_physical_path_error()
216 stat_cache_entry *sce = stat_cache_get_entry(&r->physical.path); in http_response_physical_path_check()
246 size_t len = buffer_clen(&r->physical.basedir) in http_response_physical_path_check()
247 - (buffer_has_pathsep_suffix(&r->physical.basedir)); in http_response_physical_path_check()
248 pathinfo = r->physical.path.ptr + len; in http_response_physical_path_check()
252 else if (pathinfo == r->physical.path.ptr) { /*(basedir is "/")*/ in http_response_physical_path_check()
257 const uint32_t pathused = r->physical.path.used; in http_response_physical_path_check()
260 r->physical.path.used = pathinfo - r->physical.path.ptr + 1; in http_response_physical_path_check()
262 stat_cache_entry * const nsce = stat_cache_get_entry(&r->physical.path); in http_response_physical_path_check()
264 r->physical.path.used = pathused; in http_response_physical_path_check()
282 size_t len = r->physical.path.ptr+pathused-1-pathinfo, reqlen; in http_response_physical_path_check()
300 buffer_truncate(&r->physical.path, (size_t)(pathinfo - r->physical.path.ptr)); in http_response_physical_path_check()
305 && 0 != stat_cache_path_contains_symlink(&r->physical.path, r->conf.errh)) { in http_response_physical_path_check()
401 if (buffer_is_unset(&r->physical.path)) { in http_response_prepare()
455 buffer_clear(&r->physical.doc_root); in http_response_prepare()
462 buffer_copy_buffer(&r->physical.rel_path, &r->uri.path); in http_response_prepare()
477 buffer *b = &r->physical.rel_path; in http_response_prepare()
493 buffer_to_lower(&r->physical.rel_path); in http_response_prepare()
498 if (buffer_is_unset(&r->physical.doc_root)) in http_response_prepare()
499 buffer_copy_buffer(&r->physical.doc_root, r->conf.document_root); in http_response_prepare()
500 buffer_copy_buffer(&r->physical.basedir, &r->physical.doc_root); in http_response_prepare()
501 buffer_copy_path_len2(&r->physical.path, in http_response_prepare()
502 BUF_PTR_LEN(&r->physical.doc_root), in http_response_prepare()
503 BUF_PTR_LEN(&r->physical.rel_path)); in http_response_prepare()
512 "Doc-Root : %s", r->physical.doc_root.ptr); in http_response_prepare()
514 "Basedir : %s", r->physical.basedir.ptr); in http_response_prepare()
516 "Rel-Path : %s", r->physical.rel_path.ptr); in http_response_prepare()
518 "Path : %s", r->physical.path.ptr); in http_response_prepare()
539 "Path : %s", r->physical.path.ptr); in http_response_prepare()
578 if (NULL != r->handler_module || !buffer_is_unset(&r->physical.path)) in http_response_comeback()
624 buffer_reset(&r->physical.path); in http_response_errdoc_init()
652 buffer_copy_buffer(&r->physical.path, r->conf.errorfile_prefix); in http_response_static_errdoc()
653 buffer_append_int(&r->physical.path, r->http_status); in http_response_static_errdoc()
654 buffer_append_string_len(&r->physical.path, CONST_STR_LEN(".html")); in http_response_static_errdoc()
656 stat_cache_get_entry_open(&r->physical.path, r->conf.follow_symlink); in http_response_static_errdoc()
665 buffer_clear(&r->physical.path); in http_response_static_errdoc()