First thanks to Mike for figuring out how to use Embperl with
Apache::Filter. A couple of subtle things are still causing problems. I
have a solution for one but not for the others.

The following line needs to be added as part of the params sent to
Execute:

  $param{inputfile} = $r->filename;

If this is not set all documents will be executed in the same namespace.
Watch the debug output and all documents will be _1 instead of _2, _3
etc. Any common variables may get corrupt without the addition of the
above.

Onto the unsolved problems:

1. I get Stack Underflow errors every once in a while from Embperl on
pages that work fine on a reload.

2. If I change the order of Apache::SSI and Apache::EmbperlFilter in the
PerlHandler section of my configuration Apache::SSI outputs the server
side includes and prints them to the browser instead of to Embperl. This
is with Filter On. I am unsure what is going on here.

Thanks,
Owen

Reply via email to