I have already Apache installed and running for mailman2 and other resources. How do I serve mailman3 from Apache for the respective domains?
Thanks in advance Lars
On Thu, Dec 29, 2022 at 9:49 AM Lars Bjørndal <lars@lamasti.net> wrote:
I have already Apache installed and running for mailman2 and other resources. How do I serve mailman3 from Apache for the respective domains?
Thanks in advance Lars
It's just a matter of creating another virtualhost. If you run 'apachectl -S', you'll probably realize that you have a virtualhost type of config. So you just add one more and configure it according to your chosen method of serving MM3 pages - mod_wsgi, uWSGI, gunicorn, etc.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
Thank you!
You wrote:
On Thu, Dec 29, 2022 at 9:49 AM Lars Bjørndal <[1]lars@lamasti.net> wrote:
I have already Apache installed and running for mailman2 and other resources. How do I serve mailman3 from Apache for the respective domains? Thanks in advance Lars
It's just a matter of creating another virtualhost. If you run 'apachectl -S', you'll probably realize that you have a virtualhost type of config.
Actually 'apachectl -S' gives me:
apachectl: The "-S" option is not supported.
But you and others pointed me in a good direction.
Lars
Lars Bjørndal writes:
I have already Apache installed and running for mailman2 and other resources. How do I serve mailman3 from Apache for the respective domains?
I don't understand what you're asking. Do you mean Mailman 3 serves a different domain from Mailman 2's domain? Are you planning to migrate lists from Mailman 2 to Mailman 3 for multiple domains?
The main difference between Mailman 2 and Mailman 3 is that Mailman 2 uses CGIs to serve the archives and the administrative pages, but Mailman 3 uses the WSGI protocol, so you need to install additional software to manage that. There are two options: uwsgi which is a separate compiled binary, and gunicorn, which is a pure Python implementation in a separate executable. For what it's worth, the Mailman devs all use gunicorn (including on the python.org mailing lists). Then you configure access to Postorius and HyperKitty using a ProxyPass to the WSGI service for Mailman 3 rather than invoking CGI binaries directly as in Mailman 2.
participants (3)
-
Lars Bjørndal
-
Odhiambo Washington
-
Stephen J. Turnbull