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

Re: 2 separate repositories with separate access control

From: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2005-09-07 22:17:24 CEST

On 9/7/05, James Williamson <jwilliamson@asitinc.com> wrote:> > Hello, > > I am trying to setup 2 separate repositories on the same server – each with> different access control. I currently have one repository and I would like> to add a second. I am running Apache on a Windows Server platform and my> htpd.conf file contains the following 'Location' block: > > <Location /svn> > DAV svn > SVNParentPath C:/SVN > AuthType Basic > AuthName "Subversion repositories" > AuthUserFile passwd > #AuthzSVNAccessFile svnaccessfile > Require valid-user > </Location> > > Is it possible to configure a second repository and use a separate Apache> password file to control access to the second repository? > > Thanks > > James Williamson >
Sure. Just add another 'Location' for your other repository.
 <Location /svn2> DAV svn SVNParentPath C:/SVN2 AuthType Basic AuthName "Subversion repositories" AuthUserFile someotherpasswd #AuthzSVNAccessFile svnaccessfile Require valid-user </Location>
/Johan
Received on Wed Sep 7 22:19:10 2005

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.