Please forgive my newbie questions here. I set the following in
httpd.conf:
# EMBPERL STUFF
SetEnv EMBPERL_ESCMODE 0
SetEnv EMBPERL_OPTIONS 16,16384
and then in the html file, I did the following:
[- BEGIN { unshift(@INC,
'/webServer/virtualDW/cannonschool.org/cgi-bin/newsEdit2/') } -]
[- $nam
>
> [-
> $oldfh = select(OUT);
> &do();
> select ($oldfh);
> -]
>
Instead of the select(OUT) you can set optRedirectStdout in your httpd.conf
and Embperl will do the same for you.
Gerald
-
Gerald Richtereco
>
> 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 1.3.x Execute executes a Embperl page, since your cgi doesn't contain any
[-/+ +/-] etc. blocks, Embperl
Gary Nielson wrote:
>
> 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.
Try s
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