[Thu Aug 17 00:10:28 2006] [error] [client 65.54.188.82] FastCGI: comm
with (dynamic) server "/home/lala/summermodjo.com/django.fcgi" aborted:
(first read) idle timeout (120 sec)
[Thu Aug 17 00:10:28 2006] [error] [client 65.54.188.82] FastCGI:
incomplete headers (0 bytes) received from server
"/home/lala/summermodjo.com/django.fcgi"
[Thu Aug 17 00:20:11 2006] [error] [client 65.54.188.82]
(104)Connection reset by peer: FastCGI: comm with server
"/home/llalalala/summermodjo.com/django.fcgi" aborted: read failed
[Thu Aug 17 00:20:16 2006] [alert] [client 65.54.188.82] (2)No such
file or directory: FastCGI: failed to connect to (dynamic) server
"/home/tralala/summermodjo.com/django.fcgi": something is seriously
wrong, any chance the socket/named_pipe directory was removed?, see the
FastCgiIpcDir directive
Here is my django.fcgi file:
#!/usr/bin/env python
import sys, os
sys.path += ['/home/lalalala/lib/python']
sys.path += ['/home/tarara/django-sites']
os.environ['DJANGO_SETTINGS_MODULE'] = 'project.settings'
from django.core.servers.fastcgi import runfastcgi
runfastcgi(["method=threaded", "daemonize=false"])
And here is the .htaccess:
RewriteEngine On
RewriteRule ^(media/.*) - [L]
RewriteCond %{REQUEST_URI} !(django.fcgi)
RewriteRule ^(.*)$ django.fcgi/$1 [L]
django.fcgi have unix end of the lines, flup and django are installed
as python eggs in /home/username/lib/python, I have enabled FastCGI
support on my domain etc, etc...
BTW, django itself work fine, I can add new project, apps, everything,
it's just FastCGI issue...