Virtualmin Git Repositories 1.0 Smart http

3 posts / 0 new
Last post
#1 Tue, 03/29/2011 - 17:37
runnerz

Virtualmin Git Repositories 1.0 Smart http

I have a problem with the Virtualmin Git Repositories 1.0 it does not support smart http. And my Eclipse eGit is using smart http. Does anybody know how to fix this?

Tue, 03/29/2011 - 23:59
JamieCameron

Currently virtualmin's git plugin doesn't support smart git, but you could probably manually setup support for it by copying git-http-backend to the domain's cgi-bin directory. You'd then need to adjust the Apache configuration to use this for the /git URL path, as documented on http://progit.org/2010/03/04/smart-http.html

''

Sun, 04/03/2011 - 13:42
runnerz

Hmm when i try to do that I get a new error, I did try the documentation but it does not seem that its working.

Can't connect to any URI: http://SOMEUSER@SOMSITE/git/SOMEGIT.git (Push service is not available: http://SOMEUSER@SOMSITE/git/SOMEGIT.git: http://SOMEUSER@SOMSITE/git/SOMEGIT.git/info/refs?service=git-receive-pack not found)

If i copy the git-receive-pack over to the local CGI-BIN folder it does not work either. I then try to add this because of the gitweb

ScriptAliasMatch \ "(?x)^/git/(.*/(HEAD | \ info/refs | \ objects/(info/[^/]+ | \ [0-9a-f]{2}/[0-9a-f]{38} | \ pack/pack-[0-9a-f]{40}.(pack|idx)) | \ git-(upload|receive)-pack))$" \ /home/SOMESITE/cgi-bin/git-http-backend/$1

ScriptAlias /git/ /home/SOMESITE/public_html/git/gitweb.cgi/

But that does not do anything.

I am pretty lost in this.

Topic locked