Lines Matching refs:path
796 if (NULL == (sl = strrchr(r->physical.path.ptr, '/'))) { in process_ssi_stmt()
797 chunkqueue_append_mem(cq, BUF_PTR_LEN(&r->physical.path)); in process_ssi_stmt()
804 chunkqueue_append_mem(cq, BUF_PTR_LEN(&r->uri.path)); in process_ssi_stmt()
888 char *sl = strrchr(r->physical.path.ptr, '/'); in process_ssi_stmt()
891 r->physical.path.ptr, in process_ssi_stmt()
892 sl - r->physical.path.ptr + 1, in process_ssi_stmt()
900 const char * const sl = strrchr(r->uri.path.ptr, '/'); in process_ssi_stmt()
901 buffer_copy_string_len(tb, r->uri.path.ptr, sl - r->uri.path.ptr + 1); in process_ssi_stmt()
934 sep = r->uri.path.ptr; in process_ssi_stmt()
942 uint32_t remain = buffer_clen(&r->uri.path) - i; in process_ssi_stmt()
943 uint32_t plen = buffer_clen(&r->physical.path); in process_ssi_stmt()
946 … ? 0 == memcmp(r->physical.path.ptr+plen-remain, r->physical.rel_path.ptr+i, remain) in process_ssi_stmt()
947 … : buffer_eq_icase_ssn(r->physical.path.ptr+plen-remain, r->physical.rel_path.ptr+i, remain))) { in process_ssi_stmt()
949 r->physical.path.ptr, in process_ssi_stmt()
1011 if (buffer_is_equal(&r->physical.path, p->stat_fn)) { in process_ssi_stmt()
1021 upsave = r->uri.path; in process_ssi_stmt()
1022 ppsave = r->physical.path; in process_ssi_stmt()
1025 r->physical.path = *p->stat_fn; in process_ssi_stmt()
1028 memset(&r->uri.path, 0, sizeof(buffer)); in process_ssi_stmt()
1029 buffer_copy_buffer(&r->uri.path, tb); in process_ssi_stmt()
1030 r->physical.rel_path = r->uri.path; in process_ssi_stmt()
1040 free(r->uri.path.ptr); in process_ssi_stmt()
1041 r->uri.path = upsave; in process_ssi_stmt()
1045 *p->stat_fn = r->physical.path; in process_ssi_stmt()
1046 r->physical.path = ppsave; in process_ssi_stmt()
1539 "read(): %s", r->physical.path.ptr); in mod_ssi_read_fd()
1557 int fd = stat_cache_open_rdonly_fstat(&r->physical.path, st, r->conf.follow_symlink); in mod_ssi_process_file()
1560 "open(): %s", r->physical.path.ptr); in mod_ssi_process_file()
1630 if (array_match_value_suffix(p->conf.ssi_extension, &r->physical.path)) { in URIHANDLER_FUNC()