18

我通过 Apache 使用 SVN,dav_svn_module如下所示:

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

这让我可以访问我的存储库:

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

通过这些网址:

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

这些 URL 工作得很好。当我只去 /svn (没有 repo 名称)时,我得到一个 403/forbidden 响应。我想看看 repos 列表。那可能吗?

4

1 回答 1

42

添加这一行

SVNListParentPath on

就在 SVNParentPath 下。重启阿帕奇。

于 2009-01-28T19:00:38.663 回答