From cfb26a50f2681d72b035e0bf725915931fcaeafd Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Fri, 5 Oct 2018 15:47:58 +0000 Subject: [PATCH] Add changes, docs for DefaultStateDir and DavLockDB default change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842938 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 6 ++++++ docs/manual/mod/core.xml | 34 ++++++++++++++++++++++++++++++++++ docs/manual/mod/mod_dav_fs.xml | 8 ++++++++ 3 files changed, 48 insertions(+) diff --git a/CHANGES b/CHANGES index ebb00eb311..2758c7c235 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,12 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.1 + *) mod_dav_fs: Set a default DAVLockDB within the state directory. + [Joe Orton] + + *) core: Add DefaultStateDir and layout-specific state directory + created at "make install". [Joe Orton] + *) mod_ssl: Fix a regression that the configuration settings for verify mode and verify depth were taken from the frontend connection in case of connections by the proxy to the backend. PR 62769. [Ruediger Pluem] diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index f16b68a8f4..fdab7bffe1 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -743,6 +743,40 @@ DefaultRuntimeDir scratch/ permissions on the ServerRoot + +DefaultStateDir +Base directory for the persistent state files +DefaultStateeDir directory-path +DefaultRuntimeDir DEFAULT_REL_STATEDIR (state/) +server config +Available in Apache 2.5.1 and later + + +

The DefaultStateDir directive sets the + directory in which the server will create various persistent state + files (databases, long-lived caches, etc.). If set as a relative + path, the full path will be relative to + ServerRoot.

+ +

Example

+ +DefaultStateDir state/ + + +

The default location of DefaultStateDir may be + modified by changing the DEFAULT_REL_STATEDIR #define + at build time.

+ +

Note: ServerRoot should be specified before this + directive is used. Otherwise, the default value of ServerRoot + would be used to set the base directory.

+ +
+the + security tips for information on how to properly set + permissions on the ServerRoot +
+ DefaultType This directive has no effect other than to emit warnings diff --git a/docs/manual/mod/mod_dav_fs.xml b/docs/manual/mod/mod_dav_fs.xml index 5fbf72158c..eda5248af5 100644 --- a/docs/manual/mod/mod_dav_fs.xml +++ b/docs/manual/mod/mod_dav_fs.xml @@ -55,6 +55,8 @@ DavLockDB file-path server configvirtual host +DavLockDB statedir/davlockdb +No default prior to version 2.5.1.

Use the DavLockDB directive to specify @@ -84,6 +86,12 @@ module="core">ServerRoot with the base filename DavLock and extension name chosen by the server.

+ Default setting +

In httpd version 2.5.1 and later, a hard-coded default path + relative to the state directory (configurable via DefaultStateDir) is used.

+
+
-- 2.40.0