On 17-11-2005, at 6:02, James Bennett wrote:
I'm working on writing instructions for deploying Django at TextDrive,
and so I'm using the Django/lighttpd_FCGI instructions here:
https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/
DjangoFcgiLighttpd
But I'm seeing something extremely odd with my test deployment; even
though the sockets exist and have the correct permissions, lighttpd
returns an internal server error and complains that it can't connect
to the socket. If I remove the 'bin-path', 'min-procs' and 'max-procs'
from my lighttpd.conf, however, and execute main.fcgi (which sets the
Django environment variables and launches a daemonized django-fcgi.py)
from the command line before starting lighttpd, everything works.
Anyone got any ideas or tips?
Well, I have working setup with "socket" => "/users/home/djnesh/tmp/
django.socket". IMHO /tmp/ is not writable or something similar.
---
Nebojša Đorđević - nesh
Studio Quattro - Niš - SCG
http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/
Registered Linux User 282159 [http://counter.li.org]