Sun Java System Web Server 7.0 Administrator's Guide

Managing WebDAV Collections

Enabling WebDAV Collection

For enabling WebDAV collection, execute the following command:


wadm> enable-dav-collection --user=admin --password-file=admin.pwd 
--host=serverhost --port=8989 --config=config1 --vs=config1_vs_1 --uri=/dav_config1

See CLI Reference, enable-dav-collection(1).

Disabling WebDAV Collection

For disabling WebDAV collection, execute the following command:


wadm> disable-dav-collection --user=admin --password-file=admin.pwd 
--host=serverhost --port=8989 --config=config1 --vs=config1_vs_1 --uri=/dav_config1

See CLI Reference, disable-dav-collection(1).

Adding a WebDAV Collection

For adding a WebDAV Collection, execute the following command:


wadm> create-dav-collection --user=admin --password-file=admin.pwd 
--host=serverhost --port=8989 --config=config1 --vs=config1_vs_1 --uri=/dav_config1 
--source-uri=/dav_config1

See CLI Reference, create-dav-collection(1).

Listing WebDAV Collections

For listing all WebDAV collections, execute the following command:


wadm> list-dav-collections --user=admin --password-file=admin.pwd --host=serverhost 
--port=8989 --config=config1 --vs=config1_vs_1

See CLI Reference, list-dav-collections(1).

Removing WebDAV Collection

For removing WebDAV collection, execute the following command:


wadm> delete-dav-collection --user=admin --password-file=admin.pwd --host=serverhost 
--port=8989 --config=config1 --vs=config1_vs_1 --uri=/dav_config1

See CLI Reference, delete-dav-collection(1).