Re: [viewvc-users] mutiple root_parents and authzfile
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
On 01/14/2011 04:26 PM, procaccia jehan wrote: > Hello, > > I use viewvc-1.1.8 and wonder how to configure it to manage multiple svn > roots > the root_parents directive seems to work fine, but i cannot find how to > configure associated "apache AuthzSVNAccessFile" authz file to viewvc !? > > here is my actual config > > [general] > root_parents = /var/svn/disi: svn, > /var/svn/stud: svn > [options] > authorizer = svnauthz > > [authz-svnauthz] > authzfile = /var/svn/disi/svnrootauthz > authzfile = /var/svn/stud/svnrootauthz > > Only the latest svnrootauthz works > > thanks for your help . The .ini format which ViewVC uses for its configury doesn't allow for multiple lines with a single "key" (the part to the left of the equal sign). ViewVC internally collapses all the configured roots -- those explicitly named in cvs_roots and svn_roots, and those implicitly defined in the root_parents bit -- into a single list of roots. Is it possible for you to use a single authz file that describes the permissions for all your repositories? Alternatively, you could run multiple instances of ViewVC which expose different, non-overlapping collections of repositories (perhaps organized by parent-path) and which refer only to the authz file that applies to the appropriate collection. -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2698752 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk00eykACgkQokEGqRcG/W5O8gCfaHjKzHzHkF3khkG9hJ9r+La1 xfgAoJ/rrbnWFSw2/6TcrTjRT3VwapQf =dTw0 -----END PGP SIGNATURE-----