mod_dav.html revision 1997e02bed99bd0c081962ade257a0ea12ebe15b
fde7c950706837227b4e26388edfc154de1b5530vboxsync<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
aa7f783d8893b6004cb8d993273c008944f81544vboxsync<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
fde7c950706837227b4e26388edfc154de1b5530vboxsync BGCOLOR="#FFFFFF"
fde7c950706837227b4e26388edfc154de1b5530vboxsync TEXT="#000000"
fde7c950706837227b4e26388edfc154de1b5530vboxsync LINK="#0000FF"
fde7c950706837227b4e26388edfc154de1b5530vboxsync VLINK="#000080"
fde7c950706837227b4e26388edfc154de1b5530vboxsync ALINK="#FF0000"
fde7c950706837227b4e26388edfc154de1b5530vboxsync<!--#include virtual="header.html" -->
fde7c950706837227b4e26388edfc154de1b5530vboxsync<p>This module provides Distributed Authoring and Versioning
fde7c950706837227b4e26388edfc154de1b5530vboxsync(<a href="http://www.webdav.org/">WebDAV</a>) functionality.</p>
3005ffba3f5479638902e025ca1598d60491afa3vboxsyncHREF="module-dict.html#SourceFile"
3005ffba3f5479638902e025ca1598d60491afa3vboxsyncHREF="module-dict.html#ModuleIdentifier"
41f7107d7ff19a04c836fa8a7079edb6f6c00047vboxsync<p>This module provides class 1 and class 2
41f7107d7ff19a04c836fa8a7079edb6f6c00047vboxsync<A HREF="http://www.webdav.org">WebDAV</A> ('Web-based
cb82cf45b526533321d7d4f2cc4ba9c551028989vboxsyncDistributed Authoring and Versioning') functionality for Apache.
41f7107d7ff19a04c836fa8a7079edb6f6c00047vboxsyncThis extension to the HTTP protocol allows creating, moving,
fde7c950706837227b4e26388edfc154de1b5530vboxsynccopying, and deleting resources and collections on a remote web
fde7c950706837227b4e26388edfc154de1b5530vboxsyncTo enable mod_dav, add the following to a container in your <CODE>httpd.conf</CODE> file:</P>
8dbb100204b6ee0e3c8c389cbb5eb83d4931270fvboxsync<blockquote>
8dbb100204b6ee0e3c8c389cbb5eb83d4931270fvboxsync</blockquote>
8dbb100204b6ee0e3c8c389cbb5eb83d4931270fvboxsync<p>Also, specify a valid filename for the DAV lock database by adding
8dbb100204b6ee0e3c8c389cbb5eb83d4931270fvboxsyncthe following to the global section in your <CODE>httpd.conf</CODE>
8dbb100204b6ee0e3c8c389cbb5eb83d4931270fvboxsync<blockquote>
8dbb100204b6ee0e3c8c389cbb5eb83d4931270fvboxsync<CODE>DavLockDB /tmp/DavLock </CODE><EM>(Any web-server writeable filename, without an extension)</EM>
8dbb100204b6ee0e3c8c389cbb5eb83d4931270fvboxsync</blockquote>
76078f75cf5c90c0a545466f76cb939e13084ad7vboxsync<LI><A HREF="#DAVDepthInfinity">DavDepthInfinity</A>
e411a26542b4a5c4b17c98e4b6092261a49f0605vboxsync HREF="directive-dict.html#Compatibility"
e411a26542b4a5c4b17c98e4b6092261a49f0605vboxsync><STRONG>Compatibility:</STRONG></A> Apache 1.3.4 and above
8d70fbc5599e39e698fc95b7903cf9c96d78a14avboxsync<p>Use the <CODE>Dav</CODE> directive to enable the WebDAV HTTP methods
8d70fbc5599e39e698fc95b7903cf9c96d78a14avboxsyncfor the given container.
c3f33d1db9311d72ee23bf2826acd10377b7567cvboxsyncYou may wish to add a
a03b50c205ef1cf28c6edb4833528df7de48dbfbvboxsync><Limit></A>
a03b50c205ef1cf28c6edb4833528df7de48dbfbvboxsyncclause inside the
a03b50c205ef1cf28c6edb4833528df7de48dbfbvboxsync HREF="core.html#location"
a03b50c205ef1cf28c6edb4833528df7de48dbfbvboxsync>location</A>
a03b50c205ef1cf28c6edb4833528df7de48dbfbvboxsyncdirective to limit access to DAV-enabled locations.</P>
a03b50c205ef1cf28c6edb4833528df7de48dbfbvboxsync<TABLE WIDTH="70%" BORDER=0 BGCOLOR="#E0E0F0" CELLSPACING=0 CELLPADDING=10>
c3f33d1db9311d72ee23bf2826acd10377b7567cvboxsync<Location /foo><BR>
c3f33d1db9311d72ee23bf2826acd10377b7567cvboxsyncAuthType Basic<BR>
c3f33d1db9311d72ee23bf2826acd10377b7567cvboxsyncAuthName DAV<BR>
0b70b2329a24edb70aa57ffc3503453e319e00cevboxsync <LimitExcept GET HEAD OPTIONS><BR>
0b70b2329a24edb70aa57ffc3503453e319e00cevboxsync require user admin<BR>
0b70b2329a24edb70aa57ffc3503453e319e00cevboxsync </LimitExcept><BR>
0b70b2329a24edb70aa57ffc3503453e319e00cevboxsync</Location><BR>
c427740af7e593bd7c43f9575bf56a54552b6070vboxsync><STRONG>Syntax:</STRONG></A> DavLockDB <em>filename</em><BR>
6c3b7813a9c89af343c6ea417c3239a7a6f4c0d7vboxsync><STRONG>Context:</STRONG></A> server config, virtual host<BR>
8d70fbc5599e39e698fc95b7903cf9c96d78a14avboxsync<p>Use the <CODE>DavLockDB</CODE> directive to specify the full path to the
8d70fbc5599e39e698fc95b7903cf9c96d78a14avboxsynclock database, excluding an extension. The default (file system)
8d70fbc5599e39e698fc95b7903cf9c96d78a14avboxsyncimplementation of mod_dav uses a SDBM database to track user locks.
0364c7b787a398c7502bbd66efd4fe99583f7473vboxsyncThe utility <CODE>modules/dav/util/lockview</CODE> can be
8d70fbc5599e39e698fc95b7903cf9c96d78a14avboxsyncused from the server to display all locks in a lock database.</P>
8d70fbc5599e39e698fc95b7903cf9c96d78a14avboxsync<TABLE WIDTH="70%" BORDER=0 BGCOLOR="#E0E0F0" CELLSPACING=0 CELLPADDING=10>
e411a26542b4a5c4b17c98e4b6092261a49f0605vboxsync><STRONG>Syntax:</STRONG></A> DavMinTimeout <em>seconds</em><BR>
8cd8b490cc74017d6482964df20a9bc8c8e16f41vboxsync<p>When a client requests a DAV resource lock, it can also specify a time
6c3b7813a9c89af343c6ea417c3239a7a6f4c0d7vboxsyncwhen the lock will be automatically removed by the server. This value
6c3b7813a9c89af343c6ea417c3239a7a6f4c0d7vboxsyncis only a request, and the server can ignore it or inform the client
6c3b7813a9c89af343c6ea417c3239a7a6f4c0d7vboxsyncof an arbitrary value.</P>
8dbb100204b6ee0e3c8c389cbb5eb83d4931270fvboxsync<p>Use the <CODE>DavMinTimeout</CODE> directive to specify, in seconds,
6c3b7813a9c89af343c6ea417c3239a7a6f4c0d7vboxsyncthe minimum lock timeout to return to a client. Microsoft Web Folders
3e8d40fe22eba54863b6f2a4c3aa13ca6d8d959dvboxsyncdefaults to a timeout of 120 seconds; the <CODE>DavMinTimeout</CODE>
3e8d40fe22eba54863b6f2a4c3aa13ca6d8d959dvboxsynccan override this to a higher value (like 600 seconds) to reduce the chance
d210ece1399825ab43b46b3a464e683b0163028bvboxsyncof the client losing the lock due to network latency.</P>
a03b50c205ef1cf28c6edb4833528df7de48dbfbvboxsync<TABLE WIDTH="70%" BORDER=0 BGCOLOR="#E0E0F0" CELLSPACING=0 CELLPADDING=10>
75f67c4a1cd5ae0e0bfa6f10f5f4a680b28c4a81vboxsyncDavMinTimeout 600<BR>
75f67c4a1cd5ae0e0bfa6f10f5f4a680b28c4a81vboxsync</Location><BR>
b3277e90dc9c5822588c8fbf69d173301e2e17b9vboxsync<H2><A NAME="DavDepthInfinity">DavDepthInfinity</A></H2>
60c170c1bb96b560ed789edae3e8ab6a92490907vboxsync><STRONG>Syntax:</STRONG></A> DavDepthInfinity on|off<BR>
9f6988748efd4a82de06fee39ddf2e03a9ed66c2vboxsync<p>Use the <CODE>DavDepthInfinity</CODE> directive to allow the processing
e5ea1536d7695623ddb75d335971d5e8cac88190vboxsyncof PROPFIND requests containing the header 'Depth: Infinity'.
9f6988748efd4a82de06fee39ddf2e03a9ed66c2vboxsyncBecause this type of request could constitute a denial-of-service attack,
e5ea1536d7695623ddb75d335971d5e8cac88190vboxsyncby default it is not allowed.</P>
8dbb100204b6ee0e3c8c389cbb5eb83d4931270fvboxsync<!--#include virtual="footer.html" -->