|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
|
|
Packit |
90a5c9 |
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" />
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
Packit |
90a5c9 |
This file is generated from xml source: DO NOT EDIT
|
|
Packit |
90a5c9 |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
Packit |
90a5c9 |
-->
|
|
Packit |
90a5c9 |
<title>Overview of new features in Apache HTTP Server 2.0 - Apache HTTP Server Version 2.4</title>
|
|
Packit |
90a5c9 |
<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
|
|
Packit |
90a5c9 |
<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
|
|
Packit |
90a5c9 |
<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" />
|
|
Packit |
90a5c9 |
<script src="./style/scripts/prettify.min.js" type="text/javascript">
|
|
Packit |
90a5c9 |
</script>
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
<link href="./images/favicon.ico" rel="shortcut icon" /></head>
|
|
Packit |
90a5c9 |
<body id="manual-page">
|
|
Packit |
90a5c9 |
Modules | Directives | FAQ | Glossary | Sitemap
|
|
Packit |
90a5c9 |
Apache HTTP Server Version 2.4
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Apache > HTTP Server > Documentation > Version 2.4Overview of new features in Apache HTTP Server 2.0
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Available Languages: de |
|
|
Packit |
90a5c9 |
en |
|
|
Packit |
90a5c9 |
fr |
|
|
Packit |
90a5c9 |
ja |
|
|
Packit |
90a5c9 |
ko |
|
|
Packit |
90a5c9 |
pt-br |
|
|
Packit |
90a5c9 |
ru |
|
|
Packit |
90a5c9 |
tr
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
This document describes some of the major changes between the
|
|
Packit |
90a5c9 |
1.3 and 2.0 versions of the Apache HTTP Server.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Module Enhancements
|
|
Packit |
90a5c9 |
See also
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Unix Threading
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
On Unix systems with POSIX threads support, Apache httpd can
|
|
Packit |
90a5c9 |
now run in a hybrid multiprocess, multithreaded mode. This
|
|
Packit |
90a5c9 |
improves scalability for many, but not all configurations.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
New Build System
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
The build system has been rewritten from scratch to be
|
|
Packit |
90a5c9 |
based on autoconf and libtool .
|
|
Packit |
90a5c9 |
This makes Apache httpd's configuration system more similar to
|
|
Packit |
90a5c9 |
that of other packages.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Multiprotocol Support
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Apache HTTP Server now has some of the infrastructure in place to
|
|
Packit |
90a5c9 |
support serving multiple protocols. mod_echo has
|
|
Packit |
90a5c9 |
been written as an example.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Better support for non-Unix
|
|
Packit |
90a5c9 |
platforms
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Apache HTTP Server 2.0 is faster and more stable on non-Unix
|
|
Packit |
90a5c9 |
platforms such as BeOS, OS/2, and Windows. With the
|
|
Packit |
90a5c9 |
introduction of platform-specific multi-processing modules (MPMs) and the
|
|
Packit |
90a5c9 |
Apache Portable Runtime (APR), these platforms are now
|
|
Packit |
90a5c9 |
implemented in their native API, avoiding the often buggy and
|
|
Packit |
90a5c9 |
poorly performing POSIX-emulation layers.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
New Apache httpd API
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
The API for modules has changed significantly for 2.0.
|
|
Packit |
90a5c9 |
Many of the module-ordering/-priority problems from 1.3 should
|
|
Packit |
90a5c9 |
be gone. 2.0 does much of this automatically, and module ordering
|
|
Packit |
90a5c9 |
is now done per-hook to allow more flexibility. Also, new calls
|
|
Packit |
90a5c9 |
have been added that provide additional module capabilities
|
|
Packit |
90a5c9 |
without patching the core Apache HTTP Server.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
IPv6 Support
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
On systems where IPv6 is supported by the underlying
|
|
Packit |
90a5c9 |
Apache Portable Runtime library, Apache httpd gets IPv6 listening
|
|
Packit |
90a5c9 |
sockets by default. Additionally, the Listen , NameVirtualHost , and VirtualHost directives support
|
|
Packit |
90a5c9 |
IPv6 numeric address strings (e.g., "Listen
|
|
Packit |
90a5c9 |
[2001:db8::1]:8080").
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Filtering
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Apache httpd modules may now be written as filters which act on
|
|
Packit |
90a5c9 |
the stream of content as it is delivered to or from the
|
|
Packit |
90a5c9 |
server. This allows, for example, the output of CGI scripts to
|
|
Packit |
90a5c9 |
be parsed for Server Side Include directives using the
|
|
Packit |
90a5c9 |
INCLUDES filter in mod_include . The
|
|
Packit |
90a5c9 |
module mod_ext_filter allows external programs to
|
|
Packit |
90a5c9 |
act as filters in much the same way that CGI programs can act as
|
|
Packit |
90a5c9 |
handlers.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Multilanguage Error Responses
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Error response messages to the browser are now provided in
|
|
Packit |
90a5c9 |
several languages, using SSI documents. They may be customized
|
|
Packit |
90a5c9 |
by the administrator to achieve a consistent look and feel.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Simplified configuration
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Many confusing directives have been simplified. The often
|
|
Packit |
90a5c9 |
confusing Port and BindAddress directives
|
|
Packit |
90a5c9 |
are gone; only the Listen
|
|
Packit |
90a5c9 |
directive is used for IP address binding; the ServerName directive specifies the
|
|
Packit |
90a5c9 |
server name and port number only for redirection and vhost
|
|
Packit |
90a5c9 |
recognition.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Native Windows NT Unicode Support
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Apache httpd 2.0 on Windows NT now uses utf-8 for all filename
|
|
Packit |
90a5c9 |
encodings. These directly translate to the underlying Unicode
|
|
Packit |
90a5c9 |
file system, providing multilanguage support for all Windows
|
|
Packit |
90a5c9 |
NT-based installations, including Windows 2000 and Windows XP.
|
|
Packit |
90a5c9 |
This support does not extend to Windows 95, 98 or ME, which
|
|
Packit |
90a5c9 |
continue to use the machine's local codepage for filesystem
|
|
Packit |
90a5c9 |
access.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Regular Expression Library Updated
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Apache httpd 2.0 includes the Perl
|
|
Packit |
90a5c9 |
Compatible Regular Expression Library (PCRE). All regular
|
|
Packit |
90a5c9 |
expression evaluation now uses the more powerful Perl 5
|
|
Packit |
90a5c9 |
syntax.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_ssl
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
New module in Apache httpd 2.0. This module is an interface
|
|
Packit |
90a5c9 |
to the SSL/TLS encryption protocols provided by
|
|
Packit |
90a5c9 |
OpenSSL.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_dav
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
New module in Apache httpd 2.0. This module implements the HTTP
|
|
Packit |
90a5c9 |
Distributed Authoring and Versioning (DAV) specification for
|
|
Packit |
90a5c9 |
posting and maintaining web content.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_deflate
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
New module in Apache httpd 2.0. This module allows supporting
|
|
Packit |
90a5c9 |
browsers to request that content be compressed before delivery,
|
|
Packit |
90a5c9 |
saving network bandwidth.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_auth_ldap
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
New module in Apache httpd 2.0.41. This module allows an LDAP
|
|
Packit |
90a5c9 |
database to be used to store credentials for HTTP Basic
|
|
Packit |
90a5c9 |
Authentication. A companion module, mod_ldap
|
|
Packit |
90a5c9 |
provides connection pooling and results caching.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_auth_digest
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Includes additional support for session caching across
|
|
Packit |
90a5c9 |
processes using shared memory.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_charset_lite
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
New module in Apache httpd 2.0. This experimental module allows
|
|
Packit |
90a5c9 |
for character set translation or recoding.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_file_cache
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
New module in Apache httpd 2.0. This module includes the
|
|
Packit |
90a5c9 |
functionality of mod_mmap_static in Apache HTTP
|
|
Packit |
90a5c9 |
Server version 1.3, plus adds further caching abilities.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_headers
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
This module is much more flexible in Apache httpd 2.0. It can now
|
|
Packit |
90a5c9 |
modify request headers used by mod_proxy , and
|
|
Packit |
90a5c9 |
it can conditionally set response headers.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
The proxy module has been completely rewritten to take
|
|
Packit |
90a5c9 |
advantage of the new filter infrastructure and to implement a
|
|
Packit |
90a5c9 |
more reliable, HTTP/1.1 compliant proxy. In addition, new
|
|
Packit |
90a5c9 |
<Proxy>
|
|
Packit |
90a5c9 |
configuration sections provide more readable (and internally
|
|
Packit |
90a5c9 |
faster) control of proxied sites; overloaded <Directory
|
|
Packit |
90a5c9 |
"proxy:..."> configuration are not supported. The module
|
|
Packit |
90a5c9 |
is now divided into specific protocol support modules including
|
|
Packit |
90a5c9 |
proxy_connect , proxy_ftp and
|
|
Packit |
90a5c9 |
proxy_http .
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_negotiation
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
A new ForceLanguagePriority directive can be used to assure that
|
|
Packit |
90a5c9 |
the client receives a single document in all cases, rather than
|
|
Packit |
90a5c9 |
NOT ACCEPTABLE or MULTIPLE CHOICES responses. In addition, the
|
|
Packit |
90a5c9 |
negotiation and MultiViews algorithms have been cleaned up to
|
|
Packit |
90a5c9 |
provide more consistent results and a new form of type map that
|
|
Packit |
90a5c9 |
can include document content is provided.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_autoindex
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Autoindex'ed directory listings can now be configured to
|
|
Packit |
90a5c9 |
use HTML tables for cleaner formatting, and allow finer-grained
|
|
Packit |
90a5c9 |
control of sorting, including version-sorting, and wildcard
|
|
Packit |
90a5c9 |
filtering of the directory listing.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_include
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
New directives allow the default start and end tags for SSI elements
|
|
Packit |
90a5c9 |
to be changed and allow for error and time format configuration
|
|
Packit |
90a5c9 |
to take place in the main configuration file rather than in the
|
|
Packit |
90a5c9 |
SSI document. Results from regular expression parsing and grouping
|
|
Packit |
90a5c9 |
(now based on Perl's regular expression syntax) can be retrieved
|
|
Packit |
90a5c9 |
using mod_include 's variables $0
|
|
Packit |
90a5c9 |
.. $9 .
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_auth_dbm
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Now supports multiple types of DBM-like databases using the
|
|
Packit |
90a5c9 |
AuthDBMType directive.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Available Languages: de |
|
|
Packit |
90a5c9 |
en |
|
|
Packit |
90a5c9 |
fr |
|
|
Packit |
90a5c9 |
ja |
|
|
Packit |
90a5c9 |
ko |
|
|
Packit |
90a5c9 |
pt-br |
|
|
Packit |
90a5c9 |
ru |
|
|
Packit |
90a5c9 |
tr
|
|
Packit |
90a5c9 |
Notice:This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.
|
|
Packit |
90a5c9 |
<script type="text/javascript">
|
|
Packit |
90a5c9 |
var comments_shortname = 'httpd';
|
|
Packit |
90a5c9 |
var comments_identifier = 'http://httpd.apache.org/docs/2.4/new_features_2_0.html';
|
|
Packit |
90a5c9 |
(function(w, d) {
|
|
Packit |
90a5c9 |
if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
|
|
Packit |
90a5c9 |
d.write('
|
|
Packit |
90a5c9 |
var s = d.createElement('script');
|
|
Packit |
90a5c9 |
s.type = 'text/javascript';
|
|
Packit |
90a5c9 |
s.async = true;
|
|
Packit |
90a5c9 |
s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
|
|
Packit |
90a5c9 |
(d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
|
|
Packit |
90a5c9 |
}
|
|
Packit |
90a5c9 |
else {
|
|
Packit |
90a5c9 |
d.write('
|
|
Packit |
90a5c9 |
}
|
|
Packit |
90a5c9 |
})(window, document);
|
|
Packit |
90a5c9 |
//--></script>
|
|
Packit |
90a5c9 |
Copyright 2018 The Apache Software Foundation. Licensed under the Apache License, Version 2.0.
|
|
Packit |
90a5c9 |
Modules | Directives | FAQ | Glossary | Sitemap <script type="text/javascript">
|
|
Packit |
90a5c9 |
if (typeof(prettyPrint) !== 'undefined') {
|
|
Packit |
90a5c9 |
prettyPrint();
|
|
Packit |
90a5c9 |
}
|
|
Packit |
90a5c9 |
//--></script>
|
|
Packit |
90a5c9 |
</body></html>
|