Caldav carddav Bundles: Difference between revisions
Karsten.will (talk | contribs) |
Karsten.will (talk | contribs) |
||
Line 82: | Line 82: | ||
</Location> | </Location> | ||
</VirtualHost> | </VirtualHost> | ||
=== Alternative 2: Apache useragent detection === | === Alternative 2: Apache useragent detection === | ||
Line 97: | Line 94: | ||
RewriteCond %{HTTP_USER_AGENT} CoreDAV [OR] | RewriteCond %{HTTP_USER_AGENT} CoreDAV [OR] | ||
RewriteRule (.*) ajp://localhost:8009/servlet/dav$1 [P] | RewriteRule (.*) ajp://localhost:8009/servlet/dav$1 [P] | ||
{{InstallPlugin|pluginname=open-xchange-caldav open-xchange-carddav open-xchange-webdav-acl open-xchange-webdav-directory |sopath=updates}} | |||
== Configuration == | == Configuration == | ||
To find out how to set up the Mac OS X clients, please see: [[SetUpMacCalCardDAVClients|Setting up CalDAV and CardDAV in Mac OS X]] | To find out how to set up the Mac OS X clients, please see: [[SetUpMacCalCardDAVClients|Setting up CalDAV and CardDAV in Mac OS X]] |
Revision as of 14:07, 27 July 2011
Installation CalDAV and CardDAV with Open-Xchange (Beta)
OXtender for Mac OS X will be discontinued due to the fact that the latest version of Apple OS X “Lion” will no longer support Apple SyncServices, which synchronization with OXtender for Mac OS X was based on. To support future synchronization between Open-Xchange Server and Mac OS X application, Open-Xchange implements synchronization functionality that will be using CalDAV and CardDAV protocols.
The new synchronization protocols are available for all customers with a valid Open-Xchange license of Open-Xchange Server Edition and Open- Xchange Hosting Edition.
Please note: As of today the Open-Xchange CalDAV and CardDAV support is „Beta“ and will be continuously enhanced. With this release only the native OS X applications are supported. The support for other clients e.g. Thunderbird is planned for a future releases. The CardDAV support only synchronizes one address book. Currently the global address book plus the user’s private address book will get merged into one address book on the OS X device.
Open-Xchange is eagerly interested in learning about your tests, specifically in your specific environment. Please provide us with your feedback via our Public Bugzilla OX6 Server Edition
User Guide and Configuration
Please find further information regarding the configuration at the User Guide
Preparation
Alternative 1: Apache vhost (recommended)
Please edit your file /etc/apache2/ox6.conf so that the existing configuration for ox as well as the new configuration for CalDAV and CardDav are placed inside a virtual host .
This is an example where MYSERVER.TLD is the domain-name of the ox-server:
$ vi /etc/apache2/ox6.conf
NameVirtualHost *:80 <VirtualHost *:80> ServerName dav.MYSERVER.TLD ErrorLog /tmp/dav.err.log TransferLog /tmp/dav.access.log <Proxy /> Order allow,deny Allow from all </Proxy> ProxyPass / ajp://localhost:8009/servlet/dav/ smax=0 ttl=60 retry=5 </VirtualHost> <VirtualHost *:80> ServerName MYSERVER.TLD <Location /ox6> # Expires (via ExpiresByType to override global settings) ExpiresByType image/gif "access plus 6 months" ExpiresByType image/png "access plus 6 months" ExpiresByType image/jpg "access plus 6 months" ExpiresByType image/jpeg "access plus 6 months" ExpiresByType text/css "access plus 6 months" ExpiresByType text/html "access plus 6 months" ExpiresByType text/xml "access plus 6 months" ExpiresByType text/javascript "access plus 6 months" ExpiresByType text/x-js "access plus 6 months" ExpiresByType application/x-javascript "access plus 6 months" ExpiresDefault "access plus 6 months" Header append Cache-Control "private" Header unset Last-Modified Header unset Vary # Strip version RewriteEngine On RewriteRule v=\w+/(.+) $1 [L] # Turn off ETag Header unset ETag FileETag None </Location> <Location /ox6/ox.html> ExpiresByType text/html "now" ExpiresDefault "now" Header unset Last-Modified Header set Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0" # Turn off ETag Header unset ETag FileETag None </Location> <Location /ox6/index.html> ExpiresByType text/html "now" ExpiresDefault "now" Header unset Last-Modified Header set Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0" # Turn off ETag Header unset ETag FileETag None </Location> <Location /ajax> SetOutputFilter DEFLATE </Location> </VirtualHost>
Alternative 2: Apache useragent detection
For environments where it is inconvenient to setup a vhost there is the possibility to redirect to relevant servlets another way: Via useragent detection. This is not recommended for the following reason: Per definition this is a whitelist-approach and any client sending a useragent-string not explicitly listed in the configuration will not be able to connect . Useragent-strings may change between different versions of an application or even actively changed into something non-standard.
$ vi /etc/apache2/ox6.conf
RewriteEngine On RewriteCond %{HTTP_USER_AGENT} AddressBook [OR] RewriteCond %{HTTP_USER_AGENT} CalendarStore [OR] RewriteCond %{HTTP_USER_AGENT} CoreDAV [OR] RewriteRule (.*) ajp://localhost:8009/servlet/dav$1 [P]
Install on OX AppSuite
Debian GNU/Linux 11.0
Add the following entry to /etc/apt/sources.list.d/open-xchange.list if not already present:
deb https://software.open-xchange.com/products/updates/DebianBullseye/ /
# if you have a valid maintenance subscription, please uncomment the
# following and add the ldb account data to the url so that the most recent
# packages get installed
# deb https://[CUSTOMERID:PASSWORD]@software.open-xchange.com/products/updates/updates/DebianBullseye/ /
and run
$ apt-get update $ apt-get install open-xchange-caldav open-xchange-carddav open-xchange-webdav-acl open-xchange-webdav-directory
Debian GNU/Linux 12.0
Add the following entry to /etc/apt/sources.list.d/open-xchange.list if not already present:
deb https://software.open-xchange.com/products/updates/DebianBookworm/ /
# if you have a valid maintenance subscription, please uncomment the
# following and add the ldb account data to the url so that the most recent
# packages get installed
# deb https://[CUSTOMERID:PASSWORD]@software.open-xchange.com/products/updates/updates/DebianBookworm/ /
and run
$ apt-get update $ apt-get install open-xchange-caldav open-xchange-carddav open-xchange-webdav-acl open-xchange-webdav-directory
Configuration
To find out how to set up the Mac OS X clients, please see: Setting up CalDAV and CardDAV in Mac OS X