mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
add no-proxy envvar for mod_proxy
replacement for ProxyPass /path ! when ProxyPass is in location context. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1781328 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -781,6 +781,10 @@ static int proxy_trans(request_rec *r)
|
||||
|| !r->uri || r->uri[0] != '/') {
|
||||
return DECLINED;
|
||||
}
|
||||
|
||||
if (apr_table_get(r->subprocess_env, "no-proxy")) {
|
||||
return DECLINED;
|
||||
}
|
||||
|
||||
/* XXX: since r->uri has been manipulated already we're not really
|
||||
* compliant with RFC1945 at this point. But this probably isn't
|
||||
|
Reference in New Issue
Block a user