httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vancaho <vanc...@gmail.com>
Subject Re: How to run the BIND and UPDATE functions in mod_dav.so module of Apache HTTPD server?
Date Tue, 14 Jan 2014 08:10:45 GMT
How to write these DAV providers? Are there any existing DAV providers or
examples?
Thanks very much!

2014/1/14 Ben Reser <ben@reser.org>

> On 1/13/14, 12:29 AM, vancaho wrote:
> > Hi everyone,
> >     I'm learning WebDAV protocol with apache httpd server and subversion.
> >     Atfer reading the source code of Mod_Dav.so(which is responsible for
> > interpreting the WebDAV protocol), I find that there are methods
> > dav_method_bind(
> http://www.webdav.org/bind/draft-ietf-webdav-bind-27.html#rfc.section.4.1)
> > and dav_method_update(
> http://www.webdav.org/specs/rfc3253.html#METHOD_UPDATE)
> > which are used to process the "BIND" and "UPDATE" methods.
> >
> >     However I find that the subversion and tortoiseSVN do not support
> "BIND" or
> > "UPDATE" methods. Can anybody tell me how to use the BIND and UPDATE
> medhods in
> > the mod_dav.so module of Apache HTTPD server? Thanks very much!
>
> You'll have to write your own DAV provider that implements these methods.
>
> BIND requires that you setup the binding entry on the dav_provider
> structure
> which is a dav_hooks_binding.
>
> UPDATE requires that you setup the update function on the vsn entry (which
> is a
> dav_hooks_vsn) on the dav_provider structure.
>
> As you've noticed Subversion doesn't implement these since we don't need
> them.
>  To the best of my knowledge no open source DAV provider actually utilizes
> these features.
>

Mime
View raw message