in reply to 500 Internal server error

What does the error log say?

this and many more tips in the checklists :) Basic debugging checklist , brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts

Replies are listed 'Best First'.
Re^2: 500 Internal server error
by sachinz2 (Acolyte) on Feb 06, 2014 at 11:17 UTC
    Hi The error log says
    [Thu Feb 06 11:16:17 2014] [error] [client 198.38.94.79] (13)Permissio +n denied: exec of '/var/www/cgi-bin/Output/Waybill/waybills01_29_14.c +sv' failed [Thu Feb 06 11:16:17 2014] [error] [client 198.38.94.79] Premature end + of script headers: waybills01_29_14.csv
      Is that file a cgi script?

        the process is like this, user requests a cgi script with a pdf file name, my script grabs the file name, then passes the file name to a .pl script as an argument, and my .pl script scraps the pdf, generates the required data in csv file, and then, displays the location of csv file on browser

        user then calls my url "http://my.server.name/cgi-bin/Output/Waybill/waybills01_29_14.csv"

        all the directories are in cgi directory