Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL

Appendix C. WebDAV and Autoversioning - Pg. 259

Appendix C APPENDIX C WebDAV and Autoversioning WebDAV is an extension to HTTP, and is growing more and more popular as a stan- dard for file-sharing. Today's operating systems are becoming extremely Web-aware, and many have now built-in support for mounting shares exported by WebDAV servers. If you use Apache/mod_dav_svn as your Subversion network server, then to some extent, you are also running a WebDAV server. This appendix gives some back- ground on the nature of this protocol, how Subversion uses it, and how well Subver- sion interoperates with other software that is WebDAV-aware. Basic WebDAV Concepts This section provides a very brief, very general overview of the ideas behind Web- DAV. It should lay the foundation for understanding WebDAV compatibility issues between clients and servers. Just Plain WebDAV RFC 2518 defines a set of concepts and accompanying extension methods to HTTP 1.1 that make the Web into a more universal read/write medium. The basic idea is that a WebDAV-compliant web server can act like a generic file server; clients can mount WebDAV shares that behave much like NFS or SMB shares. However, it's important to note that RFC 2518 does not provide any sort of model for version control, despite the V in DAV. Basic WebDAV clients and servers assume only one version of each file or directory exists, and can be repeatedly overwritten. * * For this reason, some people jokingly refer to generic WebDAV clients as WebDA clients! 259 This is the Title of the Book, eMatter Edition Copyright © 2007 O'Reilly & Associates, Inc. All rights reserved.