I am working my way through various apache error log messages trying
to move my application from mod_python to mod_wsgi. Currently
WSGIScriptAlias can't be loaded, and I am trying to understand what
corrections need to be made for it to load.
Here is my apache configuration for Django and mod_wsgi
# Virtual hosts
#
Listen 9090
<VirtualHost _default_:9090>
WSGIScriptAlias / /home/amr/django/django.wsgi
Alias /media /home/amr/django/amr/media
</VirtualHost>
Here is django.wsgi
import os
import sys
path = '/home/amr/django/amr'
if path not in sys.path:
sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'amr.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
--
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.