Mod dav
Maintainer
Version
Description
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, but it can be used independently to add DAV to i-bays as well, this way you can, for instance, use it to store your iCal web calendar files, using the WebDAV protocol.
Installation
Install the contrib:
yum install smeserver-mod_dav --enablerepo=smecontribs
Configuration
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.
Usage
Accessing a DAV enabled ibay
DAV-enabled Ibays can be accessed in any of several ways:
through Windows My Network Places
- Open "My Network Places"
- Select "Add a network place"
- Choose "Next"
- Choose "Another network location"
- 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>
Known issues
httpd-2.4 bug with mod_dir
you have to disable see https://bz.apache.org/bugzilla/show_bug.cgi?id=54914 We hence have enforced that in the contrib for ibay but you might get the same issue if you use mod DAV for a contrib
Fedora complain about lack of compatibility to mount dav
If you see this error : "/sbin/mount.davfs: mounting failed; the server does not support WebDAV" you need to do the following, then it will work
sudo echo "ignore_dav_header 1" >> /etc/davfs2/davfs2.conf
Bugs
Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-mod_dav component or use this link .
Changelog
Only released version in smecontrib are listed here.
- update to apache 2.4 access syntax [SME: 12051]
- Ensure persistence of/var/run/davlocks on reboot/reconfig [SME: 11630]
2021/03/01 Jean-Philipe Pialasse 1.1-6.sme
- fix security issues [SME: 11077]
where user could access ibay he was not member of group
- improve ibay dav template [SME 4564]
force ssl, secure php file, disable cgi and php
when DAV enabled on ibay, and respect rmeote access settings
- descriptive login box [SME: 5337]
- add createlinks and add -update event [SME: 11070]
- Initial import into SME10 tree [SME: 11070]