Enable WebDav in Lighttpd - ligthy's mod_webdav

To enable WebDav in Lighttpd, e.g. to serve ics-style calendars for Mozilla Thunderbird simply edit


and append following lines - adopt them to your needs

$HTTP["host"] == "mydomain.tld" {
alias.url = ( "/mypath" => "/were/the/files/are/" )
$HTTP["url"] =~ "^/mypath($|/)" {
webdav.activate = "enable"
webdav.is-readonly = "disable"
webdav.sqlite-db-name = "/var/run/lighttpd/lighttpd.webdav_lock.db"

then go to the top of this very file and enable the module

server.modules = (

Gracefully restart the daemon and you are done

/etc/init.d/lighttpd force-reload

Did it work for you - drop a comment.


Popular Posts