31,040
edits
mNo edit summary |
mNo edit summary 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. | ||