mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
ed733eef42
Addressbook does NOT allow to specify the URL, unlike iCal which allows it after autodetection fails. This, some XML specifics set now for Apple addressbook user-agents and etags for addressbook collection itself allow now to use EGroupware with iPhone or Mac addressbook. The later was working before, if you edited the URL into a decompiled plist file, but failed now because of a new REPORT it tries on the principal, to find out shared addessbooks, which we not yet support, but failed to tell in the correct way (501 Not Implemented). Addressbook sync now the personal addressbook, because that is what we tell it as addressbook-home-set. We should add some configuration so user can choose what addressbook to set as addressbook-home-set, or to set the "all" addressbook (/addressbook). For the later we could add some prefs like SyncML to specify filters or eg. a distribution list.
29 lines
1.1 KiB
Plaintext
Executable File
29 lines
1.1 KiB
Plaintext
Executable File
# EGroupware CalDav or CardDAV support
|
|
#
|
|
# $Id$
|
|
#
|
|
# This file can be copyied as .htaccess to your document root
|
|
# to support Mac or iPhone clients to autodetec CalDAV and CardDAV
|
|
# (currently Addressbook does NOT allow to specify our groupdav.php
|
|
# URL manually).
|
|
#
|
|
# As alternative an EGroupware install directly in the docroot or
|
|
# an unconditional redirect from the docroot to EGroupware's index.php
|
|
# will archive the same thing, as it redirects PROPFIND or OPTION
|
|
# requests to groupdav.php/ (many have such a redirect already in place).
|
|
#
|
|
# An other alternativ is to copy the PROPFIND/OPTION redirect from
|
|
# the top of EGroupware's index.php into your index.php in the docroot.
|
|
#
|
|
# Please note:
|
|
# - your Apache web server needs to be setup to read .htaccess files and
|
|
# allow use of the RewriteEngine directive (AllowOverride FileInfo).
|
|
# - you need to replace /egroupware with your EGroupware URL path eg. /egw
|
|
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
|
|
RewriteRule ^.well-known/(caldav|carddav)$ /egroupware/groupdav.php/ [R]
|
|
RewriteCond %{REQUEST_METHOD} ^PROPFIND$
|
|
RewriteRule ^/$ /egroupware/groupdav.php/
|