Hi,
  I just installed apache and mod_wsgi.

I can have a very simple handler, but when I try and import it says

  File "C:/django/test/apache/django.wsgi", line 3, in <module>
    import os, sys
ImportError: No module named os


I've looked around a bit, but haven't found any relevant info.

I can upload a copy of httpd.conf somewhere if it would help, my
hander looks like this:



#!/usr/bin/python

import os, sys
sys.stdout = sys.stderr

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

import django.core.handlers.wsgi

application = django.core.handlers.wsgi.WSGIHandler()

## EOF

Cheers :)

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