From: Sander Striker Date: Fri, 8 Apr 2005 22:10:13 +0000 (+0000) Subject: Backport. X-Git-Tag: 2.0.54~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebe1cc2a2ecc8023da33242e76a2beaa46ae5805;p=thirdparty%2Fapache%2Fhttpd.git Backport. * STATUS Remove vote. * modules/http/http_request.c (ap_internal_fast_redirect): Take over important members of the subrequest. Especially the proxyreq copying is interesting for proxying DirectoryIndex'd resources: http://svn.apache.org/viewcvs.cgi?rev=102330&view=rev +1: nd, jerenkrantz, pquerna, striker git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@160627 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_request.c b/modules/http/http_request.c index f17efb82de0..d915b31cc00 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -404,6 +404,9 @@ AP_DECLARE(void) ap_internal_fast_redirect(request_rec *rr, request_rec *r) * rr->pool. */ apr_pool_join(r->pool, rr->pool); + r->proxyreq = rr->proxyreq; + r->no_cache = (r->no_cache && rr->no_cache); + r->no_local_copy = (r->no_local_copy && rr->no_local_copy); r->mtime = rr->mtime; r->uri = rr->uri; r->filename = rr->filename;