[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 api

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-25 14:52:26 CET

On Mar 24, 2005, at 11:49 PM, Marcus Rueckert wrote:

> hi,
> i just started mod_authn_svn as a C learning project.
> reading through the svn and apache api atm.
> atm mod_dav_svn.h only exports dav_uri_split()
> if i understand the
> http://httpd.apache.org/docs-2.1/developer/request.html
> correctlly then apache already knows the current url points
> to a svn location. now i thought it would be smart to just ask
> apache about the path real path of the current repositories.
> using with path apply the same logic as svnserve:
> 1. read svnserve.conf
> 2. get the path of the passwd file. [1]
> 3. try to read it and authenticate with it.
> this way i could share the password file nicely.
> but how can i cleanly access the config options from other modules?
> would it be usefull to republish some of the external mod_dav_svn api?

I don't understand these last two questions, can you elaborate? I
don't see why your module needs anything more than dav_svn_split_uri().
  That's all mod_authz_svn needs.

Also, have you looked at mod_authz_svn? It's incredibly simple, and
your own module could use it as a template. Your own module would be
even smaller and simpler.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 25 14:53:40 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.