httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject Re: [apache-modules] Re: Internal redirect from an output filter (Apache2.x)
Date Fri, 09 Apr 2004 00:12:57 GMT
* Sumeet Singh <> wrote:

[internal redirects in output filters]

> Yes, I also find it unsafe. However, note that some standard modules do 
> that too. For example mod_include runs sub-requests from within its 
> output filters. In my opinion this shouldn't be allowed, because with 
> the wrong configuration a web-admin could cause the server to go into 
> recursion. But since mod_include is a standard module, I guess what it 
> does is considered legal.

Subrequests and internal redirects are entirely different things. A subrequest
can be done from almost everywhere and affects just the data flow (if at all).
An internal redirect affects the current _control flow_.


View raw message