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

Re: mod_dav_svn configuration

From: Matthew Beals <mjbeals_at_mtu.edu>
Date: Tue, 09 Aug 2011 21:49:20 -0400

Another option is to use mod_perl to build the individual blocks for each project using some logic. You could have it grab a list of project dies with ls (if they are in the same parent dir), or use a flat file or SQL database. The drawback is that you have to reload Apache for changes to take effect.

Matt

Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:

Ryan Schmidt wrote on Tue, Aug 09, 2011 at 20:07:39 -0500:
> On Aug 9, 2011, at 11:59, Ryan Blue wrote:
>
> > I'm trying to use mod_dav_svn to host repositories that are arranged in project directories and I can't get the configuration to work. My projects look like this:
> >
> > /srv/svn/project1/repo1
> > /srv/svn/project1/repo2
> > /srv/svn/project2/repo1
> >
> > I'm running into trouble configuring mod_dav_svn; all I can find in the documentation is to use SVNParentPath, but the path given must be the direct parent of SVN repositories. I would have to supply /srv/svn/project1 and /srv/svn/project2 in separate Location directives to apache.
>
> [snip]
>
> You've got it, basically. There isn't a way to configure SVNParentPath
> to do what you want, and Subversion doesn't play nicely with Apache
> redirects, so I recommend you conform your repository layout to

http://subversion.apache.org/docs/release-notes/1.7#http-redirects

(the response codes were added to that section three minutes ago)
Received on 2011-08-10 03:49:41 CEST

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.