Module DAV: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
Tag: 2017 source edit
mNo edit summary
Tag: 2017 source edit
 
(9 intermediate revisions by 2 users not shown)
Line 3: Line 3:
     Links below will be automatically replicated on translated pages by PolyglotBot -->
     Links below will be automatically replicated on translated pages by PolyglotBot -->
[[fr:Module DAV FR]]
[[fr:Module DAV FR]]
[[es:Módulo LDAP]]
[[es:Módulo DAV]]
<!-- END interlang links -->
<!-- END interlang links -->


Line 15: Line 15:
userdoc=This page|}}
userdoc=This page|}}


= Introduction =
=Introduction=
The DAV module add a server component to offer a shared public (no login required) and/or a private directory (need to use a Dolibarr login) that you can access with any WebDAV client.
The DAV module add a WebDAV server component to Dolibarr, that you can access with any WebDAV client.  
The content of the manuel directory of the [[Module ECM]] can also be accessed (nedd to use a Dolibarr login).


= Installation =
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=
{{NoInstallModuleEn}}
{{NoInstallModuleEn}}


= Configuration =
=Configuration=
{{ActivationModuleEn}}
{{ActivationModuleEn}}


Line 28: Line 31:
For example, if your directory is protected by  
For example, if your directory is protected by  


<source lang="php">
<syntaxHighlight lang="php">
<Directory "/mypathtomydolibarrhdocs">
<Directory "/my-path-to-my-dolibarr-hdocs">
AuthType Basic
AuthType Basic
AuthName "Restricted Files - Basic global"
AuthName "Restricted Files - HTTP Basic protection on Dolibarr"
#AuthBasicProvider file
AuthUserFile "/pathtohttpbasicpasswords"
AuthUserFile "/home/ldestailleur/git/passwords"
Require user ahttpbasiclogin
Require user homebasic admin
</Directory>
</Directory>
</source>
</syntaxHighlight>


You must add an exclusion like this one
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
<source lang="php">
<syntaxHighlight lang="php">
<Directory "/mypathtomydolibarrhdocs/dav">
<Directory "/my-path-to-my-dolibarr-hdocs/dav">
Require all granted
Require all granted
</Directory>
</Directory>
</source>
</syntaxHighlight>


= Usage =
=Usage=
Just go on setup page to get the WebDAV repository that is enabled and available with WebDAV protocol.
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.
Use any WebDAV client to access this repository.

Navigation menu