-
Functional Test
-
Minor
-
Moodle 3.5
Test pre-requisites
- 1 WebDAV server supporting SSL (HTTPS)
- 2 WebDAV shares with Basic authentication
- WebDAV repository enabled
- 2 different WebDAV instances in Moodle:
- 'WebDAV Basic' which requires Basic authentication
- 'WebDAV Basic SSL' which requires Basic authentication and HTTPS
- Each share should contain multiple directories, sub directories, and files on every level.
- Some directories and files must contain non-ascii characters
Test steps
- Go to your private files
- Click on add
- Navigate to each WebDAV repository
- From each of them, make sure:
- You can navigate in every directory
- You can download any file
- Files downloaded are correctly saved (check their content)
WebDAV Apache configuration file which can be refereed
This is my configuration for the 2 shares
/etc/apache2/conf.d/webdav.conf
Alias /webdav /var/www/webdav
|
<Location /webdav>
|
Dav On
|
AuthType Basic
|
AuthName "webdav"
|
AuthUserFile /var/www/webdav/passwd.dav
|
Require valid-user
|
</Location>
|
|
DavDepthInfinity On
|