]> granicus.if.org Git - apache/blob - CHANGES
Backported as of r660587
[apache] / CHANGES
1                                                         -*- coding: utf-8 -*-
2 Changes with Apache 2.3.0
3 [ When backported to 2.2.x, remove entry from this file ]
4
5   *) Fix garbled TRACE response on EBCDIC platforms.
6      [David Jones <oscaremma gmail.com>]
7
8   *) core, authn/z: Determine registered authn/z providers directly in
9      ap_setup_auth_internal(), which allows optional functions that just
10      wrapped ap_list_provider_names() to be removed from authn/z modules.
11      [Chris Darroch]
12
13   *) authn/z: Convert common provider version strings to macros.
14      [Chris Darroch]
15
16   *) ab: Make ab.c compile on VC6. PR 45024 [Ruediger Pluem]
17
18   *) configure: Don't reject libtool 2.x
19      PR 44817 [Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA gmail.com>]
20
21   *) suexec: When group is given as a numeric gid, validate it by looking up
22      the actual group name such that the name can be used in log entries.
23      PR 7862 [<y-koga apache.or.jp>, Leif W <warp-9.9 usa.net>]
24
25   *) core: When testing for slash-terminated configuration paths in
26      ap_location_walk(), don't look past the start of an empty string
27      such as that created by a <Location ""> directive.
28      [Chris Darroch]
29
30   *) core, mod_proxy: If a kept_body is present, it becomes safe for
31      subrequests to support message bodies. Make sure that safety
32      checks within the core and within the proxy are not triggered
33      when kept_body is present. This makes it possible to embed
34      proxied POST requests within mod_include. [Graham Leggett]
35
36   *) mod_auth_form: Make sure the input filter stack is properly set
37      up before reading the login form. Make sure the kept body filter
38      is correctly inserted to ensure the body can be read a second
39      time safely should the authn be successful. [Graham Leggett,
40      Ruediger Pluem]
41
42   *) mod_request: Insert the KEPT_BODY filter via the insert_filter
43      hook instead of during fixups. Add a safety check to ensure the
44      filters cannot be inserted more than once. [Graham Leggett,
45      Ruediger Pluem]
46
47   *) core: Do not allow Options ALL if not all options are allowed to be
48      overwritten. PR 44262 [Michał Grzędzicki <lazy iq.pl>]
49
50   *) ap_cache_cacheable_headers_out() will (now) always
51      merge an error heaeders _before_ clearing them and _before_
52      merging in the actual entity headers and doing normal
53      hop-by-hop cleansing. [Dirk-Willem van Gulik].
54
55   *) cache: retire ap_cache_cacheable_hdrs_out() which was used
56      for both in- and out-put headers; and replace it by a single
57      ap_cache_cacheable_headers() wrapped in a in- and out-put
58      specific ap_cache_cacheable_headers_in()/out(). The latter
59      which will also merge error and ensure content-type. To keep
60      cache modules consistent with ease. This API change bumps
61      up the minor MM by one [Dirk-Willem van Gulik].
62
63   *) mod_rewrite: Allow Cookie option to set secure and HttpOnly flags.
64      PR 44799 [Christian Wenz <christian wenz.org>]
65
66   *) Move the KeptBodySize directive, kept_body filters and the
67      ap_parse_request_body function out of the http module and into a
68      new module called mod_request, reducing the size of the core.
69      [Graham Leggett]
70
71   *) mod_dbd: Handle integer configuration directive parameters with a
72      dedicated function.
73
74   *) Change the directives within the mod_session* modules to be valid
75      both inside and outside the location/directory sections, as
76      suggested by wrowe. [Graham Leggett]
77
78   *) mod_auth_form: Add a module capable of allowing end users to log
79      in using an HTML form, storing the credentials within mod_session.
80      [Graham Leggett]
81
82   *) Add a function to the http filters that is able to parse an HTML
83      form request with the type of application/x-www-form-urlencoded.
84      [Graham Leggett]
85
86   *) mod_session_crypto: Initialise SSL in the post config hook.
87      [Ruediger Pluem, Graham Leggett]
88
89   *) mod_session_dbd: Add a session implementation capable of storing
90      session information in a SQL database via the dbd interface. Useful
91      for sites where session privacy is important. [Graham Leggett]
92
93   *) mod_session_crypto: Add a session encoding implementation capable
94      of encrypting and decrypting sessions wherever they may be stored.
95      Introduces a level of privacy when sessions are stored on the
96      browser. [Graham Leggett]
97
98   *) mod_session_cookie: Add a session implementation capable of storing
99      session information within cookies on the browser. Useful for high
100      volume sites where server bound sessions are too resource intensive.
101      [Graham Leggett]
102
103   *) mod_session: Add a generic session interface to unify the different
104      attempts at saving persistent sessions across requests.
105      [Graham Leggett]
106
107   *) core, authn/z: Avoid calling access control hooks for internal requests
108      with configurations which match those of initial request.  Revert to
109      original behaviour (call access control hooks for internal requests
110      with URIs different from initial request) if any access control hooks or
111      providers are not registered as permitting this optimization.
112      Introduce wrappers for access control hook and provider registration
113      which can accept additional mode and flag data.  [Chris Darroch]
114
115   *) Introduced ap_expr API for expression evaluation.
116      This is adapted from mod_include, which is the first module
117      to use the new API.
118      [Nick Kew]
119
120   *) mod_authz_dbd: When redirecting after successful login/logout per
121      AuthzDBDRedirectQuery, do not report authorization failure, and use
122      first row returned by database query instead of last row.
123      [Chris Darroch]
124
125   *) mod_ldap: Correctly return all requested attribute values
126      when some attributes have a null value. 
127      PR 44560 [Anders Kaseorg <anders kaseorg.com>]
128
129   *) core: check symlink ownership if both FollowSymlinks and
130      SymlinksIfOwnerMatch are set [Nick Kew]
131
132   *) core: fix origin checking in SymlinksIfOwnerMatch
133      PR 36783 [Robert L Mathews <rob-apache.org.bugs tigertech.net>]
134
135   *) Activate mod_cache, mod_file_cache and mod_disc_cache as part of the
136      'most' set for '--enable-modules' and '--enable-shared-mods'. Include 
137      mod_mem_cache in 'all' as well. [Dirk-Willem van Gulik]
138
139   *) Also install mod_so.h, mod_rewrite.h and mod_cache.h; as these
140      contain public function declarations which are useful for
141      third party module authors. PR 42431 [Dirk-Willem van Gulik].
142
143   *) mod_dir, mod_negotiation: pass the output filter information
144      to newly created sub requests; as these are later on used
145      as true requests with an internal redirect. This allows for
146      mod_cache et.al. to trap the results of the redirect. 
147      [Dirk-Willem van Gulik, Ruediger Pluem]
148
149   *) mod_ldap: Add support (taking advantage of the new APR capability)
150      for ldap rebind callback while chasing referrals. This allows direct
151      searches on LDAP servers (in particular MS Active Directory 2003+)
152      using referrals without the use of the global catalog.
153      PRs 26538, 40268, and 42557 [Paul J. Reder]
154
155   *) Support chroot on Unix-family platforms
156      PR 43596 [Dimitar Pashev <mitko banksoft-bg.com>]
157
158   *) mod_ssl: Added server name indication support (SNI, RFC 4366).
159      PR 34607. [Kaspar Brand <asfbugz velox.ch>]. A test configuration
160      can be created with test/make_sni.sh [Dirk-Willem van Gulik].
161
162   *) ApacheMonitor.exe: Introduce --kill argument for use by the
163      installer.  This will permit the installation tool to remove
164      all running instances before attempting to remove the .exe.
165      [William Rowe]
166
167   *) mod_ssl: Add support for OCSP validation of client certificates.
168      PR 41123.  [Marc Stern <marc.stern approach.be>, Joe Orton]
169
170   *) mod_unique_id: Fix timestamp value in UNIQUE_ID.
171      PR 37064 [Kobayashi <kobayashi firstserver.co.jp>]
172
173   *) mod_serf: New module for Reverse Proxying. [Paul Querna]
174
175   *) core: Add the option to keep aside a request body up to a certain
176      size that would otherwise be discarded, to be consumed by filters
177      such as mod_include. When enabled for a directory, POST requests
178      to shtml files can be passed through to embedded scripts as POST
179      requests, rather being downgraded to GET requests. [Graham Leggett]
180
181   *) mod_ssl: Fix TLS upgrade (RFC 2817) support.  PR 41231.  [Joe Orton]
182
183   *) scoreboard: Correctly declare ap_time_process_request.
184      PR 43789 [Tom Donovan <Tom.Donovan acm.org>]
185
186   *) core; scoreboard: ap_get_scoreboard_worker(sbh) now takes the sbh member
187      from the connection rec, ap_get_scoreboard_worker(proc, thread) will now
188      provide the unusual legacy lookup.  [William Rowe]
189
190   *) mpm winnt: fix null pointer dereference
191      PR 42572 [Davi Arnaut]
192
193   *) mod_authnz_ldap, mod_authn_dbd: Tidy up the code to expose authn
194      parameters to the environment. Improve portability to
195      EBCDIC machines by using apr_toupper(). [Martin Kraemer]
196
197   *) mod_ldap, mod_authnzldap: Add support for nested groups (i.e. the ability
198      to authorize an authenticated user via a "require ldap-group X" directive
199      where the user is not in group X, but is in a subgroup contained in X.
200      PR 42891 [Paul J. Reder]
201
202   *) mod_ssl: Add support for caching SSL Sessions in memcached. [Paul Querna]
203
204   *) ab: Add -r option to continue after socket receive errors. 
205      [Filip Hanik <devlist hanik.com>]
206
207   *) mod_ldap: Fix the search limit parameter to ldap_search_ext_s()
208      for SDKs that define LDAP_NO_LIMIT to something other than -1.
209      [David Jones <oscaremma gmail.com>]
210
211   *) apxs: Enhance -q flag to print all known variables and their values
212      when invoked without variable name(s). 
213      [William Rowe, Sander Temme]
214
215   *) apxs: Eliminate run-time check for mod_so.  PR 40653.
216      [David M. Lee <dmlee crossroads.com>]
217
218   *) beos MPM: Create pmain pool and run modules' child_init hooks when
219      entering ap_mpm_run(), then destroy pmain when exiting ap_mpm_run().
220      [Chris Darroch]
221
222   *) netware MPM: Destroy pmain pool when exiting ap_mpm_run() so that
223      cleanups registered in modules' child_init hooks are performed.
224      [Chris Darroch]
225
226   *) mod_dbd: Stash DBD connections in request_config of initial request
227      only, or else sub-requests and internal redirections may cause
228      entire DBD pool to be stashed in a single HTTP request.  [Chris Darroch]
229
230   *) Fix issue which could cause error messages to be written to access logs
231      on Win32.  PR 40476.  [Tom Donovan <Tom.Donovan acm.org>]
232
233   *) The LockFile directive, which specifies the location of
234      the accept() mutex lockfile, is deprecated. Instead, the
235      AcceptMutex directive now takes an optional lockfile
236      location parameter, ala SSLMutex. [Jim Jagielski]
237
238   *) mod_authn_dbd: Export any additional columns queried in the SQL select
239      into the environment with the name AUTHENTICATE_<COLUMN>. This brings
240      mod_authn_dbd behaviour in line with mod_authnz_ldap. [Graham Leggett]
241
242   *) mod_dbd: Key the storage of prepared statements on the hex string
243      value of server_rec, rather than the server name, as the server name
244      may change (eg when the server name is set) at any time, causing
245      weird behaviour in modules dependent on mod_dbd. [Graham Leggett]
246
247   *) mod_proxy_fcgi: Added win32 build. [Mladen Turk]
248
249   *) sendfile_nonblocking() takes the _brigade_ as an argument, gets 
250      the first bucket from the brigade, finds it not to be a FILE
251      bucket and barfs. The fix is to pass a bucket rather than a brigade.
252      [Niklas Edmundsson <nikke acc.umu.se>]
253
254   *) mod_rewrite: support rewritemap by SQL query [Nick Kew]
255
256   *) ap_get_server_version() has been removed.  Third-party modules must 
257      now use ap_get_server_banner() or ap_get_server_description().
258      [Jeff Trawick]
259
260   *) All MPMs: Introduce a check_config phase between pre_config and
261      open_logs, to allow modules to review interdependent configuration
262      directive values and adjust them while messages can still be logged
263      to the console.  Handle relevant MPM directives during this phase
264      and format messages for both the console and the error log, as
265      appropriate.  [Chris Darroch]
266
267   *) mod_proxy: don't URLencode tilde in path component
268      [Stijn Hoop <stijn sandcat.nl>]
269
270   *) mpm_winnt: Fix return values from wait_for_many_objects.
271      The return value is index to the signaled thread in the
272      creted_threads array. We can not use WAIT_TIMEOUT because
273      his value is defined as 258, thus limiting the MaxThreads
274      to that value. [Mladen Turk]
275
276   *) core: Do not allow internal redirects like the DirectoryIndex of mod_dir
277      to circumvent the symbolic link checks imposed by FollowSymLinks and
278      SymLinksIfOwnerMatch. [Nick Kew, Ruediger Pluem, William Rowe]
279
280   *) mod_proxy: Support environment variable interpolation in reverse
281      proxying directives. [Nick Kew]
282
283   *) core: Add the filename of the configuration file to the warning message
284      about the useless use of AllowOverride. PR 39992.
285      [Darryl Miles <darryl darrylmiles.org>]
286
287   *) New SSLLogLevelDebugDump [ None (default) | IO (not bytes) | Bytes ]
288      configures the I/O Dump of SSL traffic, when LogLevel is set to Debug.
289      The default is none as this is far greater debugging resolution than 
290      the typical administrator is prepared to untangle.  [William Rowe]
291
292   *) mod_disk_cache: If possible, check if the size of an object to cache is
293      within the configured boundaries before actually saving data.
294      [Niklas Edmundsson <nikke acc.umu.se>]
295
296   *) mod_cache: Convert all values to seconds before comparing them when
297      checking whether to send a Warning header for a stale response.
298      PR 39713. [Owen Taylor <otaylor redhat.com>]
299
300   *) mod_disk_cache: Delete temporary files if they cannot be renamed to their
301      final name. [Davi Arnaut <davi haxent.com.br>]
302
303   *) Worker and event MPMs: Remove improper scoreboard updates which were
304      performed in the event of a fork() failure.  [Chris Darroch]
305
306   *) Add support for fcgi:// proxies to mod_rewrite.
307      [Markus Schiegl <ms schiegl.com>]
308
309   *) Remove incorrect comments from scoreboard.h regarding conditional
310      loading of worker_score structure with mod_status, and remove unused
311      definitions relating to old life_status field.
312      [Chris Darroch <chrisd pearsoncmg.com>]
313
314   *) Remove allocation of memory for unused array of lb_score pointers
315      in ap_init_scoreboard().  [Chris Darroch <chrisd pearsoncmg.com>]
316
317   *) Add mod_proxy_fcgi, a FastCGI back end for mod_proxy.
318      [Garrett Rooney, Jim Jagielski, Paul Querna]
319
320   *) Event MPM: Fill in the scoreboard's tid field. PR 38736.
321      [Chris Darroch <chrisd pearsoncmg.com>]
322
323   *) mod_charset_lite: Remove Content-Length when output filter can 
324      invalidate it.  Warn when input filter can invalidate it.
325      [Jeff Trawick]
326
327   *) Authz: Add the new module mod_authn_core that will provide common
328      authn directives such as 'AuthType', 'AuthName'.  Move the directives
329      'AuthType' and 'AuthName' out of the core module and merge mod_authz_alias 
330      into mod_authn_core. [Brad Nicholes]
331
332   *) Authz: Move the directives 'Order', 'Allow', 'Deny' and 'Satisfy' 
333      into the new module mod_access_compat which can be loaded to provide 
334      support for these directives.
335      [Brad Nicholes]
336
337   *) Authz: Move the 'Require' directive from the core module as well as 
338      add the directives '<SatisfyAll>', '<SatisfyOne>', '<RequireAlias>' 
339      and 'Reject' to mod_authz_core. The new directives introduce 'AND/OR' 
340      logic into the authorization processing. [Brad Nicholes]
341
342   *) Authz: Add the new module mod_authz_core which acts as the 
343      authorization provider vector and contains common authz 
344      directives. [Brad Nicholes]
345
346   *) Authz: Renamed mod_authz_dbm authz providers from 'group' and 
347      'file-group' to 'dbm-group' and 'dbm-file-group'. [Brad Nicholes]
348
349   *) Authz: Added the new authz providers 'env', 'ip', 'host', 'all' to handle
350      host-based access control provided by mod_authz_host and invoked 
351      through the 'Require' directive. [Brad Nicholes]
352
353   *) Authz: Convert all of the authz modules from hook based to 
354      provider based. [Brad Nicholes]
355
356   *) mod_cache: Add CacheMinExpire directive to set the minimum time in
357      seconds to cache a document.
358      [Brian Akins <brian.akins turner.com>, Ruediger Pluem]
359
360   *) mod_authz_dbd: SQL authz with Login/Session support [Nick Kew]
361
362   *) Fix typo in ProxyStatus syntax error message.
363      [Christophe Jaillet <christophe.jaillet wanadoo.fr>]
364
365   *) Asynchronous write completion for the Event MPM.  [Brian Pane]
366
367   *) Added an End-Of-Request bucket type.  The logging of a request and
368      the freeing of its pool are now done when the EOR bucket is destroyed.
369      This has the effect of delaying the logging until right after the last
370      of the response is sent; ap_core_output_filter() calls the access logger
371      indirectly when it destroys the EOR bucket.  [Brian Pane]
372
373   *) Rewrite of logresolve support utility: IPv6 addresses are now supported
374      and the format of statistical output has changed. [Colm MacCarthaigh]
375
376   *) Rewrite of ap_coreoutput_filter to do nonblocking writes  [Brian Pane]
377
378   *) Added new connection states for handler and write completion
379      [Brian Pane]
380
381   *) mod_cgid: Refuse to work on Solaris 10 due to OS bugs.  PR 34264.
382      [Justin Erenkrantz]
383
384   *) Teach mod_ssl to use arbitrary OIDs in an SSLRequire directive,
385      allowing string-valued client certificate attributes to be used for
386      access control, as in: SSLRequire "value" in OID("1.3.6.1.4.1.18060.1")
387      [Martin Kraemer, David Reid]
388
389   [Apache 2.1.0-dev includes those bug fixes and changes with the
390    Apache 2.2.xx tree as documented, and except as noted, below.]
391
392 Changes with Apache 2.2.x and later:
393
394   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
395
396 Changes with Apache 2.0.x and later:
397
398   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup
399
400 Changes with Apache 1.3.x and later:
401
402   *) http://svn.apache.org/viewvc/httpd/httpd/branches/1.3.x/src/CHANGES?view=markup