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:
> 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...
>
> 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