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

Re: Per Directory/Repo Access Help

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2007-11-08 15:05:53 CET

On Nov 8, 2007 5:51 AM, Paul <trooper_osg.g@ukonline.co.uk> wrote:

> Dear All,
>
> I've turned here, because 99% of NewsGroups/WebSites or Forums, all expect
> you to have a PHD in knowledge about these things, and expect you not to
> be
> a new person....
>
> I've got a Repo set up on a Windows box, that does work, I have one repo
> that I can access on a local network and a friend can access from the
> other
> side of the world, now I would like to be able to add two more repo's with
> projects on that only I want to have access, and idealy not even visible
> to
> him when he views the repo via http. We are both using TortoiseSVN for
> access from our PC's to the server, and the server is running Apache with
> SVN version 1.4.3 (r23084).
>
> At first (and this is how new I am to it) I was trying to configure the
> access control files, and thinking [Calc:] in all the examples was a
> command, then relaised that the example was a repo called [Calc:]...
>
> So anyways, My Location section of httpd.conf and file I'm using to try to
> control access are as follows.....
>
> <Location /svn>
> DAV svn
> AuthzSVNAccessFile "C:\svn_conf\accessfile"
> SVNPath "D:\Repositories"
> AuthType Basic
> AuthName "My Subversion Repository"
> AuthUserFile "C:\svn_conf\passwd"
> Require valid-user
> </Location>
>
> [Repo1:\]
> user1 = rw
> user2 =
> [Repo2:\]
> user1 = rw
> user2 =
> [Repo3:\]
> user1 = rw
> user2 = rw

You should use "/" (forward slash) and not backslash within the ACL file.

>
> I've tried all kinds of posibilities, I've had a 403 {Denied} a few times,
> but I don't know what I did to generate that error, even time I get an
> error, I just hash out the line accessing my accessfile so it works
> again....
>
> Can anybody please put me in the right direction and/or explain how to set
> this up and what it is doing....
>
> Regards
> Paul.
>
Received on Thu Nov 8 15:09:11 2007

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.