From mboxrd@z Thu Jan 1 00:00:00 1970 From: carlosadean at gmail.com (Carlos Adean) Date: Tue, 8 May 2012 15:23:43 -0300 Subject: require authentication to access a repository In-Reply-To: References: <4F9C6A39.7020207@nachtgeist.net> Message-ID: Dear Daniel, I made the necessary changes to my environment and it worked perfectly. thanks Att. Carlos Adean skype: carlosadean 2012/4/30 Carlos Adean > great idea, I'll test in my environment. > > thank you > > Att. > Carlos Adean > skype: carlosadean > > > > > 2012/4/28 Daniel Reichelt > >> Hi, >> >> sorry, I totally sent out an old, crappy template for the repo-specific >> access-configuration. Here's the correct one, I actually use: >> >> >> >> /home/repositories/git/$repo.conf >> -------------8<--------------- >> >> AuthType Basic >> AuthName "GIT repositories" >> AuthUserFile /home/repositories/git-htpasswd >> AuthGroupFile /home/repositories/git-htgroup >> Require group admin >> Require group repo1-rw >> Require group repo1-ro >> >> >> AuthType Basic >> AuthName "GIT repositories" >> AuthUserFile /home/repositories/git-htpasswd >> AuthGroupFile /home/repositories/git-htgroup >> Require group admin >> Require group repo1-rw >> >> -------------8<--------------- >> >> Cheers >> Daniel >> > >