Subversion 基于APACHE的权限设置(SVNPath):
在/home/svn下面建立了两个版本库:repo 和 foobar
apache的配置文件
DAV svn
SVNPath /home/svn/repo
AuthzSVNAccessFile /home/svn/repo/conf/authz
#SVNListParentPath on
AuthType Basic
AuthName "Repo Auth"
AuthUserFile /etc/svn-aut-file
Require valid-user
DAV svn
SVNPath /home/svn/foobar
AuthzSVNAccessFile /home/svn/foobar/conf/authz
AuthType Basic
AuthName "Repo Foobar"
AuthUserFile /etc/svn-foobar-file
Require valid-user
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
AuthzSVNAccessFile :
/home/svn/repo/conf/authz
[aliases]
# joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average
[groups]
admin = jack,annie
[/]
@admin = rw
[/abc]
@admin = rw
[/efg]
@admin = r
/home/svn/foobar/conf/authz
[aliases]
# joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average
[groups]
admin = jack,annie
[/]
@admin = rw
阅读(1200) | 评论(0) | 转发(1) |