Mailing List Archive

RE: Error using Syntax::SSI and Syntax::EmbperlBlocks at the same time
Hi,

Sorry for my late reply.

Does it change anything if you exchange the order i.e.

EMBPERL_SYNTAX "EmbperlBlocks SSI"

Gerald



> -----Original Message-----
> From: Vietze, Axel [mailto:axel.vietze@siemens.com]
> Sent: Monday, November 19, 2007 2:47 PM
> To: embperl@perl.apache.org
> Subject: Error using Syntax::SSI and Syntax::EmbperlBlocks at
> the same time
>
> Greetings.
> I'm having a problem getting Embperl2.3.0 to work with Apache
> 2.061, mod_perl2.03, and perl 5.8.8.
>
> I want to use Embperl::Syntax::SSI and
> Embperl::Syntax::EmbperlBlocks at the same time in Files like *.shtml.
> If I only use one of them, it works fine, but both together I
> get the following error message in my error_log.
>
> [error] [client ***.***.***.***] Can't locate object method
> "AddMetaCmdWithEnd" via package "Embperl::Syntax::SSI" at
> /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/Embperl/Synt
> ax/EmbperlBlocks.pm line 266.\n
>
>
> my httpd.conf:
> .........
> LoadModule perl_module modules/mod_perl.so PerlModule Apache2::compat
>
> PerlModule Embperl
> LoadModule embperl_module
> /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/Embperl
> /Embperl.so
> Embperl_UseEnv on
> EMBPERL_LOG /export/home/httpd/logs/embperl.log
> EMBPERL_DEBUG 0
>
> <LocationMatch "\.shtml$">
> PerlSetVar Filter On
> SetHandler perl-script
> EMBPERL_SYNTAX "SSI EmbperlBlocks"
> EMBPERL_ESCMODE 0
> PerlHandler Embperl
> Options FollowSymLinks ExecCGI
> </LocationMatch>
> .........
>
>
> Best regards
>
> Axel
>
>
>
>
>
>
>

** Virus checked by BB-5000 Mailfilter **

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org