<p>In addition, a location for the DAV lock database must be
specified in the global section of your <code>httpd.conf</code>
- file:</p>
+ file using the <code class="directive"><a href="../mod/mod_dav_fs.html#davlockdb">DavLockDB</a></code>
+ directive:</p>
<div class="example"><p><code>
DavLockDB /usr/local/apache2/var/DavLock
<p>The directory containing the lock database file must be
writable by the <code class="directive"><a href="../mod/mpm_common.html#user">User</a></code>
and <code class="directive"><a href="../mod/mpm_common.html#group">Group</a></code> 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 <code>/usr/local/apache2/var/</code> directory
- with the base filename <code>DavLock</code> and extension name
- chosen by the server.</p>
+ Apache is running.</p>
<p>You may wish to add a <code class="directive"><a href="../mod/core.html#limit"><Limit></a></code> clause inside the <code class="directive"><a href="../mod/core.html#location"><Location></a></code> directive to limit access to
DAV-enabled locations. If you want to set the maximum amount of
requests.</p>
<div class="example"><h3>Full Example</h3><p><code>
- DavLockDB /tmp/DavLock<br />
+ DavLockDB /usr/local/apache2/var/DavLock<br />
<br />
<Location /foo><br />
<span class="indent">
<p>In addition, a location for the DAV lock database must be
specified in the global section of your <code>httpd.conf</code>
- file:</p>
+ file using the <directive module="mod_dav_fs">DavLockDB</directive>
+ directive:</p>
<example>
DavLockDB /usr/local/apache2/var/DavLock
<p>The directory containing the lock database file must be
writable by the <directive module="mpm_common">User</directive>
and <directive module="mpm_common" >Group</directive> 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 <code>/usr/local/apache2/var/</code> directory
- with the base filename <code>DavLock</code> and extension name
- chosen by the server.</p>
+ Apache is running.</p>
<p>You may wish to add a <directive module="core" type="section"
>Limit</directive> clause inside the <directive module="core"
requests.</p>
<example><title>Full Example</title>
- DavLockDB /tmp/DavLock<br />
+ DavLockDB /usr/local/apache2/var/DavLock<br />
<br />
<Location /foo><br />
<indent>
<div class="example"><h3>Example</h3><p><code>
- DavLockDB logs/DavLock
+ DavLockDB var/DavLock
</code></p></div>
+ <p>The directory containing the lock database file must be
+ writable by the <code class="directive"><a href="../mod/mpm_common.html#user">User</a></code>
+ and <code class="directive"><a href="../mod/mpm_common.html#group">Group</a></code> 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 <code>var/</code> directory under the <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> with the base filename
+ <code>DavLock</code> and extension name chosen by the server.</p>
+
+
</div>
</div>
<div id="footer">
the server to display all locks in a lock database.</p> -->
<example><title>Example</title>
- DavLockDB logs/DavLock
+ DavLockDB var/DavLock
</example>
+
+ <p>The directory containing the lock database file must be
+ writable by the <directive module="mpm_common">User</directive>
+ and <directive module="mpm_common" >Group</directive> 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 <code>var/</code> directory under the <directive
+ module="core">ServerRoot</directive> with the base filename
+ <code>DavLock</code> and extension name chosen by the server.</p>
+
</usage>
</directivesynopsis>