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

Re: Listing Respositories on ver 1.4.0

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2006-09-17 11:16:06 CEST

Santhosh Raghunath wrote:
>
> We would like to display a listing of the repositories under svn root.
>
>
>
> Here is how our Apache httpd.conf <location> section configured as:
>
> ---------------------------------------------------
>
> DocumentRoot "/usr/local/apache2_0_59/htdocs"
>
>
>
> ## Subversion stuff
>
> <Location /svn>
>
> DAV svn
>
>
>
> SVNParentPath /home/svn/repositories
>
> SVNListParentPath on
>
> # authenticate
>
> AuthType Basic
>
> AuthName "Subversion repository"
>
> AuthUserFile /usr/local/apache2_0_59/conf/svn_htaccess
>
>
>
> # only authenticated users may access the repository
>
> Require valid-user
>
>
>
> # subversion auth/access control
>
> AuthzSVNAccessFile /home/svn/web/svn_authorization
>
>
>
> # for pretty display of src on a browser
>
> SVNIndexXSLT "/svnindex.xsl"
>
> </Location>
>
> -------------------------------------------------------
>
>
>
>
>
>
>
> When we try to open the URL : http://svn.<domain>:81/svn/ there is an
> error on browser:
>
>
>
> Forbidden
>
> You don't have permission to access /svn/ on this server.
>
>
>
> The environment is Subversion 1.4.0 running with Apache 2.0.59 on Red
> Hat Linux AS release 3 (Taroon)
>
Santhish,

this thread on the users mailing list archive has a solution for your
problem:
http://svn.haxx.se/users/archive-2006-01/0050.shtml

In short, when you use SVNListParentPath together with
AuthzSVNAccessFile you need to specify your Location with a '/' in the end:

<Location /svn/>
...

hope this helps,

Lieven.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 17 11:16:44 2006

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.