cPanel & WHM no longer develops or updates EasyApache 3. We deprecated EasyApache 3 on December 31, 2018. We removed support for EasyApache 3 in cPanel & WHM version 78.
Apache Module: DAVLock - EasyApache - cPanel Documentation

You can find our user documentation at

Check out our new API beta site!

Page tree
Skip to end of metadata
Go to start of metadata


The mod_dav_lock Apache module provides a generic locking API that modules can use to create locks on resources with the mod_dav Apache module.


Use the mod_dav_lock Apache module if you have another module that does not contain a locking mechanism and utilizes the mod_dav Apache module.


This module requires the mod_dav Apache module.


Do not load this module unless you have a module that requires it. 

Featured documentation

  EasyApache 3


Change Log Release Notes  



Migrate from Tomcat 5.5 to 7

How to Deploy Java Applications


EasyApache 3 does not support new installations of Tomcat.

As of cPanel & WHM version 76, EasyApache 4 now supports Tomcat 8.5. For more information, read our Tomcat documentation.


This module has no known compatibility issues.

How to install or uninstall mod_dav_lock

Module status in default profiles

The EasyApache profiles do not provide the mod_dav_lock Apache module by default. 

Installation steps

To install or uninstall the mod_dav_lock Apache module, perform the following steps:

  1. Run EasyApache in WHM's EasyApache 3 interface (Home >> Software >> EasyApache 3).


    • To access EasyApache from the command line interface, run the /scripts/easyapache script as the root user.
    • For more information on EasyApache, read our EasyApache documentation
  2. Select the profile that you wish to modify.

  3. Click the  icon that corresponds to your selection.

  4. Click Next Step in the Apache Version interface.
  5. Click Next Step in the PHP Version interface.
  6. Click Exhaustive Options List in the Short Options List interface. 
  7. Perform one of the following actions in the Exhaustive Options List interface:
    • To install the mod_dav_lock Apache module, select the DAV option and the DAVLock option.


      If you do not select the DAV option, EasyApache will not build the mod_dav_lock Apache module.

    • To uninstall the mod_dav_lock Apache module, deselect the DAVLock option.
  8. Click Save and Build.

How to enable or disable the module in a custom EasyApache profile file

The following table provides information about how EasyApache refers to the mod_dav_lock Apache module: 

EasyApache module namemod_dav_lock
EasyApache Profile EntryApache:optmods:DAVLock

To enable or disable the mod_dav_lock Apache module in a custom EasyApache profile file, set the Apache:optmods:DAVLock profile entry to one of the following values:

  • 1 – This value enables the module.
  • 0 – This value disables the module.


The following table provides information on changes to the mod_dav_lock Apache module within EasyApache, and content changes to this document:

DateEasyApache versionActionDetails
2/11/20143.24.11Doc updateImplemented case 73225: Remove Apache 1.3 and 2.0
1/31/20133.18.0Doc updateImplemented case 51105: Update for Apache 2.4

Vendor documentation

The following text is an excerpt from Apache's website:

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, it uses its own more specialized version.

For more information on the mod_dav_lock Apache module, view the following documentation: