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 <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan