Sun Java System Web Server 7.0 Update 5 Installation and Migration Guide

WebDAV

The following table lists changes related to WebDAV.

Table 5–7 Changes Related to WebDAV

Changes in Web Server 7.0 

Description 

Element changes in server.xml

  • DAV is now called dav.

  • DAVCOLLECTION is now called dav-collection.

  • The PROPERTY subelement has been removed.

  • The dav-collection subelement has been moved under the virtual-server element and most of the attribute names have changed. The necessary changes are made in server.xml.

Changes to obj.conf

Necessary modifications are made in the obj.conf file. Specifically:

  • ACL and REPORTS are added in the default object's service-dav list of methods. For example:

    <Object name="default">
    ...
    Service fn="service-dav"
    method="(OPTIONS|PUT|DELETE|COPY
    |MOVE|PROPFIND|PROPPATCH|LOCK
    |UNLOCK|MKCOL|ACL|REPORT)"
    Error fn="error-j2ee"
    AddLog fn="flex-log"
    name="access"
    <Object>
  • ACL and REPORTS are added in the dav object's service-dav list of methods. For example:

    <Object name="dav"
    PathCheck fn="check-acl"
    acl="dav-src"
    Service fn="service-dav"
    method="(GET|HEAD|POST|PUT|DELETE
    |COPY|MOVE|PROPFIND|PROPPATCH|LOCK
    |UNLOCK|MKCOL|ACL|REPORT)"
    </Object>

New ACL entry in default.acl

The following new ACL entry is added in default.acl only if the dav-src ACL exists in generated.https-server_id.acl:

acl uri=/magnus-internal/";
deny (all) user="anyone";
allow (list) user="all";