[viewvc-users] AuthzSVNAccessFile

Adrian Marsh <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <1475541206.4852.1288197712462.JavaMail.httpd__48960.1439483978$1288200743$gmane$org@localhost>
Hi,

Does anyone know if 1.0.7 supports the AuthzSVNAccessFile directive ??

It does seem to, but I could do with confirmation. I do find then some of the images break, and when I added it to my production envrironment users couldn't access some viewvc areas.  In my test environment though it seems ok, so I'm trying to understand.

eg,  With that on I get :

Access denied: 'testuser' GET *docroot*:/images/up.png


I think I need to allow /images, but I'm confused by what *docroot* means.

My config at the moment is just:

<Location "/viewvc">
        AuthBasicProvider file ldap
        AuthType Basic
        AuthzLDAPAuthoritative off
        AuthName "ViewVC"
		AuthUserFile /etc/opt/CollabNet_Subversion/conf/mycompany/svn1-local-auth-file
		AuthLDAPURL "ldap://ubiq-serv1.mycompany.local ubiq-serv9.mycompany.local/DC=mycompany,DC=local?sAMAccountName?sub?(objectClass=*)" NONE
		AuthLDAPBindDN "CN=svnuser,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=mycompany,DC=local"
        AuthLDAPBindPassword ******
		Require valid-user
		SVNParentPath /LogVol03/svn
		AuthzSVNAccessFile /etc/opt/CollabNet_Subversion/conf/mycompany/svn1_directives.conf
</Location>


So do I just need to add a:

<Location "/viewvc/*docroot*">
    Allow all
</Location>

Or something similar??

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

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.