I know this thread is rather old but for those who come across this
trying to identify their issues here's how I got things working for me
on Ubuntu 10.04.
The major issue to the above poster's issue was with permissions. The
www-data user that's running the lighttpd process needs to be able to
Also, make sure you are using a recent release of flup (either the
latest 0.5 update or the 1.0 release):
http://cheeseshop.python.org/pypi/flup/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
Hi,
> Interesting, I've changed my fcgi script to prefork, and updated the
> lighttpd conf to have the edternal IP address of the machine and now
> I'm getting a 403 - Forbidden error when I go to the site URL.
> I think one area of confusion (for me) is how and when to start
> Django's fcgi
Interesting, I've changed my fcgi script to prefork, and updated the
lighttpd conf to have the edternal IP address of the machine and now
I'm getting a 403 - Forbidden error when I go to the site URL.
I think one area of confusion (for me) is how and when to start
Django's fcgi process.
In your mysite.fcgi script, just pass in the variable "prefork" instead of
threaded.
The other thing you could try is to use the ip address instead of 127.0.0.1.
-Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
How would I "run it prefork"? Sorry to be a dunce - I'm a bit new to
this!
I checked the logs, nothing in the error logs since I made a couple of
changes, thus:
fastcgi.server = (
"/mysite.fcgi" => (
"main" => (
# Use host / port instead of socket for TCP fastcgi
Take a look in the lighttpd server logs to see if there are any errors that
might point you in the right direction.
The other thing is that you're running this threaded but you're spawning
multiple processes. I suspect that could be causing problems too. Trying
running it prefork and see if
HI,
Does anyone have recent experience of setting of a Django site with
FastCGI and Lighttpd?
We have a new dedicated server and have been trying to set this up
without succcess.
Software:
Lighttpd 1.4.18
Flup 0.5
Django 0.97 pre-SVN (ie: current SVN trunk)
Excerpt from Lighttpd config:
8 matches
Mail list logo