mod_dav.html revision 4eb655ae7c0fb50736c7755f34c0d24ad091feda
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd BGCOLOR="#FFFFFF"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd TEXT="#000000"
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen LINK="#0000FF"
2e545ce2450a9953665f701bb05350f0d3f26275nd VLINK="#000080"
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen ALINK="#FF0000"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<!--#include virtual="header.html" -->
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<p>This module provides Distributed Authoring and Versioning
3f08db06526d6901aa08c110b5bc7dde6bc39905nd(<a href="http://www.webdav.org/">WebDAV</a>) functionality.</p>
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7ndHREF="module-dict.html#SourceFile"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndHREF="module-dict.html#ModuleIdentifier"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<p>This module provides class 1 and class 2
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndDistributed Authoring and Versioning') functionality for Apache.
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndThis extension to the HTTP protocol allows creating, moving,
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndcopying, and deleting resources and collections on a remote web
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndserver.</p>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndTo enable mod_dav, add the following to a container in your <CODE>httpd.conf</CODE> file:</P>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<blockquote>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd</blockquote>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<p>Also, specify a valid filename for the DAV lock database by adding
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndthe following to the global section in your <CODE>httpd.conf</CODE>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<blockquote>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<CODE>DavLockDB /tmp/DavLock </CODE><EM>(Any web-server writeable filename, without an extension)</EM>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd</blockquote>
f4cbda69df0490c6deaacb8d04f103d200ddd183nd REL="Help"
df4578cbf77fc9e35ccade1f01b137b7eea5ede6nd HREF="directive-dict.html#Default"
f4cbda69df0490c6deaacb8d04f103d200ddd183nd REL="Help"
f4cbda69df0490c6deaacb8d04f103d200ddd183nd HREF="directive-dict.html#Context"
df4578cbf77fc9e35ccade1f01b137b7eea5ede6nd REL="Help"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd REL="Help"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd REL="Help"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd HREF="directive-dict.html#Compatibility"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd REL="Help"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd><STRONG>Compatibility:</STRONG></A> Apache 1.3.4 and above
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<p>Use the <CODE>Dav</CODE> directive to enable the WebDAV HTTP methods
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndfor the given container.
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndYou may wish to add a
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd HREF="core.html#limit"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd><Limit></A>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndclause inside the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd HREF="core.html#location"
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd>location</A>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnddirective to limit access to DAV-enabled locations.</P>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<TABLE WIDTH="70%" BORDER=0 BGCOLOR="#E0E0F0" CELLSPACING=0 CELLPADDING=10>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<Location /foo><BR>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndAuthType Basic<BR>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndAuthName DAV<BR>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <LimitExcept GET HEAD OPTIONS><BR>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd require user admin<BR>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd </LimitExcept><BR>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd</Location><BR>
1462ff536f1b939bb337766b2056109c29664c4erbowen><STRONG>Syntax:</STRONG></A> DavLockDB <Full path to lock database><BR>
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniak><STRONG>Context:</STRONG></A> server config, virtual host<BR>
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniak<p>Use the <CODE>DavLockDB</CODE> directive to specify the full path to the
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniaklock database, excluding an extension. The default (file system)
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniakimplementation of mod_dav uses a SDBM database to track user locks.
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniakThe utility <CODE>modules/dav/util/lockview</CODE> can be
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniakused from the server to display all locks in a lock database.</P>
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniak<TABLE WIDTH="70%" BORDER=0 BGCOLOR="#E0E0F0" CELLSPACING=0 CELLPADDING=10>
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniak><STRONG>Syntax:</STRONG></A> DavMinTimeout <seconds><BR>
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniak<p>When a client requests a DAV resource lock, it can also specify a time
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniakwhen the lock will be automatically removed by the server. This value
f68d1146896d2744b5ad04b445b08724c4b7fa67rbowenis only a request, and the server can ignore it or inform the client
f68d1146896d2744b5ad04b445b08724c4b7fa67rbowenof an arbitrary value.</P>
f68d1146896d2744b5ad04b445b08724c4b7fa67rbowen<p>Use the <CODE>DavMinTimeout</CODE> directive to specify, in seconds,
f68d1146896d2744b5ad04b445b08724c4b7fa67rbowenthe minimum lock timeout to return to a client. Microsoft Web Folders
f68d1146896d2744b5ad04b445b08724c4b7fa67rbowendefaults to a timeout of 120 seconds; the <CODE>DavMinTimeout</CODE>
f68d1146896d2744b5ad04b445b08724c4b7fa67rbowencan override this to a higher value (like 600 seconds) to reduce the chance
f68d1146896d2744b5ad04b445b08724c4b7fa67rbowenof the client losing the lock due to network latency.</P>
60ee73f225a3fd9bb1e561ec3aadda7fcd8243a9igalic<TABLE WIDTH="70%" BORDER=0 BGCOLOR="#E0E0F0" CELLSPACING=0 CELLPADDING=10>
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7ndDavMinTimeout 600<BR>
d28579afd45cc42da1422161721fb12f9cf366b9nd</Location><BR>
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh<H2><A NAME="DavDepthInfinity">DavDepthInfinity</A></H2>
0d0ba3a410038e179b695446bb149cce6264e0abnd REL="Help"
0d0ba3a410038e179b695446bb149cce6264e0abnd><STRONG>Syntax:</STRONG></A> DavDepthInfinity <on | off><BR>
0d0ba3a410038e179b695446bb149cce6264e0abnd HREF="directive-dict.html#Default"
0d0ba3a410038e179b695446bb149cce6264e0abnd REL="Help"
0d0ba3a410038e179b695446bb149cce6264e0abnd HREF="directive-dict.html#Context"
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd REL="Help"
<!--#include virtual="footer.html" -->