Hi,
I am new to django and mod_wsgi. I've been reading all of the
documentation and got mod_wsgi to work with the sample script. When I
try to change it to use django I get a server error 500. Here is my
setup:
django.wsgi:
import os
import sys
sys.path.append('/home/soda/django')
sys.path.append('/home/soda/django/thesodamachine')
os.environ['DJANGO_SETTINGS_MODULE'] = 'thesodamachine.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
My apache conf points to the django.wsgi and my media directory. I
think it must be right because the sample mod_wsgi script works fine.
My django project just has 1 view. I tested it with the development
server and it works fine.
I checked my error log but all I get is
Exception occurred processing WSGI script '/home/soda/django/
thesodamachine/apache/django.wsgi'.
I'd really appreciate any help.
Thanks!
Kellie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---