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

Re: Apache and SVN subdirectories

From: Matthew Pounsett <matt_at_conundrum.com>
Date: Tue, 18 Mar 2008 15:42:57 -0400

On 18-Mar-2008, at 15:37 , Floris van der Ploeg wrote:

> Is there a way to have apache/svn support multiple subdirectories
> under one root?
> Let me explain;
>
> I’ve got Apache and SVN running and I want multiple directories that
> will contain multiple repositories. For example, my httpd.conf
> contains this:
> <Location /svn>
> Dav svn
> SVNParentPath D:\Repositories
>
> AuthType Basic
> AuthName " Repositories"
> AuthUserFile D:\Configuration\Security\svn.passwd
> Require valid-user
> </Location>

SVNParentPath needs to refer to a repository, so in order to have
different repositories here you'll need something like this:

<Location /svn/Current/Repo_v02>
    Dav svn
    SVNParentPath D:\Repositories\Current\Repo_v02\
    Authtype...
</Location>

And then do the same for each of your other repositories.

Received on 2008-03-18 20:43:43 CET

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.