WebDAV Setup: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
* In Admin->Server->WebDAV Set webdavenable to Yes. | * In Admin->Server->WebDAV Set webdavenable to Yes. | ||
* The 'moodle/site:webdav' capability controls who can connect - by defauly the "Course Creator" role has it. Assign the role at the system level for users to be able to connect. | * The 'moodle/site:webdav' capability controls who can connect - by defauly 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 | * 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) | (This feature will be available after v1.9) |
Revision as of 01:52, 19 March 2008
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 defauly 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)
To use WebDAV your webserver must support this. There a 2 steps needed:
- Installing the DAV module in your webserver
In a commonly used server, apache, the module is called mod_dav. Using the Debian OS, "aptitude install libapache-mod-dav" does the trick.
- Disabling magic_quotes_gpc
When this module is installed, create an entry in your apache config file (under the <VirtualHost> entry for the applicable domain) like this: "php_value magic_quotes_gpc 0" to disable magic_quotes_gpc and your serevr should be setup correctly.
See Also