I\'m using Ubuntu 10.04. I create a django project under /home/wong2/Code/python/django2/ named atest and create a wsgi file setting.
/home/wong2/Code/python/django2/
atest
setting.
With Django 1.5+ you should use the suggested way described in the documentation:
WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/to/mysite.com Require all granted
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/modwsgi/