On 10/13/21 3:38 AM, eggert--- via Mailman-users wrote:
What's strange, my mailman-web is referred to by https://lists.tdl/mailman3/ this show the message as above: This page either doesn't exist, or it moved somewhere else. The links in that page refer to urls like: https://lists.tld/mailman/postorius/lists/ This URL does not exist, of course. Where is the mailman3 replaced by mailman? All my config files refer to mailman3.
How have you installed Mailman?
We usually use links like https://example.com/mailman3 and https://example.com/archives in docs for Postorius and HyperKitty respectively. These are the ones in urlpatterns in mailman-web/urls.py We have also used https://example.com/postorius and https://example.com/hyperkitty as alternatives. To enable these, you need to add
url(r'^postorius/', include('postorius.urls')),
url(r'^hyperkitty/', include('hyperkitty.urls')),
to the definition of urlpatterns in urls.py so it becomes something like
urlpatterns = [
url(r'^$', RedirectView.as_view(
url=reverse_lazy('list_index'),
permanent=True)),
url(r'^mailman3/', include('postorius.urls')),
url(r'^archives/', include('hyperkitty.urls')),
url(r'', include('django_mailman3.urls')),
url(r'^accounts/', include('allauth.urls')),
# Django admin
url(r'^admin/', admin.site.urls),
url(r'^postorius/', include('postorius.urls')),
url(r'^hyperkitty/', include('hyperkitty.urls')),
]
However, that doesn't explain why your `mailman3` URLs get munged to
`mailman`. That is apparently a uWSGI thing, and since I've never used
uWSGI, only gunicorn and mod_wsgi, I can't help with that other than to
suggest that you might have neglected to restart uWSGI after removing
the trailing slash.
--
Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan