Skip to content

Instantly share code, notes, and snippets.

@kejadlen
Created July 28, 2012 02:37
Show Gist options
  • Save kejadlen/3191487 to your computer and use it in GitHub Desktop.
Save kejadlen/3191487 to your computer and use it in GitHub Desktop.
$HTTP["host"] =~ "xmarks.foobar.com" {
server.document-root = "/path/to/xmarks/dir"
webdav.activate = "enable"
webdav.is-readonly = "disable"
webdav.sqlite-db-name = "/var/run/lighttpd/lighttpd.webdav_lock.db"
auth.backend = "htdigest"
auth.backend.htdigest.userfile = "/path/to/xmarks/dir/.passwd"
auth.require = ( "" => ( "method" => "digest",
"realm" => "webdav",
"require" => "valid-user" ) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment