1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

Get internal redirects working by initializing the output_filters

list.  We start over with only core_filter just like a fresh request.
Processing of the new URI will determine what filters (if any) are
appropriate.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86256 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeff Trawick
2000-09-19 23:50:36 +00:00
parent f8453ca3af
commit eef73d8890

View File

@@ -75,6 +75,7 @@
#include "http_protocol.h"
#include "http_log.h"
#include "http_main.h"
#include "util_filter.h"
#include "util_charset.h"
#include "apr_strings.h"
#include "apr_file_io.h"
@@ -1387,6 +1388,8 @@ static request_rec *internal_internal_redirect(const char *new_uri,
apr_table_setn(new->subprocess_env, "REDIRECT_STATUS",
apr_psprintf(r->pool, "%d", r->status));
ap_add_filter("CORE", NULL, new);
/*
* XXX: hmm. This is because mod_setenvif and mod_unique_id really need
* to do their thing on internal redirects as well. Perhaps this is a