* require authentication to access a repository
@ 2012-04-09 17:32 carlosadean
0 siblings, 0 replies; 3+ messages in thread
From: carlosadean @ 2012-04-09 17:32 UTC (permalink / raw)
Hi all,
I need to implement a method that require authentication to access a
repository, with cgit is possible?
I have multiple repositories and each repository has a different owner.
Access to the repositories is controlled by gitosis.
Thanks
--
Carlos
skype: carlosadean
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <4F9C6A39.7020207@nachtgeist.net>]
* require authentication to access a repository
[not found] <4F9C6A39.7020207@nachtgeist.net>
@ 2012-04-30 18:00 ` carlosadean
2012-05-08 18:23 ` carlosadean
0 siblings, 1 reply; 3+ messages in thread
From: carlosadean @ 2012-04-30 18:00 UTC (permalink / raw)
great idea, I'll test in my environment.
thank you
Att.
Carlos Adean
skype: carlosadean
2012/4/28 Daniel Reichelt <hacking at nachtgeist.net>
> 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<---------------
> <Location "/repositories/cgit/repo1.git">
> 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
> </Location>
> <LocationMatch "^/repositories/cgit/linux.git/.*/git-receive-pack$">
> AuthType Basic
> AuthName "GIT repositories"
> AuthUserFile /home/repositories/git-htpasswd
> AuthGroupFile /home/repositories/git-htgroup
> Require group admin
> Require group repo1-rw
> </LocationMatch>
> -------------8<---------------
>
> Cheers
> Daniel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* require authentication to access a repository
2012-04-30 18:00 ` carlosadean
@ 2012-05-08 18:23 ` carlosadean
0 siblings, 0 replies; 3+ messages in thread
From: carlosadean @ 2012-05-08 18:23 UTC (permalink / raw)
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 <carlosadean at gmail.com>
> great idea, I'll test in my environment.
>
> thank you
>
> Att.
> Carlos Adean
> skype: carlosadean
>
>
>
>
> 2012/4/28 Daniel Reichelt <hacking at nachtgeist.net>
>
>> 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<---------------
>> <Location "/repositories/cgit/repo1.git">
>> 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
>> </Location>
>> <LocationMatch "^/repositories/cgit/linux.git/.*/git-receive-pack$">
>> AuthType Basic
>> AuthName "GIT repositories"
>> AuthUserFile /home/repositories/git-htpasswd
>> AuthGroupFile /home/repositories/git-htgroup
>> Require group admin
>> Require group repo1-rw
>> </LocationMatch>
>> -------------8<---------------
>>
>> Cheers
>> Daniel
>>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-08 18:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-09 17:32 require authentication to access a repository carlosadean
[not found] <4F9C6A39.7020207@nachtgeist.net>
2012-04-30 18:00 ` carlosadean
2012-05-08 18:23 ` carlosadean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).