webdav.txt 1.3 KB

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