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

This commit is contained in:
Ralf Becker 2011-08-02 16:38:37 +00:00
parent 3e248e6eb2
commit 6cd2f5451c
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,9 @@
# this makes EGroupware available for all vhosts
Alias /egroupware /usr/share/egroupware
# 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]