Re: [viewvc-users] Viewvc Permission problem

"C. Michael Pilato" <[email protected]> Fri, 8 Jun 2012 10:27:58 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <4FD20BEE.5070301__2091.15381953797$1339165697$gmane$org@collab.net>
On 06/08/2012 08:39 AM, trevor obba wrote:
> I am running subversion 1.6.6 on Ubuntu 10.04 (Lucid), Viewvc
> 1.0.9 and apache2 (2.2.14) and LDAP authentication.
> 
> I have multiple repositories on my SVN server and it all
> working fine, however I am unable to set access control (permissions) on the
> / root
> 
> I created a ‘catch-all’ group called “admin” and give global access to the
> group like
> 
> [/]
> @admin = r
> 
> This give read only access of the / to the root of all repositories to
> member of admin group.  When users of the admin group log-in via
> https://www.test.com/svn they can view the root of all repository as well as
> have appropriate permissions to repositories, (which is want I want).
> 
> However when users of the admin group log-in via https://www.test.com/viewvc
> the following error message is displayed “*Forbidden *You don't have
> permission to access / viewvc on this server”
> Apache error log display “The URI does not contain the name of a repository”

Your problem is not with ViewVC, and not with the configuration of your
authz access rules.

This error message is not generated by ViewVC -- it's generated by
Subversion's mod_dav_svn.  So it appears that you've somehow configured
Apache in such a way that Subversion proper is trying to field requests for
your "https://www.test.com/viewvc" URL.  Do you have a Location block for
ViewVC in your httpd.conf?

   <Location /viewvc>
      ...
   </Location>

If so, do you have the "DAV svn" directive in that block?  If so, you need
to remove it.  ViewVC and Subversion can't share a URL address space.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

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

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)

iEYEARECAAYFAk/SC+4ACgkQokEGqRcG/W4CAwCeISvu+osYLzP8BG76lRhWgb0l
IZkAoLiADIEQZ1JvSoAJoRPFd1EKx4Cl
=TnS+
-----END PGP SIGNATURE-----