Re: [viewvc-users] Viewvc Permission problem
"C. Michael Pilato" <[email protected]> Fri, 8 Jun 2012 14:41:40 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
On 06/08/2012 01:26 PM, trevor obba wrote:
> 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
>
> <https://www.test.com/viewvc>
> What am I doing rough? Please help?
The setup you are trying to get is extremely common, so we should be able to
nail this.
Your dav_svn.conf looks fine. You've got Subversion enabled, some details
that describe where your repositories can be found, and your auth bits.
It's http.conf that's the problem. ViewVC doesn't need any of Subversion's
configuration directives, so try it without them, like this:
ScriptAlias /viewvc "/usr/lib/cgi-bin/viewvc.cgi/"
Alias /docroot "/etc/viewvc/templates/docroot"
<Location /viewvc>
AuthType Basic
AuthName "Subversion Repository"
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPBindDN "o=bindme"
AuthLDAPURL ldap://x.x.x.x:389/ STARTTLS
Require valid-user
</Location>
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2969867
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/SR2QACgkQokEGqRcG/W54OQCgoBU5XTOPxKkp5Pfy8Y+A2Dde 9TkAoL4mCGG3roJwlw1EhT3e6pSbgepH =F8c4 -----END PGP SIGNATURE-----