Commit d0d2f120 authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

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
parent 1b6251aa
Loading
Loading
Loading
Loading
+1 −1
Changes for CHANGES: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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]
+7 −0
Changes for docs/manual/configuring.xml: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -104,6 +104,13 @@ Server.</p>
    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">
+7 −0
Changes for docs/manual/mod/mod_info.xml: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -115,6 +115,13 @@ configuration</description>
    </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
+4 −0
Changes for docs/manual/new_features_2_4.xml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -180,6 +180,10 @@
          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>