I've got fastcgi Spyce on lighttpd working with one small
First of all, below is how lighttpd is started from rc.lighttpd:
su -c "/usr/local/sbin/lighttpd -f $CONFIG -m $MODULES" www
Everything works, *except* when I exit the shell from where I
started lighttpd. What happens then is that when I request
a page from lighttpd, the browser displays the ff:
Unexpected exception: (please report!)
Traceback (most recent call last):
File "/root/spyce-2.0.3/spyce.py", line 284, in commonHandler
DEBUG('elapsed to get spycecode: %s' % (time.time() - start))
File "/root/spyce-2.0.3/spyce.py", line 10, in DEBUG
sys.stderr.write('%s\n' % s)
IOError: [Errno 5] Input/output error
I believe this has to do with the fact that because the shell
is no longer around, spyce.py has nowhere to show its output.
How do we ask spyce to output to a log instead?