On Fri, Mar 3, 2023 at 12:56 PM Tim Cutts <tim@thecutts.org> wrote:
Hi,
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,
Are you using mod_wsgi, perhaps? Did you restart the webserver?
Where have I gone wrong?
I remember I once had this problem and it was with mod_wsgi and I had to change my VirtualHost config to the one below.
--8<---------------cut here---------------start------------->8---
Alias /static "/opt/mailman/mm/static" <Directory "/opt/mailman/mm/static"> Require all granted </Directory> WSGIScriptAlias / /opt/mailman/mm/wsgi.py WSGIPAssAuthorization On <Directory "/opt/mailman/mm/"> <Files wsgi.py> Order deny,allow Allow from all Require all granted </Files> WSGIProcessGroup mailman-web </Directory> --8<---------------cuthere----------------end--------------->8---
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)