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

Jan Schneider jan at horde.org
Fri Jun 21 19:45:47 UTC 2013


Zitat von Stefan Johänntgen <Stefan at nicolejo.de>:

> Am 19.06.2013 23:34, schrieb Volker Then:
>>
>> 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
>>
>>
> Here the same.
>
> On OSX 10.6.8 caldav works but not the adressbook. In the  
> apache-logs appears:
> "PROPFIND /directory/ HTTP/1.1" 405 4243 "-" "Adressbuch/883  
> CFNetwork/454.12.4 Darwin/10.8.0 (i386) (MacBookPro5%2C1)"
> "PROPFIND /rpc.php/principals/user at domain.de/ HTTP/1.1" 404 580 "-"  
> "Adressbuch/883 CFNetwork/454.12.4 Darwin/10.8.0 (i386)  
> (MacBookPro5%2C1)"
>
> Any idea?

And does the latter path exist? The 404 response doesn't make it look  
like it is. Does that match the URL you entered in the accounts setup?
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list