943,917 Members | Top Members by Rank

May 22nd, 2006
0

Getting CGI-BIN to work in Apache

Expand Post »
I was writing a C++ CGI-BIN program, but couldn't get it to work in Linux Apache web server. It just seemed to display the c++ program as binary garbage in the Firefox browser, it didn't execute it like a CGI-BIN is supposed to. I put it in the /CGI-BIN/ directory and then it just didn't recognise it at all it seemed?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
Joncamp is offline Offline
34 posts
since Apr 2006
May 30th, 2006
0

Re: Getting CGI-BIN to work in Apache

Does the file have global execute privileges?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
May 31st, 2006
0

Re: Getting CGI-BIN to work in Apache

The cgi-bin program has all execute permissions, I log on as root in Linux when I use Firefox and try to view the output of the cgi-bin program. The cgi-bin program returns all output through Apache correctly, but does not recognize the stdin command line args from a form-post.
Reputation Points: 10
Solved Threads: 0
Light Poster
Joncamp is offline Offline
34 posts
since Apr 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Servers and Apache Forum Timeline: Is it an Apache vs FastCGI issue? Why getting 302/500 errors
Next Thread in Linux Servers and Apache Forum Timeline: One Level Up & Typo3





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC