On 3/8/24 11:17 PM, Mark wrote:

Under OpenBSD's httpd, my mailman setup gives an HTTP 404 error when
'mysite.com/listinfo' is
typed, however 'mysite.com/listinfo/' works.


Caveat: I know nothing about configuring OpenBSD's httpd.

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
}


I'm guessing, but I suspect the above alone would work and the one below is redundant.

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?

No. This is all in your web server.

--
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
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...@mail-archive.com

Reply via email to