You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2000/08/03 05:57:17 UTC
Re: embperl with stack handlers ?
Hi,
>
> I had develop a mod_perl module , checkdevice , for make checking before
call to embperl ,
>
> I put :
>
> <Files *.wpl>
> SetHandler perl-script
> PerlHandler Apache::OutputChain HTML::Embperl checkdevice
> Options ExecCGI
> </files>
>
> If checkdevice don't go to next handler(EmbPerl) all work ( generate
output and DONE)
>
> But if EmbPerl execute then the ouput is generate but with a extra header
...
>
Your checkdevice handler should not send any HTTP headers (of course it can
modifiy and setup header values). Embperl then sends the headers. (Otherwise
Embperl cannot add things like Content-Lenght etc.)
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------