Hi!
Has anyone thought about implementing a SCGI interface for TBNL? That way it could work together with Apache + mod_scgi, or even better: lighttpd + mod_scgi
lighttpd: http://www.lighttpd.net/ SCGI specification: http://python.ca/nas/scgi/protocol.txt
Regards, Stefan
On 2005-08-08 23:36:18, Stefan Scholl wrote:
Has anyone thought about implementing a SCGI interface for TBNL?
If anyone wants to do it: In GET-REQUEST-DATA (modlisp.lisp) is a test for mod_lisp connection or other. First a single line is read with READ-LINE to have some data for the test.
Here is a good place to test for SCGI. But you can't use READ-LINE for it. SCGI sends binary data: ASCII + #\Null No EOL.
Could be a problem for Unicode enabled CL implementations like SBCL?
(The type of the socket stream can be seen in function ACCEPT-TCP-CONNECTION of KMRCL's sockets.lisp. For SBCL it's the element-type BASE-CHAR.)
Regards, Stefan