You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.3 KiB
Plaintext
64 lines
1.3 KiB
Plaintext
18 years ago
|
======
|
||
|
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 implementated yet.
|
||
|
|
||
|
So far we have
|
||
|
|
||
|
* PROPFIND
|
||
|
* OPTIONS
|
||
|
* MKCOL
|
||
|
* DELETE
|
||
|
|
||
|
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 (excluding PUT as it is not implemented).
|
||
|
|
||
|
Options
|
||
|
=======
|
||
|
|
||
|
webdav.activate
|
||
|
If you load the webdav module the WebDAV functionality has to be
|
||
|
enabled for the directories you want to the 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 take a conditional and wrap around
|
||
|
your webdav options. You have to use the regex like below as you want to match
|
||
|
the directory /dav and everything below it, but not /davos. ::
|
||
|
|
||
|
$HTTP["url"] =~ "^/dav($|/)" {
|
||
|
webdav.activate = "enable"
|
||
|
webdav.is-readonly = "enable"
|
||
|
}
|