You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Neson Maxmelbin (RBEI/EMT5)" <Ma...@in.bosch.com> on 2010/08/27 05:13:47 UTC
Unable to view repository list
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
Thanks and Regards
Maxmelbin Neson
-----------------------------------------------------------------------------------------------------------------
RE: Unable to view repository list
Posted by "Neson Maxmelbin (RBEI/EMT5)" <Ma...@in.bosch.com>.
When I try to access the parent path , I am asked for authentication and then I get this error message -
Forbidden
You don't have permission to access /repos/ on this server
Following lines in the access log
xx.yy.zz.ss - - [27/Aug/2010:10:58:01 +0530] "GET /repos HTTP/1.1" 302 231
xx.yy.zz.ss - - [27/Aug/2010:10:58:01 +0530] "GET /repos/ HTTP/1.1" 401 401
xx.yy.zz.ss - <user-id> [27/Aug/2010:10:58:06 +0530] "GET /repos/ HTTP/1.1" 403 211
Following lines in error log
[Fri Aug 27 10:58:01 2010] [warn] [client xx.yy.zz.ss] incomplete redirection target of '/repos/' for URI '/repos' modified to 'http://server.in.company.com:8080/repos/'
[Fri Aug 27 10:58:06 2010] [error] [client xx.yy.zz.ss] The URI does not contain the name of a repository. [403, #190001]
Thanks and Regards
Maxmelbin Neson
-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2010b@ryandesign.com]
Sent: Friday, 27. August 2010 10:51 AM
To: Neson Maxmelbin (RBEI/EMT5)
Cc: 'users@subversion.apache.org'
Subject: Re: Unable to view repository list
On Aug 27, 2010, at 00:13, Neson Maxmelbin (RBEI/EMT5) wrote:
> I can access the repositories ok, but unable to view the parent path on web so that I can see the list of repositories.
What happens instead?
Is there anything useful in the Apache logs at that time?
RE: Unable to view repository list
Posted by "Neson Maxmelbin (RBEI/EMT5)" <Ma...@in.bosch.com>.
When I try to access the parent path , I am asked for authentication and then I get this error message -
Forbidden
You don't have permission to access /repos/ on this server
Following lines in the access log
xx.yy.zz.ss - - [27/Aug/2010:10:58:01 +0530] "GET /repos HTTP/1.1" 302 231
xx.yy.zz.ss - - [27/Aug/2010:10:58:01 +0530] "GET /repos/ HTTP/1.1" 401 401
xx.yy.zz.ss - <user-id> [27/Aug/2010:10:58:06 +0530] "GET /repos/ HTTP/1.1" 403 211
Following lines in error log
[Fri Aug 27 10:58:01 2010] [warn] [client xx.yy.zz.ss] incomplete redirection target of '/repos/' for URI '/repos' modified to 'http://server.in.company.com:8080/repos/'
[Fri Aug 27 10:58:06 2010] [error] [client xx.yy.zz.ss] The URI does not contain the name of a repository. [403, #190001]
Thanks and Regards
Maxmelbin Neson
-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2010b@ryandesign.com]
Sent: Friday, 27. August 2010 10:51 AM
To: Neson Maxmelbin (RBEI/EMT5)
Cc: 'users@subversion.apache.org'
Subject: Re: Unable to view repository list
On Aug 27, 2010, at 00:13, Neson Maxmelbin (RBEI/EMT5) wrote:
> I can access the repositories ok, but unable to view the parent path on web so that I can see the list of repositories.
What happens instead?
Is there anything useful in the Apache logs at that time?
Re: Unable to view repository list
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 27, 2010, at 00:13, Neson Maxmelbin (RBEI/EMT5) wrote:
> I can access the repositories ok, but unable to view the parent path on web so that I can see the list of repositories.
What happens instead?
Is there anything useful in the Apache logs at that time?
Re: Unable to view repository list
Posted by Johan Corveleyn <jc...@gmail.com>.
On Fri, Aug 27, 2010 at 7:13 AM, Neson Maxmelbin (RBEI/EMT5)
<Ma...@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