Introduction
First place to start is the docs: https://modwsgi.readthedocs.io/en/develop/user-guides/quick-installation-guide.html Advises to install dev packages for apache and python if not installed. Use the latest version from source rather than using the versions in the repos. Once you've built from source, just do the following:sudo nano /etc/apache2/mods-available/wsgi.loadadd the next string to the file
LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.sosave, then
sudo a2enmod wsgi sudo service apache2 restart
apachectl -Mto check the module has loaded. https://askubuntu.com/questions/25374/how-do-you-install-mod-wsgi/376226#376226
Leave a comment
Your email address will not be published. Comments are moderated before appearing.