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

Re: Setting a web page at the repositories' parent URL

From: Ryan Schmidt <subversion-2010d_at_ryandesign.com>
Date: Fri, 5 Nov 2010 10:36:54 -0500

On Nov 5, 2010, at 10:12, Gingko wrote:

> According to the documentation, if I set a configuration like this one :
>
> <Location /svn>
> DAV svn
> SVNParentPath /var/lib/svn
> </Location>
>
> ... I define a parent directory under which I can put all of my repositories.
>
> So I can access them like this :
>
> http://www.myserver.com/svn/my_first_repository/
> http://www.myserver.com/svn/my_second_repository/
> http://www.myserver.com/svn/my_third_repository/
> http://www.myserver.com/svn/my_fourth_repository/
> etc.
>
> But if I just type :
> http://www.myserver.com/svn/
>
> I get a page like this one:
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Forbidden
> You don't have permission to access /svn/ on this server.
>
> Apache/2.2.9 (Debian) DAV/2 SVN/1.6.12 PHP/5.2.13 mod_perl/2.0.4 Perl/v5.10.0 Server at www.myserver.com Port 80
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> This is quite ugly, and I saw several SVN servers exhibiting this behavior.
>
> Is there a way to put a web page on this location?
>
> (for example a blank page, or a page with links to the only repositories that I want to be publicly accessible for reading)

The only option available is "SVNListParentPath On" which will give you a list of links to the available repositories.
Received on 2010-11-05 16:37:36 CET

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.