Low-hassle WebDAV setup (on RHEL-derived distros…)
RHEL-derived distributions (Fedora, Alma, …) package a recent version of sabre/dav which is, to my knowledge, one of the only open-source WebDAV/CalDAV/CardDAV servers with wide enough compatibility for actual usage.
Being packaged in upstream repositories helps avoid supply-chain issues as well as churn. I am reasonably confident that the package will remain available in the near future, even if only by inertia.
The only unfortunate thing is that, in order to get the server to run, a small amount of PHP has to be written. The sabre/dav project has reasonable tutorials for setting up a WebDAV and CalDAV/CardDAV server.
In order to adapt the examples to the system-provided sabre/dav, only the following change is needed:
-require 'vendor/autoload.php';
+require_once '/usr/share/php/Sabre/DAV4/autoload.php';