On Tue, Apr 27, 2010 at 3:04 AM, SudhaSelvaraj
<sudha.selvaraj_at_aspiresys.com> wrote:
> Hi All,
>
> Even am looking for such set up .
>
> Am trying to do SVN-LDAP authentication for multi projects. Currently I have
> a common authz file for all the projects.
>
> COMMON AUTHZ FILE:
>
> [groups]
> pm = Sudha,user2
> dev = user1
>
> [project:/tag]
> @dev= r
> @pm = rw
>
> Kind of similar configuration for trunk and branches
>
> [groups]
> ..
> ..
> [project2:/tag]
> ..
>
> Now I have configured the same authz file in apache and it works good .
>
> AuthzSVNAccessFile /opt/svn/authz
>
> But I need to configure multiple authz file in apache for multi
> projects(instead to have a common authz file(like above) for all the
> projects.
>
> Access file path will get vary for project to project(like below).
>
> AuthzSVNAccessFile /opt/svn/project1/authz
>
> AuthzSVNAccessFile /opt/svn/project12authz
>
> Do I need to write any script for path based authorization. Ur suggestions
> are most welcome.
FYI, what you're talking about is *authorization* not
*authentication*. Two different things. :)
Sounds like what you need to do is put each project in it's own Apache
<Location> block and set the AuthzSVNAccessFile and SVNPath options
appropriately. Obviously you won't be able to use the SVNParentPath
option anymore, so if you have lots of projects, you may want to write
a script which generates your apache config file for you.
--
Aaron Turner
http://synfin.net/ Twitter: @synfinatic
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
"carpe diem quam minimum credula postero"
Received on 2010-04-27 18:45:36 CEST