2014-05-20

I used VirtualMin's git module to setup a private git over http on one of my servers.
I have other servers with git over ssh but this was my first try to setup it over http and with VirtualMin.

Unfortunately, in last few hours I find out that the default VirtualMin's module don't use smart http mode and relay on DAV for pushing commits to the server. Which I don't really like.

Also I tried to move my old repos to this server and I cant use them because there is no /info/ref file. (I also heard that using smart http mode I don't need this file)

In result, I tried to find a document about installing smart git http and found a lot. But I dont think any of them is compatible with VirtualMin or its default git module,

Do any of you people know how I need to customize my git's installation and Apache settings to use smart http protocol with little hurt to VirtualMin and also still be VirtualMin compatible?

I really don't want that my settings and configurations to remove after a VirtualMin update or setting's recreation process that this control panels usually do.

Please share your thoughts on this matter with me. Thanks

OS: CentOs 6.5 x64

Show more