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]
without starting the server by using <code>apachectl
configtest</code> or the <code>-t</code> command line
option.</p>
+
+ <p>You can use <module>mod_info</module>'s <code>-DDUMP_CONFIG</code> to
+ dump the configuration with all included files and environment
+ variables resolved and all comments and non-matching
+ <directive module="core" type="section">IfDefine</directive> and
+ <directive module="core" type="section">IfModule</directive> sections
+ removed.</p>
</section>
<section id="modules">
</dl>
</section>
+<section id="startup"><title>Dumping the configuration on startup</title>
+ <p>If the config define <code>-DDUMP_CONFIG</code> is set,
+ <module>mod_info</module> will dump the pre-parsed configuration to
+ <code>stdout</code> during server startup. This is roughly equivalent
+ to the <code>?config</code> query.</p>
+</section>
+
<section id="limitations"><title>Known Limitations</title>
<p><module>mod_info</module> provides its information by reading the
parsed configuration, rather than reading the original configuration
clients which require such headers. (This affects all modules which
use these environment variables.)</dd>
- <dt><module>mod_authz_core</module>Authorization Logic Containers</dt>
+ <dt><module>mod_authz_core</module> Authorization Logic Containers</dt>
<dd>Advanced authorization logic may now be specified using the
<directive module="mod_authz_core">Require</directive> directive
and the related container directives, such as
<directive module="mod_authz_core"
type="section">RequireAll</directive>.</dd>
+
+ <dt><module>mod_info</module></dt>
+ <dd><module>mod_info</module> can now dump the pre-parsed configuration
+ to stdout during server startup.</dd>
</dl>
</section>