https://bz.apache.org/bugzilla/show_bug.cgi?id=66243

--- Comment #3 from Eric Covener <[email protected]> ---
> the sub-requests for the nested #include statements get a new request_rec so 
> the following code never triggers:

I think on the surface it is anticipating that a new request_rec will be used
and sets things up correctly / in the right timing:

// parent setting the request_config on the subrequest to point back to itself
        if (rr) {
            ap_set_module_config(rr->request_config, &include_module, r);
        }

// running the handler on the subrequest in the parent, which will then invoke
output filters like mod_include
        if (!error_fmt && ((status = ap_run_sub_req(rr)))) {
            error_fmt = "unable to include \"%s\" in parsed file %s, subrequest
returned %d";
        }


I don't understand why it doesn't work, but I suggest looking at RULEFLAG_END
in mod_rewrite.c if you want to try yet another method.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to