summaryrefslogtreecommitdiff
path: root/doc/outdated/webdav.txt
blob: 7b5259e36e558d0191dfbc0276de115e191d4216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
======
WebDAV
======

--------------------
Module: mod_webdav
--------------------

:Author: Jan Kneschke
:Date: $Date: 2004/11/03 22:26:05 $
:Revision: $Revision: 1.2 $

:abstract:
  WebDAV module for lighttpd

.. meta::
  :keywords: lighttpd, webdav

.. contents:: Table of Contents

Description
===========

The WebDAV module is a very minimalistic implementation of RFC 2518.
Minimalistic means that not all operations are implemented yet.

So far we have

 * PROPFIND
 * OPTIONS
 * MKCOL
 * DELETE
 * PUT

and the usual GET, POST, HEAD from HTTP/1.1.

So far, mounting a WebDAV resource into Windows XP works and the basic litmus
tests are passed.

Options
=======

webdav.activate
  If you load the webdav module, the WebDAV functionality has to be
  enabled for the directories you want to provide to the user.

  Default: disable

webdav.is-readonly
  Only allow reading methods (GET, PROPFIND, OPTIONS) on WebDAV resources.

  Default: writable

Examples
========

To enable WebDAV for the /dav directory, you wrap your webdav options in
a conditional. You have to use the regex like below as you want to match
the directory /dav and everything below it, but not e.g. /davos. ::

  $HTTP["url"] =~ "^/dav($|/)" {
    webdav.activate = "enable"
    webdav.is-readonly = "enable"
  }