jeffjeff
09-07-2006, 07:01 AM
I have a PERL script, tutorial.pl, that I have used for many years on our schools course server. There are some things that have to be adjusted to the server setup. (see http://demo.cfl.se/tut/tutmab.pl/MA1202W/MaC/StudArb/AndraGradEkv1.htm to see what it works like. Or the original script working (in English): http://cee.carleton.ca/~nholtz/cgi-bin/tutorial/~nholtz/tut/doc/eg-sn1.html and its documentation: http://www.civeng.carleton.ca/%7Enholtz/tut/doc/eg-sn1s.html
I remember we brought down the (Windows) server several times 1997 while findíng what worked.
I haven't "succeeded" :-) to knock down Site_ground, in fact after getting rid of the first errors there were no longer any notes in the Error log in spite of getting a 500 error, but now there are:
[Thu Sep 7 04:19:46 2006] [error] [client 212.214.95.2] Premature end of script headers: /home/tupo/public_html/cgi-bin/tut/tutorial.pl
It says "Last 300 Error Log Messages in reverse order:" but it only shows maybe 30. I guess they mean "for today"?
I've tried setting (in the PERL script):
$documentRoot = '/public_html/kurser/';
which is where the relative links to the files which are processed by the script.
$module_path = "/pubic_html/cgi-bin/tut/";
which is where the main perl script and the undermodules that it calls are.
tutorial.pl and the module singnum.pl were both marked as excutable by right clicking in Filezilla.
I haven't tried resaving the .pl files with UNIX lineendings yet. (I don't know what they have now.) Any suggestions? Does the site_ground setup follow a particular type of Apache standard that I can lookup somewhere?
I remember we brought down the (Windows) server several times 1997 while findíng what worked.
I haven't "succeeded" :-) to knock down Site_ground, in fact after getting rid of the first errors there were no longer any notes in the Error log in spite of getting a 500 error, but now there are:
[Thu Sep 7 04:19:46 2006] [error] [client 212.214.95.2] Premature end of script headers: /home/tupo/public_html/cgi-bin/tut/tutorial.pl
It says "Last 300 Error Log Messages in reverse order:" but it only shows maybe 30. I guess they mean "for today"?
I've tried setting (in the PERL script):
$documentRoot = '/public_html/kurser/';
which is where the relative links to the files which are processed by the script.
$module_path = "/pubic_html/cgi-bin/tut/";
which is where the main perl script and the undermodules that it calls are.
tutorial.pl and the module singnum.pl were both marked as excutable by right clicking in Filezilla.
I haven't tried resaving the .pl files with UNIX lineendings yet. (I don't know what they have now.) Any suggestions? Does the site_ground setup follow a particular type of Apache standard that I can lookup somewhere?