http-dav-ext #
Extends the bundled WebDAV module with PROPFIND, OPTIONS, LOCK and UNLOCK methods plus per-zone lock storage — required for real WebDAV clients (Finder, Windows Explorer, davfs2).
Source: upstream source
Directives
dav_ext_lock #
syntax: dav_ext_lock 1 arg; · context: http, server, location
Default lock timeout value is 1 minute. dav_ext_lock ------------ ========== ==== Syntax: `dav_ext_lock zone=NAME` Context: http, server, location ========== ==== Enables WebDAV locking in the specified scope.
dav_ext_lock_zone #
syntax: dav_ext_lock_zone 1 arg; · context: http
This zone must be defined with the `dav_ext_lock_zone` directive.
dav_ext_methods #
syntax: dav_ext_methods 1+ args (bitmask); · context: http, server, location
Note that even though this directive enables locking capabilities in the current scope, HTTP methods LOCK and UNLOCK should also be explicitly specified in the `dav_ext_methods`.
Example
location /webdav/ {
root /var/www;
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS LOCK UNLOCK;
dav_ext_lock zone=davlock;
create_full_put_path on;
}
# Define the lock zone at http {} level:
# dav_ext_lock_zone zone=davlock:10m;