Just a follow up, c:/svn would have to be a parent path for that to work and
for there to be repository directories under c:/svn ..:
<Location /svn>
DAV svn
SVNParentPath C:/svn
On 9/7/05, John Duprey <john.duprey@gmail.com> wrote:
>
> Alternatively, you can have mutliple repositories under c:/svn by enabling
> per-directory access control in the subversion apache module config:
> # Only Needed if you decide to do "per-directory" access control.
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> AND defining the AuthzSVNAccessFile appropriately.
>
> This way your base URL is the same /svn.
>
> e.g. AuthzSVNAccessFile svnperms.conf:
>
> # Read perms to all
> [groups]
> admin = jduprey, ...
> coredev = jduprey, ...
> intern = jeff, ...
>
> # Everyone can read our repositories, admins and coredev can read and
> write
> [/]
> * = r
> @admin = rw
> @coredev = rw
> @intern = rw
>
> ## svnscripts
> [users:/svnscripts]
> @admin = rw
>
> ## documentation
> [documentation]
> @admin = rw
> @coredev = rw
> @intern = r
>
>
> AuthzSVNAccessFile
>
> On 9/7/05, William Nagel < bill@stagelogic.com> wrote:
> >
> > On Sep 7, 2005, at 3:10 PM, James Williamson 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?
> >
> > Maybe I'm missing something here, but I think you should just be able
> > to add a second Location block for the second repository.
> >
> > -Bill
> >
> > >
> > >
> > > Thanks
> > >
> > >
> > >
> > > James Williamson
> > >
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>
Received on Thu Sep 8 14:25:07 2005