also @ TechSpot: Apple CEO declines $75 million payout in stock dividends

TechSpot

Unable to run CGI scripts

Discussion in 'Software Apps' started by Dataslycer, Jul 14, 2005.

Thread Status:
Not open for further replies.
  1. Dataslycer Newcomer, in training

    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
  2. RealBlackStuff Newcomer, in training

    Not all hosts support CGI. Check if they do .PHP instead.
  3. Dataslycer Newcomer, in training

    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.
Thread Status:
Not open for further replies.