Lines Matching refs:path

224 	if (con->mode == DIRECT && con->physical.path->used == 0) {  in http_response_prepare()
343 buffer_copy_string_buffer(con->uri.path, con->uri.path_raw); in http_response_prepare()
347 buffer_path_simplify(con->uri.path, srv->tmp_buf); in http_response_prepare()
352 log_error_write(srv, __FILE__, __LINE__, "sb", "URI-path : ", con->uri.path); in http_response_prepare()
391 con->uri.path->ptr[0] == '*' && con->uri.path_raw->ptr[1] == '\0') { in http_response_prepare()
433 buffer_copy_string_buffer(con->physical.rel_path, con->uri.path); in http_response_prepare()
475 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()
512 buffer_copy_string_buffer(con->physical.path, con->physical.doc_root); in http_response_prepare()
513 BUFFER_APPEND_SLASH(con->physical.path); in http_response_prepare()
514 buffer_copy_string_buffer(con->physical.basedir, con->physical.path); in http_response_prepare()
517 …buffer_append_string_len(con->physical.path, con->physical.rel_path->ptr + 1, con->physical.rel_pa… in http_response_prepare()
519 buffer_append_string_buffer(con->physical.path, con->physical.rel_path); in http_response_prepare()
526 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()
546 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()
564 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()
567 if (HANDLER_ERROR != stat_cache_get_entry(srv, con, con->physical.path, &sce)) { in http_response_prepare()
572 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()
580 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()
583 buffer_reset(con->physical.path); in http_response_prepare()
588 if (con->uri.path->ptr[con->uri.path->used - 2] != '/') { in http_response_prepare()
611 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()
614 buffer_reset(con->physical.path); in http_response_prepare()
623 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()
626 buffer_reset(con->physical.path); in http_response_prepare()
634 buffer_reset(con->physical.path); in http_response_prepare()
638 con->uri.path, in http_response_prepare()
639 "->", con->physical.path); in http_response_prepare()
646 buffer_copy_string_buffer(srv->tmp_buf, con->physical.path); in http_response_prepare()
650 buffer_copy_string_len(con->physical.path, srv->tmp_buf->ptr, slash - srv->tmp_buf->ptr); in http_response_prepare()
652 buffer_copy_string_buffer(con->physical.path, srv->tmp_buf); in http_response_prepare()
655 if (HANDLER_ERROR != stat_cache_get_entry(srv, con, con->physical.path, &sce)) { in http_response_prepare()
679 "file not found:", con->uri.path, in http_response_prepare()
680 "->", con->physical.path); in http_response_prepare()
683 buffer_reset(con->physical.path); in http_response_prepare()
694 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()
697 buffer_reset(con->physical.path); in http_response_prepare()
710 con->uri.path->used -= strlen(pathinfo); in http_response_prepare()
711 con->uri.path->ptr[con->uri.path->used - 1] = '\0'; in http_response_prepare()
716 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()
717 log_error_write(srv, __FILE__, __LINE__, "sb", "URI :", con->uri.path); in http_response_prepare()
724 log_error_write(srv, __FILE__, __LINE__, "sb", "Path :", con->physical.path); in http_response_prepare()