I am running embperl under Redhat 5.2, HTML-Embperl-1.3.2, using
epocgi.pl. Apache doesnt have mod perl installed. I need to run a perl
application that allows users to update Web pages without knowing HTML. I
am having trouble getting it to run under embperl.
Outside of embperl it is set up to run under Exec CGI. ON a Web page, you
place the following under Apache:
<!--#set var="name" value="Homepage" -->
<!--#exec cgi="/cgi-bin/newsEdit2/department.cgi" -->
Under embperl, I tried that and it didn't work. I then set up:
[- $name = "Homepage" -]
[- Execute ("/webServer/virtualDW/cannonschool.org/cgi-bin/newsEdit2/department.cgi")
-]
in the index.html page and it pulls up the actual code of the program,
rather than running it. I tried setting the [- $optRawInput = 1 -] right
before that code above, since I set SetEnv EMBPERL_ESCMODE 0
in the httpd.conf file. That did not work either. I am hampered too by the
fact that this perl application is encrypted such that you can not edit
the code inside the program.
How do I get this program to run on an html page under embperl then? The
docs talk about loading packages, using modules, etc. and I am wondering
if that is what I should be looking at, though I am not clear on how to
use it and any pointers, suggestions, examples would be much appreciated.
--
Gary Nielson
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]