Unable to Sync Owncloud Address Book in Mac OS X El Capitan

Hi,

I've been trying to resolve this issue for the part 3 days and loosing my mind! I really hope someone can help me.

I have installed OwnCloud 9.1 on Debian Jessie (version 3.16.7-ckt25-2+deb8u3) and got every up except the setup of syncing the calendar and contacts on Mac OS X El Capitan. I've followed, googled, check all forums on the entire internet for a solution and now have more questions than solutions.

This is the guide I've followed:

https://doc.owncloud.org/server/9.0/admin_manual/issues/general_troubleshooting.html#troubleshooting-contacts-calendar

But now I'm more confused. Where do I add the "Redirecting" lines on webserver? /var/www/owncloud/.htaccess ? And where in the file? Top or bottom? And is there anything else? Permissions perhaps? And how do I test it?

Hi,

if you don't provide mandatory infos like which webserver you're using its nearly impossible to help here.

It might be also useful to know how you're accessing your ownCloud instance (e.g. http://example.com or http://example.com/owncloud).

Hi,

It is Apache2 and here is my access instance: http://192.168.80.5/owncloud

one more thing, I did add the the following lines to the end of /var/www/owncloud/.htaccess file:

Redirect 301 /.well-known/carddav /owncloud/remote.php/dav
Redirect 301 /.well-known/caldav /owncloud/remote.php/dav

restarted apache2 and made no difference.

Exactly as you're editing the wrong file like described in the linked documentation.

This change would redirect

http://example.com/owncloud/.well-known/caldav

to

http://example.com/owncloud/remote.php/dav

However you need to redirect:

http://example.com/.well-known/caldav

to

http://example.com/owncloud/remote.php/dav

If you're struggling with the docs provided its the best to get in touch with a community like http://www.apachelounge.com where you might find more people teaching you the basics of Apache.