Commit 4247f260 authored by Chris Darroch's avatar Chris Darroch
Browse files

added pre_config, check_config, and test_config hooks

moved open_logs hook


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@462914 13f79535-47bb-0310-9956-ffa450edef68
parent 6d7cde85
Loading
Loading
Loading
Loading
+13 −3
Changes for docs/manual/developer/modules.xml: 13 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -200,6 +200,19 @@ module MODULE_VAR_EXPORT <var>module_name</var>_module =
      far...</p>

      <dl>
        <dt><code>ap_hook_pre_config</code></dt>
        <dd>do any setup required prior to processing configuration
        directives</dd>

        <dt><code>ap_hook_check_config</code></dt>
        <dd>review configuration directive interdependencies</dd>

        <dt><code>ap_hook_test_config</code></dt>
        <dd>executes only with <code>-t</code> option</dd>

        <dt><code>ap_hook_open_logs</code></dt>
        <dd>open any specified logs</dd>

        <dt><code>ap_hook_post_config</code></dt>
        <dd>this is where the old <code>_init</code> routines get
        registered</dd>
@@ -207,9 +220,6 @@ module MODULE_VAR_EXPORT <var>module_name</var>_module =
        <dt><code>ap_hook_http_method</code></dt>
        <dd>retrieve the http method from a request. (legacy)</dd>

        <dt><code>ap_hook_open_logs</code></dt>
        <dd>open any specified logs</dd>

        <dt><code>ap_hook_auth_checker</code></dt>
        <dd>check if the resource requires authorization</dd>