Difference between revisions of "WebDAV"
m (Text replace - "{{Mono|" to "{{Code|") |
|||
Line 5: | Line 5: | ||
==Getting Started== | ==Getting Started== | ||
− | First of all, launch the BaseX as [[Web Application]]. By default, [http://jetty.codehaus.org/jetty/ Jetty] is used as web server. All HTTP services will be available on port <code>8984</code>, and the WebDAV service is accessible at {{ | + | First of all, launch the BaseX as [[Web Application]]. By default, [http://jetty.codehaus.org/jetty/ Jetty] is used as web server. All HTTP services will be available on port <code>8984</code>, and the WebDAV service is accessible at {{Code|http://localhost:8984/webdav/}}. If the server is started as servlet, all [[Options#Main Options|Main Options]] (such as the path to the database) can be configured in the {{Code|web.xml}} file. If run as a standalone application, the settings are stored in the file {{Code|.basex}}. |
Generally, the BaseX WebDAV Server can be accessed using either with a <code>http://<httphost>:<httpport>/webdav/</code> or <code>webdav://<httphost>:<httpport>/webdav/</code> URL, depending on the used WebDAV client. | Generally, the BaseX WebDAV Server can be accessed using either with a <code>http://<httphost>:<httpport>/webdav/</code> or <code>webdav://<httphost>:<httpport>/webdav/</code> URL, depending on the used WebDAV client. |
Revision as of 15:14, 26 May 2012
This page is part of the Developer Section. It describes how to use the WebDAV file system interface.
BaseX offers access to the databases and documents using the WebDAV protocol. WebDAV provides convenient means to access and edit XML documents by representing BaseX databases and documents in the form of a file system hierarchy.
Getting Started
First of all, launch the BaseX as Web Application. By default, Jetty is used as web server. All HTTP services will be available on port 8984
, and the WebDAV service is accessible at http://localhost:8984/webdav/
. If the server is started as servlet, all Main Options (such as the path to the database) can be configured in the web.xml
file. If run as a standalone application, the settings are stored in the file .basex
.
Generally, the BaseX WebDAV Server can be accessed using either with a http://<httphost>:<httpport>/webdav/
or webdav://<httphost>:<httpport>/webdav/
URL, depending on the used WebDAV client.
Authorization
The WebDAV service uses the database user credentials in order to perform authentication and authorization. If database user and password are explicitly specified when starting the BaseX HTTP Server using the corresponding startup options, WebDAV will not request additional user authentication from the client.
WebDAV Clients
Please check out the following tutorials to get WebDAV running on different operating systems and with oXygen:
Changelog
Version 7.0
- WebDAV API introduced