[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Browse repos available under SVNParentPath with Apache?

From: Chris Shenton <Chris.Shenton_at_hq.nasa.gov>
Date: 2005-07-25 23:24:08 CEST

I'm converting some of our developers from CVS to SVN this week. I've
got a few SVN repos being served under a common parent using Apache's
SVNParentPath and it works fine like http://svnbox/repo_name

But if I just enter http://svnbox/ it doesn't present me with a
conventional apache-generated directory listing of the repos under the
SVNParentPath. I get: 403 Forbidden "You don't have permission to
access /svn/ on this server."

I even tried adding <Directory> index generation but I suspect the SVN
process grabs the URL so the normal directory indexing doesn't ever
get invoked. Here's my config section:

 <Location /svn>
  DAV svn
  SVNParentPath /data1/svn
  AuthType Basic
  AuthName "Subversion code repository on Osiris"
  AuthUserFile /usr/local/apache2/conf/htpasswd-svn
   Require valid-user
 # This doesn't allow seeing the subdirs in /data1/svn; how to fix?
 <Directory "/data1/svn">
     Options Indexes MultiViews
     Order allow,deny
     Allow from all

While it's convenient that I don't have to restart apache when adding
a repo under SVNParentPath it would be nice if users could see these
new repos without having to know their names.

I've checked the FAQ and the Red Bean book but don't find an answer.
Any suggestions? Thanks.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 25 23:27:57 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.