new_features_2_2.xml revision 397e9a692c0255ea1581b5427894c5fe0da68f83
6ae232055d4d8a97267517c5e50074c2c819941and<?xml version='1.0' encoding='UTF-8' ?>
6ae232055d4d8a97267517c5e50074c2c819941and<!DOCTYPE manualpage SYSTEM "/style/manualpage.dtd">
6ae232055d4d8a97267517c5e50074c2c819941and<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
6ae232055d4d8a97267517c5e50074c2c819941and<!-- $LastChangedRevision$ -->
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and<!--
6ae232055d4d8a97267517c5e50074c2c819941and Copyright 2002-2004 The Apache Software Foundation
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and Licensed under the Apache License, Version 2.0 (the "License");
6ae232055d4d8a97267517c5e50074c2c819941and you may not use this file except in compliance with the License.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen You may obtain a copy of the License at
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen http://www.apache.org/licenses/LICENSE-2.0
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
6ae232055d4d8a97267517c5e50074c2c819941and Unless required by applicable law or agreed to in writing, software
6ae232055d4d8a97267517c5e50074c2c819941and distributed under the License is distributed on an "AS IS" BASIS,
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3f08db06526d6901aa08c110b5bc7dde6bc39905nd See the License for the specific language governing permissions and
6ae232055d4d8a97267517c5e50074c2c819941and limitations under the License.
6ae232055d4d8a97267517c5e50074c2c819941and-->
6ae232055d4d8a97267517c5e50074c2c819941and
b43f840409794ed298e8634f6284741f193b6c4ftakashi<manualpage metafile="new_features_2_2.xml.meta">
6ae232055d4d8a97267517c5e50074c2c819941and
b43f840409794ed298e8634f6284741f193b6c4ftakashi<title>Overview of new features in Apache 2.2</title>
c04f76acce77126cf88b09350e56ea8c6b4a064enilgun
6ae232055d4d8a97267517c5e50074c2c819941and<summary>
91f378b5a10f2d83820902ed10ba7967a3920c18nilgun <p>This document describes some of the major changes between the
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung 2.0 and 2.2 versions of the Apache HTTP Server. For new features since
6ae232055d4d8a97267517c5e50074c2c819941and version 1.3, see the <a href="new_features_2_0.html">2.0 new features</a>
b43f840409794ed298e8634f6284741f193b6c4ftakashi document.</p>
b43f840409794ed298e8634f6284741f193b6c4ftakashi</summary>
b43f840409794ed298e8634f6284741f193b6c4ftakashi
b43f840409794ed298e8634f6284741f193b6c4ftakashi <section id="core">
6ae232055d4d8a97267517c5e50074c2c819941and <title>Core Enhancements</title>
6ae232055d4d8a97267517c5e50074c2c819941and <dl>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dt>Authn/Authz</dt>
6ae232055d4d8a97267517c5e50074c2c819941and <dd>The bundled authentication and authorization modules have
6ae232055d4d8a97267517c5e50074c2c819941and been refactored. There is a new authentication backend provider
6ae232055d4d8a97267517c5e50074c2c819941and scheme which greatly eases the construction of new authentication
6ae232055d4d8a97267517c5e50074c2c819941and backends.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dt>Caching</dt>
6ae232055d4d8a97267517c5e50074c2c819941and <dd><module>mod_cache</module>, <module>mod_disk_cache</module>, and
6ae232055d4d8a97267517c5e50074c2c819941and <module>mod_mem_cache</module> have undergone a lot of changes
6ae232055d4d8a97267517c5e50074c2c819941and are now considered production-quality. <a
6ae232055d4d8a97267517c5e50074c2c819941and href="programs/htcacheclean.html">htcacheclean</a> has been
6ae232055d4d8a97267517c5e50074c2c819941and introduced to cleanup <module>mod_disk_cache</module> setups.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dt>Proxying</dt>
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh <dd>The new <module>mod_proxy_balancer</module> module provides
6ae232055d4d8a97267517c5e50074c2c819941and load balancing services for <module>mod_proxy</module>.
6ae232055d4d8a97267517c5e50074c2c819941and The new <module>mod_proxy_ajp</module> module adds support for the
6ae232055d4d8a97267517c5e50074c2c819941and <code>Apache JServ Protocol version 1.3</code> used by
6ae232055d4d8a97267517c5e50074c2c819941and <a href="http://jakarta.apache.org/tomcat/">Apache Tomcat</a>.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dt>Smart Filtering</dt>
6ae232055d4d8a97267517c5e50074c2c819941and <dd><module>mod_filter</module> introduces dynamic configuration
6ae232055d4d8a97267517c5e50074c2c819941and to the output filter chain. It enables filters to be conditionally
6ae232055d4d8a97267517c5e50074c2c819941and inserted, based on any Request or Response header or environment
6ae232055d4d8a97267517c5e50074c2c819941and variable, and dispenses with the more problematic dependencies and
6ae232055d4d8a97267517c5e50074c2c819941and ordering problems in the 2.0 architecture.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and </dl>
6ae232055d4d8a97267517c5e50074c2c819941and </section>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <section id="module">
6ae232055d4d8a97267517c5e50074c2c819941and <title>Module Enhancements</title>
6ae232055d4d8a97267517c5e50074c2c819941and <dl>
6ae232055d4d8a97267517c5e50074c2c819941and <dt><module>mod_authnz_ldap</module></dt>
6ae232055d4d8a97267517c5e50074c2c819941and <dd>This module is a port of the 2.0
6ae232055d4d8a97267517c5e50074c2c819941and <code>mod_auth_ldap</code> module to the 2.2 <code>Authn/Authz</code>
6ae232055d4d8a97267517c5e50074c2c819941and framework. New features include using LDAP attribute values and
6ae232055d4d8a97267517c5e50074c2c819941and complicated search filters in the
6ae232055d4d8a97267517c5e50074c2c819941and <directive module="core">Require</directive> directive.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dt><module>mod_info</module></dt>
6ae232055d4d8a97267517c5e50074c2c819941and <dd>Added a new <code>?config</code> argument which will show
6ae232055d4d8a97267517c5e50074c2c819941and the configuration directives as parsed by Apache, including
6ae232055d4d8a97267517c5e50074c2c819941and their file name and line number. The module also
6ae232055d4d8a97267517c5e50074c2c819941and shows the order of all request hooks and additional
6ae232055d4d8a97267517c5e50074c2c819941and build information, similar to <code>httpd -V</code>.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and </dl>
6ae232055d4d8a97267517c5e50074c2c819941and </section>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <section id="developer">
6ae232055d4d8a97267517c5e50074c2c819941and <title>Module Developer Changes</title>
6ae232055d4d8a97267517c5e50074c2c819941and <dl>
6ae232055d4d8a97267517c5e50074c2c819941and <dt>APR 1.0 API</dt>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dd>Apache 2.2 uses the APR 1.0 API. All depreciated functions and
6ae232055d4d8a97267517c5e50074c2c819941and symbols have been removed from <code>APR</code> and
6ae232055d4d8a97267517c5e50074c2c819941and <code>APR-Util</code>. For details, see the
6ae232055d4d8a97267517c5e50074c2c819941and <a href="http://apr.apache.org/">APR Website</a>.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dt>Connection Error Logging</dt>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dd>A new function, <code>ap_log_cerror</code> has been added to log
6ae232055d4d8a97267517c5e50074c2c819941and errors that occure with the client's connection. When logged,
6ae232055d4d8a97267517c5e50074c2c819941and the message includes the client IP address.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dt>Test Configuration Hook Added</dt>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dd>A new hook, <code>test_config</code> has been added to aid
6ae232055d4d8a97267517c5e50074c2c819941and modules that want to execute special code only when the user passes
6ae232055d4d8a97267517c5e50074c2c819941and <code>-t</code> to httpd.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dt>Set Threaded MPM's Stacksize</dt>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dd>A new directive, <code>ThreadStackSize</code> has been added to
6ae232055d4d8a97267517c5e50074c2c819941and set the stack size on all threaded MPMs. This is required
6ae232055d4d8a97267517c5e50074c2c819941and for some third-party modules on platforms with small default
6ae232055d4d8a97267517c5e50074c2c819941and thread stack size.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dt>Protocol handling for output filters</dt>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <dd>In the past, every filter has been responsible for ensuring
6ae232055d4d8a97267517c5e50074c2c819941and that it generates the correct response headers where it affects
6ae232055d4d8a97267517c5e50074c2c819941and them. Filters can now delegate common protocol management to
6ae232055d4d8a97267517c5e50074c2c819941and <module>mod_filter</module>, using the
6ae232055d4d8a97267517c5e50074c2c819941and <code>ap_register_output_filter_protocol</code> or
6ae232055d4d8a97267517c5e50074c2c819941and <code>ap_filter_protocol</code> calls.</dd>
6ae232055d4d8a97267517c5e50074c2c819941and </dl>
6ae232055d4d8a97267517c5e50074c2c819941and </section>
6ae232055d4d8a97267517c5e50074c2c819941and</manualpage>
6ae232055d4d8a97267517c5e50074c2c819941and