diff options
author | Ryan Bloom <rbb@apache.org> | 2000-11-14 19:27:58 +0100 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-11-14 19:27:58 +0100 |
commit | 6ec843d62c7a6f57b57d7ff9b40fc924e2458e83 (patch) | |
tree | ad9147360c5ecd4cc4cc9d35934aeb6f2b7f1ba7 | |
parent | Simplify ap_proxy_doconnect(); now returns apr_status_t (diff) | |
download | apache2-6ec843d62c7a6f57b57d7ff9b40fc924e2458e83.tar.xz apache2-6ec843d62c7a6f57b57d7ff9b40fc924e2458e83.zip |
Get the proxy working again. With this change in, I have successfully
proxied a page from perl.apache.org.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86962 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | modules/proxy/mod_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index df4a30677c..ac711f6066 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -293,7 +293,7 @@ static int proxy_handler(request_rec *r) const char *maxfwd_str; const char *pragma, *auth, *imstr; - if (r->proxyreq || strncmp(r->filename, "proxy:", 6) != 0) + if (!r->proxyreq || strncmp(r->filename, "proxy:", 6) != 0) return DECLINED; if (r->method_number == M_TRACE && |