> From: Dirk Lutzebaeck [mailto:[EMAIL PROTECTED]]
>
> Gerald suggested to track down where the header gets lost. Here is
> what I found out.
>
> The chain is very simple:
>
> SetHandler perl-script
> Options ExecCGI
> PerlHandler Apache::OutputChain Apache::EmbperlChain Apache::PassFile
>
>[...]
>
> Somehow the location header gets eaten on the way from EmbperlChain to
> Apache. How can I track this further?
>
The solution is very simple, the headers are send by Apache::PassFile, so
when Embperl gets invoked the headers are already sent to the browser,
therefore you don't have an chance to modify it. You may take a short look
to PassFile.pm to verify this.
Gerald
P.S. Apache::Filter goes the other way round and sends the filters when the
output of the last module is done. Michael Schout currently is working on a
Apache::EmbperlFilter, but it isn't released yet.
---------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internet - Infodatenbanken - Apache - Perl - mod_perl - Embperl
E-Mail: [EMAIL PROTECTED] Tel: +49-6133/925151
WWW: http://www.ecos.de Fax: +49-6133/925152
---------------------------------------------------------------