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

Re: Problems creating root directories using DAV and AuthzSVNAccessFile

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 12 Sep 2008 16:30:04 +0200

On Fri, Sep 12, 2008 at 13:58, Konstantin Kolinko
<knst.kolinko_at_gmail.com> wrote:
> 2008/9/12 Andy <andrew.hardyfamily_at_gmail.com>:
>> Stefan,
>>
>> On 9 Sep, 16:41, Stefan Küng <tortoise..._at_gmail.com> wrote:
>>> Andy wrote:
>>> > Hi,
>>>
>>> > I have svn installed on a Windows server using a 'parentpath' model
>>> > i.e. a single repository with projects as the first level. I have
>>> > configured Apache2 to use the svn DAV and to perform authorization as
>>> > follows:
>>>
>>> > From httpd.conf:
>>>
>>> > <Location /svn>
>>> > DAV svn
>>> > SVNPath C:/svnrepositories

If you only have one repository, I suggest renaming that path to
C:/svnrepository to avoid confusion.

>>> >
>>> > AuthType Digest
>>> > AuthName "Development"
>>> > AuthDigestDomain /svn/

Why is the AuthDigestDomain /svn/ but the location is just /svn ?

>>> > AuthDigestFile C:/Python24/Scripts/trac/users.htdigest
>>> > Satisfy Any
>>> > Require valid-user
>>> >
>>> > AuthzSVNAccessFile c:/svnrepositories/conf/svn.acl
>>> > </Location>
>>>
>>> Use SVNParentPath here.
>>
>> I probably didn't explain this very well. We have a *single*
>> repository, our structure within that repository supports the project
>> structures.

Well, you're statement "I have svn installed on a Windows server using
a 'parentpath' model" through me off :)

>> Anyway, I tried the SVNParentPath setting but then couldn't get
>> authorization for any part of the repository.

Of course, if you only have one repository then you have to use
SVNPath, not SVNParentPath.

> I have not tried, but may be
> AuthDigestDomain /svn
> (without the trailing '/') ?
>
> Also, I would look into the httpd logs.

You should ask server related questions on the Subversion mailing list
(users at subversion tigris org).

Stefan

-- 
 ___
 oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
 \ \_/_\_/> The coolest Interface to (Sub)Version Control
 /_/ \_\ http://tortoisesvn.net
Received on 2008-09-12 16:30:10 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.