Lines Matching defs:proxy
39 static const char * const proxy_id = "proxy";
43 * A Web proxy module. Stages:
45 * translate_name: set filename to proxy:<URL>
52 * handler: handle proxy requests
509 * short-circuit the proxy... just because of the ordering in the
529 r->filename = apr_pstrcat(r->pool, "proxy:", r->uri, NULL);
530 r->handler = "proxy-server";
539 r->filename = apr_pstrcat(r->pool, "proxy:", r->uri, NULL);
540 r->handler = "proxy-server";
654 found = apr_pstrcat(r->pool, "proxy:", found, NULL);
657 found = apr_pstrcat(r->pool, "proxy:", real, use_uri, NULL);
672 found = apr_pstrcat(r->pool, "proxy:", real, use_uri + len, NULL);
685 r->handler = "proxy-server";
689 apr_table_setn(r->notes, "proxy-nocanon", "1");
692 apr_table_setn(r->notes, "proxy-noquery", "1");
708 /* someone has already set up the proxy, it was possibly ourselves
721 * an issue because this is a hybrid proxy/origin server.
760 * Pass over "proxy:" prefix
829 if (!r->proxyreq || !r->filename || strncmp(r->filename, "proxy:", 6) != 0)
856 if (!r->proxyreq || !r->filename || strncmp(r->filename, "proxy:", 6) != 0)
863 /* create per-request copy of reverse proxy conf,
885 /* fully qualified, i.e. doesn't have a domain name appended. Some proxy */
953 /* We may have forced the proxy handler via config or .htaccess */
955 strncmp(r->handler, "proxy:", 6) == 0 &&
956 strncmp(r->filename, "proxy:", 6) != 0) {
963 } else if (strncmp(r->filename, "proxy:", 6) != 0) {
994 "Max-Forwards has reached zero - proxy loop?");
1101 /* firstly, try a proxy, unless a NoProxy directive is active */
1115 "Trying to run scheme_handler against proxy");
1140 * sent (parts of) the request body to the proxy
1161 /* N.B. what if we're behind a firewall, where we must use a proxy or
1213 "the proxy submodules are included in the configuration "
1222 * the error page on the proxy or if the error was not generated by the
1223 * backend itself but by the proxy e.g. a bad gateway) in order to give
1532 return "ProxyRemoteMatch: Bad syntax for a remote proxy server";
1534 return "ProxyRemote: Bad syntax for a remote proxy server";
1543 return "ProxyRemoteMatch: Bad syntax for a remote proxy server (bad port number)";
1545 return "ProxyRemote: Bad syntax for a remote proxy server (bad port number)";
2239 return "BalancerMember must define remote proxy server";
2423 if (!strncasecmp(cmd->path, "proxy:", 6))
2426 /* XXX Ignore case? What if we proxy a case-insensitive server?!?
2541 "on if the true proxy requests should be accepted"),
2543 "a scheme, partial URL or '*' and a proxy server"),
2545 "a regex pattern and a proxy server"),
2554 "a virtual path and a URL for reverse proxy behaviour"),
2560 "A list of names, hosts or domains to which the proxy will not connect"),
2568 "A list of domains, hosts, or subnets to which the proxy will connect directly"),
2572 "Configure Via: proxy header header to one of: on | off | block | full"),
2595 "Configure Status: proxy status to one of: on | off | full"),
2675 * proxy Extension to mod_status
2821 PROXY_STRNCPY(conf->forward->s->name, "proxy:forward");
2838 PROXY_STRNCPY(reverse->s->name, "proxy:reverse");
2913 AP_DECLARE_MODULE(proxy) =
2932 APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST(proxy, PROXY, int, scheme_handler,
2938 APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST(proxy, PROXY, int, canon_handler,
2941 APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST(proxy, PROXY, int, pre_request, (
2948 APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST(proxy, PROXY, int, post_request,
2954 APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(proxy, PROXY, int, fixups,
2957 APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(proxy, PROXY, int, request_status,
2961 APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(proxy, PROXY, int, detach_backend,