> I'm not sure if it's the same problem as I was having (I was using
> Apache::OutputChain instead because it seems to be more memory-friendly),
> but switching to Apache::Filter with Apache::SSI *almost* works:
>
> <Files ~ "\.phtml$">
> SetHandler perl-script
> PerlSetVar Filter On
> PerlModule Apache::Filter Apache::RegistryFilter Apache::SSI
> PerlHandler Apache::RegistryFilter Apache::SSI
> </Files>
>
> 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.
Thanks for all of your help, everyone!
Chris
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html