How do I list all repositories with the SVNParentPath directive on Apache+SVN?

北城余情 提交于 2019-11-27 03:51:37

问题


I'm using SVN through Apache with dav_svn_module like this:

<Location /svn>
  DAV svn
  SVNParentPath C:/svn_repository
  AuthName "Subversion Repository"
  ...
</Location>

This lets me access my repos:

C:/svn_repository/repo1
C:/svn_repository/repo2
C:/svn_repository/repo3

via these URLs:

https://examples.com/svn/repo1
https://examples.com/svn/repo2
https://examples.com/svn/repo3

Those URLs work great. When I go to just /svn (no repo name), I get a 403/forbidden response. What I'd like to see if a list of repos. Is that possible?


回答1:


Add this line

SVNListParentPath on

right under the SVNParentPath. Restart apache.



来源:https://stackoverflow.com/questions/488778/how-do-i-list-all-repositories-with-the-svnparentpath-directive-on-apachesvn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!