This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "WebDAV"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
(Davfs2)
Line 1: Line 1:
 +
With WebDAV you can mount the Group-Office files as a network share on your desktop. First you must determine the baseURI.
 +
 +
Ideally your Apache webserver is configured with an alias
 +
 +
Alias /webdav /path/to/groupoffice/modules/dav/files.php
 +
 +
In this case your baseURI is:
 +
 +
https://your.url.to.groupoffice/webdav/
 +
 +
Otherwise the URL will not work on Windows and it's:
 +
 +
https://your.url.to.groupoffice/modules/dav/files.php/
 +
 +
The WebDAV feature is based on [http://code.google.com/p/sabredav/ SabreDAV]
 +
 +
==Windows==
 +
 +
Use the URL above and follow the instructions here:
 +
 +
http://code.google.com/p/sabredav/wiki/Windows
 +
 
==Davfs2==
 
==Davfs2==
  

Revision as of 11:08, 26 November 2010

With WebDAV you can mount the Group-Office files as a network share on your desktop. First you must determine the baseURI.

Ideally your Apache webserver is configured with an alias

Alias /webdav /path/to/groupoffice/modules/dav/files.php

In this case your baseURI is:

https://your.url.to.groupoffice/webdav/

Otherwise the URL will not work on Windows and it's:

https://your.url.to.groupoffice/modules/dav/files.php/

The WebDAV feature is based on SabreDAV

Windows

Use the URL above and follow the instructions here:

http://code.google.com/p/sabredav/wiki/Windows

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 to /etc/fstab:

https://your.url.to.groupoffice/modules/dav/files.php/ /media/groupoffice davfs user,noauto,rw 0 0

Then, add the following line to /etc/davfs2/secrets:

https://your.url.to.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.