Sunday, March 27, 2011

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

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?

From stackoverflow
  • Add this line

    SVNListParentPath on
    

    right under the SVNParentPath. Restart apache.

    Michael Haren : I had to add a trailing / to my Location () to make this work. Thanks! http://www.svnforum.org/2017/viewtopic.php?p=21502&sid=888ad3d666f135fb6251766f39a9dd2c

0 comments:

Post a Comment