[LON-CAPA-dev] apache 2 should now really work
Guy Albertelli II
Sat, 8 Apr 2006 19:26:52 -0400 (EDT)
[ Charset ISO-8859-1 unsupported, converting... ]
> Guy Albertelli II wrote:
> > Okay,
> > If you check out the head version of lon-capa this time it really will
> > work on Apache 2.
> What was the problem(s) before?
Printout.pl and out CGi scripts can't use Apache2::compat or other
parts of the Apache::* family of ruotines in a generally successful
manner outside of the mod_perl environment. You get seemingly odd
errors and the perl code fails to find some expected C-code constants
Try out making a .pl file that is
And you'll see the errors occur.
I had modified the .pm files on my machine so that perl just shut up
about things. But long term it's probably best to seperate the bits of
Lon-CAPA that need the mod_perl environment (the web page generators)
and the functions that talk to the network and push the bits around
(lonnet.pm lonmsg.pm etc.)
The way things are now
at least are now usable in a cgi/script environment and shouldn't even
need apache/mod_perl to be installed.