On 11/21/20 10:42 AM, Christian Stalberg via Mailman-users wrote:
I am working through installing mailman3 on Ubuntu 20.04.1 LTS / apache 2.4.41 / postfix 3.4.13 and have a couple of questions.
I've installed Django, cloned the mailman-suite repo, installed and tested apache with Mod_wsgi [ according to https://tecadmin.net/install-apache-with-python-mod-wsgi-on-ubuntu-20-04/ ] and it worked fine. Now I am at 'Setting up a WSGI' server in the MM3 instructions where it says I am to configure uwsgi.ini file. Does that .ini file go in /opt/mailman/mailman where other .ini files reside?
You are mixing apples and oranges. The doc at <https://tecadmin.net/install-apache-with-python-mod-wsgi-on-ubuntu-20-04/> uses mod_wsgi in apache, It doesn't use uwsgi at all.
In setting up the apache virtual server [ according to https://docs.mailman3.org/projects/postorius/en/latest/deployment.html?highl ight=apache#apache-with-mod-wsgi ] I do not find a postorius.wsgi which WSGIScriptAlias points to.
The file in your WSGIScriptAlias directive should be the wsgi.py file in mailman-suite/mailman-suite_project/
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan