Project

General

Profile

Mod webdav » History » Revision 7

Revision 6 (Anonymous, 2006-09-27 23:02) → Revision 7/36 (Anonymous, 2006-10-03 21:02)

{{{ 
 #!rst  


 ====== 
 WebDAV 
 ====== 

 -------------------- 
 Module: mod_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 
  * LOCK (experimental) 

 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 

 webdav.sqlite-db-name 
   The full path to the file you would like to use as your db file.    This is required for webdav props and locks. 

   Default: <empty> 

 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" 
     webdav.sqlite-db-name = "/var/run/lighttpd/lighttpd.webdav_lock.db" 
   } 

 If you would like LOCK support :: 

   $HTTP["url"] =~ "^/dav($|/)" { 
     webdav.activate = "enable" 
     webdav.is-readonly = "disable" 
     webdav.sqlite-db-name = "/var/run/lighttpd/lighttpd.webdav_lock.db" 
   } 

 }}}