I'm trying to configure SVN web access on Apache2 under Windows Server 2008 for different write permissions.
I have next Apache2 conf:
<Location /svn>
SVNParentPath "E:SVN"
DAV svn
SVNListParentPath on
AuthType Basic
AuthName "Subversion repositories"
Require valid-user
AuthUserFile svn-auth.txt
AuthzSVNAccessFile svn-acl.txt
</Location>
<Location /svn/foobar>
SVNParentPath "E:SVNfoobar"
DAV svn
SVNListParentPath on
AuthType Basic
AuthName "Subversion repositories"
Require valid-user
AuthUserFile svn-auth.txt
AuthzSVNAccessFile svn-acl.txt
</Location>
E:SVN
is a root directory for all repositories - I want to list the all. It contains E:SVNest
- is a project repository.
and E:SVNfoobar
- is a sub-root directory containing
E:SVNfoobarfoo
and E:SVNfoobarar
- project repositories.
File svn-auth.txt
contains a number of user passwords generated by htpasswd.exe
File svn-acl.txt
contains a write access rules, but it doesn't work! Event it contains only one global permission:
[/]
* = rw
What is the different between SVNPath
and SVNParentPath
in Apache2 config for SVN? Maybe it would be make a sense?
And of course it doesn't work too if I add a group or a user:
[groups]
full = abatishchev
[/]
* = r
@full = rw
abatishchev = rw
I'm getting 403 Forbiden
.
What am I doing wrong? TIA!
Update: I found a record from error.log:
The URI does not contain the name of a repository. [403, #190001]
What could it mean?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…