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?

1 Answer 1

42

Add this line

SVNListParentPath on 

right under the SVNParentPath. Restart apache.

Sign up to request clarification or add additional context in comments.

3 Comments

I had to add a trailing / to my Location (<Location /svn/>) to make this work. Thanks! svnforum.org/2017/…
And if you're using authentication, this thread has some good suggestions: svnforum.org/threads/…
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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.