i've got the repository and want to server it over http. the repository is
valid, because i can use the ssh:// protocol to push/pull from this repository,
$cd /home/_data_/gitrepos/kvm/
$ tree .git
.git
|-- COMMIT_EDITMSG
|-- HEAD
|-- branches
|-- config
|-- description
|-- hooks
| |-- applypatch-msg
| |-- commit-msg
| |-- post-commit
| |-- post-receive
| |-- post-update
| |-- pre-applypatch
| |-- pre-commit
| |-- pre-rebase
| |-- prepare-commit-msg
| `-- update
|-- index
|-- info
| `-- exclude
|-- logs
| |-- HEAD
| `-- refs
| `-- heads
| `-- master
|-- objects
| |-- 1e
| | `-- ac58bb09ca89c4b42b2c8b248f5079df312483
| |-- 28
| | `-- 4fc419e475cfe3c33e621a5577d96ff4bc8692
| |-- 47
| | `-- d30fbfa6dfe7385811c9e5adc79dc7af9d7f4f
| |-- 66
| | `-- 43774664867fdfd6b1539c565d498553776632
| |-- 7e
| | `-- d32f8f21c77e5bbe45360f01dc4a8f78756819
| |-- 95
| | `-- 9ccd9060ff3bb41761cf1fab7691b8625475a2
| |-- ef
| | `-- 4e16509e82354df9fff7c2566723c74125aa24
| |-- f9
| | `-- 3f621caf66861024e273093eaaaede0473eb53
| |-- info
| `-- pack
`-- refs
|-- heads
| `-- master
`-- tags
but when using the http:// protocol, the client try to get .git/info/refs
instread of .git/refs, which caused the error.
$git clone http://koala/git/kvm/.git
Initialized empty Git repository in /u01/kvm/h1/kvm/.git/
warning: remote HEAD refers to nonexistent ref, unable to checkout.
#tail -f /var/log/apache2/*.log
[Mon Aug 25 12:09:22 2008] [error] [client 127.0.0.1] File does not exist:
/home/_data_/gitrepos/kvm/.git/info/refs
==> /var/log/apache2/access.log <==
127.0.0.1 - dyno [25/Aug/2008:12:10:35 +0800] "GET /git/kvm/.git/info/refs
HTTP/1.1" 404 374 "-" "git/1.5.6.3"
==> /var/log/apache2/error.log <==
[Mon Aug 25 12:10:35 2008] [error] [client 127.0.0.1] File does not exist:
/home/_data_/gitrepos/kvm/.git/info/refs
#lsb_release -idr
Distributor ID: Ubuntu
Description: Ubuntu intrepid (development branch)
Release: 8.10
#dpkg-query --show git-core
git-core 1:1.5.6.3-1.1ubuntu1
--
git push over http and webdav fails - Hardy
https://bugs.launchpad.net/bugs/231633
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs