Re: Internal redirect from an output filter (Apache2.x)

Sumeet Singh <[email protected]> Wed, 07 Apr 2004 14:40:42 -0700
Newsgroups gmane.text.xml.cocoon.devel,gmane.comp.apache.mod-proxy
Message-ID <[email protected]>
Can anybody help me out here ?

Sumeet Singh wrote:

> Hi,
>    I was wondering if invoking an internal-redirect from within an 
> output filter is legal. I need to do that from my output filter but 
> want to make sure that it conforms to apache2.0 API before I go ahead 
> and design/code it.
>
> thanks,
> -ss
> p.s.
>    http_header_filter actually does that (indirectly) by invoking 
> ap_die while processing an error_bucket. ap_die will call 
> internal-redirect if the corresponding custom error response 
> (ErrorDocument) is a url.
>