When you install Sun Java System Web Server 6.1, WebDAV is disabled by default.
In order to enable WebDAV at the collection level, you need to also enable WebDAV at the server instance level and the virtual server class level.
The attributes specified on a collection override attribute values set at the virtual server level.
The different levels at which you can enable WebDAV are described in the following sections:
You can use the Administration Server to enable WebDAV for the entire server. When you do so, the following directive is added to the magnus.conf file that loads the WebDAV plugin:
Init fn="load-modules" shlib="/s1ws6.1/lib/libdavplugin.so" funcs="init-dav,ntrans-dav,pcheck-dav,service-dav" shlib_flags="(global|now)" Init fn="init-dav" LateInit=yes
The init-dav Init function initializes and registers the WebDAV subsystem.
To enable WebDAV globally, perform the following steps.
Access the Server Manager of the server you want to enable WebDAV for.
Click the Enable/Disable WebDAV link on the Preferences tab.
Check the Enable WebDAV Globally checkbox.
Click Apply.
Click the Apply Changes button to restart the server
or
click Load Configuration Files to dynamically apply your changes.
To enable WebDAV for a particular virtual server class, perform the following steps.
Select the virtual server class.
Click the Content Mgmt tab.
Click the Enable/Disable WebDAV link.
Check the Enable DAV checkbox.
Click OK.
When you enable WebDAV for a virtual server class, the associated obj.conf file is updated with the following entries:
<Object name="default"> ... Service fn="service-dav" method="(OPTIONS|PUT|DELETE|COPY|MOVE|PROPFIND|PROPPATCH|LOCK|UN LOCK|MKCOL)" Error fn="error-j2ee" ... </Object> ... <Object name="dav"> PathCheck fn="check-acl" acl="dav-src" Service fn="service-dav" method="(GET|HEAD|POST|PUT|DELETE|COPY|MOVE|PROPFIND|PROPPATCH|L OCK|UNLOCK|MKCOL)" </Object>
If you have added one or more WebDAV collections to a virtual server, you can choose to disable and enable them at any time. For information on how you can do so, see Editing a WebDAV Collection.