Re: running git server with "smart http" protocol

2020-01-19 Thread Kent Watsen
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

Re: running git server with "smart http" protocol

2020-01-17 Thread Kent Watsen
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 >