Difference between revisions of "WebDAV"
(Added screenshots from Oxygen) |
m (Fixed WebDAV URL pattern) |
||
Line 4: | Line 4: | ||
The WebDAV implementation of BaseX is provided by a module (servlet) which runs in the BaseX HTTP server. Please, check the [[Startup#BaseX HTTP Server|Startup: BaseX HTTP Server]] page for details on how to start the BaseX HTTP Server. The BaseX WebDAV Server can use either the local databases or connect to a remote BaseX Server. Please, check the [[Startup_Options#BaseX_HTTP_Server|startup options of the BaseX HTTP Server]]. | The WebDAV implementation of BaseX is provided by a module (servlet) which runs in the BaseX HTTP server. Please, check the [[Startup#BaseX HTTP Server|Startup: BaseX HTTP Server]] page for details on how to start the BaseX HTTP Server. The BaseX WebDAV Server can use either the local databases or connect to a remote BaseX Server. Please, check the [[Startup_Options#BaseX_HTTP_Server|startup options of the BaseX HTTP Server]]. | ||
==Accessing BaseX WebDAV== | ==Accessing BaseX WebDAV== | ||
− | The BaseX WebDAV Server can be accessed using either with a <code>http: | + | 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. For example, <code>http://localhost:8984/webdav/</code>. |
==Authorisation== | ==Authorisation== | ||
The BaseX WebDAV Server uses the database user credentials in order to perform authentication and authorisation. However, if database user and password are explicitly specified when starting the BaseX HTTP Server using the corresponding [[Startup_Options#BaseX_HTTP_Server|startup options]], then the WebDAV Server will not request user authentication from the client. | The BaseX WebDAV Server uses the database user credentials in order to perform authentication and authorisation. However, if database user and password are explicitly specified when starting the BaseX HTTP Server using the corresponding [[Startup_Options#BaseX_HTTP_Server|startup options]], then the WebDAV Server will not request user authentication from the client. |
Revision as of 14:21, 12 September 2011
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.
Contents
Starting BaseX WebDAV
The WebDAV implementation of BaseX is provided by a module (servlet) which runs in the BaseX HTTP server. Please, check the Startup: BaseX HTTP Server page for details on how to start the BaseX HTTP Server. The BaseX WebDAV Server can use either the local databases or connect to a remote BaseX Server. Please, check the startup options of the BaseX HTTP Server.
Accessing BaseX WebDAV
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. For example, http://localhost:8984/webdav/
.
Authorisation
The BaseX WebDAV Server uses the database user credentials in order to perform authentication and authorisation. However, if database user and password are explicitly specified when starting the BaseX HTTP Server using the corresponding startup options, then the WebDAV Server will not request user authentication from the client.
WebDAV Clients
Oxygen
- Choose
File -> Open URL...
.
- Enter the corresponding user name and password (if needed), the URL of the BaseX WebDAV Server, and then click "Browse".