From 3f57ada0572916508ff2a878255027d666e5f873 Mon Sep 17 00:00:00 2001 From: Chris Smeele Date: Tue, 1 Nov 2016 13:53:19 +0100 Subject: [PATCH] Added lock directory docs for building from source --- README.md | 5 +++++ davrods-vhost.conf | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 19d3762..08ad81b 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,11 @@ file can be used as is (but please read the __Configuration__ section). Finally, set up httpd to serve Davrods where you want it to. An example vhost config is provided for your convenience. +If you are using the `davrods-locallock` dav provider (as in the +provided vhost file), you will also need to create a directory at +`/var/lib/davrods` and grant apache write access to this directory. +This location will then be used to store the lock database. + ## Bugs and ToDos ## diff --git a/davrods-vhost.conf b/davrods-vhost.conf index 844d2af..0d52065 100644 --- a/davrods-vhost.conf +++ b/davrods-vhost.conf @@ -41,6 +41,10 @@ # # - davrods-nolocks: WebDAV class 1 provider, no support for locking # # - davrods-locallock (recommended): WebDAV class 2 provider, uses a DBM lock database local to this webserver # # +# # Note that the davrods-locallock provider requires an apache-writable lockdb directory +# # (/var/lib/davrods, or a path specified using the DavRodsLockDB directive - see further down this file). +# # The RPM distribution creates this directory for you. +# # # Dav davrods-locallock # # # }}}