Difference between revisions of "DAV"

From SME Server
m (categorisation)
Line 60: Line 60:
[[Category: Contrib]]
[[Category: Contrib]]
[[Category: Administration:File and Directory Access]]

Revision as of 11:54, 11 May 2010

PythonIcon.png Skill level: Easy
The instructions on this page can be followed by a beginner.

Important.png Note:
See Talk:DAV#Installation for important notes about installing and using this contrib


Jonathan Martens


Contrib 9:
The latest version of smeserver-mod_dav is available in the SME repository, click on the version number(s) for more information.


This contrib provides mod_dav for SME Server, it has been written to make sure it is installed as it is required by my Subversion contrib.


Install the contrib:

yum install smeserver-mod_dav --enablerepo=smecontribs


DAV access is disabled for all ibays by default.

Enable/disable DAV access for an ibay

To enable DAV access to an ibay use the following commands:

db accounts setprop ibay-name ModDav enabled
signal-event ibay-modify ibay-name

To disable DAV access to an ibay use the following commands:

db accounts setprop ibay-name ModDav disabled
signal-event ibay-modify ibay-name

ETag http response header (FileETag) settings

According to bugzilla:4482 there seems to be a problem when using Sunbird calendar sharing in DAV enabled ibays. To fix this you can define the FileETag setting to a value of none using the following command:

db accounts setprop ibay-name ModDav-FileETag none

More information on possible FileETag options can be found in the Apache documentation.


Accessing a DAV enabled ibay

DAV-enabled Ibays can be accessed in any of several ways:

through Windows My Network Places
  1. Open "My Network Places"
  2. Select "Add a network place"
  3. Choose "Next"
  4. Choose "Another network location"
  5. Enter the address to your DAV enabled ibay, for instance http://server/data or https://server/data
through Internet Explorer

According to this post you can allow Windows/Internet Explorer users to open your DAV-enabled Ibays in Explorer for read-write access directly from your website by using code similar to the lines below.

As a (normal) link:

<a href="http://localhost/data/">Link to folder</a>

As a webfolder:

<a href="" folder="http://localhost/data/">Link to data folder</a>


Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-mod_dav component or use this link .