Perl/CGI scripts do not work server-wide, the logs report:
Premature end of script headers (in log), reports a 500 error to browser.
The permissions on the files seem fine, I have tried recompiliig apache etc, but have the same result(s) as above.
The OS on the server is Linux Fedora Core release 1.
I've tried the following test script as well and it does not work:
#!/usr/bin/perl
use CGI;
$cgiobject = new CGI;
print $cgiobject->header;
print "<HTML>\n";
print "<HEAD>\n";
print "<TITLE>Hello World!</TITLE>\n";
print "</HEAD>\n";
print "<BODY text=black>\n";
print "Hello World!\n";
print "</BODY></HTML>\n";
Thanks in advance.
Premature end of script headers (in log), reports a 500 error to browser.
The permissions on the files seem fine, I have tried recompiliig apache etc, but have the same result(s) as above.
The OS on the server is Linux Fedora Core release 1.
I've tried the following test script as well and it does not work:
#!/usr/bin/perl
use CGI;
$cgiobject = new CGI;
print $cgiobject->header;
print "<HTML>\n";
print "<HEAD>\n";
print "<TITLE>Hello World!</TITLE>\n";
print "</HEAD>\n";
print "<BODY text=black>\n";
print "Hello World!\n";
print "</BODY></HTML>\n";
Thanks in advance.
Last edited: