From: Jeff Trawick Date: Wed, 18 Oct 2000 21:22:14 +0000 (+0000) Subject: Set the request config in the new r, not the old r. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4bf905e93cc0fac6d8d2a8eff4bef6aea9de5fd1;p=apache Set the request config in the new r, not the old r. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86654 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 568824b29c..89f0bf56eb 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -1416,7 +1416,7 @@ static request_rec *internal_internal_redirect(const char *new_uri, new->request_config = ap_create_request_config(r->pool); req_cfg = apr_pcalloc(r->pool, sizeof(core_request_config)); req_cfg->bb = ap_brigade_create(r->pool); - ap_set_module_config(r->request_config, &core_module, req_cfg); + ap_set_module_config(new->request_config, &core_module, req_cfg); new->per_dir_config = r->server->lookup_defaults;