On Fri, Mar 3, 2023 at 8:22 PM Mark Sapiro <mark@msapiro.net> wrote:
On 3/3/23 01:55, Tim Cutts wrote:
I’ve clearly got something wrong in my configuration, but I can’t work
out what.
All my URLs seem to have the “mailman3” part duplicated, i.e.
Https://example.com/mailman3/mailman3/lists
Is where I have to go to get a list of my mailing lists, which just
doesn’t seem right.
In my settings.py file I have:
POSTORIUS_TEMPLATE_BASE_URL = 'https://example.com/mailman3/'
If I change the value of this to just https://example.com/ it doesn’t
change this,
That setting has nothing to do with your issue. It only determines the base part of the URL that's used to retrieve templates set in Postorius.
What is your web server configuration? This is probably where the problem lies. See
https://docs.mailman3.org/en/latest/install/virtualenv.html#nginx-configurat... for a suggested nginx config and
https://docs.mailman3.org/en/latest/install/virtualenv.html#apache-configura... for Apache.
Are these proposed VirtualHost configs independent of whether one is using gunicorn/mod_wsgi/uwsgi?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)