Re: [viewvc-users] Viewvc Permission problem
trevor obba <[email protected]> Fri, 8 Jun 2012 18:26:58 +0100 (BST)
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <1339176418.39703.YahooMailNeo__2631.51616459272$1339176429$gmane$org@web29016.mail.ird.yahoo.com> |
Thanks for your reply; yes I have a two location blocks, One in “dav_svn.conf” <Location /svn> DAV svn SVNParentPath /abc/svn SVNListParentPath On AuthType Basic AuthName "Subversion Repository" AuthBasicProvider ldap AuthzLDAPAuthoritative on AuthLDAPBindDN "o=bindme" AuthLDAPURL ldap://x.x.x.x:389/ STARTTLS AuthzSVNAccessFile /etc/apache2/acl Require valid-user </Location> In my http.conf ScriptAlias /viewvc "/usr/lib/cgi-bin/viewvc.cgi/" Alias /docroot “/etc/viewvc/templates/docroot” <Location /viewvc> SVNParentPath /abc/svn SVNListParentPath On AuthType Basic AuthName "Subversion Repository" AuthBasicProvider ldap AuthzLDAPAuthoritative on AuthLDAPBindDN "o=bindme" AuthLDAPURL ldap://x.x.x.x:389/ STARTTLS AuthzSVNAccessFile /etc/apache2/acl Require valid-user </Location> I tried disabling the DAV svn in “dav_svn.conf” as suggested but this did not help. All I want to do is to view the root of my repository via https://www.test.com/viewvc and https://www.test.com/svn It work via https://www.test.com/svn with my authz access rules but it does not work via https://www.test.com/viewvc What am I doing rough? Please help? ________________________________ From: C. Michael Pilato <[email protected]> To: trevor obba <[email protected]> Cc: [email protected] Sent: Friday, 8 June 2012, 15:27 Subject: Re: [viewvc-users] Viewvc Permission problem 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=2969856 To unsubscribe from this discussion, e-mail: [[email protected]].