Apache: Allow directory browsing when using SVNParentPath?

Posted on

Apache: Allow directory browsing when using SVNParentPath? – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about apache-2.2, svn, httpd, mod-dav-svn, .

I have the following setup:

<Location /repos>
  DAV svn
  SVNParentPath /home/svn/repos
  AuthType Basic
  AuthName "SVN"
  AuthUserFile /home/svn/.htpasswd
  Order deny,allow
  Require valid-user

Users can access their svn repositories like this:


If you try to access the following address in the browser…


You get a 403 Forbidden. I’d like to make it so that users can browse that folder and see the repositories.

I thought adding the following

<Directory /home/svn/repos>
  Options +FollowSymlinks +Indexes
  AllowOverride all

Would do it, but I still get 403 Forbidden…

Any thoughts?

Solution :

Set SVNListParentPath to On and try again.

Leave a Reply

Your email address will not be published. Required fields are marked *