]> granicus.if.org Git - apache/blob - docs/manual/new_features_2_4.xml
Update transformations
[apache] / docs / manual / new_features_2_4.xml
1 <?xml version='1.0' encoding='UTF-8' ?>
2 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
3 <?xml-stylesheet type="text/xsl" href="./style/manual.en.xsl"?>
4 <!-- $LastChangedRevision$ -->
5
6 <!--
7  Licensed to the Apache Software Foundation (ASF) under one or more
8  contributor license agreements.  See the NOTICE file distributed with
9  this work for additional information regarding copyright ownership.
10  The ASF licenses this file to You under the Apache License, Version 2.0
11  (the "License"); you may not use this file except in compliance with
12  the License.  You may obtain a copy of the License at
13
14      http://www.apache.org/licenses/LICENSE-2.0
15
16  Unless required by applicable law or agreed to in writing, software
17  distributed under the License is distributed on an "AS IS" BASIS,
18  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  See the License for the specific language governing permissions and
20  limitations under the License.
21 -->
22
23 <manualpage metafile="new_features_2_4.xml.meta">
24
25 <title>Overview of new features in Apache HTTP Server 2.4</title>
26
27 <summary>
28   <p>This document describes some of the major changes between the
29      2.2 and 2.4 versions of the Apache HTTP Server. For new features since
30      version 2.0, see the <a href="new_features_2_2.html">2.2 new features</a>
31      document.</p>
32 </summary>
33
34   <section id="core">
35     <title>Core Enhancements</title>
36     <dl>
37       <dt>KeepAliveTimeout in milliseconds</dt>
38
39       <dd>It is now possible to specify <directive module="core"
40       >KeepAliveTimeout</directive> in milliseconds.
41       </dd>
42  
43       <dt>Simple MPM</dt>
44       <dd>Cleanroom MPM implementation with advanced thread pool management</dd>
45       
46       <dt>Loadable MPMs</dt>
47       <dd>Multiple MPMs can now be built as loadable modules at compile time.  
48       The MPM of choice can be configured at run time.</dd>
49  
50       <dt>Per-module and per-directory LogLevel configuration</dt>
51       <dd>The <directive module="core">LogLevel</directive> can now be
52       configured per module and per directory.  New levels <code>trace1</code>
53       to <code>trace8</code> have been added above the <code>debug</code> log
54       level.</dd>
55     </dl>
56   </section>
57
58   <section id="module">
59     <title>Module Enhancements</title>
60     <dl>
61       <dt><module>mod_ssl</module></dt>
62
63       <dd><module>mod_ssl</module> can now be configured to use an
64       OCSP server to check the validation status of a client
65       certificate.  The default responder is configurable, along with
66       the decision on whether to prefer the responder designated in
67       the client certificate itself.</dd>
68       
69       <dd><module>mod_ssl</module> now also supports OCSP stapling, where the 
70       server pro-actively obtains an OCSP verification of its certificate and 
71       transmits that to the client during the handshake. </dd>
72       
73       <dd><module>mod_ssl</module> can now be configured to share SSL Session 
74       data between servers through memcached</dd>
75  
76       <dt><module>mod_lua</module></dt>
77
78       <dd>Embeds the <a href="http://www.lua.org/">Lua</a> language into httpd, 
79       for configuration and small business logic functions.</dd>
80  
81       <dt><module>mod_proxy_fcgi</module></dt>
82
83       <dd>FastCGI Protocol backend for <module>mod_proxy</module></dd>
84     </dl>
85   </section>
86
87   <section id="programs">
88     <title>Program Enhancements</title>
89     <dl>
90         <dt>fcgistarter</dt>
91         <dd>FastCGI deamon starter utility</dd>
92     </dl>
93   </section>
94
95   <section id="developer">
96     <title>Module Developer Changes</title>
97     <dl>
98       <dt>Check Configuration Hook Added</dt>
99
100       <dd>A new hook, <code>check_config</code>, has been added which runs
101           between the <code>pre_config</code> and <code>open_logs</code>
102           hooks.  It also runs before the <code>test_config</code> hook
103           when the <code>-t</code> option is passed to
104           <program>httpd</program>.  The <code>check_config</code> hook
105           allows modules to review interdependent configuration directive
106           values and adjust them while messages can still be logged to the
107           console.  The user can thus be alerted to misconfiguration problems
108           before the core <code>open_logs</code> hook function redirects
109           console output to the error log.</dd>
110
111       <dt>Expression Parser Added</dt>
112
113       <dd>We now have a general-purpose expression parser, whose API is
114           exposed in <var>ap_expr.h</var>.  This is adapted from the
115           expression parser previously implemented in
116           <module>mod_include</module>.</dd>
117
118       <dt>Authorization Logic Containers</dt>
119
120       <dd>Advanced authorization logic may now be specified using the
121           <directive module="mod_authz_core">Require</directive> directive
122           and the related container directives, such as
123           <directive module="mod_authz_core"
124           type="section">RequireAll</directive>, all
125           provided by the <module>mod_authz_core</module> module.</dd>
126
127       <dt>Small-Object Caching Interface</dt>
128
129       <dd>The <var>ap_socache.h</var> header exposes a provider-based
130       interface for caching small data objects, based on the previous
131       implementation of the <module>mod_ssl</module> session cache.
132       Providers using a shared-memory cyclic buffer, disk-based dbm
133       files, and a memcache distributed cache are currently
134       supported.</dd>
135
136     </dl>
137   </section>
138 </manualpage>