Spyce + Lighttpd + fastcgi

Matthew Slane <[email protected]>
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
Has anyone managed to get a working config for the above set up please?

I keep getting 500 internal server errors  and the following in my error
log:

2006-06-19 23:50:59: (mod_fastcgi.c.2851) backend died, we disable it
for a 5 seconds and send the request to another backend instead:
reconnects: 0 load: 1
2006-06-19 23:51:00: (mod_fastcgi.c.2430) unexpected end-of-file
(perhaps the fastcgi process died): pid: 4017 socket:
unix:/tmp/spyce-fastcgi.socket-3
2006-06-19 23:51:00: (mod_fastcgi.c.3215) response not received, request
sent: 839 on socket: unix:/tmp/spyce-fastcgi.socket-3 for
/~mslane/index.spy , closing connection

I have added ".spy"=>"text/html" to the mime types in the config file
and added a server as follows

".spy" =>
                ( "localhost" =>
                  (
                   "socket" => "/tmp/spyce-fastcgi.socket",
                   "bin-path" => "/usr/src/spyce/run_spyceCmd.py"
                  )
                )

I've tried a few different options for run_spyceCMD.py and so far the
best I have got is from run_spyceCGI.py with an error message:

syntax: please specify a spyce file to process
Use -h option for help.

Thanks,

Matt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.