On Aug 4, 2006, at 7:25 PM, Malcolm Tredinnick wrote:
> > On Fri, 2006-08-04 at 14:45 -0500, Tamara D. Snyder wrote: >> Hi All, >> >> I'm getting this error message (in my apache error log) when I try to >> use fastcgi: >> >> (13)Permission denied: FastCGI: failed to connect to server "/ >> Library/ >> WebServer/Documents/django.fcgi": connect() failed >> >> I am using apache 1.3. I've got the latest flup installed. I am >> using the built in manage.py runfcgi: >> I start the process with this: python2.4 manage.py runfcgi >> daemonize=false socket=/Users/tamara/django.sock pidfile=/Users/ >> tamara/django.pid (and I can see that processes have started) >> In httpd.conf I have this: FastCgiExternalServer /Library/WebServer/ >> Documents/django.fcgi -socket /Users/tamara/django.sock > > The httpd process needs to be able to read /Users/tamara/ > django.sock in > order to set up the socket connection. Actually, I've discovered that the webserver and the fcgi server both need *write* permission in order for this to work. Runfcgi does not by default give the correct permissions to my django.sock file, that has to be done manually (or by your script, but not by runfcgi). I think I'll just use the TCP option, instead. It works fine with just the runfcgi command. Thanks, Tamara --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---