Unable to run CGI scripts

Status
Not open for further replies.

Dataslycer

Posts: 30   +0
Unsuprisingly when I try to run CGI sites or the site that runs it, the scripts won't run and I am with a page that doesn't have it. However, anything that I run in /cgi-bin results in an internal server error (500), including html, cgi, and even txt. Anything I could do that I might have forgotten?

PS: Just to make sure, the CGI directory for this website could be mainwebsite_cgi or does it have to be specifically cgi-bin?

The Uploading type was ASCII and I already CMOD the CGI to 755
 
Managed to get the scripts working but when I run the scripts, it's not displaying the images for the e-card scripts. Looking at the error log, I get the stupid Premature end of script headers error.

http://www.asianstockphotos.com/cgi-bin/cards/cards.cgi

This is what I have so far.

Edit: Finally got it. I forgot to change the first line to point to the exact path to my Perl Intepretor.
 
Status
Not open for further replies.
Back