Sun Java System Web Server 7.0 管理员指南

管理 WebDAV 集合

启用 WebDAV 集合

要启用 WebDAV 集合,请执行以下命令:


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

请参见 CLI 参考 enable-dav-collection(1)

禁用 WebDAV 集合

要禁用 WebDAV 集合,请执行以下命令:


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

请参见 CLI 参考 disable-dav-collection(1)

添加 WebDAV 集合

要添加 WebDAV 集合,请执行以下命令:


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

请参见 CLI 参考 create-dav-collection(1)

列出 WebDAV 集合

要列出所有 WebDAV 集合,请执行以下命令:


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

请参见 CLI 参考 list-dav-collections(1)

删除 WebDAV 集合

要删除 WebDAV 集合,请执行以下命令:


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

请参见 CLI 参考 delete-dav-collection(1)