<-
Apache > HTTP Server > Documentation > Modules

Apache Module mod_dav_lock 4l1u3k

Available Languages:  ja 

Description: Generic locking module for mod_dav
Status: Extension
Module Identifier: dav_lock_module
Source File: mod_dav_lock.c
Compatibility: Available in version 2.1 and later

Summary 6m2os

This module implements a generic locking API which can be used by any backend provider of mod_dav_lock is mod_dav_svn, the subversion provider module.

Note that mod_dav_fs does not need this generic locking module, because it uses its own more specialized version.

In order to make DavGenericLockDB directive described below.

Developer's Note 26y70

In order to retrieve the pointer to the locking provider function, you have to use the ap_lookup_provider API with the arguments dav-lock, generic, and 0.

 Apache!

Directives 1a4l6m

Bugfix checklist 4i2533

See also 27136x

top

DavGenericLockDB Directive r6s5d

Description: Location of the DAV lock database
Syntax: DavGenericLockDB file-path
Context: server config, virtual host, directory
Status: Extension
Module: mod_dav_lock

Use the DavGenericLockDB directive to specify the full path to the lock database, excluding an extension. If the path is not absolute, it will be interpreted relative to mod_dav_lock uses a SDBM database to track locks.

Example 5z1g6h

DavGenericLockDB var/DavLock

The directory containing the lock database file must be writable by the ServerRoot with the base filename DavLock and an extension added by the server.

Available Languages:  ja 

top

Comments 2p1l6j

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our s if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our mailing lists.