Baikal caldav Server with iOS

Oktober 8, 2019

Wer den baikal CalDav Server zusammen mit iOS verwenden möchte der wird vielleicht bemerken, dass dies nicht optimal funktioniert. Bei mir wurde der Kalender nicht korrekt erkannt und auch nicht synchronisiert. Grund dafür ist, dass ein paar Weiterleitungen seitens von Apache gefehlt haben.

RewriteEngine on
...
Redirect 301 /.well-known/carddav https://domain.ch/baikal/html/card.php
Redirect 301 /.well-known/caldav  https://domain.ch/baikal/html/cal.php
Redirect 301 /.well-known/webdav  https://domain.ch/baikal/html/dav.php

Nach dem Einfügen der obigen Zeilen und einem Neustart von Apache, funktionierte der Kalender einwandfrei! Diese Zeilen stammen von hier

Dafür wurde unter iOS folgende Kalenderzeile verwendet:

https://domain.ch/baikal/html/cal.php/calendars/username

Vielleicht hilft diese Information ja jemandem.

If you want to use the baikal CalDav Server together with iOS you might notice that this does not work optimally. For me, the calendar was not recognized correctly and also not synchronized. The reason for this is that a few redirects on the part of Apache were missing.

RewriteEngine on
...
Redirect 301 /.well-known/carddav https://domain.ch/baikal/html/card.php
Redirect 301 /.well-known/caldav  https://domain.ch/baikal/html/cal.php
Redirect 301 /.well-known/webdav  https://domain.ch/baikal/html/dav.php

After pasting the above lines and restarting Apache, the calendar worked fine! These lines are from hier

The following calendar line was used for this on iOS:

https://domain.ch/baikal/html/cal.php/calendars/username