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 <softwareinfo...@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
> <stephenjturnb...@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
------------------------------------------------------
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/

Reply via email to