On Friday, October 12, 2012 5:12:03 PM UTC+2, gitted wrote: > I want to understand how to go about providing users access to git over > http to manage content that will be stored in their own git repository. > > Scenerio: Users signup on a website, upon choosing an account name I will > create a git repository for them on my servers filesystem. > > /git/username1 > /git/username2 > > I want to allow users to access their repositories over http, so they > would clone a repository using: > > git clone https://username1.example.com/content.git > > I don't want to force them to setup SSH, so they should have to enter > their username/password when connecting. > > How would I go about creating this sort of setup? I'm confused as to how > them connecting via https and the mapping to their folder will work. > > thanks! > > The magic of allowing git push over http happens through "Smart" HTTP. You can read more about it here: http://git-scm.com/2010/03/04/smart-http.html - but note that it still requires some know-how of configuring web servers (Apache) for it to work. I haven't set it up myself (as I usually would stick to Gitblit <http://gitblit.com> for these features), but you could try googling around<https://www.google.com/search?q=git+smart+http&oq=git+smart+http>for some more how-tos.
-- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/1BFWFpjPjBgJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
