Difference between revisions of "Module DAV"
m |
m Tag: 2017 source edit |
||
Line 31: | Line 31: | ||
For example, if your directory is protected by | For example, if your directory is protected by | ||
− | < | + | <syntaxHighlight lang="php"> |
<Directory "/my-path-to-my-dolibarr-hdocs"> | <Directory "/my-path-to-my-dolibarr-hdocs"> | ||
AuthType Basic | AuthType Basic | ||
Line 38: | Line 38: | ||
Require user ahttpbasiclogin | Require user ahttpbasiclogin | ||
</Directory> | </Directory> | ||
− | </ | + | </syntaxHighlight> |
You must add an exclusion like this one, so accessing the /dav features will use the HTTP Basic embeded into the DAV component instead of the generec HTTP Basic protection | You must add an exclusion like this one, so accessing the /dav features will use the HTTP Basic embeded into the DAV component instead of the generec HTTP Basic protection | ||
− | < | + | <syntaxHighlight lang="php"> |
<Directory "/my-path-to-my-dolibarr-hdocs/dav"> | <Directory "/my-path-to-my-dolibarr-hdocs/dav"> | ||
Require all granted | Require all granted | ||
</Directory> | </Directory> | ||
− | </ | + | </syntaxHighlight> |
=Usage= | =Usage= | ||
Just go on setup page to get the WebDAV root URL. Use any WebDAV client to access it. All enabled WebDAV directories are subdirectories of the root URL. | Just go on setup page to get the WebDAV root URL. Use any WebDAV client to access it. All enabled WebDAV directories are subdirectories of the root URL. |
Latest revision as of 08:59, 17 January 2023
DAV | |
---|---|
Numero/ID of module | |
User doc. of module | This page |
Developer doc. of module | Module DAV (developer) |
Introduction
The DAV module add a WebDAV server component to Dolibarr, that you can access with any WebDAV client.
You can offer a shared public directory (no login required) and/or a private directory (need to use a Dolibarr login).
The content of the manuel directory of the Module ECM can also be accessed (need to use a Dolibarr login).
Installation
This module is included with the Dolibarr distribution, so there is no need to install it.
Configuration
To use this module, you must first enable it using an administrator account, via the menu option "Home - Setup - Modules".
Choose the tab where the module is listed. Then click on "Activate".
The module is now activated.
If a cog icon appears on module thumb or at end of the line of the module, click on it to access the setup page specific to the module.
For the section that are protected by a login, Dolibarr use a HTTP Basic authentication. So if you already protected your Dolibarr directory with a HTTP Basic authantication protection, you must exclude the path */dav* from this protection to avoid a duplicate HTTP Basic authantication that will conflict. For example, if your directory is protected by
<Directory "/my-path-to-my-dolibarr-hdocs">
AuthType Basic
AuthName "Restricted Files - HTTP Basic protection on Dolibarr"
AuthUserFile "/pathtohttpbasicpasswords"
Require user ahttpbasiclogin
</Directory>
You must add an exclusion like this one, so accessing the /dav features will use the HTTP Basic embeded into the DAV component instead of the generec HTTP Basic protection
<Directory "/my-path-to-my-dolibarr-hdocs/dav">
Require all granted
</Directory>
Usage
Just go on setup page to get the WebDAV root URL. Use any WebDAV client to access it. All enabled WebDAV directories are subdirectories of the root URL.