Gracjan Polak wrote:
Bjorn Bringert <bringert <at> cs.chalmers.se> writes:
Is there a description what is a *CGI* protocol?
Here you go: http://hoohoo.ncsa.uiuc.edu/cgi/interface.html


I should be more clear: what kind of data does pwrapper expect? Somewhere in the
middle it needs two handles: one to write and one to read which seem to be
equivalent to stdin/stdout. But what about environment? How is it transfered, as
someone ale pointed out pwrapper runs on different machine?

I think your best bet is to read the code, it's not many lines. IIRC, pwrapper takes the environment variables from the local environment, which is rather useless. If you want a protocol for talking CGI over a socket, FastCGI does just that.

/Björn
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to