new_features_2_0.html.en revision c449ffd09c6af936695e858cff98916215ff76bc
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd This file is generated from xml source: DO NOT EDIT
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<title>Overview of new features in Apache 2.0 - Apache HTTP Server</title>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<link href="/images/favicon.ico" rel="shortcut icon" /></head>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<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>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.1</a></div><div id="page-content"><div id="preamble"><h1>Overview of new features in Apache 2.0</h1>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <p>This document describes some of the major changes between the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd 1.3 and 2.0 versions of the Apache HTTP Server.</p>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#core">Core Enhancements</a></li>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<li><img alt="" src="/images/down.gif" /> <a href="#module">Module Enhancements</a></li>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd</ul><h3>See also</h3><ul class="seealso"><li><a href="upgrading.html">Upgrading to 2.0 from 1.3</a></li></ul></div>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>On Unix systems with POSIX threads support, Apache can
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd now run in a hybrid multiprocess, multithreaded mode. This
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd improves scalability for many, but not all configurations.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>The build system has been rewritten from scratch to be
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd This makes Apache's configuration system more similar to
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd that of other packages.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>Apache now has some of the infrastructure in place to
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd support serving multiple protocols. <code class="module"><a href="/mod/mod_echo.html">mod_echo</a></code> has
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd been written as an example.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt>Better support for non-Unix
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd platforms</dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>Apache 2.0 is faster and more stable on non-Unix
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd platforms such as BeOS, OS/2, and Windows. With the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd introduction of platform-specific <a href="mpm.html">multi-processing modules</a> (MPMs) and the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd Apache Portable Runtime (APR), these platforms are now
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd implemented in their native API, avoiding the often buggy and
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd poorly performing POSIX-emulation layers.</dd>
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh <dd>The API for modules has changed significantly for 2.0.
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd Many of the module-ordering/-priority problems from 1.3 should
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd be gone. 2.0 does much of this automatically, and module ordering
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd is now done per-hook to allow more flexibility. Also, new calls
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd have been added that provide additional module capabilities
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd without patching the core Apache server.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>On systems where IPv6 is supported by the underlying
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd Apache Portable Runtime library, Apache gets IPv6 listening
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd sockets by default. Additionally, the <code class="directive"><a href="/mod/mpm_common.html#listen">Listen</a></code>, <code class="directive"><a href="/mod/core.html#namevirtualhost">NameVirtualHost</a></code>, and <code class="directive"><a href="/mod/core.html#virtualhost">VirtualHost</a></code> directives support
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>Apache modules may now be written as filters which act on
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd the stream of content as it is delivered to or from the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd server. This allows, for example, the output of CGI scripts to
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd be parsed for Server Side Include directives using the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <code>INCLUDES</code> filter in <code class="module"><a href="/mod/mod_include.html">mod_include</a></code>. The
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd module <code class="module"><a href="/mod/mod_ext_filter.html">mod_ext_filter</a></code> allows external programs to
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd act as filters in much the same way that CGI programs can act as
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd handlers.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>Error response messages to the browser are now provided in
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd several languages, using SSI documents. They may be customized
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd by the administrator to achieve a consistent look and feel.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>Many confusing directives have been simplified. The often
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd confusing <code>Port</code> and <code>BindAddress</code> directives
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd are gone; only the <code class="directive"><a href="/mod/mpm_common.html#listen">Listen</a></code>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd directive is used for IP address binding; the <code class="directive"><a href="/mod/core.html#servername">ServerName</a></code> directive specifies the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd server name and port number only for redirection and vhost
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd recognition.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>Apache 2.0 on Windows NT now uses utf-8 for all filename
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd encodings. These directly translate to the underlying Unicode
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd file system, providing multilanguage support for all Windows
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd NT-based installations, including Windows 2000 and Windows XP.
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <em>This support does not extend to Windows 95, 98 or ME, which
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd continue to use the machine's local codepage for filesystem
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>Apache 2.0 includes the <a href="http://www.pcre.org/">Perl
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd Compatible Regular Expression Library</a> (PCRE). All regular
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd expression evaluation now uses the more powerful Perl 5
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd syntax.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<h2><a name="module" id="module">Module Enhancements</a></h2>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_ssl.html">mod_ssl</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>New module in Apache 2.0. This module is an interface
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd OpenSSL.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_dav.html">mod_dav</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>New module in Apache 2.0. This module implements the HTTP
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd Distributed Authoring and Versioning (DAV) specification for
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd posting and maintaining web content.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_deflate.html">mod_deflate</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>New module in Apache 2.0. This module allows supporting
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd browsers to request that content be compressed before delivery,
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd saving network bandwidth.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_auth_ldap.html">mod_auth_ldap</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>New module in Apache 2.0.41. This module allows an LDAP
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd database to be used to store credentials for HTTP Basic
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd Authentication. A companion module, <code class="module"><a href="/mod/mod_ldap.html">mod_ldap</a></code>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd provides connection pooling and results caching.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_auth_digest.html">mod_auth_digest</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>Includes additional support for session caching across
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd processes using shared memory.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_charset_lite.html">mod_charset_lite</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>New module in Apache 2.0. This experimental module allows
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd for character set translation or recoding.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_file_cache.html">mod_file_cache</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>New module in Apache 2.0. This module includes the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd functionality of <code>mod_mmap_static</code> in Apache 1.3,
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd plus adds further caching abilities.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_headers.html">mod_headers</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>This module is much more flexible in Apache 2.0. It can now
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd modify request headers used by <code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code>, and
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd it can conditionally set response headers.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>The proxy module has been completely rewritten to take
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd advantage of the new filter infrastructure and to implement a
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd more reliable, HTTP/1.1 compliant proxy. In addition, new
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <code class="directive"><a href="/mod/mod_proxy.html#proxy"><Proxy></a></code>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd configuration sections provide more readable (and internally
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd faster) control of proxied sites; overloaded <code><Directory
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd "proxy:..."></code> configuration are not supported. The module
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd is now divided into specific protocol support modules including
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_negotiation.html">mod_negotiation</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>A new <code class="directive"><a href="/mod/mod_negotiation.html#forcelanguagepriority">ForceLanguagePriority</a></code> directive can be used to assure that
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd the client receives a single document in all cases, rather than
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd NOT ACCEPTABLE or MULTIPLE CHOICES responses. In addition, the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd negotiation and MultiViews algorithms have been cleaned up to
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd provide more consistent results and a new form of type map that
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd can include document content is provided.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_autoindex.html">mod_autoindex</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>Autoindex'ed directory listings can now be configured to
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd use HTML tables for cleaner formatting, and allow finer-grained
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd control of sorting, including version-sorting, and wildcard
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd filtering of the directory listing.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_include.html">mod_include</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>New directives allow the default start and end tags for SSI elements
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd to be changed and allow for error and time format configuration
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd to take place in the main configuration file rather than in the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd SSI document. Results from regular expression parsing and grouping
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd (now based on Perl's regular expression syntax) can be retrieved
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd using <code class="module"><a href="/mod/mod_include.html">mod_include</a></code>'s variables <code>$0</code>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dt><code class="module"><a href="/mod/mod_auth_dbm.html">mod_auth_dbm</a></code></dt>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <dd>Now supports multiple types of DBM-like databases using the
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd <code class="directive"><a href="/mod/mod_auth_dbm.html#authdbmtype">AuthDBMType</a></code>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd directive.</dd>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd<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>