[Answer]-Running django webapp on apache using mod_wsgi

1👍

You haven’t put in anything in that configuration to serve your Django site via WSGI: you’re missing the WSGIScriptAlias line (see the documentation:

WSGIScriptAlias /  /var/www/mysite/mysite/wsgi.py

Note that you shouldn’t really be putting things in /var/www; and also you shouldn’t need to create your own WSGI file, Django creates one for you when you create a project.

Leave a comment