mjc 00/01/16 10:06:33
Modified: src CHANGES src/modules/standard mod_rewrite.c Log: The recent fix to allow ProxyPass directories to be protected with user authentication did not work when using mod_rewrite to do the mirror proxying. This fixes it. Revision Changes Path 1.1500 +2 -2 apache-1.3/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.1499 retrieving revision 1.1500 diff -u -r1.1499 -r1.1500 --- CHANGES 2000/01/15 16:40:40 1.1499 +++ CHANGES 2000/01/16 18:06:25 1.1500 @@ -23,8 +23,8 @@ work. Fixed. [Manoj Kasichainula, Ben Laurie] - *) ProxyPass erroneously converted authentication requests to proxy - authentication requests. Fixed. + *) ProxyPass and mod_rewrite's proxy mode erroneously converted + authentication requests to proxy authentication requests. [Ben Laurie] *) Reverse a patch which broke HPUX shared builds. Basically 1.155 +2 -2 apache-1.3/src/modules/standard/mod_rewrite.c Index: mod_rewrite.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_rewrite.c,v retrieving revision 1.154 retrieving revision 1.155 diff -u -r1.154 -r1.155 --- mod_rewrite.c 2000/01/12 15:23:25 1.154 +++ mod_rewrite.c 2000/01/16 18:06:30 1.155 @@ -1123,7 +1123,7 @@ } /* now make sure the request gets handled by the proxy handler */ - r->proxyreq = STD_PROXY; + r->proxyreq = PROXY_PASS; r->handler = "proxy-server"; rewritelog(r, 1, "go-ahead with proxy request %s [OK]", @@ -1387,7 +1387,7 @@ } /* now make sure the request gets handled by the proxy handler */ - r->proxyreq = STD_PROXY; + r->proxyreq = PROXY_PASS; r->handler = "proxy-server"; rewritelog(r, 1, "[per-dir %s] go-ahead with proxy request "