* CalDAV/CardDAV redirect for iOS 4.3.1+ to autodetect accounts

This commit is contained in:
Ralf Becker 2011-08-02 16:37:22 +00:00
parent 74ddade8a0
commit a182e0b9cc
2 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,9 @@ Alias /egroupware /usr/share/egroupware
# Enable ActiveSync protocol support via eSync app
Alias /Microsoft-Server-ActiveSync /usr/share/egroupware/activesync/index.php
# iOS 4.3+ calendar requires that to autodetect accounts
RedirectMatch ^(/principals/users/.*)$ /egroupware/groupdav.php$1
<Directory /usr/share/egroupware/>
Options FollowSymLinks ExecCGI
AllowOverride None

View File

@ -40,3 +40,6 @@ RewriteBase /
RewriteRule ^.well-known/(caldav|carddav)$ /egroupware/groupdav.php/ [R]
RewriteCond %{REQUEST_METHOD} ^(PROPFIND|OPTIONS)$
RewriteRule ^/$ /egroupware/groupdav.php/ [R]
# iOS 4.3+ calendar requires that to autodetect accounts
RewriteRule ^(/principals/users/.*)$ /egroupware/groupdav.php$1 [R]