Svn – Allow Directory Listing for SVN WebDav

apache-2.2svnwebdav

I've got a couple local repositories that I can successfully access using Apache WebDav.

This apache is also a production webserver and I've got directory listings disabled globally.

Here's the Location config:

<Location /svn>
   DAV svn
   SVNParentPath /var/local/svn
   SSLRequireSSL
   AuthType Basic
   AuthName "Dining Deals Network SVN"
   AuthUserFile /var/local/users/svn.passwd
   Require valid-user
</Location>

We have 2 repo's in /var/local/svn. Right now, you have to navigate to them directly. If you just go to https://www.ourdomain.com/svn you get a

(403) Forbidden

You don't have permission to access /svn/ on this server.

I've tried adding a (and i've also tried a just for kicks) with an Options Indexes but it didn't accomplish anything.

Any help would be appreciated.

Best Answer

Somehow I overlooked this in the SVN WebDav documentation:

http://svnbook.red-bean.com/en/1.5/svn.ref.mod_dav_svn.conf.html

The directive is:

SVNListParentPath On|Off

When set to On, allows a GET of SVNParentPath, which results in a listing of all repositories under that path. The default setting is Off.

I knew I'd seen this working before. But GHM thanks for trying to help, you're the only one that did!