First place to start is the docs:

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.load

add the next string to the file

LoadModule wsgi_module /usr/lib/apache2/modules/

save, then

sudo a2enmod wsgi
sudo service apache2 restart
apachectl -M

to check the module has loaded.

Install Apache2 mod_wsgi Ubuntu
Tagged on:         

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.