This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation. |
Difference between revisions of "CalDAV calendar server"
(→The Apple iCal client) |
|||
Line 1: | Line 1: | ||
− | 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. | + | 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. You have to add them to your sync settings first at Settings (top right) -> Synchronization. |
To add a calendar you must first determine your baseURI. Ideally your webserver is configured with an alias: | To add a calendar you must first determine your baseURI. Ideally your webserver is configured with an alias: | ||
Revision as of 14:29, 9 October 2012
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. You have to add them to your sync settings first at Settings (top right) -> Synchronization. To add a calendar you must first determine your baseURI. Ideally your webserver is configured with an alias:
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.
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 <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
Maximum age of events
By default, Group-Office only synchronizes events that are not older then 1 month. If you would like to change this you can control it with this parameter in config.php:
$config['caldav_max_months_old']=6;