]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mention migration from ap_requires() and to ap_runtime_dir_relative()
authorJeff Trawick <trawick@apache.org>
Sat, 4 Aug 2012 12:16:58 +0000 (12:16 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 4 Aug 2012 12:16:58 +0000 (12:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369300 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/developer/new_api_2_4.xml

index ec231eda20caa35ffde8f376eb9b96269a3f54a9..0f537b2068782e6b0ad7966c240f2efa3b8d147b 100644 (file)
           would not have had a chance to enable support for this
           function.</dd>
 
+      <dt><code>ap_requires()</code></dt>
+      <dd>The core server now provides better infrastructure for handling
+          <directive module="mod_authz_core">Require</directive> configuration.
+          Register an auth provider function for each supported entity using
+          <code>ap_register_auth_provider()</code>.  The function will be
+          called as necessary during <directive>Require</directive>
+          processing.  (Consult bundled modules for detailed examples.)</dd>
+
       <dt><code>ap_server_conf->process->pool</code>
       userdata</dt>
       <dd>
 
     <dt>Implement cleanups which clear pointer variables</dt>
     <dd>Use <code>ap_pool_cleanup_set_null()</code>.</dd>
+
+    <dt>Create run-time files such as shared memory files, pid files,
+    etc.</dt>
+    <dd>Use <code>ap_runtime_dir_relative()</code> so that the global
+    configuration for the location of such files, either by the
+    DEFAULT_REL_RUNTIMEDIR compile setting or the
+    <directive module="core">DefaultRuntimeDir</directive> directive,
+    will be respected.  <em>Apache httpd 2.4.2 and above.</em></dd>
+
     </dl>
   </section>