From dbe930d4def09942ddfd0ad5402a6a92fd04543f Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Sun, 25 Mar 2012 22:33:28 +0000 Subject: [PATCH] Document use of the DefaultRuntimeDir directive. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1305166 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_slotmem_shm.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/manual/mod/mod_slotmem_shm.xml b/docs/manual/mod/mod_slotmem_shm.xml index 7a6ed8099e..c49357dfc5 100644 --- a/docs/manual/mod/mod_slotmem_shm.xml +++ b/docs/manual/mod/mod_slotmem_shm.xml @@ -38,7 +38,9 @@ restart, whether graceful or not. The data itself is stored and restored within a file noted by the name parameter in the create and attach - calls. + calls. If not specified with an absolute path, the file will be + created relative to the path specified by the + DefaultRuntimeDir directive.

mod_slotmem_shm provides the following API functions: @@ -55,9 +57,9 @@

"none"
Does not persist shared memory in file.
"file-name"
-
$server_root/file-name
+
[DefaultRuntimeDir]/file-name
"/absolute-file-name"
-
$absolute-file-name
+
Absolute file name
apr_status_t attach(ap_slotmem_instance_t **new, const char *name, apr_size_t *item_size, unsigned int *item_num, apr_pool_t *pool)
-- 2.40.0