0N/A<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
0N/A<
TITLE>Apache module mod_dav</
TITLE>
2362N/A<!-- Background white, links blue (unvisited), navy (visited), red (active) --> 0N/A<
H1 ALIGN="CENTER">Module mod_dav</
H1>
0N/A<
p>This module provides Distributed Authoring and Versioning
0N/A><
STRONG>Status:</
STRONG></
A> Extension
0N/A><
STRONG>Module Identifier:</
STRONG></
A> dav_module
0N/A<
p>This module provides class 1 and class 2
0N/ADistributed Authoring and Versioning') functionality for Apache.
0N/AThis extension to the HTTP protocol allows creating, moving,
0N/Acopying, and deleting resources and collections on a remote web
2610N/ATo enable mod_dav, add the following to a container in your <
CODE>
httpd.conf</
CODE> file:</
P>
0N/A<
p>Also, specify a valid filename for the DAV lock database by adding
0N/Athe following to the global section in your <
CODE>
httpd.conf</
CODE>
0N/A<
CODE>DavLockDB /
tmp/
DavLock </
CODE><
EM>(Any web-server writable filename, without an extension)</
EM>
0N/A<
LI><
A HREF="#DAV">Dav</
A>
0N/A<
LI><
A HREF="#DAVLockDB">DavLockDB</
A>
0N/A<
LI><
A HREF="#DAVMinTimeout">DavMinTimeout</
A>
0N/A<
LI><
A HREF="#DAVDepthInfinity">DavDepthInfinity</
A>
0N/A<
H2><
A NAME="DAV">Dav</
A></
H2>
1422N/A><
STRONG>Syntax:</
STRONG></
A> Dav on|off<
BR>
1422N/A><
STRONG>Default:</
STRONG></
A>
0N/A <
CODE>Dav off</
CODE><
BR>
0N/A><
STRONG>Context:</
STRONG></
A> directory<
BR>
0N/A><
STRONG>Status:</
STRONG></
A> extension<
BR>
0N/A><
STRONG>Module:</
STRONG></
A> mod_dav<
BR>
0N/A><
STRONG>Compatibility:</
STRONG></
A> Apache 1.3.4 and above
0N/A<
p>Use the <
CODE>Dav</
CODE> directive to enable the WebDAV HTTP methods
0N/Afor the given container.
0N/AYou may wish to add a
0N/Adirective to limit access to DAV-enabled locations.</
P>
0N/A<
TABLE WIDTH="70%" BORDER=0 BGCOLOR="#E0E0F0" CELLSPACING=0 CELLPADDING=10>
0N/A<
STRONG>Example</
STRONG>:<
BR><
BR>
0N/A<Location /foo><
BR>
1422N/A <LimitExcept GET HEAD OPTIONS><
BR>
0N/A require user admin<
BR>
1422N/A </LimitExcept><
BR>
0N/A</Location><
BR>
1422N/A<
H2><
A NAME="DavLockDB">DavLockDB</
A></
H2>
0N/A><
STRONG>Syntax:</
STRONG></
A> DavLockDB <
em>filename</
em><
BR>
0N/A><
STRONG>Default:</
STRONG></
A>
1422N/A><
STRONG>Context:</
STRONG></
A> server config, virtual host<
BR>
1387N/A><
STRONG>Status:</
STRONG></
A> extension<
BR>
0N/A><
STRONG>Module:</
STRONG></
A> mod_dav
0N/A<
p>Use the <
CODE>DavLockDB</
CODE> directive to specify the full path to the
0N/Alock database, excluding an extension. The default (file system)
0N/Aimplementation of mod_dav uses a SDBM database to track user locks.
0N/Aused from the server to display all locks in a lock database.</
P>
0N/A<
TABLE WIDTH="70%" BORDER=0 BGCOLOR="#E0E0F0" CELLSPACING=0 CELLPADDING=10>
0N/A<
STRONG>Example</
STRONG>:<
BR><
BR>
0N/A<
H2><
A NAME="DavMinTimeout">DavMinTimeout</
A></
H2>
0N/A><
STRONG>Syntax:</
STRONG></
A> DavMinTimeout <
em>seconds</
em><
BR>
0N/A><
STRONG>Default:</
STRONG></
A>
0N/A <
CODE>DavMinTimeout 0</
CODE><
BR>
0N/A><
STRONG>Context:</
STRONG></
A> directory<
BR>
0N/A><
STRONG>Status:</
STRONG></
A> extension<
BR>
0N/A><
STRONG>Module:</
STRONG></
A> mod_dav
0N/A<
p>When a client requests a DAV resource lock, it can also specify a time
0N/Awhen the lock will be automatically removed by the server. This value
0N/Ais only a request, and the server can ignore it or inform the client
0N/Aof an arbitrary value.</
P>
0N/A<
p>Use the <
CODE>DavMinTimeout</
CODE> directive to specify, in seconds,
0N/Athe minimum lock timeout to return to a client. Microsoft Web Folders
0N/Adefaults to a timeout of 120 seconds; the <
CODE>DavMinTimeout</
CODE>
0N/Acan override this to a higher value (like 600 seconds) to reduce the chance
0N/Aof the client losing the lock due to network latency.</
P>
0N/A<
TABLE WIDTH="70%" BORDER=0 BGCOLOR="#E0E0F0" CELLSPACING=0 CELLPADDING=10>
0N/A<
STRONG>Example</
STRONG>:<
BR><
BR>
0N/A<
CODE><Location /MSWord><
BR>
0N/ADavMinTimeout 600<
BR>
0N/A</Location><
BR>
0N/A<
H2><
A NAME="DavDepthInfinity">DavDepthInfinity</
A></
H2>
0N/A><
STRONG>Syntax:</
STRONG></
A> DavDepthInfinity on|off<
BR>
0N/A><
STRONG>Default:</
STRONG></
A>
0N/A <
CODE>DavDepthInfinity off</
CODE><
BR>
0N/A><
STRONG>Context:</
STRONG></
A> directory<
BR>
0N/A><
STRONG>Status:</
STRONG></
A> extension<
BR>
0N/A><
STRONG>Module:</
STRONG></
A> mod_dav
0N/A<
p>Use the <
CODE>DavDepthInfinity</
CODE> directive to allow the processing
0N/Aof PROPFIND requests containing the header 'Depth: Infinity'.
0N/ABecause this type of request could constitute a denial-of-service attack,
0N/Aby default it is not allowed.</
P>