Hey,<div><br></div><div>with the command line mzscheme it works, so i don't know where is the problem :</div><div>actually, try.cgi is this one :</div><div><div>#!c:/Racket/mzscheme.exe</div><div>(display "HTTP/1.1 200 OK \r\n")</div>
<div>(display "Content-type: text/plain; charset=iso-8859-1 \n\n")</div><div>(display "hello")</div></div><div><br></div><div>The apache access log says :</div><div>127.0.0.1 - - [09/Nov/2010:21:23:22 +0100] "GET /cgi-bin/try.cgi HTTP/1.1" 500 535 </div>
<div>> This is the 500 internal server error</div><div>and the error log :</div><div><div>[Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1] Premature end of script headers: try.cgi</div><div>[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 :</div>
<div>[Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1] </div><div>[Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1] === context ===</div><div>[Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1] standard-module-name-resolver</div>
<div>[Tue Nov 09 21:26:09 2010] [error] [client 127.0.0.1] </div></div><div><br></div><div>The problem seems to be the "standard-module-name-resolver", but it's the same thing with or without the #lang racket first line ..</div>
<div><br></div><div>If you have a brillant idea for correctly running the racket cgi scripts, you're welcome =)</div><div><br></div><div>Thanks,</div><div>-mw</div>