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

1

18

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?

Selby answered 28/1, 2009 at 18:32 Comment(0)
C
42

Add this line

SVNListParentPath on

right under the SVNParentPath. Restart apache.

Cristalcristate answered 28/1, 2009 at 19:0 Comment(3)
I had to add a trailing / to my Location (<Location /svn/>) to make this work. Thanks! svnforum.org/2017/…Selby
And if you're using authentication, this thread has some good suggestions: svnforum.org/threads/…Feet
Note that as you'll find in the thread that @MattConnolly linked to, it does not appear to be possible to use SvnListParentPath with <Location /> and AuthzSVNAccessFile.Zandra

© 2022 - 2024 — McMap. All rights reserved.