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

mod_dav_svn api

From: Marcus Rueckert <darix_at_web.de>
Date: 2005-03-25 06:49:19 CET

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?

darix

[1] ideal would be to set the realm to the same value as svnserve would
do. but i was told this would require a mod_auth_svn too. this would
mean i would need some wraper on top of mod_auth_basic and
mod_auth_digest. maybe later.

-- 
irssi - the client of the smart and beautiful people
              http://www.irssi.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 25 06:50:36 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.