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 debug set in your settings.py?

from settings.py

DEBUG = True
TEMPLATE_DEBUG = DEBUG

My file structure:

django.niche-software.com/
--- dispatch.fcgi
--- hello.fcgi
--- .htaccess
--- django/
------ django_media/
------ django_projects/
--------- myproject/
------------ settings.py
--------- sqlite-3.4.0
------ django_src/
------ django_templates

The hello.fcgi I got from the dreamhost wiki:

http://www.skweezer.net/bloglines/s.aspx/2/wiki.dreamhost.com/Special_~_Search?search=django&go=Go

The hello.fcgi looks like this:

#!/usr/bin/python2.3
from flup.server.fcgi import WSGIServer
def test_app(environ, start_response): start_response('200 OK',
[('Content-Type', 'text/plain')]) yield 'Hello, world!\n'
WSGIServer(test_app).run()

I tried running that, and got the same 500 error.







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