]> granicus.if.org Git - apache/commitdiff
Set the request config in the new r, not the old r.
authorJeff Trawick <trawick@apache.org>
Wed, 18 Oct 2000 21:22:14 +0000 (21:22 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 18 Oct 2000 21:22:14 +0000 (21:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86654 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 568824b29c26670f75e14b70205f9f96ece2efb7..89f0bf56eb11b23a03a217256d4c90bba0559fe8 100644 (file)
@@ -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;