dan
Verified User
hi, hope someone can help!
perl doesn't seem to be working at all in the cgi-bin directories, accessible via the web. logging in via ssh and running the perl script manually (i.e perl script.cgi/pl or ./script.cgi/pl) works file. running the same script through a browser, returns a 500 error, with no real details of what's wrong. the apache error log says "premature end of file". i tested whether it was the perl script i was using or not by putting a simple 3 liner on there:
which also returned an error 500.
currently running latestl DA, perl 5.8.7 (i'm led to believe this is a development version?), fbsd6.2.
is it safe to upgrade perl to 5.8.8 (latest) by reinstalling the port, or will this screw things up more?
thanks for your help.
dan
perl doesn't seem to be working at all in the cgi-bin directories, accessible via the web. logging in via ssh and running the perl script manually (i.e perl script.cgi/pl or ./script.cgi/pl) works file. running the same script through a browser, returns a 500 error, with no real details of what's wrong. the apache error log says "premature end of file". i tested whether it was the perl script i was using or not by putting a simple 3 liner on there:
Code:
#!/usr/bin/perl
print "Content-type:text/plain\n\n";
print "hello!";
currently running latestl DA, perl 5.8.7 (i'm led to believe this is a development version?), fbsd6.2.
is it safe to upgrade perl to 5.8.8 (latest) by reinstalling the port, or will this screw things up more?
thanks for your help.
dan