授予公共访问 svn 根目录的权限
我想知道是否可以让人们通过 apache 和“dav_svn”模块访问 subversion 根目录。现在我只能访问比根目录低一级的存储库(“svn/game”“svn/something”但不能访问“svn/”)。
我的 httpd.conf:
<Location /svn>
DAV svn
SVNParentPath C:/SVN
AuthzSVNAccessFile C:/SVN/users
Satisfy Any
Require valid-user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile C:/SVN/svn-auth-file
</Location>
现在,当我尝试访问根目录时,它会要求我输入用户名和密码。
如有帮助,我们将不胜感激。
谢谢。
i was wondering if it is possible to let people access subversion root directory trough apache and 'dav_svn' module. Now i can only access only repositories that are 1 level lover than root directory ("svn/game" "svn/something" but not "svn/").
My httpd.conf:
<Location /svn>
DAV svn
SVNParentPath C:/SVN
AuthzSVNAccessFile C:/SVN/users
Satisfy Any
Require valid-user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile C:/SVN/svn-auth-file
</Location>
Now, when i try to access root directory it asks me for a user name and a password.
Help would be appreciated.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您要求的是访问 Subversion 存储库列表,默认情况下该列表是禁用的。
尝试在 httpd.conf 的位置块中设置 SVNListParentPath on :
还需要注意的是,Subversion 客户端无法与存储库列表通信,这只能通过连接到该存储库的 Web 浏览器看到。 “根”svn 路径。
I think what you are asking for is access to the Subversion repositories list, which is disabled by default.
Try setting
SVNListParentPath on
in the location block of your httpd.conf:It is also important to note that Subversion clients cannot talk to the repository list, and this can only be seen through a web browser connecting to the "root" svn path.