1<?xml version="1.0" encoding="ISO-8859-1"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!-- 4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 5 This file is generated from xml source: DO NOT EDIT 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 --> 8<title>Overview of new features in Apache 2.0 - Apache HTTP Server</title> 9<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 10<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 11<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" /> 12<script src="/style/scripts/prettify.js" type="text/javascript"> 13</script> 14 15<link href="/images/favicon.ico" rel="shortcut icon" /></head> 16<body id="manual-page"><div id="page-header"> 17<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p> 18<p class="apache">Apache HTTP Server Version 2.2</p> 19<img alt="" src="/images/feather.gif" /></div> 20<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 21<div id="path"> 22<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.2</a></div><div id="page-content"><div id="preamble"><h1>Overview of new features in Apache 2.0</h1> 23<div class="toplang"> 24<p><span>Available Languages: </span><a href="/de/new_features_2_0.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | 25<a href="/en/new_features_2_0.html" title="English"> en </a> | 26<a href="/fr/new_features_2_0.html" hreflang="fr" rel="alternate" title="Fran�ais"> fr </a> | 27<a href="/ja/new_features_2_0.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 28<a href="/ko/new_features_2_0.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | 29<a href="/pt-br/new_features_2_0.html" hreflang="pt-br" rel="alternate" title="Portugu�s (Brasil)"> pt-br </a> | 30<a href="/ru/new_features_2_0.html" hreflang="ru" rel="alternate" title="Russian"> ru </a> | 31<a href="/tr/new_features_2_0.html" hreflang="tr" rel="alternate" title="T�rk�e"> tr </a></p> 32</div> 33 34 <p>This document describes some of the major changes between the 35 1.3 and 2.0 versions of the Apache HTTP Server.</p> 36</div> 37<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#core">Core Enhancements</a></li> 38<li><img alt="" src="/images/down.gif" /> <a href="#module">Module Enhancements</a></li> 39</ul><h3>See also</h3><ul class="seealso"><li><a href="upgrading.html">Upgrading to 2.0 from 1.3</a></li></ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 40<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 41<div class="section"> 42<h2><a name="core" id="core">Core Enhancements</a></h2> 43 44 45 <dl> 46 <dt>Unix Threading</dt> 47 48 <dd>On Unix systems with POSIX threads support, Apache can 49 now run in a hybrid multiprocess, multithreaded mode. This 50 improves scalability for many, but not all configurations.</dd> 51 52 <dt>New Build System</dt> 53 54 <dd>The build system has been rewritten from scratch to be 55 based on <code>autoconf</code> and <code>libtool</code>. 56 This makes Apache's configuration system more similar to 57 that of other packages.</dd> 58 59 <dt>Multiprotocol Support</dt> 60 61 <dd>Apache now has some of the infrastructure in place to 62 support serving multiple protocols. <code class="module"><a href="/mod/mod_echo.html">mod_echo</a></code> has 63 been written as an example.</dd> 64 65 <dt>Better support for non-Unix 66 platforms</dt> 67 68 <dd>Apache 2.0 is faster and more stable on non-Unix 69 platforms such as BeOS, OS/2, and Windows. With the 70 introduction of platform-specific <a href="mpm.html">multi-processing modules</a> (MPMs) and the 71 Apache Portable Runtime (APR), these platforms are now 72 implemented in their native API, avoiding the often buggy and 73 poorly performing POSIX-emulation layers.</dd> 74 75 <dt>New Apache API</dt> 76 77 <dd>The API for modules has changed significantly for 2.0. 78 Many of the module-ordering/-priority problems from 1.3 should 79 be gone. 2.0 does much of this automatically, and module ordering 80 is now done per-hook to allow more flexibility. Also, new calls 81 have been added that provide additional module capabilities 82 without patching the core Apache server.</dd> 83 84 <dt>IPv6 Support</dt> 85 86 <dd>On systems where IPv6 is supported by the underlying 87 Apache Portable Runtime library, Apache gets IPv6 listening 88 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 89 IPv6 numeric address strings (e.g., "<code>Listen 90 [2001:db8::1]:8080</code>").</dd> 91 92 <dt>Filtering</dt> 93 94 <dd>Apache modules may now be written as filters which act on 95 the stream of content as it is delivered to or from the 96 server. This allows, for example, the output of CGI scripts to 97 be parsed for Server Side Include directives using the 98 <code>INCLUDES</code> filter in <code class="module"><a href="/mod/mod_include.html">mod_include</a></code>. The 99 module <code class="module"><a href="/mod/mod_ext_filter.html">mod_ext_filter</a></code> allows external programs to 100 act as filters in much the same way that CGI programs can act as 101 handlers.</dd> 102 103 <dt>Multilanguage Error Responses</dt> 104 105 <dd>Error response messages to the browser are now provided in 106 several languages, using SSI documents. They may be customized 107 by the administrator to achieve a consistent look and feel.</dd> 108 109 <dt>Simplified configuration</dt> 110 111 <dd>Many confusing directives have been simplified. The often 112 confusing <code>Port</code> and <code>BindAddress</code> directives 113 are gone; only the <code class="directive"><a href="/mod/mpm_common.html#listen">Listen</a></code> 114 directive is used for IP address binding; the <code class="directive"><a href="/mod/core.html#servername">ServerName</a></code> directive specifies the 115 server name and port number only for redirection and vhost 116 recognition.</dd> 117 118 <dt>Native Windows NT Unicode Support</dt> 119 120 <dd>Apache 2.0 on Windows NT now uses utf-8 for all filename 121 encodings. These directly translate to the underlying Unicode 122 file system, providing multilanguage support for all Windows 123 NT-based installations, including Windows 2000 and Windows XP. 124 <em>This support does not extend to Windows 95, 98 or ME, which 125 continue to use the machine's local codepage for filesystem 126 access.</em></dd> 127 128 <dt>Regular Expression Library Updated</dt> 129 130 <dd>Apache 2.0 includes the <a href="http://www.pcre.org/">Perl 131 Compatible Regular Expression Library</a> (PCRE). All regular 132 expression evaluation now uses the more powerful Perl 5 133 syntax.</dd> 134 135 </dl> 136 </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 137<div class="section"> 138<h2><a name="module" id="module">Module Enhancements</a></h2> 139 140 141 <dl> 142 <dt><code class="module"><a href="/mod/mod_ssl.html">mod_ssl</a></code></dt> 143 144 <dd>New module in Apache 2.0. This module is an interface 145 to the SSL/TLS encryption protocols provided by 146 OpenSSL.</dd> 147 148 <dt><code class="module"><a href="/mod/mod_dav.html">mod_dav</a></code></dt> 149 150 <dd>New module in Apache 2.0. This module implements the HTTP 151 Distributed Authoring and Versioning (DAV) specification for 152 posting and maintaining web content.</dd> 153 154 <dt><code class="module"><a href="/mod/mod_deflate.html">mod_deflate</a></code></dt> 155 156 <dd>New module in Apache 2.0. This module allows supporting 157 browsers to request that content be compressed before delivery, 158 saving network bandwidth.</dd> 159 160 <dt><code class="module"><a href="/mod/mod_auth_ldap.html">mod_auth_ldap</a></code></dt> 161 162 <dd>New module in Apache 2.0.41. This module allows an LDAP 163 database to be used to store credentials for HTTP Basic 164 Authentication. A companion module, <code class="module"><a href="/mod/mod_ldap.html">mod_ldap</a></code> 165 provides connection pooling and results caching.</dd> 166 167 <dt><code class="module"><a href="/mod/mod_auth_digest.html">mod_auth_digest</a></code></dt> 168 169 <dd>Includes additional support for session caching across 170 processes using shared memory.</dd> 171 172 <dt><code class="module"><a href="/mod/mod_charset_lite.html">mod_charset_lite</a></code></dt> 173 174 <dd>New module in Apache 2.0. This experimental module allows 175 for character set translation or recoding.</dd> 176 177 <dt><code class="module"><a href="/mod/mod_file_cache.html">mod_file_cache</a></code></dt> 178 179 <dd>New module in Apache 2.0. This module includes the 180 functionality of <code>mod_mmap_static</code> in Apache 1.3, 181 plus adds further caching abilities.</dd> 182 183 <dt><code class="module"><a href="/mod/mod_headers.html">mod_headers</a></code></dt> 184 185 <dd>This module is much more flexible in Apache 2.0. It can now 186 modify request headers used by <code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code>, and 187 it can conditionally set response headers.</dd> 188 189 <dt><code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code></dt> 190 191 <dd>The proxy module has been completely rewritten to take 192 advantage of the new filter infrastructure and to implement a 193 more reliable, HTTP/1.1 compliant proxy. In addition, new 194 <code class="directive"><a href="/mod/mod_proxy.html#proxy"><Proxy></a></code> 195 configuration sections provide more readable (and internally 196 faster) control of proxied sites; overloaded <code><Directory 197 "proxy:..."></code> configuration are not supported. The module 198 is now divided into specific protocol support modules including 199 <code>proxy_connect</code>, <code>proxy_ftp</code> and 200 <code>proxy_http</code>.</dd> 201 202 <dt><code class="module"><a href="/mod/mod_negotiation.html">mod_negotiation</a></code></dt> 203 204 <dd>A new <code class="directive"><a href="/mod/mod_negotiation.html#forcelanguagepriority">ForceLanguagePriority</a></code> directive can be used to assure that 205 the client receives a single document in all cases, rather than 206 NOT ACCEPTABLE or MULTIPLE CHOICES responses. In addition, the 207 negotiation and MultiViews algorithms have been cleaned up to 208 provide more consistent results and a new form of type map that 209 can include document content is provided.</dd> 210 211 <dt><code class="module"><a href="/mod/mod_autoindex.html">mod_autoindex</a></code></dt> 212 213 <dd>Autoindex'ed directory listings can now be configured to 214 use HTML tables for cleaner formatting, and allow finer-grained 215 control of sorting, including version-sorting, and wildcard 216 filtering of the directory listing.</dd> 217 218 <dt><code class="module"><a href="/mod/mod_include.html">mod_include</a></code></dt> 219 220 <dd>New directives allow the default start and end tags for SSI elements 221 to be changed and allow for error and time format configuration 222 to take place in the main configuration file rather than in the 223 SSI document. Results from regular expression parsing and grouping 224 (now based on Perl's regular expression syntax) can be retrieved 225 using <code class="module"><a href="/mod/mod_include.html">mod_include</a></code>'s variables <code>$0</code> 226 .. <code>$9</code>.</dd> 227 228 <dt><code class="module"><a href="/mod/mod_auth_dbm.html">mod_auth_dbm</a></code></dt> 229 230 <dd>Now supports multiple types of DBM-like databases using the 231 <a href="/2.0/mod/mod_auth_dbm.html#AuthDBMType"><code>AuthDBMType</code></a> 232 directive.</dd> 233 234 </dl> 235 </div></div> 236<div class="bottomlang"> 237<p><span>Available Languages: </span><a href="/de/new_features_2_0.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | 238<a href="/en/new_features_2_0.html" title="English"> en </a> | 239<a href="/fr/new_features_2_0.html" hreflang="fr" rel="alternate" title="Fran�ais"> fr </a> | 240<a href="/ja/new_features_2_0.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 241<a href="/ko/new_features_2_0.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | 242<a href="/pt-br/new_features_2_0.html" hreflang="pt-br" rel="alternate" title="Portugu�s (Brasil)"> pt-br </a> | 243<a href="/ru/new_features_2_0.html" hreflang="ru" rel="alternate" title="Russian"> ru </a> | 244<a href="/tr/new_features_2_0.html" hreflang="tr" rel="alternate" title="T�rk�e"> tr </a></p> 245</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />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 <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> 246<script type="text/javascript"><!--//--><![CDATA[//><!-- 247var comments_shortname = 'httpd'; 248var comments_identifier = 'http://httpd.apache.org/docs/2.2/new_features_2_0.html'; 249(function(w, d) { 250 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 251 d.write('<div id="comments_thread"><\/div>'); 252 var s = d.createElement('script'); 253 s.type = 'text/javascript'; 254 s.async = true; 255 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 256 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 257 } 258 else { 259 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 260 } 261})(window, document); 262//--><!]]></script></div><div id="footer"> 263<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> 264<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- 265if (typeof(prettyPrint) !== 'undefined') { 266 prettyPrint(); 267} 268//--><!]]></script> 269</body></html>