Lines Matching refs:path
282 buffer *path; member
541 p->path = buffer_init(); in INIT_FUNC()
554 buffer_free(p->path); in FREE_FUNC()
1557 scgi_env_add(p->scgi_env, CONST_STR_LEN("SCRIPT_NAME"), CONST_BUF_LEN(con->uri.path)); in scgi_create_env()
1565 buffer_copy_string_buffer(p->path, host->docroot); in scgi_create_env()
1567 buffer_copy_string_buffer(p->path, con->physical.basedir); in scgi_create_env()
1569 buffer_append_string_buffer(p->path, con->request.pathinfo); in scgi_create_env()
1570 scgi_env_add(p->scgi_env, CONST_STR_LEN("PATH_TRANSLATED"), CONST_BUF_LEN(p->path)); in scgi_create_env()
1589 buffer_copy_string_buffer(p->path, host->docroot); in scgi_create_env()
1590 buffer_append_string_buffer(p->path, con->uri.path); in scgi_create_env()
1592 scgi_env_add(p->scgi_env, CONST_STR_LEN("SCRIPT_FILENAME"), CONST_BUF_LEN(p->path)); in scgi_create_env()
1595 buffer_copy_string_buffer(p->path, con->physical.path); in scgi_create_env()
1597 scgi_env_add(p->scgi_env, CONST_STR_LEN("SCRIPT_FILENAME"), CONST_BUF_LEN(p->path)); in scgi_create_env()
2439 buffer_reset(con->physical.path); in SUBREQUEST_FUNC()
2451 buffer_reset(con->physical.path); in SUBREQUEST_FUNC()
2578 buffer_reset(con->physical.path); in scgi_handle_fdevent()
2640 con->uri.path, in scgi_handle_fdevent()
2713 fn = uri_path_handler ? con->uri.path : con->physical.path; in scgi_check_extension()
2768 buffer_reset(con->physical.path); in scgi_check_extension()
2776 "all handlers for ", con->uri.path, in scgi_check_extension()
2841 buffer_copy_string(con->request.pathinfo, con->uri.path->ptr); in scgi_check_extension()
2842 con->uri.path->used = 1; in scgi_check_extension()
2843 con->uri.path->ptr[con->uri.path->used - 1] = '\0'; in scgi_check_extension()
2845 con->uri.path->used > extension->key->used && in scgi_check_extension()
2846 NULL != (pathinfo = strchr(con->uri.path->ptr + extension->key->used - 1, '/'))) { in scgi_check_extension()
2851 con->uri.path->used -= con->request.pathinfo->used - 1; in scgi_check_extension()
2852 con->uri.path->ptr[con->uri.path->used - 1] = '\0'; in scgi_check_extension()