You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2012/08/04 22:44:48 UTC

svn commit: r1369432 - in /httpd/httpd/branches/2.4.x/docs/manual/developer: new_api_2_4.html.en new_api_2_4.xml

Author: trawick
Date: Sat Aug  4 20:44:48 2012
New Revision: 1369432

URL: http://svn.apache.org/viewvc?rev=1369432&view=rev
Log:
grab r1369300 and 1369431 from trunk:

mention migration from ap_requires() and to ap_runtime_dir_relative()

fix formatting of DEFAULT_REL_RUNTIMEDIR

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/developer/new_api_2_4.html.en
    httpd/httpd/branches/2.4.x/docs/manual/developer/new_api_2_4.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/developer/new_api_2_4.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/developer/new_api_2_4.html.en?rev=1369432&r1=1369431&r2=1369432&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/developer/new_api_2_4.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/developer/new_api_2_4.html.en Sat Aug  4 20:44:48 2012
@@ -436,6 +436,14 @@
           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
+          <code class="directive"><a href="../mod/mod_authz_core.html#require">Require</a></code> 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 <code class="directive">Require</code>
+          processing.  (Consult bundled modules for detailed examples.)</dd>
+
       <dt><code>ap_server_conf-&gt;process-&gt;pool</code>
       userdata</dt>
       <dd>
@@ -545,6 +553,15 @@
 
     <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
+    <code>DEFAULT_REL_RUNTIMEDIR</code> compile setting or the
+    <code class="directive"><a href="../mod/core.html#defaultruntimedir">DefaultRuntimeDir</a></code> directive,
+    will be respected.  <em>Apache httpd 2.4.2 and above.</em></dd>
+
     </dl>
   
 

Modified: httpd/httpd/branches/2.4.x/docs/manual/developer/new_api_2_4.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/developer/new_api_2_4.xml?rev=1369432&r1=1369431&r2=1369432&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/developer/new_api_2_4.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/developer/new_api_2_4.xml Sat Aug  4 20:44:48 2012
@@ -433,6 +433,14 @@
           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>
@@ -542,6 +550,15 @@
 
     <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
+    <code>DEFAULT_REL_RUNTIMEDIR</code> 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>