Apache + Subversion配置

subversion

<Location /repos/>

        DAV svn

SVNParentPath/var/svn/repos

SVNListParentPathOn

AuthTypeBasic

AuthName"Yourrepositoryusernameandpassword"

Requirevalid-user

AuthUserFile/var/svn/passwd

AuthzSVNAccessFile/var/svn/access

</Location>

/var/svn/access

[/]

* = r

为了可以列出所有的仓库,两点需要注意

  • /repos/后的/一定要保留
  • access文件中一定要加入[/]段

相关推荐