Question : apache virtual host django wsgi
Answered by : armando-borges
WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py
WSGIPythonHome /path/to/venv
WSGIPythonPath /path/to/mysite.com
<Directory /path/to/mysite.com/mysite>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Source : https://docs.djangoproject.com/en/4.0/howto/deployment/wsgi/modwsgi/ | Last Update : Thu, 02 Jun 22