perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Eklof <carlek...@yahoo.com>
Subject Newbie can't turn off html processing in Embperl 2.0
Date Thu, 29 Sep 2005 19:09:02 GMT
Hello,

I'm new to Embperl, and certainly to this list, so
pardon me if this question is silly or if it is not
structured as a proper request for help. I am pretty
experienced with mod_perl however, which is why my
goal is to turn-off almost all Embperl logic, except
for the parsing of [* *] blocks.

I've been using Embperl 2.0.0 for two days, and it has
been running pretty well. The main problem(s) I've
been having have been because I can't seem to turn off
the HTML processing. There have been lot's of problems
related to that, such as having to add a comment
between any [* *] code block, that is followed by a
<table> tag (Embperl parses the page incorrectly
otherwise, which can cause very bad problems)

According to the docs setting EMBPERL_OPTIONS to 512
"optDisableHtmlScan" should "disable html scan" but it
doesn't seem to be working because I can get errors
from Embperl about things like: 

[6392]ERR: 49: blah.epl(57): Endtag '/tr' doesn't
match starttag 'table' 

I've inlined the relevent section of my httpd.conf
below.

Any ideas/help/support/empathy would be greatly
appreciated :)

-Carl

# Include the Embperl shared library
LoadModule  embperl_module  <path-to>/Embperl.so
PerlRequire Embperl.pm

# Turn on Embperl Environment
Embperl_UseEnv on

EMBPERL_LOG
/home/carl/projects/GOB/third-party/apache/logs/embperl_log
EMBPERL_SESSION_HANDLER_CLASS no
EMBPERL_OPTIONS 528
# Add 524288 for optKeepSrcInMemory (don't re-read
from disk)
EMBPERL_ESCMODE 0
EMBPERL_DEBUG 0

<Directory /home/carl/projects/GOB/uis/beethere>

    AllowOverride None

	<FilesMatch ".*\.html$">
		SetHandler  perl-script
		PerlHandler Embperl::Object
		Options     ExecCGI
	</FilesMatch>
</Directory>


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


Mime
View raw message