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

Difference between revisions of "CalDAV calendar server"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
Line 11: Line 11:
 
In that case the base URI to your CalDAV server is:
 
In that case the base URI to your CalDAV server is:
  
http(s)://your.url.to.groupoffice/caldav/
+
'''http(s)://your.url.to.groupoffice/caldav/
 
+
'''
 
Otherwise it's this:
 
Otherwise it's this:
  
http(s)://your.url.to.groupoffice/modules/caldav/calendar.php/
+
'''http(s)://your.url.to.groupoffice/modules/caldav/calendar.php/
 
+
'''
 
The CalDAV feature is based on [http://code.google.com/p/sabredav/ SabreDAV]. You can find more information about clients on that page too.
 
The CalDAV feature is based on [http://code.google.com/p/sabredav/ SabreDAV]. You can find more information about clients on that page too.
  

Revision as of 13:52, 21 March 2011

Note: This feature is only available in version 3.6 professional or higher.

With the CalDAV calendar server built in you can connect to the Group-Office calendars with other clients. Only writable calendars can be added with CalDAV. To add a calendar you must first determine your baseURI. Ideally your webserver is configured with an alias:

Server Installation

If you didn't install with the Debian packages don't have to install anything. Everything is configured by default.

Alias /caldav /path/to/go/modules/caldav/calendar.php

In that case the base URI to your CalDAV server is:

http(s)://your.url.to.groupoffice/caldav/ Otherwise it's this:

http(s)://your.url.to.groupoffice/modules/caldav/calendar.php/ The CalDAV feature is based on SabreDAV. You can find more information about clients on that page too.

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.


The Apple iCal client

Connecting with iCal:

  • Go to preferences in the iCal menu
  • Go to the Accounts tab
  • Press the + button to add a new account
  • Select 'CalDAV server' for account type
  • Enter your username, password
  • For server address, enter the full <baseURI>/principals/<your.groupoffice.username>/. Do NOT forget the trailing slash!

The Evolution CalDAV client

Connecting with Evolution:

  • Find your calendar URL at: <baseURI>/calendars/

Select your username and then find your calendar.
Eg. for John Smith: <baseURI>/calendars/jsmith/smith-john-1/

  • Connecting to a CalDAV server is done through the "New > Create new calendar" dialog. In this dialog it is possible to specify a CalDAV location. (Replace http(s) with caldav)


To setup TODO lists through Evolution works the exact same (select New tasklist instead of calendar).

Thunderbird with the lightning plugin

  • Find your calendar URL at: <baseURI>/calendars/

Select your username and then find your calendar.
Eg. for John Smith: <baseURI>/calendars/jsmith/smith-john-1/

  • In the main menu go to: File -> New -> Calendar
  • Select "On the network" in the dialog that pops up
  • Enter the URL you found in the first step