Lines Matching refs:url
567 static void send_file_and_exit(const char *url, int what) NORETURN;
1545 const char *url,
1550 const char *url, in send_cgi_and_exit() argument
1562 url = xstrdup(url); in send_cgi_and_exit()
1571 last_slash = script = (char*)url; in send_cgi_and_exit()
1575 dir = is_directory(url + 1, /*followlinks:*/ 1); in send_cgi_and_exit()
1596 char *fullpath = concat_path_file(home_httpd, url); in send_cgi_and_exit()
1600 setenv1("SCRIPT_NAME", url); in send_cgi_and_exit()
1668 if (script != url) { /* paranoia */ in send_cgi_and_exit()
1670 if (chdir(url + 1) != 0) { in send_cgi_and_exit()
1671 bb_perror_msg("can't change directory to '%s'", url + 1); in send_cgi_and_exit()
1739 static NOINLINE void send_file_and_exit(const char *url, int what) in send_file_and_exit() argument
1747 char *gzurl = xasprintf("%s.gz", url); in send_file_and_exit()
1757 fd = open(url, O_RDONLY); in send_file_and_exit()
1760 fd = open(url, O_RDONLY); in send_file_and_exit()
1764 dbg("can't open '%s'\n", url); in send_file_and_exit()
1790 suffix = strrchr(url, '.'); in send_file_and_exit()
1853 dbg("sending file '%s' content-type:%s\n", url, found_mime_type); in send_file_and_exit()
2157 static Htaccess_Proxy *find_proxy_entry(const char *url) in find_proxy_entry() argument
2161 if (is_prefixed_with(url, p->url_from)) in find_proxy_entry()