mod_dav_fs Filesystem provider for mod_dav Extension mod_dav_fs.c dav_fs_module

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:

Example Dav filesystem

Since filesystem is the default provider for mod_dav, you may simply use the value On instead.

mod_dav DavLockDB Location of the DAV lock database DavLockDB file-path DavLockDB DEFAULT_REL_STATEDIR/davlockdb server configvirtual host No default prior to version 2.5.1.

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 database to track user locks. The type of database file can be changed using DavLockDBType.

Example DavLockDB var/DavLock

The directory containing the lock database file must be writable by the User and 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.

Default setting

In httpd version 2.5.1 and later, a hard-coded default path relative to the state directory (configurable via DefaultStateDir) is used.

DavLockDBType Database type of the DAV lock database DavLockDBType dbm-type DavLockDBType default server configvirtual host Available in version 2.5.1 and later.

Use the DavLockDBType directive to specify the type of the database file. If the directive is not used, the apr_dbm hard-coded default database type is used, which is equivalent to using DavLockDBType default.

DavLockDiscovery Enable lock discovery DavLockDiscovery on|off DavLockDiscovery on server config virtual host directory .htaccess Available from Apache 2.5.0 and later.

DavLockDiscovery controls if the lock discovery feature is enabled for PROPFIND method. When disabled, PROPFIND always returns an empty lockdiscovery section. This improves performance if clients use PROPFIND a lot.

Example DavLockDiscovery off
DavQuota Set usage quota DavQuota Off | None | #bytes DavQuota Off server config virtual host directory .htaccess

DavQuota sets a quota in bytes for a given directory as specified by RFC 4331. There are two special values:

  • Off Quotas are disabled.
  • None No quota is enforced, but used and available disk space is reported to clients that request it.