This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation. |
WebDAV
With WebDAV you can mount the Group-Office files as a network share on your desktop. First you must determine the baseURI.
Contents
Server Installation
If you installed the Debian packages you don't have to install anything on the server. Everything is configured by default and you can move on to the client configuration.
Ideally your Apache webserver is configured with an alias
Alias /webdav /path/to/groupoffice/modules/dav/files.php
In this case your baseURI is:
http(s)://your.url.to.groupoffice/webdav/
Otherwise the URL will not work on Windows and it's:
http(s)://your.url.to.groupoffice/modules/dav/files.php/
The WebDAV feature is based on SabreDAV. You can find more information about clients on that page too.
The default value for your.url.to.groupoffice/ is your.domain/groupoffice/
Installation when PHP runs in CGI mode
If you use PHP through CGI or FastCGI and Apache authentication headers are not passed through by default. You can enable this with the following mod_rewrite rule:
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] </IfModule>
If you already had a mod_rewrite rule to map all urls to a server file, you might need to change this to something like:
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule .* /modules/caldav/calendar.php [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] </IfModule>
Note the /modules/caldav/calendar.php. Make sure this reflects the correct relative URL of your server file.
Windows
Use the URL above and follow the instructions here:
http://sabre.io/dav/clients/windows/
Windows 7 and higher
On Windows 7 I had to disable "Automatic network detection":
- In Internet Explorer, open the Tools menu, then click Internet Options.
- Select the Connections tab.
- Click the LAN Settings button.
- Uncheck the “Automatically detect settings” box.
Note: Also make sure you're not using SNI (multiple ssl certificates on the same virtual host) on your webserver. The Windows Webdav client does not support this! Read more about it on the Sabredav page mentioned above.
And I had to install the webfolders update:
http://www.microsoft.com/downloads/details.aspx?FamilyId=17C36612-632E-4C04-9382-987622ED1D64.
Davfs2
Make sure "davfs2" is installed.
Create a mount point as root:
mkdir /media/groupoffice/
Add to /etc/davfs2/davfs2.conf (See https://bugs.launchpad.net/ubuntu/+source/davfs2/+bug/459998):
ignore_home kernoops
Add your user to the davfs2 group in /etc/group. Find the line with davfs2 and append your user name like this:
davfs2:x:130:username
Add this line in /etc/fstab (adapt the path to groupoffice, if it is not default /groupoffice on your server):
https://your.domain/groupoffice/modules/dav/files.php/ /media/groupoffice davfs user,noauto,rw 0 0
Then, add the following line to /etc/davfs2/secrets:
https://your.domain/groupoffice/modules/dav/files.php/ username mypassword
Now run:
chmod u+s /sbin/mount.davfs
Now you can mount the drive with the file manager or on the terminal as the normal user:
mount /media/groupoffice/
And you should be able to browse your Group-Office files.
Supported clients
- Windows (Please see http://sabre.io/dav/clients/windows/) - OS X Finder - GNOME Nautulis - Atmail - BitKinex - Cadaver - Cyberduck - DavFS - Evolution - iCal - iOS - KDE - Microsoft Office (Consider maximum path lengths of 218 charachers. The full URL counts as path too and not the drive mapping). - NetDrive - OpenOffice - OS X addressbook - Sunbird - Thunderbird - Transmit - iOS UX Write
Not supported (not working) clients
- Quick Edit