You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
Hopefully I can safe somebodies time. Debian 11 includes WSGI only for Python 3 - "libapache2-mod-wsgi-py3". To get moin1.9.11 running together with Apache I compiled mod_wsgi-4.9.4 by hand.
ThomasWaldmann
changed the title
WSGI in Debian 11 packages does not support python2.7 anymore
how to run moin with apache2 and mod-wsgi on debian 11
Jan 10, 2023
Hi all,
Hopefully I can safe somebodies time. Debian 11 includes WSGI only for Python 3 - "libapache2-mod-wsgi-py3". To get moin1.9.11 running together with Apache I compiled mod_wsgi-4.9.4 by hand.
Download: https://pypi.org/project/mod-wsgi/#files
Install the following packages to get mod-wsgi compiled:
sudo apt-get install apache2-dev python-dev-is-python2
Goto folder where mod_wsgi is unpacked
Compile the Apache module in the same folder and restart apache:
Proof is mod_wsgi is active:
apache2ctl -M
Have fun...
References:
https://modwsgi.readthedocs.io/en/master/user-guides/quick-installation-guide.html
https://codingshower.com/how-to-enable-or-disable-modules-in-apache-web-server/
The text was updated successfully, but these errors were encountered: