Git - setting up a remote repository (serve via HTTP)
SetEnv GIT_PROJECT_ROOT /var/www/git
SetEnv GIT_HTTP_EXPORT_ALL
ScriptAlias /git /usr/bin/git-http-backend/
$ cd /var/www/git
$ mkdir test.git
$ cd test.git
$ git init --bare --shared=true
But, Error...
$ git push origin master
error: Cannot access URL http://xx.xx.xx.xx/git/test.git/, return code 22
fatal: git-http-push failed
$ cd /var/www/git
$ mkdir test.git
$ cd test.git
$ git config --file config http.receivepack true
WebDAVはだめ。超遅い。HTTPで公開するならgit-http-backendを使うのが常識。