On Wed, Mar 6, 2024 at 3:13 AM Mark Sapiro <mark@msapiro.net> wrote:
On 3/5/24 1:52 PM, advorkin@cs.princeton.edu wrote:
I went with the apache/uswgi configuration. The site is up and running,
but if I click Postorius, it gets redirected to https://mysite.com/postorius/lists and I get not found error message.
The same goes for Lists and Archives.
Compare your urls.py to < https://gitlab.com/mailman/mailman-web/-/blob/master/mailman_web/urls.py?ref...>.
Some of the
path
settings are probably not in the same order as in that file. Thepath('mailman3/', include('postorius.urls')), path('archives/', include('hyperkitty.urls')),
settings should come after the
path('postorius/', include('postorius.urls')), path('hyperkitty/', include('hyperkitty.urls')),
settings (unfortunately, mailman-web 0.0.8 has these in the wrong order). Or you can just delete the 'postorius/' and 'hyperkitty/' ones or you can add
ProxyPass "/postorius" "http://127.0.0.1:8000/postorius" ProxyPass "/hyperkitty" "http://127.0.0.1:8000/hyperkitty"
to your Apache config.
The odd thing is that the HOWTO that he followed never involves the manipulation of any urls.py at all - it's not even mentioned at any point. So obviously the issue is caused by something else and I suspect something within Apache needs to be re-evaluated in the guide.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]