Details

    • Testing Instructions:
      Hide

      Test pre-requisites

      • 1 WebDAV server supporting SSL (HTTPS)
      • 2 WebDAV shares
        • Without authentication
        • With Basic authentication
      • WebDAV repository enabled
      • 4 different WebDAV instances in Moodle:
        • 'WebDAV None' which does not require Auth
        • 'WebDAV None SSL' which does not require authentication but HTTPS
        • '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

      1. Go to your private files
      2. Click on add
      3. Navigate to each WebDAV repository
      4. 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

      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>
      
      Alias /webdav_none /var/www/webdav_none
       <Location /webdav_none>
        Dav On
        Allow from all
        Satisfy any
       </Location>
      
      DavDepthInfinity On
      
      Show
      Test pre-requisites 1 WebDAV server supporting SSL (HTTPS) 2 WebDAV shares Without authentication With Basic authentication WebDAV repository enabled 4 different WebDAV instances in Moodle: 'WebDAV None' which does not require Auth 'WebDAV None SSL' which does not require authentication but HTTPS '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 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> Alias /webdav_none /var/www/webdav_none <Location /webdav_none> Dav On Allow from all Satisfy any </Location> DavDepthInfinity On
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-22663-master
    • Rank:
      19069

      Description

      I've been trying out the various repository plugins and whilst ones such as google docs, flickr seem to work, I can't get the webdav repositories to work.

      I've tried the webdav repository with both my own webdav server and some of the servers listed here but whatever I setup, when trying to access files using the file picker I always get an empty file listing.

      For example, I've accessed http://demo.sabredav.org (id=testuser/passwd=test) from windows explorer and all works fine, but if I setup a repository using those details shown in the screenshot I just get an empty file list when I choose the repository from add files.

      1. patch.txt
        131 kB
        T. Jackson
      2. webdav_ssl_colin.txt
        2 kB
        Colin Campbell
      1. repository_setup.jpg
        30 kB
      2. Selection_002.jpeg
        32 kB
      3. Selection_003.jpeg
        31 kB

        Issue Links

          Activity

            People

            • Votes:
              33 Vote for this issue
              Watchers:
              33 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: