FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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
Perl Script - Internal Error 404 File not found
cgi-bin help
CGI FormMail Script Part II
cgi guestbook... need help setting up.
problem with cgi perl script
Help, I need LWP::Simple perl module!!
Python via CGI - A personal triumph
CGI-BIN
mod_python outside cgi-bin
cgi script outsite cgi-bin
cgi-bin directory?
Python CGI script 500 error
Setup cgi-bin in apache
Which scripting languages into CGI-Bin?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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