From 25c27c59ddb7242901767eb98e195fd686f85f11 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Wed, 7 Mar 2012 12:51:04 +0000 Subject: [PATCH] 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 --- docs/manual/mod/core.xml | 31 +++++++++++++++++++++++++++++++ include/http_config.h | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) 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 @@ -604,6 +604,37 @@ headers + +DefaultRuntimeDir +Base directory for the server run-time files +DefaultRuntimeDir directory-path +DefaultRuntimeDir DEFAULT_REL_RUNTIMEDIR (logs/) +server config + + +

The DefaultRuntimeDir 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 ServerRoot

+ + Example + DefaultRuntimeDir scratch/ + + +

The default location of DefaultRuntimeDir may be + modified by changing the DEFAULT_REL_RUNTIMEDIR #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/include/http_config.h b/include/http_config.h index db7feb90f7..617ab2a682 100644 --- a/include/http_config.h +++ b/include/http_config.h @@ -709,7 +709,7 @@ AP_DECLARE(char *) ap_server_root_relative(apr_pool_t *p, const char *fname); /** * Compute the name of a run-time file (e.g., shared memory "file") relative * to the appropriate run-time directory. Absolute paths are returned as-is. - * The run-time directory is configured via the RuntimeDir directive or + * The run-time directory is configured via the DefaultRuntimeDir directive or * at build time. */ AP_DECLARE(char *) ap_runtime_dir_relative(apr_pool_t *p, const char *fname); -- 2.40.0