Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: 500 Internal server error

by Anonymous Monk
on Feb 06, 2014 at 10:50 UTC ( [id://1073685]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1073685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-29 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found