Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-25 Thread jfagnani
I'm having the same exact problem. Please keep us posted if you get anywhere. So far I've tried just about every variation I could think of based on Jeff Croft's tutorial, the Django page in the Dreamhost wiki, and the Django docs on FastCGI. I can't even get the FastCGI hello world example to

Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-24 Thread Horst Gutmann
walterbyrd wrote: > > On Jul 19, 4:08 pm, FrankW <[EMAIL PROTECTED]> wrote: >> in your shell, if you cd into /home/walterbyrd/django.niche-software/ >> django >> and type ./dispatch.fcgi, what do you get? >> > > > ./dispatch.fcgi > WSGIServer: missing FastCGI param REQUEST_METHOD required by

Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-19 Thread walterbyrd
On Jul 19, 4:08 pm, FrankW <[EMAIL PROTECTED]> wrote: > in your shell, if you cd into /home/walterbyrd/django.niche-software/ > django > and type ./dispatch.fcgi, what do you get? > ./dispatch.fcgi WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI

Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-19 Thread FrankW
in your shell, if you cd into /home/walterbyrd/django.niche-software/ django and type ./dispatch.fcgi, what do you get? in the dreamhost control panel do you have the domain set up with FastCGI support? what about Extra Web Security? On Jul 19, 4:36 pm, walterbyrd <[EMAIL PROTECTED]> wrote: >

Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-19 Thread walterbyrd
On Jul 19, 12:24 pm, FrankW <[EMAIL PROTECTED]> wrote: > A couple of things to check - what are the permissions on > dispatch.fcgi? > It needs to be executable, e.g. -rwxr-xr-x Permissions are correct. > Also, make sure it does not have DOS mode CR-LF No DOS mode CR-LF. > And, do you have

Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-19 Thread FrankW
A couple of things to check - what are the permissions on dispatch.fcgi? It needs to be executable, e.g. -rwxr-xr-x Also, make sure it does not have DOS mode CR-LF And, do you have debug set in your settings.py? On Jul 19, 2:04 pm, walterbyrd <[EMAIL PROTECTED]> wrote: > As I said, I tried to

Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-19 Thread walterbyrd
As I said, I tried to follow the tutorial: In this directory /home/walterbyrd/django.niche-software.com I have these two files: 1. dispatch.fcgi sys.path += ['/home/walterbyrd/django.niche-software/django/ django_src'] sys.path += ['/home/walterbyrd/django.niche-software/django/

Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-19 Thread Nathan Ostgard
On DreamHost, in ~/mydomain.com I have two files: 1. dispatch.fcgi #!/home/myusername/python/bin/python import os import sys from django.core.servers.fastcgi import runfastcgi sys.path += ['/home/myusername/django'] os.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings'

How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-18 Thread walterbyrd
I am trying to follow jeff croft's tutorial for installing django on dreamhost. http://www2.jeffcroft.com/blog/2006/may/11/django-dreamhost/ I am trying to "Install and configure FastCGI" I followed the tutorial, I don't see where I did anything wrong. One part that I don't quite understand: