2 Changes with Apache 2.3.1
3 [ When backported to 2.2.x, remove entry from this file ]
5 *) mod_ssl: Add SSLRenegBufferSize directive to allow changing the
6 size of the buffer used for the request-body where necessary
7 during a per-dir renegotiation. PR 39243. [Joe Orton]
9 *) mod_proxy_fdpass: New module to pass a client connection over to a separate
10 process that is reading from a unix daemon socket.
12 *) mod_ssl: Improve environment variable extraction to be more
13 efficient and to correctly handle DNs with duplicate tags.
16 *) Remove the obsolete serial attribute from the RPM spec file. Compile
17 against the external pcre. Add missing binaries fcgistarter, and
18 mod_socache* and mod_session*. [Graham Leggett]
20 Changes with Apache 2.3.0
22 *) mod_cache: When an explicit Expires or Cache-Control header is set, cache
23 normally non-cacheable response statuses. PR 46346.
24 [Alex Polvi <alex polvi.net>]
26 *) mod_ratelimit: New module to do bandwidth rate limiting. [Paul Querna]
28 *) Remove X-Pad header which was added as a work around to a bug in
29 Netscape 2.x to 4.0b2. [Takashi Sato <takashi lans-tv.com>]
31 *) Add DTrace Statically Defined Tracing (SDT) probes.
32 [Theo Schlossnagle <jesus omniti.com>, Paul Querna]
34 *) mod_proxy_balancer: Move all load balancing implementations
35 as individual, self-contained mod_proxy submodules under
36 modules/proxy/balancers [Jim Jagielski]
38 *) Rename APIs to include ap_ prefix:
39 find_child_by_pid -> ap_find_child_by_pid
40 suck_in_APR -> ap_suck_in_APR
41 sys_privileges_handlers -> ap_sys_privileges_handlers
42 unixd_accept -> ap_unixd_accept
43 unixd_config -> ap_unixd_config
44 unixd_killpg -> ap_unixd_killpg
45 unixd_set_global_mutex_perms -> ap_unixd_set_global_mutex_perms
46 unixd_set_proc_mutex_perms -> ap_unixd_set_proc_mutex_perms
47 unixd_set_rlimit -> ap_unixd_set_rlimit
50 *) core: When the ap_http_header_filter processes an error bucket, cleanup
51 the passed brigade before returning AP_FILTER_ERROR down the filter
52 chain. This unambiguously ensures the same error bucket isn't revisited
55 *) mod_lbmethod_heartbeat: New module to load balance mod_proxy workers
56 based on heartbeats. [Paul Querna]
58 *) mod_heartmonitor: New module to collect heartbeats, and write out a file
59 so that other modules can load balance traffic as needed. [Paul Querna]
61 *) mod_heartbeat: New module to generate multicast heartbeats to know if a
62 server is online. [Paul Querna]
64 *) core: Error responses set by filters were being coerced into 500 errors,
65 sometimes appended to the original error response. Log entry of:
66 'Handler for (null) returned invalid result code -3'
69 *) mod_buffer: Honour the flush bucket and flush the buffer in the
70 input filter. Make sure that metadata buckets are written to
71 the buffer, not to the final brigade. [Graham Leggett]
73 *) mod_buffer: Optimise the buffering of heap buckets when the heap
74 buckets stay exactly APR_BUCKET_BUFF_SIZE long. [Graham Leggett,
77 *) mod_buffer: Optional support for buffering of the input and output
78 filter stacks. Can collapse many small buckets into fewer larger
79 buckets, and prevents excessively small chunks being sent over
80 the wire. [Graham Leggett]
82 *) mod_privileges: new module to make httpd on Solaris privileges-aware
83 and to enable different virtualhosts to run with different
84 privileges and Unix user/group IDs [Nick Kew]
86 *) authn/z: Remove mod_authn_default and mod_authz_default.
89 *) authz: Fix handling of authz configurations, make default authz
90 logic replicate 2.2.x authz logic, and replace <Satisfy*>, Reject,
91 and AuthzMergeRules directives with Match, <Match*>, and AuthzMerge
92 directives. [Chris Darroch]
94 *) mod_authn_core: Prevent crash when provider alias created to
95 provider which is not yet registered. [Chris Darroch]
97 *) mod_authn_core: Add AuthType of None to support disabling
98 authentication. [Chris Darroch]
100 *) core: Allow <Limit> and <LimitExcept> directives to nest, and
101 constrain their use to conform with that of other access control
102 and authorization directives. [Chris Darroch]
104 *) unixd: turn existing code into a module, and turn the set user/group
105 and chroot into a child_init function. [Nick Kew]
107 *) core: Add ap_timeout_parameter_parse to public API. [Ruediger Pluem]
109 *) mod_dir: Support "DirectoryIndex disabled"
110 Suggested By André Warnier <aw ice-sa.com> [Eric Covener]
112 *) mod_ssl: Send Content-Type application/ocsp-request for POST requests to
113 OSCP responders. PR 46014 [Dr Stephen Henson <steve openssl.org>]
115 *) Export and install the mod_rewrite.h header to ensure the optional
116 rewrite_mapfunc_t and ap_register_rewrite_mapfunc functions are
117 available to third party modules. [Graham Leggett]
119 *) mod_authnz_ldap: don't return NULL-valued environment variables to
120 other modules. PR 39045 [Francois Pesce <francois.pesce gmail.com>]
122 *) Don't adjust case in pathname components that are not of interest
123 to mod_mime. Fixes mod_negotiation's use of such components.
124 PR 43250 [Basant Kumar Kukreja <basant.kukreja sun.com>]
126 *) Be tolerant in what you accept - accept slightly broken
127 status lines from a backend provide they include a valid status code.
128 PR 44995 [Rainer Jung <rainer.jung kippdata.de>]
130 *) New module mod_sed: filter Request/Response bodies through sed
131 [Basant Kumar Kukreja <basant.kukreja sun.com>]
133 *) mod_auth_form: Make sure that basic authentication is correctly
134 faked directly after login. [Graham Leggett]
136 *) mod_session_cookie, mod_session_dbd: Make sure cookies are set both
137 within the output headers and error output headers, so that the
138 session is maintained across redirects. [Graham Leggett]
140 *) mod_auth_form: Make sure the logged in user is populated correctly
141 after a form login. Fixes a missing REMOTE_USER variable directly
142 following a login. [Graham Leggett]
144 *) mod_session_cookie: Make sure that cookie attributes are correctly
145 included in the blank cookie when cookies are removed. This fixes an
146 inability to log out when using mod_auth_form. [Graham Leggett]
148 *) mod_autoindex: add configuration option to insert string
149 in HTML HEAD. [Nick Kew]
151 *) mod_session: Prevent a segfault when a CGI script sets a cookie with a
152 null value. [David Shane Holden <dpejesh apache.org>]
154 *) mod_headers: Prevent Header edit from processing only the first header
155 of possibly multiple headers with the same name and deleting the
156 remaining ones. PR 45333. [Ruediger Pluem]
158 *) mod_rewrite: Preserve the query string with [proxy,noescape]. PR 45247
161 *) core, authn/z: Determine registered authn/z providers directly in
162 ap_setup_auth_internal(), which allows optional functions that just
163 wrapped ap_list_provider_names() to be removed from authn/z modules.
166 *) authn/z: Convert common provider version strings to macros.
169 *) ab: Make ab.c compile on VC6. PR 45024 [Ruediger Pluem]
171 *) configure: Don't reject libtool 2.x
172 PR 44817 [Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA gmail.com>]
174 *) core: When testing for slash-terminated configuration paths in
175 ap_location_walk(), don't look past the start of an empty string
176 such as that created by a <Location ""> directive.
179 *) core, mod_proxy: If a kept_body is present, it becomes safe for
180 subrequests to support message bodies. Make sure that safety
181 checks within the core and within the proxy are not triggered
182 when kept_body is present. This makes it possible to embed
183 proxied POST requests within mod_include. [Graham Leggett]
185 *) mod_auth_form: Make sure the input filter stack is properly set
186 up before reading the login form. Make sure the kept body filter
187 is correctly inserted to ensure the body can be read a second
188 time safely should the authn be successful. [Graham Leggett,
191 *) mod_request: Insert the KEPT_BODY filter via the insert_filter
192 hook instead of during fixups. Add a safety check to ensure the
193 filters cannot be inserted more than once. [Graham Leggett,
196 *) core: Do not allow Options ALL if not all options are allowed to be
197 overwritten. PR 44262 [Michał Grzędzicki <lazy iq.pl>]
199 *) ap_cache_cacheable_headers_out() will (now) always
200 merge an error heaeders _before_ clearing them and _before_
201 merging in the actual entity headers and doing normal
202 hop-by-hop cleansing. [Dirk-Willem van Gulik].
204 *) cache: retire ap_cache_cacheable_hdrs_out() which was used
205 for both in- and out-put headers; and replace it by a single
206 ap_cache_cacheable_headers() wrapped in a in- and out-put
207 specific ap_cache_cacheable_headers_in()/out(). The latter
208 which will also merge error and ensure content-type. To keep
209 cache modules consistent with ease. This API change bumps
210 up the minor MM by one [Dirk-Willem van Gulik].
212 *) mod_rewrite: Allow Cookie option to set secure and HttpOnly flags.
213 PR 44799 [Christian Wenz <christian wenz.org>]
215 *) Move the KeptBodySize directive, kept_body filters and the
216 ap_parse_request_body function out of the http module and into a
217 new module called mod_request, reducing the size of the core.
220 *) mod_dbd: Handle integer configuration directive parameters with a
223 *) Change the directives within the mod_session* modules to be valid
224 both inside and outside the location/directory sections, as
225 suggested by wrowe. [Graham Leggett]
227 *) mod_auth_form: Add a module capable of allowing end users to log
228 in using an HTML form, storing the credentials within mod_session.
231 *) Add a function to the http filters that is able to parse an HTML
232 form request with the type of application/x-www-form-urlencoded.
235 *) mod_session_crypto: Initialise SSL in the post config hook.
236 [Ruediger Pluem, Graham Leggett]
238 *) mod_session_dbd: Add a session implementation capable of storing
239 session information in a SQL database via the dbd interface. Useful
240 for sites where session privacy is important. [Graham Leggett]
242 *) mod_session_crypto: Add a session encoding implementation capable
243 of encrypting and decrypting sessions wherever they may be stored.
244 Introduces a level of privacy when sessions are stored on the
245 browser. [Graham Leggett]
247 *) mod_session_cookie: Add a session implementation capable of storing
248 session information within cookies on the browser. Useful for high
249 volume sites where server bound sessions are too resource intensive.
252 *) mod_session: Add a generic session interface to unify the different
253 attempts at saving persistent sessions across requests.
256 *) core, authn/z: Avoid calling access control hooks for internal requests
257 with configurations which match those of initial request. Revert to
258 original behaviour (call access control hooks for internal requests
259 with URIs different from initial request) if any access control hooks or
260 providers are not registered as permitting this optimization.
261 Introduce wrappers for access control hook and provider registration
262 which can accept additional mode and flag data. [Chris Darroch]
264 *) Introduced ap_expr API for expression evaluation.
265 This is adapted from mod_include, which is the first module
269 *) mod_authz_dbd: When redirecting after successful login/logout per
270 AuthzDBDRedirectQuery, do not report authorization failure, and use
271 first row returned by database query instead of last row.
274 *) mod_ldap: Correctly return all requested attribute values
275 when some attributes have a null value.
276 PR 44560 [Anders Kaseorg <anders kaseorg.com>]
278 *) core: check symlink ownership if both FollowSymlinks and
279 SymlinksIfOwnerMatch are set [Nick Kew]
281 *) core: fix origin checking in SymlinksIfOwnerMatch
282 PR 36783 [Robert L Mathews <rob-apache.org.bugs tigertech.net>]
284 *) Activate mod_cache, mod_file_cache and mod_disc_cache as part of the
285 'most' set for '--enable-modules' and '--enable-shared-mods'. Include
286 mod_mem_cache in 'all' as well. [Dirk-Willem van Gulik]
288 *) Also install mod_so.h, mod_rewrite.h and mod_cache.h; as these
289 contain public function declarations which are useful for
290 third party module authors. PR 42431 [Dirk-Willem van Gulik].
292 *) mod_dir, mod_negotiation: pass the output filter information
293 to newly created sub requests; as these are later on used
294 as true requests with an internal redirect. This allows for
295 mod_cache et.al. to trap the results of the redirect.
296 [Dirk-Willem van Gulik, Ruediger Pluem]
298 *) mod_ldap: Add support (taking advantage of the new APR capability)
299 for ldap rebind callback while chasing referrals. This allows direct
300 searches on LDAP servers (in particular MS Active Directory 2003+)
301 using referrals without the use of the global catalog.
302 PRs 26538, 40268, and 42557 [Paul J. Reder]
304 *) mod_ssl: Added server name indication support (SNI, RFC 4366).
305 PR 34607. [Kaspar Brand <asfbugz velox.ch>]. A test configuration
306 can be created with test/make_sni.sh [Dirk-Willem van Gulik].
308 *) ApacheMonitor.exe: Introduce --kill argument for use by the
309 installer. This will permit the installation tool to remove
310 all running instances before attempting to remove the .exe.
313 *) mod_ssl: Add support for OCSP validation of client certificates.
314 PR 41123. [Marc Stern <marc.stern approach.be>, Joe Orton]
316 *) mod_serf: New module for Reverse Proxying. [Paul Querna]
318 *) core: Add the option to keep aside a request body up to a certain
319 size that would otherwise be discarded, to be consumed by filters
320 such as mod_include. When enabled for a directory, POST requests
321 to shtml files can be passed through to embedded scripts as POST
322 requests, rather being downgraded to GET requests. [Graham Leggett]
324 *) mod_ssl: Fix TLS upgrade (RFC 2817) support. PR 41231. [Joe Orton]
326 *) scoreboard: Correctly declare ap_time_process_request.
327 PR 43789 [Tom Donovan <Tom.Donovan acm.org>]
329 *) core; scoreboard: ap_get_scoreboard_worker(sbh) now takes the sbh member
330 from the connection rec, ap_get_scoreboard_worker(proc, thread) will now
331 provide the unusual legacy lookup. [William Rowe]
333 *) mpm winnt: fix null pointer dereference
334 PR 42572 [Davi Arnaut]
336 *) mod_authnz_ldap, mod_authn_dbd: Tidy up the code to expose authn
337 parameters to the environment. Improve portability to
338 EBCDIC machines by using apr_toupper(). [Martin Kraemer]
340 *) mod_ldap, mod_authnzldap: Add support for nested groups (i.e. the ability
341 to authorize an authenticated user via a "require ldap-group X" directive
342 where the user is not in group X, but is in a subgroup contained in X.
343 PR 42891 [Paul J. Reder]
345 *) mod_ssl: Add support for caching SSL Sessions in memcached. [Paul Querna]
347 *) mod_ldap: Fix the search limit parameter to ldap_search_ext_s()
348 for SDKs that define LDAP_NO_LIMIT to something other than -1.
349 [David Jones <oscaremma gmail.com>]
351 *) apxs: Enhance -q flag to print all known variables and their values
352 when invoked without variable name(s).
353 [William Rowe, Sander Temme]
355 *) apxs: Eliminate run-time check for mod_so. PR 40653.
356 [David M. Lee <dmlee crossroads.com>]
358 *) beos MPM: Create pmain pool and run modules' child_init hooks when
359 entering ap_mpm_run(), then destroy pmain when exiting ap_mpm_run().
362 *) netware MPM: Destroy pmain pool when exiting ap_mpm_run() so that
363 cleanups registered in modules' child_init hooks are performed.
366 *) mod_dbd: Stash DBD connections in request_config of initial request
367 only, or else sub-requests and internal redirections may cause
368 entire DBD pool to be stashed in a single HTTP request. [Chris Darroch]
370 *) Fix issue which could cause error messages to be written to access logs
371 on Win32. PR 40476. [Tom Donovan <Tom.Donovan acm.org>]
373 *) The LockFile directive, which specifies the location of
374 the accept() mutex lockfile, is deprecated. Instead, the
375 AcceptMutex directive now takes an optional lockfile
376 location parameter, ala SSLMutex. [Jim Jagielski]
378 *) mod_authn_dbd: Export any additional columns queried in the SQL select
379 into the environment with the name AUTHENTICATE_<COLUMN>. This brings
380 mod_authn_dbd behaviour in line with mod_authnz_ldap. [Graham Leggett]
382 *) mod_dbd: Key the storage of prepared statements on the hex string
383 value of server_rec, rather than the server name, as the server name
384 may change (eg when the server name is set) at any time, causing
385 weird behaviour in modules dependent on mod_dbd. [Graham Leggett]
387 *) mod_proxy_fcgi: Added win32 build. [Mladen Turk]
389 *) sendfile_nonblocking() takes the _brigade_ as an argument, gets
390 the first bucket from the brigade, finds it not to be a FILE
391 bucket and barfs. The fix is to pass a bucket rather than a brigade.
392 [Niklas Edmundsson <nikke acc.umu.se>]
394 *) mod_rewrite: support rewritemap by SQL query [Nick Kew]
396 *) ap_get_server_version() has been removed. Third-party modules must
397 now use ap_get_server_banner() or ap_get_server_description().
400 *) All MPMs: Introduce a check_config phase between pre_config and
401 open_logs, to allow modules to review interdependent configuration
402 directive values and adjust them while messages can still be logged
403 to the console. Handle relevant MPM directives during this phase
404 and format messages for both the console and the error log, as
405 appropriate. [Chris Darroch]
407 *) mod_proxy: don't URLencode tilde in path component
408 [Stijn Hoop <stijn sandcat.nl>]
410 *) mpm_winnt: Fix return values from wait_for_many_objects.
411 The return value is index to the signaled thread in the
412 creted_threads array. We can not use WAIT_TIMEOUT because
413 his value is defined as 258, thus limiting the MaxThreads
414 to that value. [Mladen Turk]
416 *) core: Do not allow internal redirects like the DirectoryIndex of mod_dir
417 to circumvent the symbolic link checks imposed by FollowSymLinks and
418 SymLinksIfOwnerMatch. [Nick Kew, Ruediger Pluem, William Rowe]
420 *) New SSLLogLevelDebugDump [ None (default) | IO (not bytes) | Bytes ]
421 configures the I/O Dump of SSL traffic, when LogLevel is set to Debug.
422 The default is none as this is far greater debugging resolution than
423 the typical administrator is prepared to untangle. [William Rowe]
425 *) mod_disk_cache: If possible, check if the size of an object to cache is
426 within the configured boundaries before actually saving data.
427 [Niklas Edmundsson <nikke acc.umu.se>]
429 *) mod_disk_cache: Delete temporary files if they cannot be renamed to their
430 final name. [Davi Arnaut <davi haxent.com.br>]
432 *) Worker and event MPMs: Remove improper scoreboard updates which were
433 performed in the event of a fork() failure. [Chris Darroch]
435 *) Add support for fcgi:// proxies to mod_rewrite.
436 [Markus Schiegl <ms schiegl.com>]
438 *) Remove incorrect comments from scoreboard.h regarding conditional
439 loading of worker_score structure with mod_status, and remove unused
440 definitions relating to old life_status field.
441 [Chris Darroch <chrisd pearsoncmg.com>]
443 *) Remove allocation of memory for unused array of lb_score pointers
444 in ap_init_scoreboard(). [Chris Darroch <chrisd pearsoncmg.com>]
446 *) Add mod_proxy_fcgi, a FastCGI back end for mod_proxy.
447 [Garrett Rooney, Jim Jagielski, Paul Querna]
449 *) Event MPM: Fill in the scoreboard's tid field. PR 38736.
450 [Chris Darroch <chrisd pearsoncmg.com>]
452 *) mod_charset_lite: Remove Content-Length when output filter can
453 invalidate it. Warn when input filter can invalidate it.
456 *) Authz: Add the new module mod_authn_core that will provide common
457 authn directives such as 'AuthType', 'AuthName'. Move the directives
458 'AuthType' and 'AuthName' out of the core module and merge mod_authz_alias
459 into mod_authn_core. [Brad Nicholes]
461 *) Authz: Move the directives 'Order', 'Allow', 'Deny' and 'Satisfy'
462 into the new module mod_access_compat which can be loaded to provide
463 support for these directives.
466 *) Authz: Move the 'Require' directive from the core module as well as
467 add the directives '<SatisfyAll>', '<SatisfyOne>', '<RequireAlias>'
468 and 'Reject' to mod_authz_core. The new directives introduce 'AND/OR'
469 logic into the authorization processing. [Brad Nicholes]
471 *) Authz: Add the new module mod_authz_core which acts as the
472 authorization provider vector and contains common authz
473 directives. [Brad Nicholes]
475 *) Authz: Renamed mod_authz_dbm authz providers from 'group' and
476 'file-group' to 'dbm-group' and 'dbm-file-group'. [Brad Nicholes]
478 *) Authz: Added the new authz providers 'env', 'ip', 'host', 'all' to handle
479 host-based access control provided by mod_authz_host and invoked
480 through the 'Require' directive. [Brad Nicholes]
482 *) Authz: Convert all of the authz modules from hook based to
483 provider based. [Brad Nicholes]
485 *) mod_cache: Add CacheMinExpire directive to set the minimum time in
486 seconds to cache a document.
487 [Brian Akins <brian.akins turner.com>, Ruediger Pluem]
489 *) mod_authz_dbd: SQL authz with Login/Session support [Nick Kew]
491 *) Fix typo in ProxyStatus syntax error message.
492 [Christophe Jaillet <christophe.jaillet wanadoo.fr>]
494 *) Asynchronous write completion for the Event MPM. [Brian Pane]
496 *) Added an End-Of-Request bucket type. The logging of a request and
497 the freeing of its pool are now done when the EOR bucket is destroyed.
498 This has the effect of delaying the logging until right after the last
499 of the response is sent; ap_core_output_filter() calls the access logger
500 indirectly when it destroys the EOR bucket. [Brian Pane]
502 *) Rewrite of logresolve support utility: IPv6 addresses are now supported
503 and the format of statistical output has changed. [Colm MacCarthaigh]
505 *) Rewrite of ap_coreoutput_filter to do nonblocking writes [Brian Pane]
507 *) Added new connection states for handler and write completion
510 *) mod_cgid: Refuse to work on Solaris 10 due to OS bugs. PR 34264.
513 *) Teach mod_ssl to use arbitrary OIDs in an SSLRequire directive,
514 allowing string-valued client certificate attributes to be used for
515 access control, as in: SSLRequire "value" in OID("1.3.6.1.4.1.18060.1")
516 [Martin Kraemer, David Reid]
518 [Apache 2.1.0-dev includes those bug fixes and changes with the
519 Apache 2.2.xx tree as documented, and except as noted, below.]
521 Changes with Apache 2.2.x and later:
523 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
525 Changes with Apache 2.0.x and later:
527 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup
529 Changes with Apache 1.3.x and later:
531 *) http://svn.apache.org/viewvc/httpd/httpd/branches/1.3.x/src/CHANGES?view=markup