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?
Thanks
Lars
On Tue, Apr 11, 2023 at 10:52:47AM -0700, Mark Sapiro wrote:
On 4/11/23 10:46, Lars Bjørndal wrote:
Hi, list!
On one of my sites, I want to have all Mailman3 links to go under /mailman3. Even though, the Login link goes to a URL like:
https://list.punktskriftutvalget.no/accounts/login/
How can I ensure it goes to https://list.punktskriftutvalget.no/mailman3/accounts/login/
See this thread https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/V...
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to lars@lamasti.net