欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

<-
Apache > HTTP Server > 文檔 > 版本2.2 > 模塊
   致謝 | 譯者聲明 | 本篇譯者:<虛位以待> | 本篇譯稿完成時(shí)間:?年?月?日 | 獲取最新版本

Apache模塊 mod_dav_lock

說(shuō)明mod_dav鎖定服務(wù)器上的文件提供支持
狀態(tài)擴(kuò)展(E)
模塊名dav_lock_module
源文件mod_dav_lock.c
兼容性僅在 Apache 2.1 及以后的版本中可用

概述

This module implements a generic locking API which can be used by any backend provider of mod_dav. It requires at least the service of mod_dav. But without a backend provider which makes use of it, it's useless and should not be loaded into the server. A sample backend module which actually utilizes 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 it's own more specialized version.

In order to make mod_dav_lock functional, you just have to specify the location of the lock database using the DavGenericLockDB directive described below.

Developer's Note

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, generic0.

top

DavGenericLockDB 指令

說(shuō)明Location of the DAV lock database
語(yǔ)法DavGenericLockDB file-path
作用域server config, virtual host, directory
狀態(tài)擴(kuò)展(E)
模塊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 taken relative to ServerRoot. The implementation of mod_dav_lock uses a SDBM database to track user locks.

示例

DavGenericLockDB var/DavLock

The directory containing the lock database file must be writable by the UserGroup under which Apache is running. For security reasons, you should create a directory for this purpose rather than changing the permissions on an existing directory. In the above example, Apache will create files in the var/ directory under the ServerRoot with the base filename DavLock and extension name chosen by the server.