> From: Raghu GS <raghugs_at_gmail.com>
>To: users_at_subversion.apache.org
>Sent: Tuesday, January 15, 2013 8:46 AM
>Subject: Authentication failure when SVNParentPath used
>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
>
>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.
If you want to use the SVNParentPath directive to specify multiple repositories then you also need to set the Location directive to something different than you are thinking.
<Location ..> directive should only point to the URL path of the base of the repository (single repository) or parent folder (SVNParentPath directive).
Thus, you really want:
<Location /parentfolder >
...
SVNParentPath /svn/svn/parentfolder
...
</Location>
All else being the same.
HTH,
Ben
Received on 2013-01-19 23:06:38 CET