On 4/11/23 12:04, Lars Bjørndal wrote:
Thanks a lot. Maybe I've done a mistake, it doesn.t work.
At the bottom of /etc/mailman3/settings.py I have:
ROOT_URLCONF = 'urls'
cat /etc/mailman3/urls.py
[...]
urlpatterns = [ path( '', RedirectView.as_view(url=reverse_lazy('list_index'), permanent=True), ), path('lists/mailman3/', include('postorius.urls')), path('lists/archives/', include('hyperkitty.urls')), path('lists/', include('django_mailman3.urls')), path('lists/accounts/', include('allauth.urls')), path('lists/admin/', admin.site.urls), ]
In Apache config for the domain, I now have:
<IfModule mod_proxy.c> ProxyPreserveHost On ProxyPass "lists/mailman3" "http://127.0.0.1:8000/lists/mailman3" ProxyPass "lists/archives" "http://127.0.0.1:8000/lists/archives" ProxyPass "lists/accounts" "http://127.0.0.1:8000/lists/accounts" ProxyPass "lists/admin" "http://127.0.0.1:8000/lists/admin" ProxyPass "lists/user-profile" "http://127.0.0.1:8000/lists/user-profile" </IfModule>
Restarted mailmanweb, httpd and mailman3.
If I go to list.punktskriftutvalget.no/mailman3/, I get a 404 Not Found response in browser.
So what's wrong, do you think?
You followed https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/V... literally. The literal instructions where to access everything via URLs like https://mydomain.org/lists/....
If you were to replace lists
with mailman3
everywhere in the abpve,
you would then access HyperKitty via a URL like
https://list.punktskriftutvalget.no/mailman3/archives/
and Postorius via
https://list.punktskriftutvalget.no/mailman3/mailman3/
If that's not what you want, it's more complicated and some things might not be possible. What exactly do you want for access to Postorius, HyperKitty, user accounts, user profiles and the Django admin UI?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan