]> granicus.if.org Git - apache/blob - docs/manual/new_features_2_2.html.en
* Rewritemaps use ${...}
[apache] / docs / manual / new_features_2_2.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         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5               This file is generated from xml source: DO NOT EDIT
6         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7       -->
8 <title>Overview of new features in Apache 2.2 - Apache HTTP Server</title>
9 <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="./images/favicon.ico" rel="shortcut icon" /></head>
13 <body id="manual-page"><div id="page-header">
14 <p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p>
15 <p class="apache">Apache HTTP Server Version 2.1</p>
16 <img alt="" src="./images/feather.gif" /></div>
17 <div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="./images/left.gif" /></a></div>
18 <div id="path">
19 <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-project/">Documentation</a> &gt; <a href="./">Version 2.1</a></div><div id="page-content"><div id="preamble"><h1>Overview of new features in Apache 2.2</h1>
20 <div class="toplang">
21 <p><span>Available Languages: </span><a href="./en/new_features_2_2.html" title="English">&nbsp;en&nbsp;</a> |
22 <a href="./ko/new_features_2_2.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
23 <a href="./pt-br/new_features_2_2.html" hreflang="pt-br" rel="alternate" title="Português (Brasil)">&nbsp;pt-br&nbsp;</a></p>
24 </div>
25
26   <p>This document describes some of the major changes between the
27      2.0 and 2.2 versions of the Apache HTTP Server. For new features since
28      version 1.3, see the <a href="new_features_2_0.html">2.0 new features</a>
29      document.</p>
30 </div>
31 <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#core">Core Enhancements</a></li>
32 <li><img alt="" src="./images/down.gif" /> <a href="#module">Module Enhancements</a></li>
33 <li><img alt="" src="./images/down.gif" /> <a href="#programs">Program Enhancements</a></li>
34 <li><img alt="" src="./images/down.gif" /> <a href="#developer">Module Developer Changes</a></li>
35 </ul></div>
36 <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
37 <div class="section">
38 <h2><a name="core" id="core">Core Enhancements</a></h2>
39     
40     <dl>
41
42       <dt>Authn/Authz</dt>
43       <dd>The bundled authentication and authorization modules have
44           been refactored.  There is a new authentication backend provider
45           scheme which greatly eases the construction of new authentication
46           backends.</dd>
47
48       <dt>Caching</dt>
49       <dd><code class="module"><a href="./mod/mod_cache.html">mod_cache</a></code>, <code class="module"><a href="./mod/mod_disk_cache.html">mod_disk_cache</a></code>, and
50           <code class="module"><a href="./mod/mod_mem_cache.html">mod_mem_cache</a></code> have undergone a lot of changes
51           are now considered production-quality. <code class="program"><a href="./programs/htcacheclean.html">htcacheclean</a></code>
52           has been introduced to cleanup <code class="module"><a href="./mod/mod_disk_cache.html">mod_disk_cache</a></code>
53           setups.</dd>
54
55       <dt>Proxying</dt>
56       <dd>The new <code class="module"><a href="./mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code> module provides 
57           load balancing services for <code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code>.
58           The new <code class="module"><a href="./mod/mod_proxy_ajp.html">mod_proxy_ajp</a></code> module adds support for the
59           <code>Apache JServ Protocol version 1.3</code> used by 
60           <a href="http://jakarta.apache.org/tomcat/">Apache Tomcat</a>.</dd>
61
62       <dt>Regular Expression Library Updated</dt>
63       <dd>Version 5.0 of the 
64           <a href="http://www.pcre.org/">Perl Compatible Regular Expression
65           Library</a> (PCRE) is now included.</dd>
66
67       <dt>Smart Filtering</dt>
68       <dd><code class="module"><a href="./mod/mod_filter.html">mod_filter</a></code> introduces dynamic configuration
69           to the output filter chain.  It enables filters to be conditionally
70           inserted, based on any Request or Response header or environment
71           variable, and dispenses with the more problematic dependencies and
72           ordering problems in the 2.0 architecture.</dd>
73
74       <dt>Large File Support</dt>
75
76       <dd>httpd is now built with support for files larger than 2Gb on
77           modern 32-bit Unix systems.  Support for handling &gt;2Gb request
78           bodies has also been added.</dd>
79
80       <dt>Event MPM</dt>
81       <dd>The <code class="module"><a href="./mod/event.html">event</a></code> MPM uses a seperate thread to handle
82           Keep Alive requests and accepting connections.  Keep Alive requests
83           have traditionally required httpd to dedicate a worker to handle it.
84           This dedicated worker could not be used again until the Keep Alive 
85           timeout was reached.</dd>
86
87       <dt>SQL Database Support</dt>
88       <dd><code class="module"><a href="./mod/mod_dbd.html">mod_dbd</a></code>, together with the apr_dbd framework,
89           brings direct SQL support to modules that need it.  Supports
90           connection pooling in threaded MPMs.</dd>
91
92     </dl>
93   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
94 <div class="section">
95 <h2><a name="module" id="module">Module Enhancements</a></h2>
96     
97     <dl>
98       <dt><code class="module"><a href="./mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code></dt>
99       <dd>This module is a port of the 2.0 
100           <code>mod_auth_ldap</code> module to the 2.2 <code>Authn/Authz</code> 
101           framework.  New features include using LDAP attribute values and 
102           complicated search filters in the 
103           <code class="directive"><a href="./mod/core.html#require">Require</a></code> directive.</dd>
104
105       <dt><code class="module"><a href="./mod/mod_info.html">mod_info</a></code></dt>
106       <dd>Added a new <code>?config</code> argument which will show
107           the configuration directives as parsed by Apache, including
108           their file name and line number.  The module also 
109           shows the order of all request hooks and additional
110           build information, similar to <code>httpd -V</code>.</dd>
111
112       <dt><code class="module"><a href="./mod/mod_ssl.html">mod_ssl</a></code></dt>
113       
114       <dd>Added a support for 
115          <a href="http://www.ietf.org/rfc/rfc2817.txt">RFC 2817</a>, which 
116          allows connections to upgrade from clear text to TLS encryption.</dd>
117     </dl>
118   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
119 <div class="section">
120 <h2><a name="programs" id="programs">Program Enhancements</a></h2>
121     
122     <dl>
123       <dt><code class="program"><a href="./programs/httpd.html">httpd</a></code></dt>
124       <dd>A new command line option <code>-M</code> has been added that
125       lists all modules that are loaded based on the current
126       configuration. Unlike the <code>-l</code> option, this list
127       includes DSOs loaded via <code class="module"><a href="./mod/mod_so.html">mod_so</a></code>.</dd>
128     </dl>
129   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
130 <div class="section">
131 <h2><a name="developer" id="developer">Module Developer Changes</a></h2>
132     
133     <dl>
134       <dt>APR 1.0 API</dt>
135
136       <dd>Apache 2.2 uses the APR 1.0 API.  All deprecated functions and 
137           symbols have been removed from <code>APR</code> and 
138           <code>APR-Util</code>. For details, see the 
139           <a href="http://apr.apache.org/">APR Website</a>.</dd>
140
141       <dt>Connection Error Logging</dt>
142
143       <dd>A new function, <code>ap_log_cerror</code> has been added to log
144           errors that occure with the client's connection.  When logged, 
145           the message includes the client IP address.</dd>
146
147       <dt>Test Configuration Hook Added</dt>
148
149       <dd>A new hook, <code>test_config</code> has been added to aid
150           modules that want to execute special code only when the user passes
151           <code>-t</code> to <code class="program"><a href="./programs/httpd.html">httpd</a></code>.</dd>
152
153       <dt>Set Threaded MPM's Stacksize</dt>
154
155       <dd>A new directive, <code>ThreadStackSize</code> has been added to 
156           set the stack size on all threaded MPMs.  This is required
157           for some third-party modules on platforms with small default
158           thread stack size.</dd>
159
160       <dt>Protocol handling for output filters</dt>
161
162       <dd>In the past, every filter has been responsible for ensuring 
163           that it generates the correct response headers where it affects
164           them.  Filters can now delegate common protocol management to
165           <code class="module"><a href="./mod/mod_filter.html">mod_filter</a></code>, using the
166           <code>ap_register_output_filter_protocol</code> or
167           <code>ap_filter_protocol</code> calls.</dd>
168
169       <dt>Monitor hook added</dt>
170       <dd>Monitor hook enables modules to run regular/scheduled jobs
171           in the parent (root) process.</dd>
172     </dl>
173   </div></div>
174 <div class="bottomlang">
175 <p><span>Available Languages: </span><a href="./en/new_features_2_2.html" title="English">&nbsp;en&nbsp;</a> |
176 <a href="./ko/new_features_2_2.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
177 <a href="./pt-br/new_features_2_2.html" hreflang="pt-br" rel="alternate" title="Português (Brasil)">&nbsp;pt-br&nbsp;</a></p>
178 </div><div id="footer">
179 <p class="apache">Copyright 1995-2005 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
180 <p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p></div>
181 </body></html>