WebDAV Directives: IBM HTTP Server
System Administration IBM HTTP Server documentation

WebDAV Directives


Dav

  • Compatibility - Apache 1.3.4 and above
  • Context - Directory
  • Default - Dav off
  • Description - Enable DAV support in a container (required)
  • Module - mod_dav
  • Syntax - Dav <On |Off>
Note:

You can add a <Limit> clause inside the location directive, to limit access to DAV-enabled locations.

Example:

DavLockDB /tmp/DavLock

<Location /foo>
Dav On

AuthType Basic
AuthName DAV
AuthUserFile user.passwd

  <LimitExcept GET HEAD OPTIONS>
  require user admin
  </LimitExcept>
</Location>

DavLockDB

  • Context - Server config, virtual host
  • Default - None
  • Description - Specify a location for the file-lock database (required)
  • Module - mod_dav
  • Syntax - DavLockDB <Full path to lock database>
Example:

Simple -

DavLockDB /tmp/DavLock
<Location />
Dav On
</Location>

Complex -

DavLockDB /tmp/DavLock
<Location /foo>
Dav On
DavMinTimeout 600

AuthType Basic
AuthName DAV
AuthUserFile user.passwd

<Limit Except GET HEAD OPTIONS>
require user admin
</LimitExcept>
</Location>

DavMinTimeout

  • Compatibility - Apache 1.3.4 and above
  • Context - Directory
  • Default - DavMinTimeout 0
  • Description - Specifies the timeout (in seconds) before the server will automatically harvest unrenewed locks (optional)
  • Module - mod_dav
  • Status - Extension
  • Syntax - DavMinTimeout <seconds>

A client can request a DAV resource lock, and also specify a time when the lock is automatically removed by the server. This value is only a request and the server can either ignore the request, or inform the client of an arbitrary value.

Example:

<Location /MSWord>
DavMinTimeout 600
</Location>

Related information...

     (Back to Top)