added webdav docs

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@586 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Jan Kneschke 2005-08-19 14:12:30 +00:00
parent e2a32465f3
commit d57bcf4068
3 changed files with 68 additions and 2 deletions

View File

@ -31,7 +31,8 @@ setenv.txt \
status.txt \
scgi.txt \
cml.txt \
trigger_b4_dl.txt
trigger_b4_dl.txt \
webdav.txt
HTMLDOCS=accesslog.html \
authentication.html \
@ -63,7 +64,8 @@ HTMLDOCS=accesslog.html \
status.html \
scgi.html \
cml.html \
trigger_b4_dl.html
trigger_b4_dl.html \
webdav.html
EXTRA_DIST=lighttpd.conf lighttpd.user \
rc.lighttpd rc.lighttpd.redhat sysconfig.lighttpd \

View File

@ -420,6 +420,7 @@ the necessary environment variables to the FastCGI process. ::
)
)
)
Configuring PHP
---------------

63
doc/webdav.txt Normal file
View File

@ -0,0 +1,63 @@
======
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"
}