Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E3A499A2 for ; Wed, 7 Mar 2012 12:51:28 +0000 (UTC) Received: (qmail 32249 invoked by uid 500); 7 Mar 2012 12:51:27 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 32013 invoked by uid 500); 7 Mar 2012 12:51:26 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 31995 invoked by uid 99); 7 Mar 2012 12:51:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 12:51:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 12:51:25 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2F09C2388C10; Wed, 7 Mar 2012 12:51:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1297959 - in /httpd/httpd/trunk: docs/manual/mod/core.xml include/http_config.h Date: Wed, 07 Mar 2012 12:51:05 -0000 To: cvs@httpd.apache.org From: jim@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120307125105.2F09C2388C10@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jim Date: Wed Mar 7 12:51:04 2012 New Revision: 1297959 URL: http://svn.apache.org/viewvc?rev=1297959&view=rev Log: Docs (and minor comment change) for DefaultRuntimeDir directive Modified: httpd/httpd/trunk/docs/manual/mod/core.xml httpd/httpd/trunk/include/http_config.h Modified: httpd/httpd/trunk/docs/manual/mod/core.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=1297959&r1=1297958&r2=1297959&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/core.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/core.xml Wed Mar 7 12:51:04 2012 @@ -605,6 +605,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 if the value is not none. In prior versions, DefaultType Modified: httpd/httpd/trunk/include/http_config.h URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/http_config.h?rev=1297959&r1=1297958&r2=1297959&view=diff ============================================================================== --- httpd/httpd/trunk/include/http_config.h (original) +++ httpd/httpd/trunk/include/http_config.h Wed Mar 7 12:51:04 2012 @@ -709,7 +709,7 @@ AP_DECLARE(char *) ap_server_root_relati /** * 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);