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

Volker Then horde40 at volkerthen.com
Fri Jun 14 11:56:53 UTC 2013


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:07:33 +0200] "PROPFIND  
/h4/rpc.php/principals/vt/%3A443/.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:07:33 +0200] "PROPFIND  
/h4/rpc.php/principals/vt/%3A443/.well-known/carddav HTTP/1.1" 404 213  
"-" "iOS/6.1.2 (10B146) Preferences/1.0"
192.168.187.222 - - [14/Jun/2013:13:07:34 +0200] "PROPFIND  
/h4/rpc.php/principals/vt/%3A443/ HTTP/1.1" 401 206 "-" "iOS/6.1.2  
(10B146) Preferences/1.0"
192.168.187.222 - vt [14/Jun/2013:13:07:34 +0200] "PROPFIND  
/h4/rpc.php/principals/vt/%3A443/ HTTP/1.1" 404 213 "-" "iOS/6.1.2  
(10B146) Preferences/1.0"
192.168.187.222 - vt [14/Jun/2013:13:07:34 +0200] "PROPFIND  
/h4/rpc.php/principals/vt/%3A443/principals/ HTTP/1.1" 404 213 "-"  
"iOS/6.1.2 (10B146) Preferences/1.0"


The iPhone appends :443 at the end of the URL. Seems the problem is,  
that you can only provide a server address in the iPhone and no path.

Then port 80, which really shouldn't make any sense since port 80  
should automatically rewrite to 443 on account of horde's setup:


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").

iOS 6.1.2


Volker




More information about the horde mailing list