TransWikia.com

Problems with WEBDAV on lighttpd

Server Fault Asked by user3670606 on November 4, 2021

I’ve setup webdav on lighttpd but I’m getting a Cannot open collection – 404 not found when I try to access the share through cadaver. My lines for the vhost and share are as follows:

$HTTP["host"] == "www.markmhart.com" {
  server.document-root = "/var/www/servers/www.markmhart.com/pages/" 
  $HTTP["url"] =~ "^/download/" {
    dir-listing.activate = "enable" 
  }
alias.url = ("/media" => "/media/mark/media")
    $HTTP["url"] =~ "^/media($|/)" {
        webdav.activate = "enable"
        webdav.is-readonly = "disable"
        webdav.sqlite-db-name = "/var/run/lighttpd/lighttpd.webdav_lock.db"

}
}

The path and files are good. They are chown to nobody:nogroup and are set to 755.

Any help would be appreciated.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP