summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2012-03-07 13:51:04 +0100
committerJim Jagielski <jim@apache.org>2012-03-07 13:51:04 +0100
commit25c27c59ddb7242901767eb98e195fd686f85f11 (patch)
tree1b7a9ebdf416437f36931f43491958c6f64e8f0e /docs
parentPR52845: "DirectoryIndex disabled" should blow away the DirectoryIndex settings (diff)
downloadapache2-25c27c59ddb7242901767eb98e195fd686f85f11.tar.xz
apache2-25c27c59ddb7242901767eb98e195fd686f85f11.zip
Docs (and minor comment change) for DefaultRuntimeDir directive
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1297959 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/mod/core.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 3766077a81..28e6b3324b 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -605,6 +605,37 @@ headers</description>
</directivesynopsis>
<directivesynopsis>
+<name>DefaultRuntimeDir</name>
+<description>Base directory for the server run-time files</description>
+<syntax>DefaultRuntimeDir <var>directory-path</var></syntax>
+<default>DefaultRuntimeDir DEFAULT_REL_RUNTIMEDIR (logs/)</default>
+<contextlist><context>server config</context></contextlist>
+
+<usage>
+ <p>The <directive>DefaultRuntimeDir</directive> directive sets the
+ directory in which the server will create various run-time files
+ (shared memory, locks, etc.). If set as a relative path, the full path
+ will be relative to <directive>ServerRoot</directive></p>
+
+ <example><title>Example</title>
+ DefaultRuntimeDir scratch/
+ </example>
+
+ <p>The default location of <directive>DefaultRuntimeDir</directive> may be
+ modified by changing the <code>DEFAULT_REL_RUNTIMEDIR</code> #define
+ at build time.</p>
+
+ <p>Note: <directive>ServerRoot</directive> should be specified before this
+ directive is used, otherwise the default value of <directive>ServerRoot</directive>
+ would be used to set the base directory.</p>
+
+</usage>
+<seealso><a href="../misc/security_tips.html#serverroot">the
+ security tips</a> for information on how to properly set
+ permissions on the <directive>ServerRoot</directive></seealso>
+</directivesynopsis>
+
+<directivesynopsis>
<name>DefaultType</name>
<description>This directive has no effect other than to emit warnings
if the value is not <code>none</code>. In prior versions, DefaultType