Hello,

I am trying to get my django app to work using FastCGI on my host,
ASmallOrange. Their guides are out of date for doing this correctly.

I have established that fastcgi is working in the general case, as
this test.fcgi file works from both the command line, and from the web
browser (www.server.com/test.fcgi).

[EMAIL PROTECTED] [~/www]# ./test.fcgi
Status: 200 OK
Content-Type: text/plain
Content-Length: 13
Hello World!

Now, when I try my django.fcgi file from the command line, I get this:

[EMAIL PROTECTED] [~/www]# ./django.fcgi
Status: 301 MOVED PERMANENTLY
Content-Type: text/html; charset=utf-8
Location: /

But if I hit the URL for django.fcgi, it just sits there waiting for a
response. So I checked the apache error logs, and I see this repeating
forever and ever:

[warn] FastCGI: (dynamic) server "/home/user/public_html/django.fcgi"
has failed to remain running for 30 seconds given 3 attempts, its
restart interval has been backed off to 600 seconds

At this point, I'm feeling rather stuck! I know it is not a database
problem, because I can run syncdb:

[EMAIL PROTECTED] [~/django_projects/mysite]# python manage.py syncdb
Loading 'initial_data' fixtures...
No fixtures found.
[EMAIL PROTECTED] [~/django_projects/mysite]

So...what to do, what to do! Here is my settings.py file (anonymized,
of course): http://dpaste.com/20836/

Anyone have any ideas? I'm really stuck now...


So here's my settings.py for my app, with private things removed:


--~--~---------~--~----~------------~-------~--~----~
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