Commit 2a6818b0 authored by Chris Darroch's avatar Chris Darroch
Browse files

describe new check_config hook


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@462915 13f79535-47bb-0310-9956-ffa450edef68
parent 4247f260
Loading
Loading
Loading
Loading
+14 −2
Changes for docs/manual/new_features_2_4.xml: 14 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -52,7 +52,19 @@

  <section id="developer">
    <title>Module Developer Changes</title>
    <!-- <dl>
    </dl> -->
    <dl>
      <dt>Check Configuration Hook Added</dt>

      <dd>A new hook, <code>check_config</code>, has been added which runs
          between the <code>pre_config</code> and <code>open_logs</code>
          hooks.  It also runs before the <code>test_config</code> hook
          when the <code>-t</code> option is passed to
          <program>httpd</program>.  The <code>check_config</code> hook
          allows modules to review interdependent configuration directive
          values and adjust them while messages can still be logged to the
          console.  The user can thus be alerted to misconfiguration problems
          before the core <code>open_logs</code> hook function redirects
          console output to the error log.</dd>
    </dl>
  </section>
</manualpage>