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

Re: apache2 subversion repository browsing

From: Frederic Duarte <frederic.duarte_at_oneaccess-net.com>
Date: 2006-03-20 10:29:48 CET

Adolf Schwarz a écrit :
>
>
> Ryan Schmidt wrote:
> >> So when I browse to the URL "www.myserver.at/repos/somerepository/" I
> >> can browse in the repository "somerepository". But when I browse to
> >> "www.myserver.at/repos/" I get a "403 Forbidden" error (after
> >> authentication).
> >>
> >> Is it possible to list all hosted repositories automatically?
> >
> > Get Subversion 1.3 and add "SVNListParentPath on" to your Location
> section.
>
> Thanks for the hint, but after upgrading to SVN1.3 (and the two
> modules of Apache) the Forbidden Error still stays.
>
> It has to do with the access-policies, because when I do not include
> the svn-access-file, ListParentPath works fine.
>
> In the svn-access-file I just define groups users, and give them
> access to the repositories, like
>
> [gusp:/]
> @svnadmin = rw
> @gusp = rw
>
> How can I give users read access to the parent path?
>
> I tried "auth-access = read" and
>
> [/]
> @svnadmin = r
>
> without success.
>
> btw is there some kind of documentation of the apache modules?
>
> Thanks,
> -adi
>
>
> My current configuration file:
>
>> <Location /repos>
>> DAV svn
>> SVNParentPath C:\repos
>> SVNListParentPath On
>> SVNIndexXSLT "/static/svnindex.xsl"
>> AuthzSVNAccessFile C:\Apache2\conf\svn-access-file
>>
>> Require valid-user AuthType Basic
>> AuthName "Repository Area"
>> AuthUserFile C:\Apache2\conf\svn-auth-file
>>
>> </Location>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
Hello,

That's a known bug, I've seen it somewhere but I dont really remember where.
A partial workaround would be :
Replace
<Location /repos>
by
<Location /repos/>
and access via
http://www.myserver.at/repos/
instead of
http://www.myserver.at/repos
That works.

rgds

-- 
Frédéric DUARTE
Software generation toolchain & SCM
OneAccess Networks R&D
<http://gconf/wiki>
Received on Mon Mar 20 10:30:15 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.