From 2fd44cea66b200f50fd67b32bc7fc906af5499ec Mon Sep 17 00:00:00 2001
From: Stefan Fritsch
Date: Tue, 29 Mar 2011 22:01:27 +0000
Subject: [PATCH] Add PR reference and docs for -DDUMP_CONFIG
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086771 13f79535-47bb-0310-9956-ffa450edef68
---
CHANGES | 2 +-
docs/manual/configuring.xml | 7 +++++++
docs/manual/mod/mod_info.xml | 7 +++++++
docs/manual/new_features_2_4.xml | 6 +++++-
4 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/CHANGES b/CHANGES
index 17256797eb..59d65238a2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -7,7 +7,7 @@ Changes with Apache 2.3.12
Partial fix for PR 50824. [Stefan Fritsch]
*) mod_info: Dump config to stdout during startup if -DDUMP_CONFIG is
- specified. [Stefan Fritsch]
+ specified. PR 31956. [Stefan Fritsch]
*) Restore visibility of DEFAULT_PIDLOG to core and modules. MPM
helper function ap_remove_pid() added. [Jeff Trawick]
diff --git a/docs/manual/configuring.xml b/docs/manual/configuring.xml
index 13583a4b4c..4b6c9ded2b 100644
--- a/docs/manual/configuring.xml
+++ b/docs/manual/configuring.xml
@@ -104,6 +104,13 @@ Server.
without starting the server by using apachectl
configtest
or the -t
command line
option.
+
+ You can use mod_info's -DDUMP_CONFIG
to
+ dump the configuration with all included files and environment
+ variables resolved and all comments and non-matching
+ IfDefine and
+ IfModule sections
+ removed.
diff --git a/docs/manual/mod/mod_info.xml b/docs/manual/mod/mod_info.xml
index 6151a6c3a3..4bd6037bc9 100644
--- a/docs/manual/mod/mod_info.xml
+++ b/docs/manual/mod/mod_info.xml
@@ -115,6 +115,13 @@ configuration
+Dumping the configuration on startup
+ If the config define -DDUMP_CONFIG
is set,
+ mod_info will dump the pre-parsed configuration to
+ stdout
during server startup. This is roughly equivalent
+ to the ?config
query.
+
+
Known Limitations
mod_info provides its information by reading the
parsed configuration, rather than reading the original configuration
diff --git a/docs/manual/new_features_2_4.xml b/docs/manual/new_features_2_4.xml
index 35f6e9bd71..a28e235767 100644
--- a/docs/manual/new_features_2_4.xml
+++ b/docs/manual/new_features_2_4.xml
@@ -173,13 +173,17 @@
clients which require such headers. (This affects all modules which
use these environment variables.)
-
mod_authz_coreAuthorization Logic Containers
+ mod_authz_core Authorization Logic Containers
Advanced authorization logic may now be specified using the
Require directive
and the related container directives, such as
RequireAll.
+
+ mod_info
+ mod_info can now dump the pre-parsed configuration
+ to stdout during server startup.
--
2.40.0