Hi,
I (nearly) successfully set up `git-http-backend`. Pulling is no problem
but pushing hangs at this stage (just an example git push):
$ git push
Username for '': niklaas
Password for '':
Counting objects: 33, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (30/30), done.
Writing objects: 100% (33/33), 26.34 MiB | 23.78 MiB/s, done.
Total 33 (delta 7), reused 0 (delta 0)
So I don't get my prompt back and the only thing I can do is CTRL-C which
aborts pushing.
Here is my configuration of lighttpd:
$HTTP["url"] =~ "^/git"
{
cgi.assign = ("" =>
"")
setenv.add-environment =
(
"GIT_PROJECT_ROOT" =>
"/usr/local/www/data/vhosts//htdocs/git",
"GIT_HTTP_EXPORT_ALL" =>
""
)
auth.require =
(
"/" =>
(
"method" =>
"basic",
"realm" => "Git
Access",
"require" =>
"valid-user"
)
)
auth.backend =
"plain"
auth.backend.plain.userfile =
"/usr/local/etc/lighttpd/vhosts.d/.plainauth"
}
$ pkg info | grep lighttpd
lighttpd-1.4.37Secure, fast, compliant, and flexible Web
Server
This is from the lighttpd access log. First you can witness a working pull
and then follows a not working push:
- [14/Sep/2015:14:19:31 +0200] "GET
/git/dotfiles.git/info/refs?service=git-upload-pack HTTP/1.1" 401 351 "-"
"git/2.1.4"
- [14/Sep/2015:14:19:39 +0200] "GET
/git/dotfiles.git/info/refs?service=git-upload-pack HTTP/1.1" 401 351 "-"
"git/2.1.4"
niklaas [14/Sep/2015:14:19:40 +0200] "GET
/git/dotfiles.git/info/refs?service=git-upload-pack HTTP/1.1" 200 339 "-"
"git/2.1.4"
- [14/Sep/2015:14:19:47 +0200] "GET
/git/dotfiles.git/info/refs?service=git-receive-pack HTTP/1.1" 401 351 "-"
"git/2.1.4"
- [14/Sep/2015:14:19:47 +0200] "GET
/git/dotfiles.git/info/refs?service=git-receive-pack HTTP/1.1" 401 351 "-"
"git/2.1.4"
niklaas [14/Sep/2015:14:19:48 +0200] "GET
/git/dotfiles.git/info/refs?service=git-receive-pack HTTP/1.1" 200 204 "-"
"git/2.1.4"
What am I doing wrong?
Any help is very much appreciated.
Best,
Niklaas
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.