You are not logged in.

#1 2006-06-21 17:37:13

ubermartian
Member
From: Edinburgh
Registered: 2004-02-06
Posts: 32

Lighhtpd with spyce

Has anyone managed to get a working config for spyce with lighttpd?

I'm trying with fastcgi.

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

Offline

Board footer

Powered by FluxBB