On Mon, 2003-11-17 at 15:59, Christopher P. Lindsey wrote: > > The problem now is that everything is sent out encoded as text/plain. If > > I add a line like this > > > > AddType text/html .phtml > > D'oh! I hate responding to my own posts, but minutes after sending this > I remembered Apache::PassHtml. Changing it to > > <Files ~ "\.phtml$"> > SetHandler perl-script > PerlSetVar Filter On > PerlModule Apache::Filter Apache::RegistryFilter Apache::SSI > PerlHandler Apache::RegistryFilter Apache::PassHtml Apache::SSI > </Files> > > makes everything work hunky-dory.
I hate to be a wet blanket, but that looks very wrong to me. Apache::PassHtml does not work with Apache::Filter, so you probably are not running Apache::SSI on these files at all. The problem you were having with headers can be fixed by setting the content-type in your script, which is something you are supposed to do anyway in any web script. - Perrin -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html