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_type=heads>.
Some of the path
settings are probably not in the same order as in
that file. The
path('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.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan