[plt-scheme] simulating cgi contexts in plt web server

From: YC (yinso.chen at gmail.com)
Date: Sat Apr 17 15:09:29 EDT 2010

I asked about this in the thread
http://list.cs.brown.edu/pipermail/plt-scheme/2010-January/037711.html

Basically PLT currently does not allow passing environment variables to
subprocesses so it won't work well with PLT threads.  The way around it is
to use `env` program on *nix platform but that will incur one additional
call.

Cheers,
yc

On Sat, Apr 17, 2010 at 11:14 AM, Neil Van Dyke <neil at neilvandyke.org>wrote:

> If anyone has already implemented a CGI-like servlet context atop the PLT
> Web Server, I'd be curious to hear about it.
>
> Why I am interested...  Today I am retrofitting a legacy Web framework and
> large application to run within the PLT Web Server rather than as CGI from
> Apache.  For various legacy investment reasons, it makes sense to implement
> my own request parser and HTTP "POST" handler, and to do things like hook up
> "current-output-port" so that the request handler code can write HTTP
> results as if they're being called by CGI.
>
> --
> http://www.neilvandyke.org/
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100417/44065a1d/attachment.html>

Posted on the users mailing list.