[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

MKACTIVITY Error

From: Roberto Lima <smuxbr_at_gmail.com>
Date: Mon, 31 May 2010 14:07:52 -0400

Hi everyone,
 I have again with this problem a very time ago and now i would to solve
this because this became important for me.

Alright, my problem is: I have multiples repositories and o need to close
one project only members can due view and write in this project. In my
httpd.conf I have:

# This configuration works fine:
<Location /svn>
       DAV svn
       SVNParentPath /svn/repos

       # Limit write permission to list of valid users.
       <LimitExcept GET PROPFIND OPTIONS REPORT>
             AuthType Basic
             AuthName "Subversion"
             AuthUserFile /svn/authfiles/svn-htpasswd
             AuthzSVNAccessFile /svn/authfiles/svn-access.conf
             Require valid-user
       </LimitExcept>
</Location>

#but the follow not work:

<LocationMatch /svn/projectPrivate/>
             AuthType Basic
             AuthName "SVN Private"
             AuthUserFile /svn/authfiles/svn-htpasswd
             AuthzSVNAccessFile /svn/authfiles/svn-access.conf
             Require user Roberto
</LocationMatch>

I imagine that this LocationMatch makes my project to private (dont checkout
to anyone). In my svn-access.conf I get:

[projectPrivate:/]
Roberto = rw
* = r

When I try to access this private project, in my httpd-access.log shows:

0.0.0.0 - Roberto [31/May/2010:14:35:47 -0300] "PROPFIND
/svn/projectPrivate/!svn/vcc/default HTTP/1.1" 207 400
0.0.0.0 - Roberto [31/May/2010:14:35:48 -0300] "PROPFIND
/svn/projectPrivate/!svn/bln/2 HTTP/1.1" 207 451
0.0.0.0 - Roberto [31/May/2010:14:35:48 -0300] "PROPFIND
/svn/projectPrivate/!svn/bc/2 HTTP/1.1" 207 659
0.0.0.0 - Roberto [31/May/2010:14:35:49 -0300] "MKACTIVITY
/svn/projectPrivate/!svn/act/f68432ee-69cd-e04d-8cd1-9ca75b4252e2 HTTP/1.1"
403 257

And in httpd-error.log:
[Mon May 31 14:35:49 2010] [error] [client 0.0.0.0] Access denied: 'Roberto'
MKACTIVITY !svn:/act/f68432ee-69cd-e04d-8cd1-9ca75b4252e2

Anyone knows if this LocationMatch are correct or how I do to fix it?

Thanks in advance.
Received on 2010-05-31 20:08:48 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.