
Just a little update. I just ran # obhttpd -d -vvv -f obhttpd.conf and # slowcgi -d -p / to see if I could get anything that made sense show up on the screen and the first error I saw was: slowcgi: execve /usr/local/mailman/cgi-bin/: Permission denied This is strange because slowcgi runs as www, obhttpd runs as www and www is the owner of the cgi-bin directory. Not sure what I am missing here.
On Tue, Jul 5, 2022 at 2:58 PM Software Info <softwareinfojam@gmail.com> wrote:
Thanks so much for the replies. I actually remembered to change the chroot and I don't have https configured. Posting my httpd.conf below. I run obhttpd on FreeBSD 13.1 and I used slowcgi as was suggested.
[obhttpd.conf] chroot "/" logdir "/var/log"
server "mailman.mydomain.net" { listen on * port 80 root "/usr/local/mailman/" log access "obhttpd-access.log" log error "obhttpd-error.log"
location "/Mailman/*" { fastcgi socket "/var/www/run/slowcgi.sock" root "/usr/local/mailman/cgi-bin/" } location "/icons/*" { root "/usr/local/mailman/icons/" } location "/pipermail/*" { root "/usr/local/mailman/archives/public/" }
}
[/etc/rc.conf] obhttpd_enable="YES" slowcgi_enable="YES" slowcgi_flags="-p /"
On Sun, Jul 3, 2022 at 12:11 AM Stephen J. Turnbull <stephenjturnbull@gmail.com> wrote:
Stephen J. Turnbull writes:
I hope that helps, if not, more information about your configuration
Also check your logs for the httpd and for Mailman. With a 500, it's likely that Mailman isn't logging much, but it's worth checking. Typically there will be a traceback in the httpd log.
Steve