Maybe i'm wrong, but in the OpenBsd the apache is chrooted by default, and the foswiki configuration calling external programs. (and of course it want call perl
- what is (imho) not allowed with a default OpenBSD apache config).
You can verify this, by copying the cgi-bin/printenv
, from the default cgi-bin
directory to the foswiki bin
set the perm: chmod 755 /var/www/htdocs/foswiki/bin/printenv
and point your browser to
http://127.0.0.1/foswiki/bin/printenv
And you should to get the same error.
For testing, if you want run your apache WITHOUT chroot, you can try add to
/etc/rc.conf
the next:
httpd_flags="-u"
and restart...