Hey, with the command line mzscheme it works, so i don't know where is the problem : actually, try.cgi is this one : #!c:/Racket/mzscheme.exe (display "HTTP/1.1 200 OK \r\n") (display "Content-type: text/plain; charset=iso-8859-1 \n\n") (display "hello")
The apache access log says : 127.0.0.1 - - [09/Nov/2010:21:23:22 +0100] "GET /cgi-bin/try.cgi HTTP/1.1" 500 535 > This is the 500 internal server error 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 .. If you have a brillant idea for correctly running the racket cgi scripts, you're welcome =) Thanks, -mw
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users