WebDAV Setup

Revision as of 15:21, 14 June 2010 by Ian Wild (talk | contribs) (Create New Virtual Directory)

Jump to: navigation, search

WebDAV access allows users which can edit course files to do so from a convenient WebDAV "Web Folder"/Mountpoint which acts like a local drive.

To set up WebDAV access in your Moodle installation:

  • In Admin->Server->WebDAV Set webdavenable to Yes.
  • The 'moodle/site:webdav' capability controls who can connect - by default the "Course Creator" role has it. Assign the role at the system level for users to be able to connect.
  • If you want to restrict WebDAVaccess so it is only accessible from the local LAN, use the webdavsubnet setting.

(This feature will be available after v1.9)

Note: For the WebDAV feature to work, the PHP setting magic_quotes_gpc must be off.


Configuring WebDAV on Microsoft Windows Server 2003 R2 (Service Pack 2), IIS V6.0

Configure IIS

IIS Virtual Directory Creation Wizard

Create New Virtual Directory

Open IIS and right-click on your Moodle website. Select New -> Virtual Directory... from the pop-up menu.

alt text

Call the new virtual directory Moodledata.

alt text

Specify the path to the Moodledata directory.

Choosing path to folder on server

Ensure the new virtual directory has Read, Write and Browse permissions.

Specifying directory permissions

Press the Finish button to create the new virtual directory.

Configuring Virtual Directory Properties

alt text

alt text
Checking new virtual directory properties


Creating a new virtual folder



alt text

Your new virtual directory is ready for testing.

alt text

See Also