[racket] CGI headers

From: Sam Phillips (samdphillips at gmail.com)
Date: Tue Nov 9 16:45:50 EST 2010

On Tue, Nov 9, 2010 at 12:39 PM, scouic <scouic at gmail.com> wrote:
> and the error log :
> [Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1] Premature end of
> script headers: try.cgi
> [Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1] try.cgi:1:0: read:
> expected only alphanumeric, `-', `+', `_', or `/' characters for `#!', found
> :
> [Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1]
> [Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1]  === context ===
> [Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1]
> standard-module-name-resolver
> [Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1]
> The problem seems to be the "standard-module-name-resolver", but it's the
> same thing with or without the #lang racket first line ..

You may want to look at this

http://docs.racket-lang.org/guide/scripts.html


Posted on the users mailing list.