For posterity, the issue was that the `git` command itself needs to be in the
jail also. This is not written down anywhere. I only determined it after
reading the source code for `git-http-backend`.
This is my init script now:
# cd /var/www
# for c in git git-http-backend gi
Regarding the rewrite rules below, `man git-http-backend` is instructive
...though it would be better if updated for OpenBSD's native `httpd` ;)
K.
> 6) set /etc/httpd.conf
>
> server "default" {
> listen on 0.0.0.0 port 80
>
> # these two rules are trying to match
>
2 matches
Mail list logo