Serve HTTP OPTIONS requests to the server context root by WebDAV clients


Some WebDAV clients send an HTTP OPTIONS request to the server context root ( / ) to check whether the server supports WebDAV.

WebSphere Portal provides a Web application that responds to these requests with a positive confirmation...

To enable, adapt the application.xml files of the deployed Enterprise Application () named... WebDAV for WebSphere Portal to map wp.webdav.options.war to the context root (/).


  1. Export the enterprise application named WebDAV for WebSphere Portal using the console.

  2. Expand the file ...|bat -ear directory/wps.ear -operationDir directory/wps_expanded -operation expand

  3. Locate the file application.xml in the expanded file directory.

  4. Edit the file application.xml of the exported , and uncomment or add the following section:


  5. Collapse the file ...|bat -ear directory/wps.ear -operationDir directory/wps_expanded -operation collapse

  6. Update the enterprise application with these changes using the console.

  7. Save changes.

  8. Restart the portal for your changes to take effect.

Depending on how your Web server is set up, this change might cause all requests to be routed to the Web server plug-in.

In this case refer to your Web server documentation for information about how to route only OPTIONS requests to the plug-in.

Parent topic:

Use WebDAV with WebSphere Portal

Related tasks

Work with WebDAV clients