LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Internal Server Error 500 but no error log (https://www.linuxquestions.org/questions/programming-9/internal-server-error-500-but-no-error-log-825029/)

Sly Phy 08-09-2010 01:20 AM

Internal Server Error 500 but no error log
 
Hi

I Have a Perl script that creates a form, the action of which calls another perl script. The first script seems to run fine but when the submit button is pressed I get the old Internal Server Error 500.

Assuming I could simply look at the error log file on the server to find out what is going on, there is only an error relating to the missing 500.shtml page and nothing else.

The offending script is simply:

#!/usr/bin/perl
use CGI::Carp qw( fatalsToBrowser );
print "Content-type: text/html\n\n";
print "hello";

All related permissions are 755 and the url is correct with all the form field data after the ?

Why no error log?

Any help greatly appreciated.

tonyfreeman 08-10-2010 10:51 PM

Make sure your calling script is not echoing/printing out anything to stdio.


All times are GMT -5. The time now is 11:36 AM.