[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 as root

From: Dag-Erling Smørgrav <des_at_des.no>
Date: 2006-02-17 11:08:40 CET

des@des.no (Dag-Erling Smørgrav) writes:
> back to the drawing board (or the mod_dav_svn source code, to figure
> out why it doesn't work)

The following comment in subversion/mod_dav_svn/repos.c seems relevant:

  /* The URL space defined by the SVN provider is always a virtual
     space. Construct the path relative to the configured Location
     (root_path). So... the relative location is simply the URL used,
     skipping the root_path.

     Note: mod_dav has canonialized root_path. It will not have a trailing
     slash (unless it is "/").

     Note: given a URI of /something and a root of /some, then it is
           impossible to be here (and end up with "thing"). This is simply
           because we control /some and are dispatched to here for its
           URIs. We do not control /something, so we don't get here. Or,
           if we *do* control /something, then it is for THAT root.

The simplest fix is probably to make root_path configurable. I'm
working on a patch.


Dag-Erling Smørgrav - des@des.no
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 17 11:14:06 2006

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.