Commit 5b281ef6 authored by Andre Malo's avatar Andre Malo
Browse files

mod_rewrite no longer turns forward proxy requests into reverse proxy

requests.

PR: 28125
Reviewed by: Jeff Trawick, Brad Nicholes


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103918 13f79535-47bb-0310-9956-ffa450edef68
parent 843fec5b
Loading
Loading
Loading
Loading
+3 −0
Changes for CHANGES: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
Changes with Apache 2.0.50
  *) mod_rewrite no longer turns forward proxy requests into reverse proxy
     requests. PR 28125  [ast domdv.de, Andr Malo]
  *) ap_set_sub_req_protocol and ap_finalize_sub_req_protocol are now
     exported on Win32 and Netware as well (minor MMN bump).  PR 28523.
     [Edward Rudd <eddie omegaware.com>, Andr Malo]
+1 −6
Changes for STATUS: 1 added line, 6 removed lines.
Original line number Diff line number Diff line
APACHE 2.0 STATUS:                                              -*-text-*-
Last modified at [$Date: 2004/06/11 20:46:40 $]
Last modified at [$Date: 2004/06/11 21:05:21 $]

Release:

@@ -164,11 +164,6 @@ PATCHES TO BACKPORT FROM 2.1
         http://www.apache.org/~nd/mod_rewrite_fixleak.diff
       +1: nd

    *) mod_rewrite no longer turns forward proxy requests into reverse proxy
       requests. PR 28125
         modules/mappers/mod_rewrite.c: r1.255
       +1: nd, trawick, bnicholes

    *) (re-)add support for RewriteRules in <Proxy> containers. PR 27985
         modules/mappers/mod_rewrite.c: r1.254
       +1: nd, trawick
+4 −0
Changes for modules/mappers/mod_rewrite.c: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1203,7 +1203,9 @@ static int hook_uri2file(request_rec *r)
            }

            /* now make sure the request gets handled by the proxy handler */
            if (PROXYREQ_NONE == r->proxyreq) {
                r->proxyreq = PROXYREQ_REVERSE;
            }
            r->handler  = "proxy-server";

            rewritelog(r, 1, "go-ahead with proxy request %s [OK]",
@@ -1465,7 +1467,9 @@ static int hook_fixup(request_rec *r)
            }

            /* now make sure the request gets handled by the proxy handler */
            if (PROXYREQ_NONE == r->proxyreq) {
                r->proxyreq = PROXYREQ_REVERSE;
            }
            r->handler  = "proxy-server";

            rewritelog(r, 1, "[per-dir %s] go-ahead with proxy request "