Applicable in Service-class directives.
The service-dav function services a request to a WebDAV-enabled URI. In response to a request for a WebDAV resource, the service-dav function services the static content and restarts the request with the sourceuri for dynamic content. The sourceuri is identified by the magnus-internal setting. If no sourceuri is defined for dynamic content, an HTTP error message is returned.
Requests to WebDAV resources are authenticated and authorized by the AuthTrans and PathCheck NSAPI stages, respectively. By default, all access to sourceuri are restricted by the PathCheck entry in the dav object.
OPTIONS on a WebDAV-enabled URI are always handled by the default object's service-dav directive. Therefore, the OPTIONS method is not included in the service-dav directive of the dav object.
In response to an OPTIONS request to a WebDAV-enabled URI (or sourceuri), the service-dav function in the default object adds the necessary DAV headers and returns control to the core server, which then services the request.
For more information on access control for WebDAV resources, see the Sun Java System Web Server 6.1 SP8 Administrator’s Guide.
The following table describes parameters for the service-dav function.
Table 4–64 service-dav Parameters
Parameter |
Description |
---|---|
(Optional) Common to all Service-class functions. |
|
bucket |
(Optional) Common to all obj.conf functions. |
<Object name="default"> .... Service method="(OPTIONS|PUT|DELETE|COPY|MOVE|PROPFIND|PROPPATCH|LOCK|UN LOCK|MKCOL)" fn="service-dav" </Object>
<Object name="dav"> PathCheck fn="check-acl" acl="dav-src" Service fn="service-dav" method="(PUT|DELETE|COPY|MOVE|PROPFIND|PROPPATCH|LOCK|UNLOCK|MKC OL)" </Object>