Hi,

I've tried to get Apache::OutputChain working - no success.
My intention was to do sth. like <!--#include
virtual="/global/include/structure.inc" -->.
In the mentioned file are Embperl statements included.
After doing Apache::SSIChain, Embperl statements should be executed.
But the Embperl handler does only recognize Embperl statements in
structure.inc.
Embperl statements added through Apache::SSIChain doesn't get executed.
Further more all includes are displayed (via browser->source) before the
main html output.

My httpd.conf looks like this:

PerlSetEnv EMBPERL_LOG /export/home1/httpd/logs/embperl.log
PerlSetEnv EMBPERL_DEBUG 0
PerlFreshRestart On
PerlRequire /export/home1/httpd/conf/startup.pl

AddType text/html .thtml

PerlModule Apache::PassFile;
PerlModule Apache::SSIChain;
PerlModule Apache::EmbperlChain;
PerlModule Apache::OutputChain;

<FilesMatch ".*\.thtml$">
    SetHandler     perl-script
    PerlHandler    Apache::OutputChain Apache::EmbperlChain Apache::SSIChain
Apache::PassFile
    Options        +ExecCGI
</FilesMatch>

Does anyone out there know what I'm doing wrong?

S. Roediger

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to