Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2006
Anyone used CGI's made with Realbasic?
It works fine if you run it from terminal but fails when accessed by http:// (apache) with the following log messages:
[Fri Jun 23 11:30:44 2006] [error] [client 220.127.116.11] which: no testcon.cgi in (/usr/local/bin:/usr/bin:/bin)
[Fri Jun 23 11:30:44 2006] [error] [client 18.104.22.168] Premature end of script headers: testcon.cgi
The suEXEC log does not appear to show any problems:
[2006-06-22 21:49:40]: uid: (10005/txe) gid: (10001/10001) cmd: testcon.cgi
I have tried this on two different linux servers with the same results.
I have spent the last 4 days researching this and I am coming to the conclusion that the problem may well lie with the way Realbasic generates console apps for Linux.
If anyone would like to test it you can download the Realbasic source and compiled CGI (zipped) here:
All suggestions and ideas greatly appreciated.