1====== 2WebDAV 3====== 4 5-------------------- 6Module: mod_webdav 7-------------------- 8 9:Author: Jan Kneschke 10:Date: $Date: 2004/11/03 22:26:05 $ 11:Revision: $Revision: 1.2 $ 12 13:abstract: 14 WebDAV module for lighttpd 15 16.. meta:: 17 :keywords: lighttpd, webdav 18 19.. contents:: Table of Contents 20 21Description 22=========== 23 24The WebDAV module is a very minimalistic implementation of RFC 2518. 25Minimalistic means that not all operations are implemented yet. 26 27So far we have 28 29 * PROPFIND 30 * OPTIONS 31 * MKCOL 32 * DELETE 33 * PUT 34 35and the usual GET, POST, HEAD from HTTP/1.1. 36 37So far, mounting a WebDAV resource into Windows XP works and the basic litmus 38tests are passed. 39 40Options 41======= 42 43webdav.activate 44 If you load the webdav module, the WebDAV functionality has to be 45 enabled for the directories you want to provide to the user. 46 47 Default: disable 48 49webdav.is-readonly 50 Only allow reading methods (GET, PROPFIND, OPTIONS) on WebDAV resources. 51 52 Default: writable 53 54Examples 55======== 56 57To enable WebDAV for the /dav directory, you wrap your webdav options in 58a conditional. You have to use the regex like below as you want to match 59the directory /dav and everything below it, but not e.g. /davos. :: 60 61 $HTTP["url"] =~ "^/dav($|/)" { 62 webdav.activate = "enable" 63 webdav.is-readonly = "enable" 64 } 65