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?

Michael Haren
  • 105,752
  • 40
  • 168
  • 205

1 Answers1

42

Add this line

SVNListParentPath on

right under the SVNParentPath. Restart apache.

Restore the Data Dumps
  • 38,967
  • 12
  • 96
  • 122
  • 7
    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 – Michael Haren Jan 28 '09 at 20:47
  • 1
    And if you're using authentication, this thread has some good suggestions: http://www.svnforum.org/threads/35420-SVNListParentPath-AuthzSVNAccessFile-conflict – Matt Connolly May 13 '11 at 01:58
  • Note that as you'll find in the thread that @MattConnolly linked to, it does not appear to be possible to use `SvnListParentPath` with `` and `AuthzSVNAccessFile`. – Jonathon Reinhart May 13 '13 at 07:06