new_features_2_2.xml revision 26be97276918b2dbf2b49852c4c9203552e5e40e
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe<!-- $LastChangedRevision$ -->
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe Licensed to the Apache Software Foundation (ASF) under one or more
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe contributor license agreements. See the NOTICE file distributed with
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe this work for additional information regarding copyright ownership.
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe The ASF licenses this file to You under the Apache License, Version 2.0
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe (the "License"); you may not use this file except in compliance with
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe the License. You may obtain a copy of the License at
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe Unless required by applicable law or agreed to in writing, software
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe distributed under the License is distributed on an "AS IS" BASIS,
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe See the License for the specific language governing permissions and
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe limitations under the License.
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <p>This document describes some of the major changes between the
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe 2.0 and 2.2 versions of the Apache HTTP Server. For new features since
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe version 1.3, see the <a href="new_features_2_0.html">2.0 new features</a>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe document.</p>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <dd>The bundled authentication and authorization modules have
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe been refactored. The new <module>mod_authn_alias</module> module
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe can greatly simplify certain authentication configurations.
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <a href="#developer">the developer changes</a> for more
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe information about how these changes affects users and module
56e85d89d42a6980f31b800266649efbed338da3wrowe writers.</dd>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <dd><module>mod_cache</module>, <module>mod_disk_cache</module>, and
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <module>mod_mem_cache</module> have undergone a lot of changes, and
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe are now considered production-quality. <program>htcacheclean</program>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe has been introduced to clean up <module>mod_disk_cache</module>
79464ef4c61ae6b1bb4de13decb4e4f9e43e2800wrowe setups.</dd>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <dd>The default configuration layout has been simplified and
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe modularised. Configuration snippets which can be used to
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe enable commonly-used features are now bundled with Apache, and
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe can be easily added to the main server config.</dd>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <dd>The <module>prefork</module>, <module>worker</module> and
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <module>event</module> MPMs now allow <program>httpd</program>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe to be shutdown gracefully via the
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <a href="stopping.html#gracefulstop"><code>graceful-stop</code></a>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe signal. The <directive
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe module="mpm_common">GracefulShutdownTimeout</directive> directive
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe has been added to specify an optional timeout, after which
26b9ccb55ff33097af4914f2e4bd36fec99a039dwrowe <program>httpd</program> will terminate regardless of the status
6674f67af38a4c0241b253a77871836c43b7735fwrowe of any requests being served.</dd>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <dd>The new <module>mod_proxy_balancer</module> module provides
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe load balancing services for <module>mod_proxy</module>.
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe The new <module>mod_proxy_ajp</module> module adds support for the
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <code>Apache JServ Protocol version 1.3</code> used by
79464ef4c61ae6b1bb4de13decb4e4f9e43e2800wrowe <a href="http://jakarta.apache.org/tomcat/">Apache Tomcat</a>.</dd>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <dd>Version 5.0 of the
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <a href="http://www.pcre.org/">Perl Compatible Regular Expression
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe Library</a> (PCRE) is now included. <program>httpd</program> can be
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe configured to use a system installation of PCRE by passing the
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <dd><module>mod_filter</module> introduces dynamic configuration
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe to the output filter chain. It enables filters to be conditionally
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe inserted, based on any Request or Response header or environment
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe variable, and dispenses with the more problematic dependencies and
0bcc003d275c6b0a9060d43be89762b218cbc2c7wrowe ordering problems in the 2.0 architecture.</dd>
0bcc003d275c6b0a9060d43be89762b218cbc2c7wrowe <dd>httpd is now built with support for files larger than 2GB on
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe modern 32-bit Unix systems. Support for handling >2GB request
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe bodies has also been added.</dd>
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe <dd>The <module>event</module> MPM uses a seperate thread to handle
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe Keep Alive requests and accepting connections. Keep Alive requests
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe have traditionally required httpd to dedicate a worker to handle it.
8c8173f49dd7122e10636b3d20ae841551bd0b43wrowe This dedicated worker could not be used again until the Keep Alive
cc08604ef06281d6375ed35ea3076ab65f3a0c3bwrowe timeout was reached.</dd>