1👍
You have to use mod_wsgi
with Apache. Documentation link.
Basic steps:
- Install mod_wsgi. Instructions on github project
-
Edit your Apache’s
httpd.conf
file. Sample (copied from Django’s docs):WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/to/mysite.com <Directory /path/to/mysite.com/mysite> <Files wsgi.py> Require all granted </Files> </Directory>
👤avi
Source:stackexchange.com