In certain circumstances, I need to do an internal redirect on the client's
request (without sending back a redirect to the client).
I tried using ap_sub_req_method_uri (specifying NULL for the filter), and then
ap_run_sub_req.
I see that the content type of the new request is correct (in my case
Bill,
I was wondering if the following in the filter documentation is a doc bug based
on your comments below:
"The second case for sub-requests is when one sub-request is going to
become the real request. This happens whenever a sub-request is created
outside of a handler or filter, and NULL is
Aryeh, please take a look at mod_negotiation for an example of where we
look at several subrequests, choose a best-match based on mime headers,
and then promote that subrequest to become the real request.
Bill
At 09:22 AM 8/8/2003, Aryeh Katz wrote:
>Bill,
>I was wondering if the following in the
The NULL argument for the filter is *ONLY* to be used for testing subrequests
that are not actually run to the client. E.g. mod_autoindex uses the NULL arg
to consider what files might be served, and if they are, in fact, actually valid
content files, or if they have been protected or otherwise ca
> The NULL argument for the filter is *ONLY* to be used for testing
> subrequests that are not actually run to the client. E.g.
> mod_autoindex uses the NULL arg to consider what files might be
> served, and if they are, in fact, actually valid content files, or if
> they have been protected or o