Can’t run cgi scripts on my GoDaddy server
abundnce10 said 1 year, 1 month ago:
Operating System: Linux
Hosting Configuration: 2.2
I am running a python script on my Android device, and it’s attempting to connect to my server on GoDaddy. I need it to run a cgi script to compile data from text files I have on my server.
When I go to the domain I have the scripts stored (www.stattracker.me) the index page works but when I attempt to navigate to the link with the cgi script it comes back unsuccessful. Here’s the error response:
“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache Server at http://www.stattracker.me Port 80″
I have used FileZilla to change the cgi scripts to ‘executable’, so I don’t believe that’s the problem. Someone on IRC said I needed to find out what sort of outbound network access godaddy machines have. Any help would be greatly appreciated…
staceyh said 1 year, 1 month ago:
@abundnce10 I’d recommend enabling your error logs to help you find the source of the error:
Also, in addition to setting execute permission, make sure that you’re uploading the scripts using ascii mode FTP to ensure that the line ending characters are unix style.