🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# Apache模块 mod_dav_fs | [说明](#calibre_link-11) | 为`mod_dav`访问服务器上的文件系统提供支持 | | --- | --- | | [状态](#calibre_link-12) | 扩展(E) | | [模块名](#calibre_link-13) | dav_fs_module | | [源文件](#calibre_link-14) | mod_dav_fs.c | ### 概述 This module _requires_ the service of `mod_dav`. It acts as a support module for `mod_dav` and provides access to resources located in the server's file system. The formal name of this provider is `filesystem`. `mod_dav` backend providers will be invoked by using the `Dav` directive: ### 示例 ``` Dav filesystem ``` Since `filesystem` is the default provider for `mod_dav`, you may simply use the value `On` instead. ## DavLockDB 指令 | [说明](#calibre_link-18) | Location of the DAV lock database | | --- | --- | | [语法](#calibre_link-19) | `DavLockDB file-path` | | [作用域](#calibre_link-20) | server config, virtual host | | [状态](#calibre_link-21) | 扩展(E) | | [模块](#calibre_link-22) | mod_dav_fs | Use the `DavLockDB` 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_fs` uses a SDBM database to track user locks. ### 示例 ``` DavLockDB var/DavLock ``` The directory containing the lock database file must be writable by the `User`和`Group` 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.