252b32956857ad89fc9ee708c4c6eb36097a647cerikabele<!DOCTYPE manualpage SYSTEM "/style/manualpage.dtd">
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
5f5d1b4cc970b7f06ff8ef6526128e9a27303d88nd<!-- $LastChangedRevision$ -->
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding Licensed to the Apache Software Foundation (ASF) under one or more
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding contributor license agreements. See the NOTICE file distributed with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding this work for additional information regarding copyright ownership.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding The ASF licenses this file to You under the Apache License, Version 2.0
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding (the "License"); you may not use this file except in compliance with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding the License. You may obtain a copy of the License at
acc36ab93565d2880447d535da6ca6e5feac7a70nd Unless required by applicable law or agreed to in writing, software
acc36ab93565d2880447d535da6ca6e5feac7a70nd distributed under the License is distributed on an "AS IS" BASIS,
acc36ab93565d2880447d535da6ca6e5feac7a70nd WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
acc36ab93565d2880447d535da6ca6e5feac7a70nd See the License for the specific language governing permissions and
acc36ab93565d2880447d535da6ca6e5feac7a70nd limitations under the License.
3ca6ee111e6044cb463e6dc45b9adcfa3050ff00rbowen<title>Overview of new features in Apache HTTP Server 2.0</title>
e50df6c711553f98103f1e0802f7de8c59be7cddslive <p>This document describes some of the major changes between the
e50df6c711553f98103f1e0802f7de8c59be7cddslive 1.3 and 2.0 versions of the Apache HTTP Server.</p>
c449ffd09c6af936695e858cff98916215ff76bckess<seealso><a href="upgrading.html">Upgrading to 2.0 from 1.3</a></seealso>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>On Unix systems with POSIX threads support, Apache httpd can
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele now run in a hybrid multiprocess, multithreaded mode. This
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele improves scalability for many, but not all configurations.</dd>
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele <dd>The build system has been rewritten from scratch to be
19e48954d3cfb4f573a99866b0071b6aaa62723ckess based on <code>autoconf</code> and <code>libtool</code>.
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen This makes Apache httpd's configuration system more similar to
19e48954d3cfb4f573a99866b0071b6aaa62723ckess that of other packages.</dd>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>Apache HTTP Server now has some of the infrastructure in place to
3f2fa24c621652779fd6706116a35b49c6dc26cand support serving multiple protocols. <module>mod_echo</module> has
3f2fa24c621652779fd6706116a35b49c6dc26cand been written as an example.</dd>
e50df6c711553f98103f1e0802f7de8c59be7cddslive <dt>Better support for non-Unix
e50df6c711553f98103f1e0802f7de8c59be7cddslive platforms</dt>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>Apache HTTP Server 2.0 is faster and more stable on non-Unix
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele platforms such as BeOS, OS/2, and Windows. With the
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele introduction of platform-specific <a
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele href="mpm.html">multi-processing modules</a> (MPMs) and the
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele Apache Portable Runtime (APR), these platforms are now
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele implemented in their native API, avoiding the often buggy and
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele poorly performing POSIX-emulation layers.</dd>
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele <dd>The API for modules has changed significantly for 2.0.
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele Many of the module-ordering/-priority problems from 1.3 should
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele be gone. 2.0 does much of this automatically, and module ordering
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele is now done per-hook to allow more flexibility. Also, new calls
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele have been added that provide additional module capabilities
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen without patching the core Apache HTTP Server.</dd>
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele <dd>On systems where IPv6 is supported by the underlying
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen Apache Portable Runtime library, Apache httpd gets IPv6 listening
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele sockets by default. Additionally, the <directive
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele module="mpm_common">Listen</directive>, <directive module="core"
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele >NameVirtualHost</directive>, and <directive module="core"
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele >VirtualHost</directive> directives support
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>Apache httpd modules may now be written as filters which act on
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele the stream of content as it is delivered to or from the
e50df6c711553f98103f1e0802f7de8c59be7cddslive server. This allows, for example, the output of CGI scripts to
19e48954d3cfb4f573a99866b0071b6aaa62723ckess be parsed for Server Side Include directives using the
19e48954d3cfb4f573a99866b0071b6aaa62723ckess <code>INCLUDES</code> filter in <module>mod_include</module>. The
19e48954d3cfb4f573a99866b0071b6aaa62723ckess module <module>mod_ext_filter</module> allows external programs to
19e48954d3cfb4f573a99866b0071b6aaa62723ckess act as filters in much the same way that CGI programs can act as
e50df6c711553f98103f1e0802f7de8c59be7cddslive handlers.</dd>
19e48954d3cfb4f573a99866b0071b6aaa62723ckess <dd>Error response messages to the browser are now provided in
19e48954d3cfb4f573a99866b0071b6aaa62723ckess several languages, using SSI documents. They may be customized
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele by the administrator to achieve a consistent look and feel.</dd>
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele <dd>Many confusing directives have been simplified. The often
19e48954d3cfb4f573a99866b0071b6aaa62723ckess confusing <code>Port</code> and <code>BindAddress</code> directives
19e48954d3cfb4f573a99866b0071b6aaa62723ckess are gone; only the <directive module="mpm_common">Listen</directive>
19e48954d3cfb4f573a99866b0071b6aaa62723ckess directive is used for IP address binding; the <directive
e50df6c711553f98103f1e0802f7de8c59be7cddslive module="core">ServerName</directive> directive specifies the
e50df6c711553f98103f1e0802f7de8c59be7cddslive server name and port number only for redirection and vhost
e50df6c711553f98103f1e0802f7de8c59be7cddslive recognition.</dd>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>Apache httpd 2.0 on Windows NT now uses utf-8 for all filename
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele encodings. These directly translate to the underlying Unicode
19e48954d3cfb4f573a99866b0071b6aaa62723ckess file system, providing multilanguage support for all Windows
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele NT-based installations, including Windows 2000 and Windows XP.
19e48954d3cfb4f573a99866b0071b6aaa62723ckess <em>This support does not extend to Windows 95, 98 or ME, which
19e48954d3cfb4f573a99866b0071b6aaa62723ckess continue to use the machine's local codepage for filesystem
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>Apache httpd 2.0 includes the <a href="http://www.pcre.org/">Perl
e50df6c711553f98103f1e0802f7de8c59be7cddslive Compatible Regular Expression Library</a> (PCRE). All regular
e50df6c711553f98103f1e0802f7de8c59be7cddslive expression evaluation now uses the more powerful Perl 5
e50df6c711553f98103f1e0802f7de8c59be7cddslive syntax.</dd>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>New module in Apache httpd 2.0. This module is an interface
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele OpenSSL.</dd>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>New module in Apache httpd 2.0. This module implements the HTTP
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele Distributed Authoring and Versioning (DAV) specification for
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele posting and maintaining web content.</dd>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>New module in Apache httpd 2.0. This module allows supporting
e50df6c711553f98103f1e0802f7de8c59be7cddslive browsers to request that content be compressed before delivery,
e50df6c711553f98103f1e0802f7de8c59be7cddslive saving network bandwidth.</dd>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>New module in Apache httpd 2.0.41. This module allows an LDAP
e50df6c711553f98103f1e0802f7de8c59be7cddslive database to be used to store credentials for HTTP Basic
e50df6c711553f98103f1e0802f7de8c59be7cddslive Authentication. A companion module, <module>mod_ldap</module>
e50df6c711553f98103f1e0802f7de8c59be7cddslive provides connection pooling and results caching.</dd>
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele <dd>Includes additional support for session caching across
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele processes using shared memory.</dd>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>New module in Apache httpd 2.0. This experimental module allows
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele for character set translation or recoding.</dd>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>New module in Apache httpd 2.0. This module includes the
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen functionality of <code>mod_mmap_static</code> in Apache HTTP
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen Server version 1.3, plus adds further caching abilities.</dd>
91dbfe27f56a07b53ec19068fdb47581476d5c3brbowen <dd>This module is much more flexible in Apache httpd 2.0. It can now
e50df6c711553f98103f1e0802f7de8c59be7cddslive modify request headers used by <module>mod_proxy</module>, and
e50df6c711553f98103f1e0802f7de8c59be7cddslive it can conditionally set response headers.</dd>
e50df6c711553f98103f1e0802f7de8c59be7cddslive <dd>The proxy module has been completely rewritten to take
e50df6c711553f98103f1e0802f7de8c59be7cddslive advantage of the new filter infrastructure and to implement a
e50df6c711553f98103f1e0802f7de8c59be7cddslive more reliable, HTTP/1.1 compliant proxy. In addition, new
e50df6c711553f98103f1e0802f7de8c59be7cddslive <directive module="mod_proxy" type="section">Proxy</directive>
e50df6c711553f98103f1e0802f7de8c59be7cddslive configuration sections provide more readable (and internally
19e48954d3cfb4f573a99866b0071b6aaa62723ckess faster) control of proxied sites; overloaded <code><Directory
19e48954d3cfb4f573a99866b0071b6aaa62723ckess "proxy:..."></code> configuration are not supported. The module
19e48954d3cfb4f573a99866b0071b6aaa62723ckess is now divided into specific protocol support modules including
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele >ForceLanguagePriority</directive> directive can be used to assure that
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele the client receives a single document in all cases, rather than
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele NOT ACCEPTABLE or MULTIPLE CHOICES responses. In addition, the
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele negotiation and MultiViews algorithms have been cleaned up to
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele provide more consistent results and a new form of type map that
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele can include document content is provided.</dd>
19e48954d3cfb4f573a99866b0071b6aaa62723ckess <dd>Autoindex'ed directory listings can now be configured to
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele use HTML tables for cleaner formatting, and allow finer-grained
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele control of sorting, including version-sorting, and wildcard
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele filtering of the directory listing.</dd>
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele <dd>New directives allow the default start and end tags for SSI elements
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele to be changed and allow for error and time format configuration
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele to take place in the main configuration file rather than in the
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele SSI document. Results from regular expression parsing and grouping
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele (now based on Perl's regular expression syntax) can be retrieved
19e48954d3cfb4f573a99866b0071b6aaa62723ckess using <module>mod_include</module>'s variables <code>$0</code>
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele <dd>Now supports multiple types of DBM-like databases using the
252b32956857ad89fc9ee708c4c6eb36097a647cerikabele</manualpage>