Previous Thread
Next Thread
Print Thread
CGI with stdin & stdout #11589 11 Jul 01 07:41 PM
Joined: Jun 2001
Posts: 153
O
OmniLedger - Tom Reynolds Offline OP
Member
OP Offline
Member
O
Joined: Jun 2001
Posts: 153
We use cgi scripts quite extensively with both the Linux & Windows Ashell using the FORM METHOD=GET.

METHOD=POST works ok on Linux but not Windows as I see from the posting in "Other Topics" that CGI that Ashell/Windows does not use stdin & stdout, to quote:

ONE BIG CAVEAT: A-Shell/Windows does not yet support the CGI features. This is because CGI is based on stdin/stdout, which are not part of the standard Windows programming environment. I know how to implement them, but haven't had the time (or the popular demand) to do it yet. Are you planning to run your web server on a Windows platform? If so, then start bugging me to get that feature added. Otherwise, if you are using, say Linux, then there is not problem. (You would need A-Shell/Linux for the CGI engine, but it could in turn talk to your A-Shell/Windows application via a socket interface using TCPCLI.SBR & TCPSRV.SBR.)

Jack, consider this my "bugging you" and if anyone else would also like this feature maybe you could add your comments here!

Re: CGI with stdin & stdout #11590 01 Jul 04 05:57 PM
A
Anonymous
Unregistered
Anonymous
Unregistered
A
This is an old post, but it is still of some concern. Am I correct to assume cgi still does not work with windows? I have not been successful in my recent attempts.

-Crow

Re: CGI with stdin & stdout #11591 02 Jul 04 01:40 AM
Joined: Jun 2001
Posts: 11,945
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,945
Well, I guess that now makes two people bugging me. Guess I'd better start working on it...

Re: CGI with stdin & stdout #11592 04 Mar 05 01:54 AM
Joined: Jun 2001
Posts: 11,945
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,945
Well it was a long and windy road... but 4.9.922 does finally support the CGI feature (with stdin/stdout) under A-Shell/Windows. So far, it has only been tested under XP with Apache 2.0 (which you can download for free from http://www.apache.org). It was very easy to install (I did it on a laptop), and you have the choice of making it a service or just launching it on demand (very convenient for development/testing).

See the entry in the ash49devnotes.txt file for more details.


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3