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

RE: Authentication failure when SVNParentPath used

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Tue, 15 Jan 2013 14:06:53 +0000

> -----Original Message-----
> From: Raghu GS [mailto:raghugs_at_gmail.com]
> Sent: 15 January 2013 13:46
> To: users_at_subversion.apache.org
> Subject: Authentication failure when SVNParentPath used
>
> Hello Everybody
>
> I regret for bugging you once again.
> Apache authentication for the particular repository is
> failing when i use
> SVNParentPath, but working well when i use repo:/ instead of
> folder1:/repo1
> in svnauthz file even without changing the apache configuration.
>
> I'll show my configuration below
>
> SVNAuthz file.
>
> [folder1:/repo1]
> john = rw
> joe = rw

According to http://svnbook.red-bean.com/en/1.7/svn.serverconfig.pathbasedauthz.html (and my own files), the repository folder comes before the in-repo folder.

So, in your example above: "folder1" would be the on-disk folder under ParentPath for the repo data files, whilst "repo1" would be a top-level folder name within the repository structure.

I'm not sure from your names if that is what your example is showing?

~ Mark C

> Apache configuration
>
> <Location /parentfolder/folder1>
> Order allow,deny
> Allow from all
> DAV svn
> SVNParentPath /srv/svn/parentfolder/folder1
> AuthType Basic
> AuthName "svn repository"
> AuthUserFile /srv/svn/config/userauthentication.conf
> Require valid-user
> AuthzSVNAccessFile /srv/svn/config/svnauthz.conf
> </Location>
>
> Please assist me in resolving the issue.
>
>
Received on 2013-01-15 15:07:31 CET

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.