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

Re: Repository web index

From: Brian Mearns <mearns.b_at_gmail.com>
Date: Fri, 26 Sep 2008 21:10:37 -0400

Sorry, Frank, I think I lost track of something. What file are you
referring to? The SVNListParentPath only takes On and Off, not a file.
I've got the SVNParentPath set up fine, as I am able to view my
individual repositories, I just can't get the index of repositories
set up.

I've found that if I take out all the authorization directives from
from svn section, I can get the index I'm looking for: as you said,
the AuthzSVN doesn't effect this, but I've told Apache that this
location needs authentication, and it doesn't know how to do it for
anything higher than a repo. I guess this might be getting outside the
realm of subversion and into general apache config, but if anyone can
help at all, I'd appreciate it. Ideally, I'd like to not have
authentication for the top level /svn location (which should show the
index of repositories) but still have the SVN auth for the individual
repositories. Here's my conf file:

 <Location /svn>
     DAV svn
     SVNParentPath /var/svn
     SVNListParentPath On
     SVNIndexXSLT /apps/svn/repos-web/view/repos.xsl.php

     # our access control policy
     AuthzSVNAccessFile /var/svn/conf/svn-users.conf

     # try anonymous access first, resort to real
     # authentication if necessary. Now out access control
     # policy file determines when you need to authenticate
     Satisfy Any
     Require valid-user

     # how to authenticate a user
     AuthType digest
     AuthName "Subversion repositories"
     AuthDigestProvider file
     AuthUserFile /var/svn/conf/digest_passwds
     AuthGroupFile /dev/null
   </Location>

On Fri, Sep 26, 2008 at 7:55 PM, Frank Gruman <fgatwork_at_verizon.net> wrote:
> On Fri, 2008-09-26 at 06:34 -0400, Brian Mearns wrote:
>> Thanks to both of you for the reply. I definitely didn't know about
>> SVNListParentPath (even though I had read most of that page in the
>> svnbook already!) But I put it in exactly the way they showed, and when
>> I go to my root (http://localhost/svn) it asks for authentication, and
>> then says I don't have access to it after I authenticate. I'm using
>> AuthzSVN for access, and I have *=r under the [/] path in
>> my auth file.
>>
>> Any thoughts?
>>
>> Thanks, again
>> -Brian
>>
>> Frank Gruman wrote:
>> >> On Sep 25, 2008, at 07:52, Brian Mearns wrote:
>> >>
>> >>> I've got my DAV interface set up with the Location as /svn (so
>> >>> http://localhost/svn/<repository> is a repository) . I'd like to set
>> >>> up an index page for myself at http://localhost/svn/. Any ideas on how
>> >>> I can do that?
>> >> Not besides setting
>> >>
>> >> SVNListParentPath on
>> >>
>> >> in the apache configuration.
>> >
>> > Check out this thread - I think it will help you as well as the most
>> > excellent Subversion Book
>> >
>> > http://svn.haxx.se/users/archive-2008-08/0511.shtml
>> >
>> > http://svnbook.red-bean.com/en/1.5/svn.serverconfig.httpd.html#svn.serverconfig.httpd.extra.browsing
>> > (Look at Customizing the Look)
>> >
>> > Regards,
>> > Frank
>> >
> Brian,
>
> This file will not be affected by your AuthzSVN file as it sits above /
> outside of the repository. Verify the path you entered into the apache
> configuration file. The path entered is relative to your URL base and
> not the file system location. Then check your Authentication scheme.
> Also, verify the file is readable by your apache/httpd process owner.
>
> Regards,
> Frank
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-27 05:52:51 CEST

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