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

Re: How do SVNPath and SVNParentPath for mod_authz_svn determine the repository name?

From: Ximon Eighteen <ximon.eighteen_at_int.greenpeace.org>
Date: 2005-09-16 00:59:01 CEST

Ximon Eighteen wrote:
> Hi all,
> Strange observation:

Neglected to say that I'm running SVN 1.2.1 and Apache 2.0.54.

I've been looking at the code in moz_authz_svn.c:req_check_access(). I can see
that dav_svn_split_uri() is asked to divide the URL into parts, one of which
is repos_name. Therefore in my case the result is not what I desire.

Is the result correct, just not what I expect?
If incorrect is it wrong because dav_svn_split_uri() does something wrong or
because in the LocationMatch case the uri req_check_access() receives from
Apache is different/wrong?

I can't touch the code and rebuild it unfortunately, at least not right now.

I've also looked at mod_dav_svn.c:dav_svn_split_uri() and it gets the
repos_name after stripping off the given root_path from the start of the uri.
Therefore I suppose the root_path could be wrong.

I tracked the root_path setting to
mod_authz_svn.c:create_authz_svn_dir_config() which just uses what it is given
by Apache. Perhaps in the case of LocationMatch it is given something different.

I'm attempting to make my own module for Apache 2 to do some tests with, maybe
I'll get there or maybe I'll fall asleep first ;-)


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 16 01:02:12 2005

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.