[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: apache authentication

From: Sander Striker <striker_at_apache.org>
Date: 2003-05-27 20:24:51 CEST

> From: Robert Spier [mailto:rspier@pobox.com]
> Sent: Tuesday, May 27, 2003 7:55 PM

...
> does not work, because SVN performs write operations using URL's
> like this:
>
> /svn/!svn/act/90790d4d-32be-0310-9aa5-d593d764d6b9
>
> which obviously doesn't match the /svn/project/trunk location.

Take a look at subversion/mod_dav_svn/dav_svn.h*. It lists a the
exported functions in mod_dav_svn. The dav_svn_split_uri function
is of particular interest (read the docstring). I've been meaning
to dedicate some time to mod_authz_svn, but I just can't seem to be
able to allocate some to this. Taking one of the httpd authz
modules as the basis, you should be able to implement this in very
little time though.

And FWIW, the url you pasted above needs to be accessible to all
users, read or write. This is due to how svn up works.

HTH,

Sander

*) We should really move the dav_svn.h to include/mod_dav_svn.h, since
   this is clearly a public header file which (authz) module authors
   can use.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 27 20:25:48 2003

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.