本页包含1张图片,默认未加载,显示所有图片
fei 发布于 3个月前,共有 5 条评论
Apache现在的稳定系列是2.2(2.2.22) 遗留稳定版2.0/(2.0.64).2.3系列已经发布到了2.3.16-Beta.昨天官网的开发目录下已经出现了2.4.0的下载。按照惯例,相信很快2.4正式版就会发布(一般就是现有的包,不会有改动了)。尽管Nginx势头很猛,但相信使用Apache的仍然占大多数。 2.4.0分成两个包,把apr单独做成一个dep包。有兴趣的同学可以先尝试一下。按照惯例现有的包应该就是正式版本。
下载 http://httpd.apache.org/dev/dist/httpd-2.4.0.tar.bz2 http://httpd.apache.org/dev/dist/httpd-2.4.0-deps.tar.bz2
2.4对比2.2的完全改进:
KeepAliveTimeout in milliseconds
- It is now possible to specify
KeepAliveTimeoutin milliseconds.- Loadable MPMs
- Multiple MPMs can now be built as loadable modules at compile time. The MPM of choice can be configured at run time.
- Per-module and per-directory LogLevel configuration
- The
LogLevelcan now be configured per module and per directory. New levelstrace1totrace8have been added above thedebuglog level.- Event MPM
- The Event MPM is no longer experimental but is now fully supported.
- Asynchronous support
- Better support for asynchronous read/write for supporting MPMs and platforms.
- Per-request configuration sections
- <
If> sections can be used to set the configuration based on per-request criteria- General-purpose expression parser
- A new expression parser allows to specify complex conditions using a common syntax in directives like
SetEnvIfExpr,RewriteCond,Header,<If>, and others.- Reduced memory usage
- Despite many new features, 2.4.x tends to use less memory than 2.2.x.
- NameVirtualHost directive
- No longer needed and is now deprecated.
mod_allowmethods- New module to restrict certain HTTP methods without interfering with authentication or authorization.
mod_buffer- Provides for buffering the input and output filter stacks
mod_data- Convert response body into an RFC2397 data URL
mod_lua- Embeds the Lua language into httpd, for configuration and small business logic functions.
mod_proxy_express- Provides dynamically configured mass reverse proxies for
mod_proxymod_proxy_fcgi- FastCGI Protocol backend for
mod_proxymod_proxy_scgi- SCGI Protocol backend for
mod_proxymod_ratelimit- Provides Bandwidth Rate Limiting for Clients
mod_reflector- Provides Reflection of a request body as a response via the output filter stack.
mod_remoteip- Replaces the apparent client remote IP address and hostname for the request with the IP address list presented by a proxies or a load balancer via the request headers.
mod_reqtimeout- Set timeout and minimum data rate for receiving requests
mod_request- Provides Filters to handle and make available HTTP request bodies
mod_slotmem_shm- Provides a Slot-based shared memory provider (ala the scoreboard).
mod_log_debug- Allows to add customizable debug logging at different phases of the request processing.
mod_xml2enc- Formerly a third-party module, this supports internationalisation in libxml2-based (markup-aware) filter modules.
mod_proxy_html- Formerly a third-party module, this supports fixing of HTML links in a reverse proxy situation, where the backend generates URLs that are not valid for the proxy's clients.
mod_ssl
mod_sslcan now be configured to use an OCSP server to check the validation status of a client certificate. The default responder is configurable, along with the decision on whether to prefer the responder designated in the client certificate itself.mod_sslnow also supports OCSP stapling, where the server pro-actively obtains an OCSP verification of its certificate and transmits that to the client during the handshake.mod_sslcan now be configured to share SSL Session data between servers through memcachedmod_proxy- The
ProxyPassdirective is now most optimally configured within aLocationorLocationMatchblock, and offers a significant performance advantage over the traditional two-parameter syntax when present in large numbers.mod_proxy_balancer- More runtime configuration changes for BalancerMembers via balancer-manager
- Additional BalancerMembers can be added at runtime via balancer-manager
- Runtime configuration of a subset of Balancer parameters
- BalancerMembers can be set to 'Drain' so that they only respond to existing sticky sessions, allowing them to be taken gracefully offline.
- Balancer settings can be persistant after restarts.
mod_cachemod_cachecan now cache HEAD requests.- Where possible,
mod_cachedirectives can now be set per directory, instead of per server.- The base URL of cached URLs can be customised, so that a cluster of caches can share the same endpoint URL prefix.
mod_cacheis now capable of serving stale cached data when a backend is unavailable (error 5xx).mod_cachecan now insert HIT/MISS/REVALIDATE into an X-Cache header.mod_include- Support for the 'onerror' attribute within an 'include' element, allowing an error document to be served on error instead of the default error string.
mod_cgi,mod_include,mod_isapi, ...- Translation of headers to environment variables is more strict than before to mitigate some possible cross-site-scripting attacks via header injection. Headers containing invalid characters (including underscores) are now silently dropped. Environment Variables in Apache has some pointers on how to work around broken legacy clients which require such headers. (This affects all modules which use these environment variables.)
mod_authz_coreAuthorization Logic Containers- Advanced authorization logic may now be specified using the
Requiredirective and the related container directives, such as<RequireAll>.mod_infomod_infocan now dump the pre-parsed configuration to stdout during server startup.mod_rewritemod_rewriteadds the[QSD](Query String Discard) and[END]flags forRewriteRuleto simplify common rewriting scenarios.mod_ldap,mod_authnz_ldapmod_authnz_ldapadds support for nested groups.mod_ldapaddsLDAPConnectionPoolTTL,LDAPTimeout, and other improvements in the handling of timeouts. This is especially useful for setups where a stateful firewall drops idle connections to the LDAP server.mod_ldapaddsLDAPLibraryDebugto log debug information provided by the used LDAP toolkit.fcgistarter
- FastCGI deamon starter utility
- htcacheclean
- Current cached URLs can now be listed, with optional metadata included.
- Allow explicit deletion of individual cached URLs from the cache.
- File sizes can now be rounded up to the given block size, making the size limits map more closely to the real size on disk.
- Cache size can now be limited by the number of inodes, instead of or in addition to being limited by the size of the files on disk.
Check Configuration Hook Added
- A new hook,
check_config, has been added which runs between thepre_configandopen_logshooks. It also runs before thetest_confighook when the-toption is passed tohttpd. Thecheck_confighook allows modules to review interdependent configuration directive values and adjust them while messages can still be logged to the console. The user can thus be alerted to misconfiguration problems before the coreopen_logshook function redirects console output to the error log.- Expression Parser Added
- We now have a general-purpose expression parser, whose API is exposed in ap_expr.h. This is adapted from the expression parser previously implemented in
mod_ssl.- Authorization Logic Containers
- Authorization modules now register as a provider, via ap_register_auth_provider(), to support advanced authorization logic, such as
<RequireAll>.- Small-Object Caching Interface
- The ap_socache.h header exposes a provider-based interface for caching small data objects, based on the previous implementation of the
mod_sslsession cache. Providers using a shared-memory cyclic buffer, disk-based dbm files, and a memcache distributed cache are currently supported.- Cache Status Hook Added
- The
mod_cachemodule now includes a newcache_statushook, which is called when the caching decision becomes known. A default implementation is provided which adds an optionalX-CacheandX-Cache-Detailheader to the response.The developer documentation contains a detailed list of API changes.
|
dd 发表于 3个月前
改的地方还真多嘛
|
|
mark35 发表于 3个月前
apache再不加油就要被nginx逼近了哟~
|
|
mark35 发表于 3个月前
反正我已经把公司服务器换成nginx的了
|
|
手机访客 发表于 3个月前 (非会员)
9ALa3L <a href="http://bpriuoftoepa.com/">bpriuoftoepa</a>
|