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

Using Web-based authoring and versioning directives

This section provides information on the Web-based authoring and versioning (WebDAV) directives. This information includes specific directive syntax, compatibility issues, scopes, defaults and associated notes Notes. Links to related topics appear at the end of this section.

Dav

  • Description: Enables DAV support in a container (required)
  • Default: Dav off
  • Module: mod_dav
  • Multiple instances in the configuration file: Yes
  • Scope: Directory
  • Syntax: Dav <On |Off>
  • Note: You can add a <Limit> clause inside the Location directive to limit access to DAV-enabled locations.

    Looking at an example:

    Following is an example of using the <Limit> clause:

     
    DavLockDB /tmp/DavLock
    
    <Location /foo>
    Dav On
     
    AuthType     Basic
    AuthName     DAV
    AuthUserFile user.passwd
      
      <LimitExcept GET HEAD OPTIONS>
      require user admin
      </LimitExcept>
    </Location>
    

  • Values: On or Off
  • Note: Compatible with Apache Version 1.3.4 and later.

DavLockDB

  • Description: Specifies a location for the file lock database (required)
  • Default: None
  • Module: mod_dav
  • Multiple instances in the configuration file: No
  • Scope: Server configuration, virtual host
  • Syntax: DavLockDB <Fully qualified path to lock database>

    Looking at examples:

    Following are examples of simple and complex uses of the DavLockDB directive:

    Simple usage:

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

    Complex usage:

    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>
    

  • Values: Fully qualified path to lock database.

DavMinTimeout

  • Description: Specifies the timeout, in seconds, before the server automatically harvests unrenewed locks (optional)
  • Default: DavMinTimeout 0
  • Module: mod_dav
  • Multiple instances in the configuration file: Yes
  • Scope: Directory
  • Syntax: DavMinTimeout <seconds>

    Looking at an example:

    Following is an example of the DavMinTimeout directive:

    <Location /MSWord>
    DavMinTimeout 600
    </Location>
    

  • Values: A client can request a DAV resource lock, and specify a time when the server automatically removes the lock. This value only represents a request and the server can either ignore the request, or inform the client of an arbitrary value.

    Note: Compatible with Apache Version 1.3.4 and later.

 
Finding related information

     (Back to the top)