]> granicus.if.org Git - apache/blob - docs/manual/new_features_2_4.html.en
Help doc writer to spot places where:
[apache] / docs / manual / new_features_2_4.html.en
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
4 <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" />
5 <!--
6         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7               This file is generated from xml source: DO NOT EDIT
8         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
9       -->
10 <title>Overview of new features in Apache HTTP Server 2.4 - Apache HTTP Server Version 2.5</title>
11 <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
12 <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
13 <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" />
14 <script src="./style/scripts/prettify.min.js" type="text/javascript">
15 </script>
16
17 <link href="./images/favicon.ico" rel="shortcut icon" /></head>
18 <body id="manual-page"><div id="page-header">
19 <p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p>
20 <p class="apache">Apache HTTP Server Version 2.5</p>
21 <img alt="" src="./images/feather.png" /></div>
22 <div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="./images/left.gif" /></a></div>
23 <div id="path">
24 <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="./">Version 2.5</a></div><div id="page-content"><div id="preamble"><h1>Overview of new features in Apache HTTP Server 2.4</h1>
25 <div class="toplang">
26 <p><span>Available Languages: </span><a href="./en/new_features_2_4.html" title="English">&nbsp;en&nbsp;</a> |
27 <a href="./es/new_features_2_4.html" hreflang="es" rel="alternate" title="Español">&nbsp;es&nbsp;</a> |
28 <a href="./fr/new_features_2_4.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
29 <a href="./tr/new_features_2_4.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
30 </div>
31
32   <p>This document describes some of the major changes between the
33      2.2 and 2.4 versions of the Apache HTTP Server. For new features since
34      version 2.0, see the <a href="new_features_2_2.html">2.2 new features</a>
35      document.</p>
36 </div>
37 <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#core">Core Enhancements</a></li>
38 <li><img alt="" src="./images/down.gif" /> <a href="#newmods">New Modules</a></li>
39 <li><img alt="" src="./images/down.gif" /> <a href="#module">Module Enhancements</a></li>
40 <li><img alt="" src="./images/down.gif" /> <a href="#programs">Program Enhancements</a></li>
41 <li><img alt="" src="./images/down.gif" /> <a href="#documentation">Documentation</a></li>
42 <li><img alt="" src="./images/down.gif" /> <a href="#developer">Module Developer Changes</a></li>
43 </ul><h3>See also</h3><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
44 <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
45 <div class="section">
46 <h2><a name="core" id="core">Core Enhancements</a> <a title="Permanent link" href="#core" class="permalink">&para;</a></h2>
47     
48     <dl>
49       <dt>Run-time Loadable MPMs</dt>
50       <dd>Multiple MPMs can now be <a href="mpm.html#dynamic">built
51       as loadable modules</a> at compile time.
52       The MPM of choice can be configured at run time via <code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code> directive.</dd>
53
54       <dt>Event MPM</dt>
55       <dd>The <a href="mod/event.html">Event MPM</a> is no longer experimental
56       but is now fully supported.</dd>
57
58       <dt>Asynchronous support</dt>
59       <dd>Better support for asynchronous read/write for supporting MPMs and
60       platforms.</dd>
61
62       <dt>Per-module and per-directory LogLevel configuration</dt>
63       <dd>The <code class="directive"><a href="./mod/core.html#loglevel">LogLevel</a></code> can now be
64       configured per module and per directory.  New levels <code>trace1</code>
65       to <code>trace8</code> have been added above the <code>debug</code> log
66       level.</dd>
67
68       <dt>Per-request configuration sections</dt>
69       <dd><code class="directive"><a href="./mod/core.html#if">&lt;If&gt;</a></code>,
70           <code class="directive"><a href="./mod/core.html#elseif">&lt;ElseIf&gt;</a></code>,
71           and <code class="directive"><a href="./mod/core.html#else">&lt;Else&gt;</a></code>
72           sections can be used to set the configuration based on per-request
73           criteria.</dd>
74
75       <dt>General-purpose expression parser</dt>
76       <dd>A new expression parser allows to specify
77           <a href="expr.html">complex conditions</a> using a common syntax
78           in directives like
79           <code class="directive"><a href="./mod/mod_setenvif.html#setenvifexpr">SetEnvIfExpr</a></code>,
80           <code class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code>,
81           <code class="directive"><a href="./mod/mod_headers.html#header">Header</a></code>,
82           <code class="directive"><a href="./mod/core.html#if">&lt;If&gt;</a></code>,
83           and others.
84       </dd>
85
86       <dt>KeepAliveTimeout in milliseconds</dt>
87       <dd>It is now possible to specify <code class="directive"><a href="./mod/core.html#keepalivetimeout">KeepAliveTimeout</a></code> in milliseconds.
88       </dd>
89
90       <dt>NameVirtualHost directive</dt>
91       <dd>No longer needed and is now deprecated.</dd>
92
93       <dt>Override Configuration</dt>
94       <dd>The new <code class="directive"><a href="./mod/core.html#allowoverridelist">AllowOverrideList</a></code>
95           directive allows more fine grained control which directives are
96           allowed in <code>.htaccess</code> files. </dd>
97
98       <dt>Config file variables</dt>
99       <dd>It is now possible to <code class="directive"><a href="./mod/core.html#define">Define</a></code>
100           variables in the configuration, allowing a clearer representation
101           if the same value is used at many places in the configuration.
102       </dd>
103
104       <dt>Reduced memory usage</dt>
105       <dd>Despite many new features, 2.4.x tends to use less memory than
106       2.2.x.</dd>
107
108     </dl>
109   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
110 <div class="section">
111 <h2><a name="newmods" id="newmods">New Modules</a> <a title="Permanent link" href="#newmods" class="permalink">&para;</a></h2>
112     
113     <dl>
114       <dt><code class="module"><a href="./mod/mod_proxy_fcgi.html">mod_proxy_fcgi</a></code></dt>
115       <dd>FastCGI Protocol backend for <code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code></dd>
116
117       <dt><code class="module"><a href="./mod/mod_proxy_scgi.html">mod_proxy_scgi</a></code></dt>
118       <dd>SCGI Protocol backend for <code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code></dd>
119
120       <dt><code class="module"><a href="./mod/mod_proxy_express.html">mod_proxy_express</a></code></dt>
121       <dd>Provides dynamically configured mass reverse proxies for
122       <code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code></dd>
123
124       <dt><code class="module"><a href="./mod/mod_remoteip.html">mod_remoteip</a></code></dt>
125       <dd>Replaces the apparent client remote IP address and hostname for the request
126       with the IP address list presented by a proxies or a load balancer via
127       the request headers.</dd>
128
129       <dt><code class="module"><a href="./mod/mod_heartmonitor.html">mod_heartmonitor</a></code>,
130           <code class="module"><a href="./mod/mod_lbmethod_heartbeat.html">mod_lbmethod_heartbeat</a></code></dt>
131       <dd>Allow <code class="module"><a href="./mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code> to base loadbalancing decisions
132       on the number of active connections on the backend servers.</dd>
133
134       <dt><code class="module"><a href="./mod/mod_proxy_html.html">mod_proxy_html</a></code></dt>
135       <dd>Formerly a third-party module, this supports fixing of HTML
136       links in a reverse proxy situation, where the backend generates
137       URLs that are not valid for the proxy's clients.</dd>
138
139       <dt><code class="module"><a href="./mod/mod_sed.html">mod_sed</a></code></dt>
140       <dd>An advanced replacement of <code class="module"><a href="./mod/mod_substitute.html">mod_substitute</a></code>, allows
141       to edit the response body with the full power of sed.</dd>
142
143       <dt><code class="module"><a href="./mod/mod_auth_form.html">mod_auth_form</a></code></dt>
144       <dd>Enables form-based authentication.</dd>
145
146       <dt><code class="module"><a href="./mod/mod_session.html">mod_session</a></code></dt>
147       <dd>Enables the use of session state for clients, using cookie or
148       database storage.</dd>
149
150       <dt><code class="module"><a href="./mod/mod_allowmethods.html">mod_allowmethods</a></code></dt>
151       <dd>New module to restrict certain HTTP methods without interfering with
152       authentication or authorization.</dd>
153
154       <dt><code class="module"><a href="./mod/mod_lua.html">mod_lua</a></code></dt>
155       <dd>Embeds the <a href="http://www.lua.org/">Lua</a> language into httpd,
156       for configuration and small business logic functions. (Experimental)</dd>
157
158       <dt><code class="module"><a href="./mod/mod_log_debug.html">mod_log_debug</a></code></dt>
159       <dd>Allows the addition of customizable debug logging at different phases of the
160       request processing.</dd>
161
162       <dt><code class="module"><a href="./mod/mod_buffer.html">mod_buffer</a></code></dt>
163       <dd>Provides for buffering the input and output filter stacks</dd>
164
165       <dt><code class="module"><a href="./mod/mod_data.html">mod_data</a></code></dt>
166       <dd>Convert response body into an RFC2397 data URL</dd>
167
168       <dt><code class="module"><a href="./mod/mod_ratelimit.html">mod_ratelimit</a></code></dt>
169       <dd>Provides Bandwidth Rate Limiting for Clients</dd>
170
171       <dt><code class="module"><a href="./mod/mod_request.html">mod_request</a></code></dt>
172       <dd>Provides Filters to handle and make available HTTP request bodies</dd>
173
174       <dt><code class="module"><a href="./mod/mod_reflector.html">mod_reflector</a></code></dt>
175       <dd>Provides Reflection of a request body as a response via the output filter stack.</dd>
176
177       <dt><code class="module"><a href="./mod/mod_slotmem_shm.html">mod_slotmem_shm</a></code></dt>
178       <dd>Provides a Slot-based shared memory provider (ala the scoreboard).</dd>
179
180       <dt><code class="module"><a href="./mod/mod_xml2enc.html">mod_xml2enc</a></code></dt>
181       <dd>Formerly a third-party module, this supports internationalisation
182       in libxml2-based (markup-aware) filter modules.</dd>
183
184       <dt><code class="module"><a href="./mod/mod_macro.html">mod_macro</a></code> (available since 2.4.5)</dt>
185       <dd>Provide macros within configuration files.</dd>
186
187       <dt><code class="module"><a href="./mod/mod_proxy_wstunnel.html">mod_proxy_wstunnel</a></code> (available since 2.4.5)</dt>
188       <dd>Support web-socket tunnels.</dd>
189
190       <dt><code class="module"><a href="./mod/mod_authnz_fcgi.html">mod_authnz_fcgi</a></code> (available since 2.4.10)</dt>
191       <dd>Enable FastCGI authorizer applications to authenticate and/or
192       authorize clients.</dd>
193
194       <dt><code class="module"><a href="./mod/mod_http2.html">mod_http2</a></code> (available since 2.4.17)</dt>
195       <dd>Support for the HTTP/2 transport layer.</dd>
196
197       <dt><code class="module"><a href="./mod/mod_proxy_http2.html">mod_proxy_http2</a></code> (available since 2.4.19)</dt>
198       <dd>HTTP/2 Protocol backend for <code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code></dd>
199
200       <dt><code class="module"><a href="./mod/mod_proxy_hcheck.html">mod_proxy_hcheck</a></code> (available since 2.4.21)</dt>
201       <dd>Support independent dynamic health checks for remote proxiy backend servers.</dd>
202
203       <dt><code class="module"><a href="./mod/mod_brotli.html">mod_brotli</a></code> (available since 2.4.26)</dt>
204       <dd>Support the Brotli compression algorithm.</dd>
205
206       <dt><code class="module"><a href="./mod/mod_md.html">mod_md</a></code> (available since 2.4.30)</dt>
207       <dd>Support the ACME protocol to automate certificate provisionning.</dd>
208
209       <dt><code class="module"><a href="./mod/mod_socache_redis.html">mod_socache_redis</a></code> (available since 2.4.39)</dt>
210       <dd>Support <a href="http://redis.io/">Redis</a> based shared object cache provider.</dd>
211
212     </dl>
213   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
214 <div class="section">
215 <h2><a name="module" id="module">Module Enhancements</a> <a title="Permanent link" href="#module" class="permalink">&para;</a></h2>
216     
217     <dl>
218       <dt><code class="module"><a href="./mod/mod_ssl.html">mod_ssl</a></code></dt>
219
220       <dd><code class="module"><a href="./mod/mod_ssl.html">mod_ssl</a></code> can now be configured to use an
221       OCSP server to check the validation status of a client
222       certificate.  The default responder is configurable, along with
223       the decision on whether to prefer the responder designated in
224       the client certificate itself.</dd>
225
226       <dd><code class="module"><a href="./mod/mod_ssl.html">mod_ssl</a></code> now also supports OCSP stapling, where the
227       server pro-actively obtains an OCSP verification of its certificate and
228       transmits that to the client during the handshake. </dd>
229
230       <dd><code class="module"><a href="./mod/mod_ssl.html">mod_ssl</a></code> can now be configured to share SSL Session
231       data between servers through memcached</dd>
232
233       <dd>EC keys are now supported in addition to RSA and DSA.</dd>
234
235       <dd>Support for TLS-SRP (available in 2.4.4 and later).</dd>
236
237       <dt><code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code></dt>
238
239       <dd>The <code class="directive"><a href="./mod/mod_proxy.html#proxypass">ProxyPass</a></code> directive
240       is now most optimally configured within a
241       <code class="directive"><a href="./mod/core.html#location">Location</a></code> or
242       <code class="directive"><a href="./mod/core.html#locationmatch">LocationMatch</a></code>
243       block, and offers a significant performance advantage over the traditional
244       two-parameter syntax when present in large numbers.</dd>
245       <dd>The source address used for proxy requests is now configurable.</dd>
246       <dd>Support for Unix domain sockets to the backend (available in 2.4.7
247       and later).</dd>
248
249       <dt><code class="module"><a href="./mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code></dt>
250
251       <dd>More runtime configuration changes for BalancerMembers via balancer-manager</dd>
252
253       <dd>Additional BalancerMembers can be added at runtime via balancer-manager</dd>
254
255       <dd>Runtime configuration of a subset of Balancer parameters</dd>
256
257       <dd>BalancerMembers can be set to 'Drain' so that they only respond to existing sticky
258       sessions, allowing them to be taken gracefully offline.</dd>
259
260       <dd>Balancer settings can be persistent after restarts.</dd>
261
262       <dt><code class="module"><a href="./mod/mod_cache.html">mod_cache</a></code></dt>
263
264       <dd>The <code class="module"><a href="./mod/mod_cache.html">mod_cache</a></code> CACHE filter can be optionally inserted
265       at a given point in the filter chain to provide fine control over caching.
266       </dd>
267
268       <dd><code class="module"><a href="./mod/mod_cache.html">mod_cache</a></code> can now cache HEAD requests.</dd>
269
270       <dd>Where possible, <code class="module"><a href="./mod/mod_cache.html">mod_cache</a></code> directives can now be set
271       per directory, instead of per server.</dd>
272
273       <dd>The base URL of cached URLs can be customised, so that a cluster of
274       caches can share the same endpoint URL prefix.</dd>
275
276       <dd><code class="module"><a href="./mod/mod_cache.html">mod_cache</a></code> is now capable of serving stale cached
277       data when a backend is unavailable (error 5xx).</dd>
278
279       <dd><code class="module"><a href="./mod/mod_cache.html">mod_cache</a></code> can now insert HIT/MISS/REVALIDATE into
280       an X-Cache header.</dd>
281
282       <dt><code class="module"><a href="./mod/mod_include.html">mod_include</a></code></dt>
283       <dd>Support for the 'onerror' attribute within an 'include' element,
284       allowing an error document to be served on error instead of the default
285       error string.</dd>
286
287       <dt><code class="module"><a href="./mod/mod_cgi.html">mod_cgi</a></code>, <code class="module"><a href="./mod/mod_include.html">mod_include</a></code>,
288           <code class="module"><a href="./mod/mod_isapi.html">mod_isapi</a></code>, ...</dt>
289       <dd>Translation of headers to environment variables is more strict than
290       before to mitigate some possible cross-site-scripting attacks via header
291       injection. Headers containing invalid characters (including underscores)
292       are now silently dropped. <a href="env.html">Environment Variables
293       in Apache</a> has some pointers on how to work around broken legacy
294       clients which require such headers. (This affects all modules which
295       use these environment variables.)</dd>
296
297       <dt><code class="module"><a href="./mod/mod_authz_core.html">mod_authz_core</a></code> Authorization Logic Containers</dt>
298
299       <dd>Advanced authorization logic may now be specified using the
300           <code class="directive"><a href="./mod/mod_authz_core.html#require">Require</a></code> directive
301           and the related container directives, such as
302           <code class="directive"><a href="./mod/mod_authz_core.html#requireall">&lt;RequireAll&gt;</a></code>.</dd>
303
304       <dt><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code></dt>
305       <dd><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code> adds the <code>[QSD]</code>
306           (Query String Discard) and <code>[END]</code> flags for
307           <code class="directive"><a href="./mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> to
308           simplify common rewriting scenarios.</dd>
309       <dd>Adds the possibility to use complex boolean expressions in <code class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code>.</dd>
310       <dd>Allows the use of SQL queries as <code class="directive"><a href="./mod/mod_rewrite.html#rewritemap">RewriteMap</a></code> functions.</dd>
311
312       <dt><code class="module"><a href="./mod/mod_ldap.html">mod_ldap</a></code>, <code class="module"><a href="./mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code></dt>
313       <dd><code class="module"><a href="./mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code> adds support for nested groups.</dd>
314       <dd><code class="module"><a href="./mod/mod_ldap.html">mod_ldap</a></code> adds
315           <code class="directive"><a href="./mod/mod_ldap.html#ldapconnectionpoolttl">LDAPConnectionPoolTTL</a></code>,
316           <code class="directive"><a href="./mod/mod_ldap.html#ldaptimeout">LDAPTimeout</a></code>, and
317           other improvements in the handling of timeouts.
318           This is especially useful for setups where a
319           stateful firewall drops idle connections to the LDAP server.</dd>
320       <dd><code class="module"><a href="./mod/mod_ldap.html">mod_ldap</a></code> adds
321           <code class="directive"><a href="./mod/mod_ldap.html#ldaplibrarydebug">LDAPLibraryDebug</a></code> to log
322           debug information provided by the used LDAP toolkit.</dd>
323
324       <dt><code class="module"><a href="./mod/mod_info.html">mod_info</a></code></dt>
325       <dd><code class="module"><a href="./mod/mod_info.html">mod_info</a></code> can now dump the pre-parsed configuration
326           to stdout during server startup.</dd>
327
328       <dt><code class="module"><a href="./mod/mod_auth_basic.html">mod_auth_basic</a></code></dt>
329       <dd>New generic mechanism to fake basic authentication (available in
330       2.4.5 and later).</dd>
331
332     </dl>
333   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
334 <div class="section">
335 <h2><a name="programs" id="programs">Program Enhancements</a> <a title="Permanent link" href="#programs" class="permalink">&para;</a></h2>
336     
337     <dl>
338         <dt><code class="program"><a href="./programs/fcgistarter.html">fcgistarter</a></code></dt>
339         <dd>New FastCGI daemon starter utility</dd>
340
341         <dt><code class="program"><a href="./programs/htcacheclean.html">htcacheclean</a></code></dt>
342         <dd>Current cached URLs can now be listed, with optional metadata
343         included.</dd>
344         <dd>Allow explicit deletion of individual cached URLs from the
345         cache.</dd>
346         <dd>File sizes can now be rounded up to the given block size, making
347         the size limits map more closely to the real size on disk.</dd>
348         <dd>Cache size can now be limited by the number of inodes, instead
349         of or in addition to being limited by the size of the files on
350         disk.</dd>
351
352         <dt><code class="program"><a href="./programs/rotatelogs.html">rotatelogs</a></code></dt>
353         <dd>May now create a link to the current log file.</dd>
354         <dd>May now invoke a custom post-rotate script.</dd>
355
356         <dt><code class="program"><a href="./programs/htpasswd.html">htpasswd</a></code>, <code class="program"><a href="./programs/htdbm.html">htdbm</a></code></dt>
357         <dd>Support for the bcrypt algorithm (available in 2.4.4 and later).
358         </dd>
359     </dl>
360   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
361 <div class="section">
362 <h2><a name="documentation" id="documentation">Documentation</a> <a title="Permanent link" href="#documentation" class="permalink">&para;</a></h2>
363     
364     <dl>
365         <dt>mod_rewrite</dt>
366         <dd>The <code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code> documentation has been
367         rearranged and almost completely rewritten, with a focus on
368         examples and common usage, as well as on showing you when other
369         solutions are more appropriate. The <a href="rewrite/">Rewrite
370         Guide</a> is now a top-level section with much more detail and
371         better organization.</dd>
372
373         <dt>mod_ssl</dt>
374         <dd>The <code class="module"><a href="./mod/mod_ssl.html">mod_ssl</a></code> documentation has been greatly
375         enhanced, with more examples at the getting started level, in
376         addition to the previous focus on technical details.</dd>
377
378         <dt>Caching Guide</dt>
379         <dd>The <a href="caching.html">Caching Guide</a> has been rewritten
380         to properly distinguish between the RFC2616 HTTP/1.1 caching
381         features provided by <code class="module"><a href="./mod/mod_cache.html">mod_cache</a></code>, and the generic
382         key/value caching provided by the <a href="socache.html">socache</a>
383         interface, as well as to cover specialised caching provided by
384         mechanisms such as <code class="module"><a href="./mod/mod_file_cache.html">mod_file_cache</a></code>.</dd>
385
386     </dl>
387   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
388 <div class="section">
389 <h2><a name="developer" id="developer">Module Developer Changes</a> <a title="Permanent link" href="#developer" class="permalink">&para;</a></h2>
390     
391     <dl>
392       <dt>Check Configuration Hook Added</dt>
393
394       <dd>A new hook, <code>check_config</code>, has been added which runs
395           between the <code>pre_config</code> and <code>open_logs</code>
396           hooks.  It also runs before the <code>test_config</code> hook
397           when the <code>-t</code> option is passed to
398           <code class="program"><a href="./programs/httpd.html">httpd</a></code>.  The <code>check_config</code> hook
399           allows modules to review interdependent configuration directive
400           values and adjust them while messages can still be logged to the
401           console.  The user can thus be alerted to misconfiguration problems
402           before the core <code>open_logs</code> hook function redirects
403           console output to the error log.</dd>
404
405       <dt>Expression Parser Added</dt>
406
407       <dd>We now have a general-purpose expression parser, whose API is
408           exposed in <var>ap_expr.h</var>.  This is adapted from the
409           expression parser previously implemented in
410           <code class="module"><a href="./mod/mod_ssl.html">mod_ssl</a></code>.</dd>
411
412       <dt>Authorization Logic Containers</dt>
413
414       <dd>Authorization modules now register as a provider, via
415       ap_register_auth_provider(), to support advanced authorization logic,
416       such as <code class="directive"><a href="./mod/mod_authz_core.html#requireall">&lt;RequireAll&gt;</a></code>.</dd>
417
418       <dt>Small-Object Caching Interface</dt>
419
420       <dd>The <var>ap_socache.h</var> header exposes a provider-based
421       interface for caching small data objects, based on the previous
422       implementation of the <code class="module"><a href="./mod/mod_ssl.html">mod_ssl</a></code> session cache.
423       Providers using a shared-memory cyclic buffer, disk-based dbm
424       files, and a memcache distributed cache are currently
425       supported.</dd>
426
427       <dt>Cache Status Hook Added</dt>
428
429       <dd>The <code class="module"><a href="./mod/mod_cache.html">mod_cache</a></code> module now includes a new
430       <code>cache_status</code> hook, which is called when the caching
431       decision becomes known. A default implementation is provided
432       which adds an optional <code>X-Cache</code> and
433       <code>X-Cache-Detail</code> header to the response.</dd>
434     </dl>
435
436     <p>The developer documentation contains a
437     <a href="developer/new_api_2_4.html">detailed list of API changes</a>.</p>
438   </div></div>
439 <div class="bottomlang">
440 <p><span>Available Languages: </span><a href="./en/new_features_2_4.html" title="English">&nbsp;en&nbsp;</a> |
441 <a href="./es/new_features_2_4.html" hreflang="es" rel="alternate" title="Español">&nbsp;es&nbsp;</a> |
442 <a href="./fr/new_features_2_4.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
443 <a href="./tr/new_features_2_4.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
444 </div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
445 <script type="text/javascript"><!--//--><![CDATA[//><!--
446 var comments_shortname = 'httpd';
447 var comments_identifier = 'http://httpd.apache.org/docs/trunk/new_features_2_4.html';
448 (function(w, d) {
449     if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
450         d.write('<div id="comments_thread"><\/div>');
451         var s = d.createElement('script');
452         s.type = 'text/javascript';
453         s.async = true;
454         s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
455         (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
456     }
457     else {
458         d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
459     }
460 })(window, document);
461 //--><!]]></script></div><div id="footer">
462 <p class="apache">Copyright 2019 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
463 <p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
464 if (typeof(prettyPrint) !== 'undefined') {
465     prettyPrint();
466 }
467 //--><!]]></script>
468 </body></html>