Lux wrote on 04/03/2015 05:47 AM:
cgi.assign = ( ".rkt" => "/usr/bin/racket" )
scgi.server = ( ".rkt" => ((
"bin-path" => "/usr/bin/racket",
"socket" => "/tmp/racket.socket"
)))
scgi.debug = 1
----------------------------------------------------------
Trying to get: http://localhost/scgi-test/scgi.rkt
Result in: 500 - Internal Server Error
I think I miss something important here...
Looks like you specified reaching the SCGI server via a Unix domain
socket, but you never told the Racket program to use that socket. You
actually can't use that kind of socket with the Racket SCGI library --
typically, the SCGI server will talk TCP to localhost on a specific port.
Offhand, I can't tell you confidently the exact lighttpd configuration
to use, since the lighttpd SCGI module appears not clearly documented,
but you can figure it out from:
http://redmine.lighttpd.net/projects/1/wiki/Docs_ModSCGI
Neil V.
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.