Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 484
Michael Haren Avatar asked Jan 28 '09 18:01

Michael Haren


People also ask

What are SVN repos?

A Subversion repository — abbreviated SVN repository — is a database filled with your code, files, and other project assets. A SVN repository maintains a complete history of every change ever made.


1 Answers

Add this line

SVNListParentPath on

right under the SVNParentPath. Restart apache.

like image 162
Jason Punyon Avatar answered Oct 15 '22 19:10

Jason Punyon