cogService for accessing XWiki through WebDAV
Developed by

XWiki Development Team

Active Installs5
0 Votes
LicenseGNU Lesser General Public License 2.1

XWiki 1.7+

Installable with the Extension Manager


Starting with XWiki 8.0, the WebDAV feature is not bundled by default in XWiki and you need to install it manually if you need it. This is an effort in making XWiki more lightweight and making features optional.

The WebDAV feature exposes wiki content (attachments, page content) through the well-known WebDAV protocol. This allows using WebDAV clients like DAVExplorer, file browsers like the Windows Explorer (XP), the Finder (MAC) or Nautilus (Linux) to directly browse and edit wiki content just as you would do for files in your local file system.

XWikiWebDAV.png when seen while browsing it using a file manager over WebDAV

More specifically here are some benefits of a webDAV-enabled XWiki installation:

  • Mount an XWiki wiki content into the user's local file system.
  • Use local application programs to manipulate page content and attachments.
  • Easily perform batch operations on documents (e.g. add 100 attachments to a document).
XWiki's WebDAV implementation only supports Basic Access Authentication and it doesn't support locking and versioning DAV operations.

WebDAV Clients

To use the XWiki-WebDAV interface you will require a WebDAV client installed on your computer, but this is not a big issue since nowadays operating systems have built-in WebDAV clients. However it should be noted that because of the number of WebDAV clients out there in the wild, we cannot cover how each of them can be used to communicate with XWiki-WebDAV. Also, these WebDAV clients may vary in behavior a lot; functionalities might not be unique across various clients or in the worst case, functionalities might even be broken on some clients. We'll keep updating this document with instructions on how to use various WebDAV clients to access the XWiki-WebDAV interface. In the mean time, if you find out that your particular WebDAV client has problems with accessing / using the XWiki-WebDAV interface, you may consult the community for reporting issues. Also, when you report an issue related to WebDAV, please try to be as informative as possible (include platform, client, xe version and how to reproduce the issue). Following is a list of WebDAV clients known to work with the XWiki-WebDAV interface:

Prerequisites & Installation Instructions

Note that we cannot install this Extension using the Extension Manager as the Servlet Container would not parse the JAR for Servlet/Filter annotations (unless the Servlet Container is especially configured to parse some additional directories but that's outside the Servlet specifications so it's possible not all Servlet Container would support that).
  • Copy the following JARs (versions in parenthesis are for XWiki 8.0, check the Dependencies section below to see the versions you need):
  • Make sure to configure your Servlet Container to parse xwiki-platform-webdav-server-<version>.jar for Servlet 3.0 annotations or add the following entries in your web.xml:
     <!-- Filter used to 'steal' webdav requests made to the application root -->
      <!-- WebDAV servlet -->


    • org.apache.commons:commons-lang3 3.5
    • org.apache.jackrabbit:jackrabbit-jcr-server 1.4
    • org.apache.jackrabbit:jackrabbit-webdav 1.4
    • org.xwiki.platform:xwiki-platform-oldcore 9.4
Created by Vincent Massol on 2016/02/04 09:24

Get Connected