| 265 | |
| 266 | = gitweb and git-http-backend on same url = |
| 267 | * [https://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html git-http-backend(1)] |
| 268 | > This can be combined with the gitweb configuration: |
| 269 | > {{{ |
| 270 | > SetEnv GIT_PROJECT_ROOT /var/www/git |
| 271 | > |
| 272 | > AliasMatch ^/git/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /var/www/git/$1 |
| 273 | > AliasMatch ^/git/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /var/www/git/$1 |
| 274 | > ScriptAliasMatch \ |
| 275 | > "(?x)^/git/(.*/(HEAD | \ |
| 276 | > info/refs | \ |
| 277 | > objects/info/[^/]+ | \ |
| 278 | > git-(upload|receive)-pack))$" \ |
| 279 | > /usr/libexec/git-core/git-http-backend/$1 |
| 280 | > ScriptAlias /git/ /var/www/cgi-bin/gitweb.cgi/ |
| 281 | > }}} |
| 282 | * [http://tikalk.com/alm/setup-git-gitweb-git-http-backend-smart-http-ubuntu-1204 Setup Git, Gitweb with git-http-backend / smart http on ubuntu 12.04 | Tikal] |
| 283 | * fcgiをインストールしているが、実際には使われていないように読める |
| 284 | |
| 285 | * [http://paperlined.org/apps/git/SmartHTTP_Ubuntu.html paperlined.org/apps/git/SmartHTTP_Ubuntu.html] |
| 286 | * gitweb + git-http-backend + git push with Basic Authentication |
| 287 | |