On Fri, Aug 27, 2010 at 7:13 AM, Neson Maxmelbin (RBEI/EMT5)
<Maxmelbin.Neson_at_in.bosch.com> wrote:
>
> Hello Guys,
>
> I have setup SVN 1.6 with Apache 2.9 on Windows Server 2003 SP2 with LDAP
> conf.
>
> I can access the repositories ok, but unable to view the parent path on web
> so that I can see the list of repositories.
> In my httpd.conf , the last section reads as follows ..
> Request your help.
> Thanks
>
> Location /repos>
>
> DAV svn
> SVNParentPath D:/svnrepo
>
> SVNListParentPath On
>
> SVNIndexXSLT "/svnindex.xsl"
>
> SVNAutoversioning on
>
> # how to authenticate a user
> AuthType Basic
>
> AuthName "Subversion Repository for *****"
> AuthBasicProvider ldap
>
>
>
> AuthzLDAPAuthoritative on
>
> AuthLDAPBindDN "CN=*****,OU=****,OU=***,OU=****,DC=**,DC=****,DC=com"
> AuthLDAPBindPassword "*******"
> AuthLDAPURL
> "ldap://***********:32**/DC=****,DC=****?sAMAccountName?sub?(objectClass=*)"
>
> Require valid-user
>
> AuthzSVNAccessFile D:/svnrepo/config/ldap-access-file.txt
>
> # SSPI settings
> # SSPIAuth On
> # SSPIOmitDomain On
> # SSPIAuthoritative On
> # SSPIDomain <IN>
> # SSPIOfferBasic On
>
> # try anonymous access first, resort to real
> # authentication if necessary.
> # Satisfy Any
>
> </Location>
>
> I have also added the following after LoadModule lines …
>
> # Work around authz and SVNListParentPath issue
> RedirectMatch ^(/repos)$ $1/
>
> In the access configuration file , I have added the following line also
>
> [:/]
> * = rw
I think you need a trailing slash in the Location directive:
<Location /repos/>
This is actually related to a bug (for which you need to use the
RedirectMatch workaround etc.), which seems to be fixed for the
upcoming 1.7 release:
http://subversion.tigris.org/issues/show_bug.cgi?id=2753 -
SVNListParentPath feature doesn't work when svn authz is used.
HTH,
--
Johan
Received on 2010-08-27 12:03:09 CEST