[viewvc-users] multiple repos with multiple authz files

Will Yardley <[email protected]> Fri, 31 May 2013 13:59:05 -0700
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <20130531205905.GH1881__40750.8043492728$1370264447$gmane$org@aura.veggiechinese.net>
Our current setup has a bunch of repos under a single path, let's say
/srv/subversion/. 

Then, in the config, we have:

  <Location /foo>
      DAV svn
      SVNPath /srv/subversion/foo
  
      AuthzSVNAccessFile /srv/subversion/etc/foo.access
  
      Satisfy Any
      AuthBasicProvider ldap
      AuthzLDAPAuthoritative Off 
      AuthLDAPURL ....
      AuthType Basic
      Require valid-user
  </Location>

Two questions about this:

1) Given that we're using Apache basic auth, do we have to handle
authentication via Apache config and authorization view the authz files?

2)  I don't mind having:
svn_roots = foo: /srv/subversion/foo,
            bar: /srv/subversion/bar

rather than just:
svn_roots = subversion: /srv/subversion

But I don't now then how to handle the mapping of authz files when each
repo has its own authz file.

Is the only way to make this work to have a single authz file for all
repos?

I took a look at some old threads, like
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2435166
but couldn't figure out whether or not it's possible to do what we want
without structuring the Apache virtualhosts and / or authz files.

w

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3056754

To unsubscribe from this discussion, e-mail: [[email protected]].