[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 enhancement idea

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-08 14:41:46 CEST

On May 8, 2005, at 7:28 AM, Michael Sinz wrote:
>>
>> Try setting the SVNReposName parameter in the <Location> in
>> httpd.conf.
>> How else do you expect mod_dav_svn could know what the repository
>> name is?
>>
>
> That only works when you have only one repository. When you use
> SVNParentPath
> the repository name is "implied" by the next element in the URL which
> is not exposed
> in the XML or the HTML returned by mod_dav_svn.
>

Michael -- I'm not sure I understand the problem you're trying to solve.

You know that mod_dav_svn provides a public API which examines any
incoming URL and gives you back (1) the repository's name, (2) the
path within the repository that the URL refers to... right?

Modules like mod_authz_svn (and marcus's new mod_authn_svn module)
depend on this API, since only mod_dav_svn knows how to interpret the
funky-looking opaque urls it generates and forces the svn client to
use. It alsos work on normal public urls as well. Maybe
Insurrection could use it too? Look at dav_svn_split_uri() in
mod_dav_svn.h.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 8 14:42:32 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.