[horde] Caldav/Carddav using Horde Framework and lighttpd

Julian Kotysch julian at kotysch.de
Wed Dec 7 12:50:00 UTC 2022


Hello,
I want to use caldav/carddav with Horde Framework and lighttpd, but I can't connect to my Server with my iPhone or Thunderbird.
I think the rewrite (lighttpd) isn't possible.

Used Versions: Debian 11 (bullseye); Lighttpd 1.4.59; Horde Framework 5.2.23

Lighttpd Config:
$HTTP["host"] == "dav.test.de" {
url.rewrite-if-not-file = ("" => "/rpc.php")
}

curl query:
curl.exe -X PROPFIND --basic --user "username:password" dav.test.de

curl result:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\Forbidden</s:exception>
<s:message>Requested uri (/) is out of base uri (/rpc.php/)</s:message>
<s:sabredav-version>1.8.12</s:sabredav-version>
</d:error>


Does anyone have an example configuration for using lighttpd?


Regards

Julian


More information about the horde mailing list