FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

CGI-bin script help

 


Xcelerate
I'm very new to CGI, and I was trying to write a program to display some text. I finally figured out how to get it to work on my testing server, but when I uploaded it, it said there was an internal error. I checked the error log and it said the file (script.exe) did not have execute permissions. So think I looked up CGI scripts and found a sample script called first.pl, so I uploaded this too, and it gave me the same error. What am I doing wrong?
dandelion
Be sure the script has been uploaded rather in ASCII than in binary mode.

Check its execute permissions out.
Xcelerate
Hmm... None of those worked. I checked the error log; it send premature end of headers. I know I've made the headers right because they work on mine. Now, this could have something to do with it: My program is mandelbrot.exe. If the server is running linux, can it run .exe files? If not, what should I do with my C++ source code to compile it for linux?

Thanks.
Related topics

cgi script outsite cgi-bin
Python CGI script 500 error
Convert CGI script to php and MySQL
CGI-script
Python via CGI - A personal triumph

Python via CGI - A personal triumph
I need some help about CGI-BIN
about cgi setup
Need Help Please (I offer all my frih$)
php script help!

Sending simple emails using PERL - Help required
Is there a Python Hello World using Apache?
Apache
Moveable Type Install
Script Help!!
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.