On Sat, Mar 9, 2024 at 6:18 PM Mark <markbsdmail2...@gmail.com> wrote:
> Hi, > > Under OpenBSD's httpd, my mailman setup gives an HTTP 404 error when > 'mysite.com/listinfo' is > typed, however 'mysite.com/listinfo/' works. > > In order to *solve* this issue, I added 2 different locations pointing to > the same cgi script, as: > > location "/listinfo" { > fastcgi socket "/var/www/run/slowcgi.sock" > root "/usr/local/lib/mailman/cgi-bin/listinfo" > request strip 1 > } > > location "/listinfo/*" { > fastcgi socket "/var/www/run/slowcgi.sock" > root "/usr/local/lib/mailman/cgi-bin/listinfo" > request strip 1 > } > > The same goes for /create and other cgi scripts as well. > > Wondering how to make both ways (with ending '/' and without) work? > > Is there any parameter configuring this in mailman2? > Hi Mark, Here is a working tutorial that you can follow. https://www.quernus.co.uk/2015/09/28/running-mailman-on-openbsd/ Also, please ditch the efforts to run Mailman2 and start with Mailman3:-) https://xn--gckvb8fzb.com/mailman3-on-openbsd-71/ -- 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] ------------------------------------------------------ Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/ Member address: arch...@jab.org