9 Mar
2024
9 Mar
'24
1:17 a.m.
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?
Best wishes, Mark.