[horde] CalDAV / CardDAV and MacOS X / iOS clients

Volker Then horde40 at volkerthen.com
Wed Jun 19 21:34:11 UTC 2013


Zitat von Volker Then <horde40 at volkerthen.com>:

> Zitat von Anna Christina Naß <acn at annachristina.eu>:
>
>> Hallo,
>>
>> Did anyone succeed in using MacOS X Calendar / Address Book and/or  
>> iOS as clients for Hordes new CardDAV/CalDAV server?
>>
>> If yes, how did you do it?
>> (Authentication? Backends? URLs?)
>>
>> Thank you!
>>
>> Regards,
>> Anna Christina Naß
>
> I checked on iOS as a client today - CalDAV and CardDAV:
>
> CalDAV is working here, when I provide the account address for all  
> calendars: rpc.php/principals/username
> If a single calendar address is being subscribed, this calendar  
> doesn't show up in the iPhone's calendar app.
>
>
> With CardDAV I checked the Apache logs:
>
>
>
> 192.168.187.222 - - [14/Jun/2013:13:47:09 +0200] "PROPFIND  
> /h4/rpc.php/principals/vt/.well-known/carddav HTTP/1.1" 401 206 "-"  
> "iOS/6.1.2 (10B146) Preferences/1.0"
> 192.168.187.222 - vt [14/Jun/2013:13:47:09 +0200] "PROPFIND  
> /h4/rpc.php/principals/vt/.well-known/carddav HTTP/1.1" 404 218 "-"  
> "iOS/6.1.2 (10B146) Preferences/1.0"
> 192.168.187.222 - - [14/Jun/2013:13:47:09 +0200] "PROPFIND  
> /h4/rpc.php/principals/vt/ HTTP/1.1" 401 206 "-" "iOS/6.1.2 (10B146)  
> Preferences/1.0"
> 192.168.187.222 - vt [14/Jun/2013:13:47:10 +0200] "PROPFIND  
> /h4/rpc.php/principals/vt/ HTTP/1.1" 207 286 "-" "iOS/6.1.2 (10B146)  
> Preferences/1.0"
> 192.168.187.222 - vt [14/Jun/2013:13:47:10 +0200] "OPTIONS  
> /h4/rpc.php/principals/vt/h4/rpc.php/principals/vt/ HTTP/1.1" 404  
> 211 "-" "iOS/6.1.2 (10B146) Preferences/1.0"
> 192.168.187.222 - vt [14/Jun/2013:13:47:10 +0200] "PROPFIND  
> /h4/rpc.php/principals/vt/principals/ HTTP/1.1" 404 212 "-"  
> "iOS/6.1.2 (10B146) Preferences/1.0"
>
> The correct path is getting a 207 message ("Multi Status").
>

OK, I finally got CardDAV to work with iOS. Thanks to Fong Kinglok's  
latest message on the list, I applied the following rewrite rule to my  
apache's config:

RewriteEngine On
RewriteRule /.well-known/carddav /horde/rpc.php/ [R,L]

So, you only must use your server's hostname in the CardDAV setup on  
the iPhone. All my addressbooks appear on the phone.

Did I miss this in the turba and or horde CardDav documentation somewhere?

But still no success on OS X.


Volker




More information about the horde mailing list