also @ TechSpot: Nortel's internal network "owned" by hackers for almost a decade
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > Software Apps

Download Now:

Unable to run CGI scripts

Thread Tools Search this Thread
  #1  
Old 07-14-2005
TechSpot Member
 
Member since: Jun 2005, 47 posts
Unable to run CGI scripts

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

Last edited by Dataslycer; 07-14-2005 at 05:03 PM..
  #2  
Old 07-15-2005
TechSpot Evangelist
 
Location: has left the building
Member since: Aug 2003, 8,165 posts
Not all hosts support CGI. Check if they do .PHP instead.
  #3  
Old 07-15-2005
TechSpot Member
 
Member since: Jun 2005, 47 posts
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.

Last edited by Dataslycer; 07-19-2005 at 05:50 PM.. Reason: Solved it
Closed Thread

Similar Topics
Topic Replies Forum
Xbmc scripts 0 Software Apps
IP Scripts? 1 Software Apps
Scripts 1 Storage and Networking
Scripts 0 Windows OS
MOH:AA Custom Scripts 0 General Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 11:10 PM.