On Thu, 10 Apr 2008 06:06:16 -0700 (PDT)
annacoder <[EMAIL PROTECTED]> wrote:

> 
> Hi,
>  I am trying hard to figure out why my lighttpd + fastcgi + django
> setup  is not working.
>  First, I have verified my django project is OK by running it with the
> local web server provided by django.
> 
>  To setup lighttpd, I followed the setup instructions from here:
> http://wiki.slicehost.com/doku.php?id=install_django
> 
>  and lighttpd is running as,
> /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
> 
> manage.py running as (started with sudo),
> python manage.py runfcgi method=prefork host=127.0.0.1 port=3456
> pidfile=django.pid maxchildren=1 maxspare=1 outlog=/home/venkat/tmp/
> fcgi.out errlog=/home/venkat/tmp/fcgi.err --traceback

Have you tried using spawn-fcgi(8) ? This binary should have been installed
by lighttpd. 

Example, to start your FastCGI process on the socket 127.0.0.1:8801 (TCP/IP):

$ spawn-fcgi -f 127.0.0.1 -p 8801 -- dispatch.fcgi

I must also  say that setting up lighttpd and Django can generates a lots
of nervosity and my affect your blood pressure quite considerably. I'd 
therefore recommend
also that you consider Nginx, which works like a breeze for me.

Etienne


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to