From ArchWiki
Revision as of 04:21, 22 November 2012 by Fengchao (talk | contribs) (What is WebDAV: Remove closed discussion.)
Jump to: navigation, search

WebDAV Autoversioning

Wed Dav was originally intended to be used used with versioning control embedded. But because the RFC 2518 left out the versioning concepts before finishing up on developing it, WebDAV expects that there is only one version of each file and or directory which in effect can be overwritten. To help shove WebDAV into a mode that it was originally designed for, we have autoversioning. With autoversioning on, it will send an automatic commit each time the file is uploaded. As a network share user, you will just see the file as uploaded, but with a Subversion client you can access the versions that are being created in the background, via Autoversioning.

To use autoversioninf with webdav, in the /etc/httpd/conf/httpd.conf add the following

  <Location /repos>
      DAV svn
      SVNPath /var/svn/repository
      SVNAUtoversioning on

Keep in mind, if your application autosaves, or uploades a 0 byte length file prior to uploading the file, then those files will get versioned as well.

cadaver(an http command line WebDAV client), Nautilus (Gnomes file expolorer), Konqueror (KDE's file browser), and davfs support WebDAV features, as well as many other non-linux applications.

Nautilus) 'file' 'open location' then enter the url

Konqueror) use webdav:// instead of http:// to access via WebDAV --Wolfdogg 02:48, 24 January 2012 (EST)