Leopard Server 10.5.8, mod_wsgi 3.2
otool works
file works like other posts.
My problem is that Apache throws an error when I Include the
ess_wsgi.wsgi file which is:
#!/usr/bin/python
import os, sys
sys.path.append('/Library/WebServer/Documents')
sys.path.append('Library/WebServer/Documents/ess')

os.environ['DJANGO_SETTINGS_MODULE'] = 'ess.settings'

from django.core.handlers.wsgi import WSGIHandler

application = WSGIHandler()

I get a Syntax error on line 2.
Invalid command 'import', perhaps misspelled or defined by a module
not included in the server configuration??
Any ideas, I Included the file?

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

Reply via email to