I know this has been talked about quite a bit on the forums, but I've read over all the posts and have not been able to resolve the issue. I have followed the instructions here.
I have made the .htaccess file and the dispatch.wsgi file. .htaccess is successfully rewriting urls to use dispatch.wsgi, but when I try to call the django WSGI handler with:
application = django.core.handlers.wsgi.WSGIHandler() I get a 500 Internal Service error. I imagine this means I have something wrong in my settings.py file, so I modified the wsgi file to do just a simple "hello world":
def application(environ, start_response):
"""Simplest possible application object"""
output = "Hello World"
status = '200 OK'
response_headers = [('Content-type', 'text/plain'),
('Content-Length', str(len(output)))]
start_response(status, response_headers)
return [output]
which works fine. I've played with it a bit and it now seems quite clear that the problem occurs after django gets involved. I've put some debugging statements in the wsgi file with 'sys.stderr.write' statements but I don't see anything in the error log. It's completely blank. Is the error log working? Or is there an alternative log you can show me?
My username is sonny and I'm trying to get my django app working here. Thank you for any help