]> granicus.if.org Git - apache/commitdiff
Document use of the DefaultRuntimeDir directive.
authorGraham Leggett <minfrin@apache.org>
Sun, 25 Mar 2012 22:33:28 +0000 (22:33 +0000)
committerGraham Leggett <minfrin@apache.org>
Sun, 25 Mar 2012 22:33:28 +0000 (22:33 +0000)
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

index 7a6ed8099eff93445c6332cf18560b86ab00f8e9..c49357dfc5493e513615b56a2ec3454608fab559 100644 (file)
@@ -38,7 +38,9 @@
     restart, whether graceful or not. The data itself is
     stored and restored within a file noted by the <code>name</code>
     parameter in the <code>create</code> and <code>attach</code>
-    calls.
+    calls. If not specified with an absolute path, the file will be
+    created relative to the path specified by the
+    <directive module="core">DefaultRuntimeDir</directive> directive.
     </p>
 
     <p><code>mod_slotmem_shm</code> provides the following API functions:
@@ -55,9 +57,9 @@
          <dt><code>"none"</code></dt>
          <dd><code>Does not persist shared memory in file.</code></dd>
          <dt><code>"file-name"</code></dt>
-         <dd><code>$server_root/file-name</code></dd>
+         <dd><code>[DefaultRuntimeDir]/file-name</code></dd>
          <dt><code>"/absolute-file-name"</code></dt>
-         <dd><code>$absolute-file-name</code></dd>
+         <dd><code>Absolute file name</code></dd>
        </dl></dd>
 
       <dt>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)</dt>