3 Changes with Apache 2.3.7
5 *) support/rotatelogs: Add -L option to create a link to the current
6 log file. PR 48761 [<lyndon orthanc.ca>, Dan Poirier]
8 *) mod_ldap: Update LDAPTrustedClientCert to consistently be a per-directory
9 setting only, matching most of the documentation and examples.
10 PR 46541 [Paul Reder, Eric Covener]
12 *) mod_ldap: LDAPTrustedClientCert now accepts CA_DER/CA_BASE64 argument
13 types previously allowed only in LDAPTrustedGlobalCert. [Eric Covener]
15 *) mod_negotiation: Preserve query string over multiviews negotiation.
16 This buglet was fixed for type maps in 2.2.6, but the same issue
17 affected multiviews and was overlooked.
18 PR 33112 [Joergen Thomsen <apache jth.net>]
20 *) mod_ldap: Eliminate a potential crash with multiple LDAPTrustedClientCert
21 when some are not password-protected. [Eric Covener]
23 *) Fix startup segfault when the Mutex directive is used but no loaded
24 modules use httpd mutexes. PR 48787. [Jeff Trawick]
26 *) Proxy: get the headers right in a HEAD request with
27 ProxyErrorOverride, by checking for an overridden error
28 before not after going into a catch-all code path.
29 PR 41646. [Nick Kew, Stuart Children]
31 *) support/rotatelogs: Support the simplest log rotation case, log
32 truncation. Useful when the log is being processed in real time
33 using a command like tail. [Graham Leggett]
35 *) support/htcacheclean: Teach it how to write a pid file (modelled on
36 httpd's writing of a pid file) so that it becomes possible to run
37 more than one instance of htcacheclean on the same machine.
40 *) Log command line on startup, so there's a record of command line
41 arguments like -f. PR 48752. [Dan Poirier]
43 *) Introduce mod_reflector, a handler capable of reflecting POSTed
44 request bodies back within the response through the output filter
45 stack. Can be used to turn an output filter into a web service.
48 *) mod_proxy_http: Make sure that when an ErrorDocument is served
49 from a reverse proxied URL, that the subrequest respects the status
50 of the original request. This brings the behaviour of proxy_handler
51 in line with default_handler. PR 47106. [Graham Leggett]
53 *) Support wildcards in both the directory and file components of
54 the path specified by the Include directive. [Graham Leggett]
56 *) mod_proxy, mod_proxy_http: Support remote https proxies
57 by using HTTP CONNECT. PR 19188.
58 [Philippe Dutrueux <lilas evidian.com>, Rainer Jung]
60 Changes with Apache 2.3.6
62 *) worker: Don't report server has reached MaxClients until it has.
63 Add message when server gets within MinSpareThreads of MaxClients.
64 PR 46996. [Dan Poirier]
66 *) mod_session: Session expiry was being initialised, but not updated
67 on each session save, resulting in timed out sessions when there
68 should not have been. Fixed. [Graham Leggett]
70 *) mod_log_config: Add the R option to log the handler used within the
71 request. [Christian Folini <christian.folini netnea com>]
73 *) Allow fine control over the removal of Last-Modified and ETag headers
74 within the INCLUDES filter, making it possible to cache responses if
75 desired. Fix the default value of the SSIAccessEnable directive.
78 *) Add new UnDefine directive to undefine a variable. PR 35350.
81 *) Make ap_pregsub(), used by AliasMatch and friends, use the same syntax
82 for regex backreferences as mod_rewrite and mod_include: Remove the use
83 of '&' as an alias for '$0' and allow to escape any character with a
84 backslash. PR 48351. [Stefan Fritsch]
86 *) mod_authnz_ldap: If AuthLDAPCharsetConfig is set, also convert the
87 password to UTF-8. PR 45318.
88 [Johannes Müller <joh_m gmx.de>, Stefan Fritsch]
90 *) ab: Fix calculation of requests per second in HTML output. PR 48594.
93 *) mod_authnz_ldap: Failures to map a username to a DN, or to check a user
94 password now result in an informational level log entry instead of
95 warning level. [Eric Covener]
97 Changes with Apache 2.3.5
99 *) Ensure each subrequest has a shallow copy of headers_in so that the
100 parent request headers are not corrupted. Eliminates a problematic
101 optimization in the case of no request body. PR 48359
102 [Jake Scott, William Rowe, Ruediger Pluem]
104 *) Turn static function get_server_name_for_url() into public
105 ap_get_server_name_for_url() and use it where appropriate. This
106 fixes mod_rewrite generating invalid URLs for redirects to IPv6
107 literal addresses. [Stefan Fritsch]
109 *) mod_ldap: Introduce new config option LDAPTimeout to set the timeout
110 for LDAP operations like bind and search. [Stefan Fritsch]
112 *) mod_proxy, mod_proxy_ftp: Move ProxyFtpDirCharset from mod_proxy to
113 mod_proxy_ftp. [Takashi Sato]
115 *) mod_proxy, mod_proxy_connect: Move AllowCONNECT from mod_proxy to
116 mod_proxy_connect. [Takashi Sato]
118 *) mod_cache: Do an exact match of the keys defined by
119 CacheIgnoreURLSessionIdentifiers against the querystring instead of
120 a partial match. PR 48401.
121 [Dodou Wang <wangdong.08 gmail.com>, Ruediger Pluem]
123 *) mod_proxy_balancer: Fix crash in balancer-manager. [Rainer Jung]
125 *) Core HTTP: disable keepalive when the Client has sent
127 but we respond directly with a non-100 response.
128 Keepalive here led to data from clients continuing being treated as
132 *) Core: reject NULLs in request line or request headers.
135 *) Core: (re)-introduce -T commandline option to suppress documentroot
137 PR 41887 [Jan van den Berg <janvdberg gmail.com>]
139 *) mod_autoindex: support XHTML as equivalent to HTML in IndexOptions,
140 ScanHTMLTitles, ReadmeName, HeaderName
141 PR 48416 [Dmitry Bakshaev <dab18 izhnet.ru>, Nick Kew]
143 *) Proxy: Fix ProxyPassReverse with relative URL
144 Derived (slightly erroneously) from PR 38864 [Nick Kew]
146 *) mod_headers: align Header Edit with Header Set when used on Content-Type
147 PR 48422 [Cyril Bonté <cyril.bonte free.fr>, Nick Kew>]
149 *) mod_headers: Enable multi-match-and-replace edit option
152 *) mod_filter: enable it to act on non-200 responses.
155 Changes with Apache 2.3.4
157 *) Replace AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex,
158 and WatchdogMutexPath with a single Mutex directive. Add APIs to
159 simplify setup and user customization of APR proc and global mutexes.
160 (See util_mutex.h.) Build-time setting DEFAULT_LOCKFILE is no longer
161 respected; set DEFAULT_REL_RUNTIMEDIR instead. [Jeff Trawick]
163 *) http_core: KeepAlive no longer accepts other than On|Off.
166 *) mod_dav: Remove errno from dav_error interface. Calls to dav_new_error()
167 and dav_new_error_tag() must be adjusted to add an apr_status_t parameter.
170 *) mod_authnz_ldap: Add AuthLDAPBindAuthoritative to allow Authentication to
171 try other providers in the case of an LDAP bind failure.
172 PR 46608 [Justin Erenkrantz, Joe Schaefer, Tony Stevenson]
174 *) Build: fix --with-module to work as documented
175 PR 43881 [Gez Saunders <gez.saunders virgin.net>]
177 Changes with Apache 2.3.3
179 *) SECURITY: CVE-2009-3095 (cve.mitre.org)
180 mod_proxy_ftp: sanity check authn credentials.
181 [Stefan Fritsch <sf fritsch.de>, Joe Orton]
183 *) SECURITY: CVE-2009-3094 (cve.mitre.org)
184 mod_proxy_ftp: NULL pointer dereference on error paths.
185 [Stefan Fritsch <sf fritsch.de>, Joe Orton]
186 *) mod_ssl: enable support for ECC keys and ECDH ciphers. Tested against
187 OpenSSL 1.0.0b3. [Vipul Gupta <vipul.gupta sun.com>, Sander Temme]
189 *) mod_dav: Include uri when logging a PUT error due to connection abort.
190 PR 38149. [Stefan Fritsch]
192 *) mod_dav: Return 409 instead of 500 for a LOCK request if the parent
193 resource does not exist or is not a collection. PR 43465. [Stefan Fritsch]
195 *) mod_dav_fs: Return 409 instead of 500 for Litmus test case copy_nodestcoll
196 (a COPY request where the parent of the destination resource does not
197 exist). PR 39299. [Stefan Fritsch]
199 *) mod_dav_fs: Don't delete the whole file if a PUT with content-range failed.
200 PR 42896. [Stefan Fritsch]
202 *) mod_dav_fs: Make PUT create files atomically and no longer destroy the
203 old file if the transfer aborted. PR 39815. [Paul Querna, Stefan Fritsch]
205 *) mod_dav_fs: Remove inode keyed locking as this conflicts with atomically
206 creating files. On systems with inode numbers, this is a format change of
207 the DavLockDB. The old DavLockDB must be deleted on upgrade.
210 *) mod_log_config: Make ${cookie}C correctly match whole cookie names
211 instead of substrings. PR 28037. [Dan Franklin <dan dan-franklin.com>,
214 *) vhost: A purely-numeric Host: header should not be treated as a port.
217 *) mod_ldap: Avoid 500 errors with "Unable to set LDAP_OPT_REFHOPLIMIT option to 5"
218 when built against openldap by using SDK LDAP_OPT_REFHOPLIMIT defaults unless
219 LDAPReferralHopLimit is explicitly configured.
222 *) mod_charset_lite: Honor 'CharsetOptions NoImplicitAdd'.
225 *) mod_ssl: Add support for OCSP Stapling. PR 43822.
226 [Dr Stephen Henson <shenson oss-institute.org>]
228 *) mod_socache_shmcb: Allow parens in file name if cache size is given.
229 Fixes SSLSessionCache directive mis-parsing parens in pathname.
230 PR 47945. [Stefan Fritsch]
232 *) htpasswd: Improve out of disk space handling. PR 30877. [Stefan Fritsch]
234 *) htpasswd: Use MD5 hash by default on all platforms. [Stefan Fritsch]
236 *) mod_sed: Reduce memory consumption when processing very long lines.
237 PR 48024 [Basant Kumar Kukreja <basant.kukreja sun.com>]
239 *) ab: Fix segfault in case the argument for -n is a very large number.
240 PR 47178. [Philipp Hagemeister <oss phihag.de>]
242 *) Allow ProxyPreserveHost to work in <Proxy> sections. PR 34901.
245 *) configure: Fix THREADED_MPMS so that mod_cgid is enabled again
246 for worker MPM. [Takashi Sato]
248 *) mod_dav: Provide a mechanism to obtain the request_rec and pathname
249 from the dav_resource. [Jari Urpalainen <jari.urpalainen nokia.com>,
250 Brian France <brian brianfrance.com>]
252 *) Build: Use install instead of cp if available on installing
253 modules to avoid segmentation fault. PR 47951. [hirose31 gmail.com]
255 *) mod_cache: correctly consider s-maxage in cacheability
256 decisions. [Dan Poirier]
258 *) mod_logio/core: Report more accurate byte counts in mod_status if
259 mod_logio is loaded. PR 25656. [Stefan Fritsch]
261 *) mod_ldap: If LDAPSharedCacheSize is too small, try harder to purge
262 some cache entries and log a warning. Also increase the default
263 LDAPSharedCacheSize to 500000. This is a more realistic size suitable
264 for the default values of 1024 for LdapCacheEntries/LdapOpCacheEntries.
265 PR 46749. [Stefan Fritsch]
267 *) mod_rewrite: Make sure that a hostname:port isn't fully qualified if
268 the request is a CONNECT request. [Bill Zajac <billz consultla.com>]
270 *) mod_cache: Teach CacheEnable and CacheDisable to work from within a
271 Location section, in line with how ProxyPass works. [Graham Leggett]
273 *) mod_reqtimeout: New module to set timeouts and minimum data rates for
274 receiving requests from the client. [Stefan Fritsch]
276 *) core: Fix potential memory leaks by making sure to not destroy
277 bucket brigades that have been created by earlier filters.
280 *) core, mod_deflate, mod_sed: Reduce memory usage by reusing bucket
281 brigades in several places. [Stefan Fritsch]
283 *) mod_cache: Fix uri_meets_conditions() so that CacheEnable will
284 match by scheme, or by a wildcarded hostname. PR 40169
285 [Peter Grandi <pg_asf asf.for.sabi.co.uk>, Graham Leggett]
287 *) suxec: Allow to log an error if exec fails by setting FD_CLOEXEC
288 on the log file instead of closing it. PR 10744. [Nicolas Rachinsky]
290 *) mod_mime: Make RemoveType override the info from TypesConfig.
291 PR 38330. [Stefan Fritsch]
293 *) mod_cache: Introduce the option to run the cache from within the
294 normal request handler, and to allow fine grained control over
295 where in the filter chain content is cached. [Graham Leggett]
297 *) core: Treat timeout reading request as 408 error, not 400.
298 Log 408 errors in access log as was done in Apache 1.3.x.
299 PR 39785 [Nobutaka Mantani <nobutaka nobutaka.org>,
300 Stefan Fritsch <sf fritsch.de>, Dan Poirier]
302 *) mod_ssl: Reintroduce SSL_CLIENT_S_DN, SSL_CLIENT_I_DN, SSL_SERVER_S_DN,
303 SSL_SERVER_I_DN back to the environment variables to be set by mod_ssl.
304 [Peter Sylvester <peter.sylvester edelweb.fr>]
306 *) mod_disk_cache: don't cache incomplete responses, per RFC 2616, 13.8.
307 PR15866. [Dan Poirier]
309 *) ab: ab segfaults in verbose mode on https sites
310 PR46393. [Ryan Niebur]
312 *) mod_dav: Allow other modules to become providers and add resource types
313 to the DAV response. [Jari Urpalainen <jari.urpalainen nokia.com>,
314 Brian France <brian brianfrance.com>]
316 *) mod_dav: Allow other modules to add things to the DAV or Allow headers
317 of an OPTIONS request. [Jari Urpalainen <jari.urpalainen nokia.com>,
318 Brian France <brian brianfrance.com>]
320 *) core: Lower memory usage of core output filter.
321 [Stefan Fritsch <sf sfritsch.de>]
323 *) mod_mime: Detect invalid use of MultiviewsMatch inside Location and
324 LocationMatch sections. PR47754. [Dan Poirier]
326 *) mod_request: Make sure the KeptBodySize directive rejects values
327 that aren't valid numbers. [Graham Leggett]
329 *) mod_session_crypto: Sanity check should the potentially encrypted
330 session cookie be too short. [Graham Leggett]
332 *) mod_session.c: Prevent a segfault when session is added but not
333 configured. [Graham Leggett]
335 *) htcacheclean: 19 ways to fail, 1 error message. Fixed. [Graham Leggett]
337 *) mod_auth_digest: Fail server start when nonce count checking
338 is configured without shared memory, or md5-sess algorithm is
339 configured. [Dan Poirier]
341 *) mod_proxy_connect: The connect method doesn't work if the client is
342 connecting to the apache proxy through an ssl socket. Fixed.
343 PR29744. [Brad Boyer, Mark Cave-Ayland, Julian Gilbey, Fabrice Durand,
344 David Gence, Tim Dodge, Per Gunnar Hans, Emmanuel Elango,
345 Kevin Croft, Rudolf Cardinal]
347 *) mod_ssl: The error message when SSLCertificateFile is missing should
348 at least give the name or position of the problematic virtual host
349 definition. [Stefan Fritsch sf sfritsch.de]
351 *) mod_auth_digest: Fix null pointer when qop=none. [Dan Poirier]
353 *) Add support for HTTP PUT to ab. [Jeff Barnes <jbarnesweb yahoo.com>]
355 *) mod_headers: generalise the envclause to support expression
356 evaluation with ap_expr parser [Nick Kew]
358 *) mod_cache: Introduce the thundering herd lock, a mechanism to keep
359 the flood of requests at bay that strike a backend webserver as
360 a cached entity goes stale. [Graham Leggett]
362 *) mod_auth_digest: Fix usage of shared memory and re-enable it.
363 PR 16057 [Dan Poirier]
365 *) Preserve Port information over internal redirects
366 PR 35999 [Jonas Ringh <jonas.ringh cixit.se>]
368 *) Proxy: unable to connect to a backend is SERVICE_UNAVAILABLE,
369 rather than BAD_GATEWAY or (especially) NOT_FOUND.
370 PR 46971 [evanc nortel.com]
372 *) Various modules: Do better checking of pollset operations in order to
373 avoid segmentation faults if they fail. PR 46467
374 [Stefan Fritsch <sf sfritsch.de>]
376 *) mod_autoindex: Correctly create an empty cell if the description
377 for a file is missing. PR 47682 [Peter Poeml <poeml suse.de>]
379 *) ab: Fix broken error messages after resolver or connect() failures.
382 *) SECURITY: CVE-2009-1890 (cve.mitre.org)
383 Fix a potential Denial-of-Service attack against mod_proxy in a
384 reverse proxy configuration, where a remote attacker can force a
385 proxy process to consume CPU time indefinitely. [Nick Kew, Joe Orton]
387 *) SECURITY: CVE-2009-1191 (cve.mitre.org)
388 mod_proxy_ajp: Avoid delivering content from a previous request which
389 failed to send a request body. PR 46949 [Ruediger Pluem]
391 *) htdbm: Fix possible buffer overflow if dbm database has very
392 long values. PR 30586 [Dan Poirier]
394 *) core: Return APR_EOF if request body is shorter than the length announced
395 by the client. PR 33098 [ Stefan Fritsch <sf sfritsch.de>]
397 *) mod_suexec: correctly set suexec_enabled when httpd is run by a
398 non-root user and may have insufficient permissions.
399 PR 42175 [Jim Radford <radford blackbean.org>]
401 *) mod_ssl: Fix SSL_*_DN_UID variables to use the 'userID' attribute
402 type. PR 45107. [Michael Ströder <michael stroeder.com>,
403 Peter Sylvester <peter.sylvester edelweb.fr>]
405 *) mod_proxy_http: fix case sensitivity checking transfer encoding
406 PR 47383 [Ryuzo Yamamoto <ryuzo.yamamoto gmail.com>]
408 *) mod_alias: ensure Redirect issues a valid URL.
409 PR 44020 [Håkon Stordahl <hakon stordahl.org>]
411 *) mod_dir: add FallbackResource directive, to enable admin to specify
412 an action to happen when a URL maps to no file, without resorting
413 to ErrorDocument or mod_rewrite. PR 47184 [Nick Kew]
415 *) mod_cgid: Do not leak the listening Unix socket file descriptor to the
416 CGI process. PR 47335 [Kornél Pál <kornelpal gmail.com>]
418 *) mod_rewrite: Remove locking for writing to the rewritelog.
419 PR 46942 [Dan Poirier <poirier pobox.com>]
421 *) mod_alias: check sanity in Redirect arguments.
422 PR 44729 [Sönke Tesch <st kino-fahrplan.de>, Jim Jagielski]
424 *) mod_proxy_http: fix Host: header for literal IPv6 addresses.
425 PR 47177 [Carlos Garcia Braschi <cgbraschi gmail.com>]
427 *) mod_cache: Add CacheIgnoreURLSessionIdentifiers directive to ignore
428 defined session identifiers encoded in the URL when caching.
431 *) mod_rewrite: Fix the error string returned by RewriteRule.
432 RewriteRule returned "RewriteCond: bad flag delimiters" when the 3rd
433 argument of RewriteRule was not started with "[" or not ended with "]".
434 PR 45082 [Vitaly Polonetsky <m_vitaly topixoft.com>]
436 *) Windows: Fix usage message.
439 *) apachectl: When passing through arguments to httpd in
440 non-SysV mode, use the "$@" syntax to preserve arguments.
443 *) mod_dbd: add DBDInitSQL directive to enable SQL statements to
444 be run when a connection is opened. PR 46827
445 [Marko Kevac <mkevac gmail.com>]
447 *) mod_cgid: Improve handling of long AF_UNIX socket names (ScriptSock).
448 PR 47037. [Jeff Trawick]
450 *) mod_proxy_ajp: Check more strictly that the backend follows the AJP
451 protocol. [Mladen Turk]
453 *) mod_proxy_ajp: Forward remote port information by default.
456 *) Allow MPMs to be loaded dynamically, as with most other modules. Use
457 --enable-mpms-shared={list|"all"} to enable. This required changes to
458 the MPM interfaces. Removed: mpm.h, mpm_default.h (as an installed
459 header), APACHE_MPM_DIR, MPM_NAME, ap_threads_per_child,
460 ap_max_daemons_limit, ap_my_generation, etc. ap_mpm_query() can't be
461 called until after the register-hooks phase. [Jeff Trawick]
463 *) mod_ssl: Add SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN directives
464 to enable stricter checking of remote server certificates.
467 *) ab: Fix a 100% CPU loop on platforms where a failed non-blocking connect
468 returns EINPROGRESS and a subsequent poll() returns only POLLERR.
469 Observed on HP-UX. [Eric Covener]
471 *) Remove broken support for BeOS, OS/2, TPF, and even older platforms such
472 as A/UX, Next, and Tandem. [Jeff Trawick]
474 *) mod_proxy_ftp: Add ProxyFtpListOnWildcard directive to allow files with
475 globbing characters to be retrieved instead of converted into a
476 directory listing. PR 46789 [Dan Poirier <poirier pobox.com>]
478 *) Provide ap_retained_data_create()/ap_retained_data_get() for preservation
479 of module state across unload/load. [Jeff Trawick]
481 *) mod_substitute: Fix a memory leak. PR 44948
482 [Dan Poirier <poirier pobox.com>]
484 Changes with Apache 2.3.2
486 *) mod_mime_magic: Fix detection of compressed content. [Rainer Jung]
488 *) mod_negotiation: Escape pathes of filenames in 406 responses to avoid
489 HTML injections and HTTP response splitting. PR 46837.
490 [Geoff Keating <geoffk apple.com>]
492 *) mod_ssl: add support for type-safe STACK constructs in OpenSSL
493 development HEAD. PR 45521. [Kaspar Brand, Sander Temme]
495 *) ab: Fix maintenance of the pollset to resolve EALREADY errors
496 with kqueue (BSD/OS X) and excessive CPU with event ports (Solaris).
497 PR 44584. Use APR_POLLSET_NOCOPY for better performance with some
498 pollset implementations. [Jeff Trawick]
500 *) mod_disk_cache: The module now turns off sendfile support if
501 'EnableSendfile off' is defined globally. [Lars Eilebrecht]
503 *) mod_deflate: Adjust content metadata before bailing out on 304
504 responses so that the metadata does not differ from 200 response.
507 *) mod_deflate: Fix creation of invalid Etag headers. We now make sure
508 that the Etag value is properly quoted when adding the gzip marker.
509 PR 39727, 45023. [Lars Eilebrecht, Roy T. Fielding]
511 *) Added 20x22 icons for ODF, SVG, and XML documents. PR 37185.
514 *) Disabled DefaultType directive and removed ap_default_type()
515 from core. We now exclude Content-Type from responses for which
516 a media type has not been configured via mime.types, AddType,
517 ForceType, or some other mechanism. PR 13986. [Roy T. Fielding]
519 *) mod_rewrite: Add IPV6 variable to RewriteCond
520 [Ryan Phillips <ryan-apache trolocsis.com>]
522 *) core: Enhance KeepAliveTimeout to support a value in milliseconds.
523 PR 46275. [Takashi Sato]
525 *) rotatelogs: Allow size units B, K, M, G and combination of
526 time and size based rotation. [Rainer Jung]
528 *) rotatelogs: Add flag for verbose (debug) output. [Rainer Jung]
530 *) mod_ssl: Fix merging of SSLRenegBufferSize directive. PR 46508
531 [<tlhackque yahoo.com>]
533 *) core: Translate the the status line to ASCII on EBCDIC platforms in
534 ap_send_interim_response() and for locally generated "100 Continue"
535 responses. [Eric Covener]
537 *) prefork: Fix child process hang during graceful restart/stop in
538 configurations with multiple listening sockets. PR 42829. [Joe Orton,
541 *) mod_session_crypto: Ensure that SessionCryptoDriver can only be
542 set in the global scope. [Graham Leggett]
544 *) mod_ext_filter: We need to detect failure to startup the filter
545 program (a mangled response is not acceptable). Fix to detect
546 failure, and offer configuration option either to abort or
547 to remove the filter and continue.
550 *) mod_session_crypto: Rewrite the session_crypto module against the
551 apr_crypto API. [Graham Leggett]
553 *) mod_auth_form: Fix a pool lifetime issue, don't remove the subrequest
554 until the main request is cleaned up. [Graham Leggett]
556 Changes with Apache 2.3.1
558 *) ap_slotmem: Add in new slot-based memory access API impl., including
559 2 providers (mod_sharedmem and mod_plainmem) [Jim Jagielski,
560 Jean-Frederic Clere, Brian Akins <brian.akins turner.com>]
562 *) mod_include: support generating non-ASCII characters as entities in SSI
565 *) core/utils: Enhance ap_escape_html API to support escaping non-ASCII chars
568 *) mod_rewrite: fix "B" flag breakage by reverting r5589343
569 PR 45529 [Bob Ionescu <bobsiegen googlemail.com>]
571 *) CGI: return 504 (Gateway timeout) rather than 500 when a script
572 times out before returning status line/headers.
575 *) mod_cgid: fix segfault problem on solaris.
576 PR 39332 [Masaoki Kobayashi <masaoki techfirm.co.jp>]
578 *) mod_proxy_scgi: Added. [André Malo]
580 *) mod_cache: Introduce 'no-cache' per-request environment variable
581 to prevent the saving of an otherwise cacheable response.
584 *) mod_rewrite: Introduce DiscardPathInfo|DPI flag to stop the troublesome
585 way that per-directory rewrites append the previous notion of PATH_INFO
586 to each substitution before evaluating subsequent rules.
587 PR 38642 [Eric Covener]
589 *) mod_cgid: Do not add an empty argument when calling the CGI script.
590 PR 46380 [Ruediger Pluem]
592 *) scoreboard: Remove unused sb_type from process_score.
593 [Torsten Foertsch <torsten.foertsch gmx.net>, Chris Darroch]
595 *) mod_ssl: Add SSLRenegBufferSize directive to allow changing the
596 size of the buffer used for the request-body where necessary
597 during a per-dir renegotiation. PR 39243. [Joe Orton]
599 *) mod_proxy_fdpass: New module to pass a client connection over to a separate
600 process that is reading from a unix daemon socket.
602 *) mod_ssl: Improve environment variable extraction to be more
603 efficient and to correctly handle DNs with duplicate tags.
604 PR 45975. [Joe Orton]
606 *) Remove the obsolete serial attribute from the RPM spec file. Compile
607 against the external pcre. Add missing binaries fcgistarter, and
608 mod_socache* and mod_session*. [Graham Leggett]
610 Changes with Apache 2.3.0
612 *) mod_ratelimit: New module to do bandwidth rate limiting. [Paul Querna]
614 *) Remove X-Pad header which was added as a work around to a bug in
615 Netscape 2.x to 4.0b2. [Takashi Sato <takashi lans-tv.com>]
617 *) Add DTrace Statically Defined Tracing (SDT) probes.
618 [Theo Schlossnagle <jesus omniti.com>, Paul Querna]
620 *) mod_proxy_balancer: Move all load balancing implementations
621 as individual, self-contained mod_proxy submodules under
622 modules/proxy/balancers [Jim Jagielski]
624 *) Rename APIs to include ap_ prefix:
625 find_child_by_pid -> ap_find_child_by_pid
626 suck_in_APR -> ap_suck_in_APR
627 sys_privileges_handlers -> ap_sys_privileges_handlers
628 unixd_accept -> ap_unixd_accept
629 unixd_config -> ap_unixd_config
630 unixd_killpg -> ap_unixd_killpg
631 unixd_set_global_mutex_perms -> ap_unixd_set_global_mutex_perms
632 unixd_set_proc_mutex_perms -> ap_unixd_set_proc_mutex_perms
633 unixd_set_rlimit -> ap_unixd_set_rlimit
636 *) core: When the ap_http_header_filter processes an error bucket, cleanup
637 the passed brigade before returning AP_FILTER_ERROR down the filter
638 chain. This unambiguously ensures the same error bucket isn't revisited
641 *) mod_lbmethod_heartbeat: New module to load balance mod_proxy workers
642 based on heartbeats. [Paul Querna]
644 *) mod_heartmonitor: New module to collect heartbeats, and write out a file
645 so that other modules can load balance traffic as needed. [Paul Querna]
647 *) mod_heartbeat: New module to generate multicast heartbeats to know if a
648 server is online. [Paul Querna]
650 *) core: Error responses set by filters were being coerced into 500 errors,
651 sometimes appended to the original error response. Log entry of:
652 'Handler for (null) returned invalid result code -3'
655 *) mod_buffer: Honour the flush bucket and flush the buffer in the
656 input filter. Make sure that metadata buckets are written to
657 the buffer, not to the final brigade. [Graham Leggett]
659 *) mod_buffer: Optimise the buffering of heap buckets when the heap
660 buckets stay exactly APR_BUCKET_BUFF_SIZE long. [Graham Leggett,
663 *) mod_buffer: Optional support for buffering of the input and output
664 filter stacks. Can collapse many small buckets into fewer larger
665 buckets, and prevents excessively small chunks being sent over
666 the wire. [Graham Leggett]
668 *) mod_privileges: new module to make httpd on Solaris privileges-aware
669 and to enable different virtualhosts to run with different
670 privileges and Unix user/group IDs [Nick Kew]
672 *) mod_mem_cache: this module has been removed. [William Rowe]
674 *) authn/z: Remove mod_authn_default and mod_authz_default.
677 *) authz: Fix handling of authz configurations, make default authz
678 logic replicate 2.2.x authz logic, and replace <Satisfy*>, Reject,
679 and AuthzMergeRules directives with Match, <Match*>, and AuthzMerge
680 directives. [Chris Darroch]
682 *) mod_authn_core: Prevent crash when provider alias created to
683 provider which is not yet registered. [Chris Darroch]
685 *) mod_authn_core: Add AuthType of None to support disabling
686 authentication. [Chris Darroch]
688 *) core: Allow <Limit> and <LimitExcept> directives to nest, and
689 constrain their use to conform with that of other access control
690 and authorization directives. [Chris Darroch]
692 *) unixd: turn existing code into a module, and turn the set user/group
693 and chroot into a child_init function. [Nick Kew]
695 *) core: Add ap_timeout_parameter_parse to public API. [Ruediger Pluem]
697 *) mod_dir: Support "DirectoryIndex disabled"
698 Suggested By André Warnier <aw ice-sa.com> [Eric Covener]
700 *) mod_ssl: Send Content-Type application/ocsp-request for POST requests to
701 OSCP responders. PR 46014 [Dr Stephen Henson <steve openssl.org>]
703 *) Export and install the mod_rewrite.h header to ensure the optional
704 rewrite_mapfunc_t and ap_register_rewrite_mapfunc functions are
705 available to third party modules. [Graham Leggett]
707 *) mod_authnz_ldap: don't return NULL-valued environment variables to
708 other modules. PR 39045 [Francois Pesce <francois.pesce gmail.com>]
710 *) Don't adjust case in pathname components that are not of interest
711 to mod_mime. Fixes mod_negotiation's use of such components.
712 PR 43250 [Basant Kumar Kukreja <basant.kukreja sun.com>]
714 *) Be tolerant in what you accept - accept slightly broken
715 status lines from a backend provide they include a valid status code.
716 PR 44995 [Rainer Jung <rainer.jung kippdata.de>]
718 *) New module mod_sed: filter Request/Response bodies through sed
719 [Basant Kumar Kukreja <basant.kukreja sun.com>]
721 *) mod_auth_form: Make sure that basic authentication is correctly
722 faked directly after login. [Graham Leggett]
724 *) mod_session_cookie, mod_session_dbd: Make sure cookies are set both
725 within the output headers and error output headers, so that the
726 session is maintained across redirects. [Graham Leggett]
728 *) mod_auth_form: Make sure the logged in user is populated correctly
729 after a form login. Fixes a missing REMOTE_USER variable directly
730 following a login. [Graham Leggett]
732 *) mod_session_cookie: Make sure that cookie attributes are correctly
733 included in the blank cookie when cookies are removed. This fixes an
734 inability to log out when using mod_auth_form. [Graham Leggett]
736 *) mod_autoindex: add configuration option to insert string
737 in HTML HEAD. [Nick Kew]
739 *) mod_session: Prevent a segfault when a CGI script sets a cookie with a
740 null value. [David Shane Holden <dpejesh apache.org>]
742 *) mod_headers: Prevent Header edit from processing only the first header
743 of possibly multiple headers with the same name and deleting the
744 remaining ones. PR 45333. [Ruediger Pluem]
746 *) mod_rewrite: Preserve the query string with [proxy,noescape]. PR 45247
749 *) core, authn/z: Determine registered authn/z providers directly in
750 ap_setup_auth_internal(), which allows optional functions that just
751 wrapped ap_list_provider_names() to be removed from authn/z modules.
754 *) authn/z: Convert common provider version strings to macros.
757 *) ab: Make ab.c compile on VC6. PR 45024 [Ruediger Pluem]
759 *) configure: Don't reject libtool 2.x
760 PR 44817 [Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA gmail.com>]
762 *) core: When testing for slash-terminated configuration paths in
763 ap_location_walk(), don't look past the start of an empty string
764 such as that created by a <Location ""> directive.
767 *) core, mod_proxy: If a kept_body is present, it becomes safe for
768 subrequests to support message bodies. Make sure that safety
769 checks within the core and within the proxy are not triggered
770 when kept_body is present. This makes it possible to embed
771 proxied POST requests within mod_include. [Graham Leggett]
773 *) mod_auth_form: Make sure the input filter stack is properly set
774 up before reading the login form. Make sure the kept body filter
775 is correctly inserted to ensure the body can be read a second
776 time safely should the authn be successful. [Graham Leggett,
779 *) mod_request: Insert the KEPT_BODY filter via the insert_filter
780 hook instead of during fixups. Add a safety check to ensure the
781 filters cannot be inserted more than once. [Graham Leggett,
784 *) core: Do not allow Options ALL if not all options are allowed to be
785 overwritten. PR 44262 [Michał Grzędzicki <lazy iq.pl>]
787 *) ap_cache_cacheable_headers_out() will (now) always
788 merge an error headers _before_ clearing them and _before_
789 merging in the actual entity headers and doing normal
790 hop-by-hop cleansing. [Dirk-Willem van Gulik].
792 *) cache: retire ap_cache_cacheable_hdrs_out() which was used
793 for both in- and out-put headers; and replace it by a single
794 ap_cache_cacheable_headers() wrapped in a in- and out-put
795 specific ap_cache_cacheable_headers_in()/out(). The latter
796 which will also merge error and ensure content-type. To keep
797 cache modules consistent with ease. This API change bumps
798 up the minor MM by one [Dirk-Willem van Gulik].
800 *) mod_rewrite: Allow Cookie option to set secure and HttpOnly flags.
801 PR 44799 [Christian Wenz <christian wenz.org>]
803 *) Move the KeptBodySize directive, kept_body filters and the
804 ap_parse_request_body function out of the http module and into a
805 new module called mod_request, reducing the size of the core.
808 *) mod_dbd: Handle integer configuration directive parameters with a
811 *) Change the directives within the mod_session* modules to be valid
812 both inside and outside the location/directory sections, as
813 suggested by wrowe. [Graham Leggett]
815 *) mod_auth_form: Add a module capable of allowing end users to log
816 in using an HTML form, storing the credentials within mod_session.
819 *) Add a function to the http filters that is able to parse an HTML
820 form request with the type of application/x-www-form-urlencoded.
823 *) mod_session_crypto: Initialise SSL in the post config hook.
824 [Ruediger Pluem, Graham Leggett]
826 *) mod_session_dbd: Add a session implementation capable of storing
827 session information in a SQL database via the dbd interface. Useful
828 for sites where session privacy is important. [Graham Leggett]
830 *) mod_session_crypto: Add a session encoding implementation capable
831 of encrypting and decrypting sessions wherever they may be stored.
832 Introduces a level of privacy when sessions are stored on the
833 browser. [Graham Leggett]
835 *) mod_session_cookie: Add a session implementation capable of storing
836 session information within cookies on the browser. Useful for high
837 volume sites where server bound sessions are too resource intensive.
840 *) mod_session: Add a generic session interface to unify the different
841 attempts at saving persistent sessions across requests.
844 *) core, authn/z: Avoid calling access control hooks for internal requests
845 with configurations which match those of initial request. Revert to
846 original behaviour (call access control hooks for internal requests
847 with URIs different from initial request) if any access control hooks or
848 providers are not registered as permitting this optimization.
849 Introduce wrappers for access control hook and provider registration
850 which can accept additional mode and flag data. [Chris Darroch]
852 *) Introduced ap_expr API for expression evaluation.
853 This is adapted from mod_include, which is the first module
857 *) mod_authz_dbd: When redirecting after successful login/logout per
858 AuthzDBDRedirectQuery, do not report authorization failure, and use
859 first row returned by database query instead of last row.
862 *) mod_ldap: Correctly return all requested attribute values
863 when some attributes have a null value.
864 PR 44560 [Anders Kaseorg <anders kaseorg.com>]
866 *) core: check symlink ownership if both FollowSymlinks and
867 SymlinksIfOwnerMatch are set [Nick Kew]
869 *) core: fix origin checking in SymlinksIfOwnerMatch
870 PR 36783 [Robert L Mathews <rob-apache.org.bugs tigertech.net>]
872 *) Activate mod_cache, mod_file_cache and mod_disk_cache as part of the
873 'most' set for '--enable-modules' and '--enable-shared-mods'. Include
874 mod_mem_cache in 'all' as well. [Dirk-Willem van Gulik]
876 *) Also install mod_so.h, mod_rewrite.h and mod_cache.h; as these
877 contain public function declarations which are useful for
878 third party module authors. PR 42431 [Dirk-Willem van Gulik].
880 *) mod_dir, mod_negotiation: pass the output filter information
881 to newly created sub requests; as these are later on used
882 as true requests with an internal redirect. This allows for
883 mod_cache et.al. to trap the results of the redirect.
884 [Dirk-Willem van Gulik, Ruediger Pluem]
886 *) mod_ldap: Add support (taking advantage of the new APR capability)
887 for ldap rebind callback while chasing referrals. This allows direct
888 searches on LDAP servers (in particular MS Active Directory 2003+)
889 using referrals without the use of the global catalog.
890 PRs 26538, 40268, and 42557 [Paul J. Reder]
892 *) mod_ssl: Added server name indication support (SNI, RFC 4366).
893 PR 34607. [Kaspar Brand <asfbugz velox.ch>]. A test configuration
894 can be created with test/make_sni.sh [Dirk-Willem van Gulik].
896 *) ApacheMonitor.exe: Introduce --kill argument for use by the
897 installer. This will permit the installation tool to remove
898 all running instances before attempting to remove the .exe.
901 *) mod_ssl: Add support for OCSP validation of client certificates.
902 PR 41123. [Marc Stern <marc.stern approach.be>, Joe Orton]
904 *) mod_serf: New module for Reverse Proxying. [Paul Querna]
906 *) core: Add the option to keep aside a request body up to a certain
907 size that would otherwise be discarded, to be consumed by filters
908 such as mod_include. When enabled for a directory, POST requests
909 to shtml files can be passed through to embedded scripts as POST
910 requests, rather being downgraded to GET requests. [Graham Leggett]
912 *) mod_ssl: Fix TLS upgrade (RFC 2817) support. PR 41231. [Joe Orton]
914 *) scoreboard: Correctly declare ap_time_process_request.
915 PR 43789 [Tom Donovan <Tom.Donovan acm.org>]
917 *) core; scoreboard: ap_get_scoreboard_worker(sbh) now takes the sbh member
918 from the connection rec, ap_get_scoreboard_worker(proc, thread) will now
919 provide the unusual legacy lookup. [William Rowe]
921 *) mpm winnt: fix null pointer dereference
922 PR 42572 [Davi Arnaut]
924 *) mod_authnz_ldap, mod_authn_dbd: Tidy up the code to expose authn
925 parameters to the environment. Improve portability to
926 EBCDIC machines by using apr_toupper(). [Martin Kraemer]
928 *) mod_ldap, mod_authnzldap: Add support for nested groups (i.e. the ability
929 to authorize an authenticated user via a "require ldap-group X" directive
930 where the user is not in group X, but is in a subgroup contained in X.
931 PR 42891 [Paul J. Reder]
933 *) mod_ssl: Add support for caching SSL Sessions in memcached. [Paul Querna]
935 *) mod_ldap: Fix the search limit parameter to ldap_search_ext_s()
936 for SDKs that define LDAP_NO_LIMIT to something other than -1.
937 [David Jones <oscaremma gmail.com>]
939 *) apxs: Enhance -q flag to print all known variables and their values
940 when invoked without variable name(s).
941 [William Rowe, Sander Temme]
943 *) apxs: Eliminate run-time check for mod_so. PR 40653.
944 [David M. Lee <dmlee crossroads.com>]
946 *) beos MPM: Create pmain pool and run modules' child_init hooks when
947 entering ap_mpm_run(), then destroy pmain when exiting ap_mpm_run().
950 *) netware MPM: Destroy pmain pool when exiting ap_mpm_run() so that
951 cleanups registered in modules' child_init hooks are performed.
954 *) mod_dbd: Stash DBD connections in request_config of initial request
955 only, or else sub-requests and internal redirections may cause
956 entire DBD pool to be stashed in a single HTTP request. [Chris Darroch]
958 *) Fix issue which could cause error messages to be written to access logs
959 on Win32. PR 40476. [Tom Donovan <Tom.Donovan acm.org>]
961 *) The LockFile directive, which specifies the location of
962 the accept() mutex lockfile, is deprecated. Instead, the
963 AcceptMutex directive now takes an optional lockfile
964 location parameter, ala SSLMutex. [Jim Jagielski]
966 *) mod_authn_dbd: Export any additional columns queried in the SQL select
967 into the environment with the name AUTHENTICATE_<COLUMN>. This brings
968 mod_authn_dbd behaviour in line with mod_authnz_ldap. [Graham Leggett]
970 *) mod_dbd: Key the storage of prepared statements on the hex string
971 value of server_rec, rather than the server name, as the server name
972 may change (eg when the server name is set) at any time, causing
973 weird behaviour in modules dependent on mod_dbd. [Graham Leggett]
975 *) mod_proxy_fcgi: Added win32 build. [Mladen Turk]
977 *) sendfile_nonblocking() takes the _brigade_ as an argument, gets
978 the first bucket from the brigade, finds it not to be a FILE
979 bucket and barfs. The fix is to pass a bucket rather than a brigade.
980 [Niklas Edmundsson <nikke acc.umu.se>]
982 *) mod_rewrite: support rewritemap by SQL query [Nick Kew]
984 *) ap_get_server_version() has been removed. Third-party modules must
985 now use ap_get_server_banner() or ap_get_server_description().
988 *) All MPMs: Introduce a check_config phase between pre_config and
989 open_logs, to allow modules to review interdependent configuration
990 directive values and adjust them while messages can still be logged
991 to the console. Handle relevant MPM directives during this phase
992 and format messages for both the console and the error log, as
993 appropriate. [Chris Darroch]
995 *) mod_proxy: don't URLencode tilde in path component
996 [Stijn Hoop <stijn sandcat.nl>]
998 *) mpm_winnt: Fix return values from wait_for_many_objects.
999 The return value is index to the signaled thread in the
1000 creted_threads array. We can not use WAIT_TIMEOUT because
1001 his value is defined as 258, thus limiting the MaxThreads
1002 to that value. [Mladen Turk]
1004 *) core: Do not allow internal redirects like the DirectoryIndex of mod_dir
1005 to circumvent the symbolic link checks imposed by FollowSymLinks and
1006 SymLinksIfOwnerMatch. [Nick Kew, Ruediger Pluem, William Rowe]
1008 *) New SSLLogLevelDebugDump [ None (default) | IO (not bytes) | Bytes ]
1009 configures the I/O Dump of SSL traffic, when LogLevel is set to Debug.
1010 The default is none as this is far greater debugging resolution than
1011 the typical administrator is prepared to untangle. [William Rowe]
1013 *) mod_disk_cache: If possible, check if the size of an object to cache is
1014 within the configured boundaries before actually saving data.
1015 [Niklas Edmundsson <nikke acc.umu.se>]
1017 *) mod_disk_cache: Delete temporary files if they cannot be renamed to their
1018 final name. [Davi Arnaut <davi haxent.com.br>]
1020 *) Worker and event MPMs: Remove improper scoreboard updates which were
1021 performed in the event of a fork() failure. [Chris Darroch]
1023 *) Add support for fcgi:// proxies to mod_rewrite.
1024 [Markus Schiegl <ms schiegl.com>]
1026 *) Remove incorrect comments from scoreboard.h regarding conditional
1027 loading of worker_score structure with mod_status, and remove unused
1028 definitions relating to old life_status field.
1029 [Chris Darroch <chrisd pearsoncmg.com>]
1031 *) Remove allocation of memory for unused array of lb_score pointers
1032 in ap_init_scoreboard(). [Chris Darroch <chrisd pearsoncmg.com>]
1034 *) Add mod_proxy_fcgi, a FastCGI back end for mod_proxy.
1035 [Garrett Rooney, Jim Jagielski, Paul Querna]
1037 *) Event MPM: Fill in the scoreboard's tid field. PR 38736.
1038 [Chris Darroch <chrisd pearsoncmg.com>]
1040 *) mod_charset_lite: Remove Content-Length when output filter can
1041 invalidate it. Warn when input filter can invalidate it.
1044 *) Authz: Add the new module mod_authn_core that will provide common
1045 authn directives such as 'AuthType', 'AuthName'. Move the directives
1046 'AuthType' and 'AuthName' out of the core module and merge mod_authz_alias
1047 into mod_authn_core. [Brad Nicholes]
1049 *) Authz: Move the directives 'Order', 'Allow', 'Deny' and 'Satisfy'
1050 into the new module mod_access_compat which can be loaded to provide
1051 support for these directives.
1054 *) Authz: Move the 'Require' directive from the core module as well as
1055 add the directives '<SatisfyAll>', '<SatisfyOne>', '<RequireAlias>'
1056 and 'Reject' to mod_authz_core. The new directives introduce 'AND/OR'
1057 logic into the authorization processing. [Brad Nicholes]
1059 *) Authz: Add the new module mod_authz_core which acts as the
1060 authorization provider vector and contains common authz
1061 directives. [Brad Nicholes]
1063 *) Authz: Renamed mod_authz_dbm authz providers from 'group' and
1064 'file-group' to 'dbm-group' and 'dbm-file-group'. [Brad Nicholes]
1066 *) Authz: Added the new authz providers 'env', 'ip', 'host', 'all' to handle
1067 host-based access control provided by mod_authz_host and invoked
1068 through the 'Require' directive. [Brad Nicholes]
1070 *) Authz: Convert all of the authz modules from hook based to
1071 provider based. [Brad Nicholes]
1073 *) mod_cache: Add CacheMinExpire directive to set the minimum time in
1074 seconds to cache a document.
1075 [Brian Akins <brian.akins turner.com>, Ruediger Pluem]
1077 *) mod_authz_dbd: SQL authz with Login/Session support [Nick Kew]
1079 *) Fix typo in ProxyStatus syntax error message.
1080 [Christophe Jaillet <christophe.jaillet wanadoo.fr>]
1082 *) Asynchronous write completion for the Event MPM. [Brian Pane]
1084 *) Added an End-Of-Request bucket type. The logging of a request and
1085 the freeing of its pool are now done when the EOR bucket is destroyed.
1086 This has the effect of delaying the logging until right after the last
1087 of the response is sent; ap_core_output_filter() calls the access logger
1088 indirectly when it destroys the EOR bucket. [Brian Pane]
1090 *) Rewrite of logresolve support utility: IPv6 addresses are now supported
1091 and the format of statistical output has changed. [Colm MacCarthaigh]
1093 *) Rewrite of ap_coreoutput_filter to do nonblocking writes [Brian Pane]
1095 *) Added new connection states for handler and write completion
1098 *) mod_cgid: Refuse to work on Solaris 10 due to OS bugs. PR 34264.
1101 *) Teach mod_ssl to use arbitrary OIDs in an SSLRequire directive,
1102 allowing string-valued client certificate attributes to be used for
1103 access control, as in: SSLRequire "value" in OID("1.3.6.1.4.1.18060.1")
1104 [Martin Kraemer, David Reid]
1106 [Apache 2.1.0-dev includes those bug fixes and changes with the
1107 Apache 2.2.xx tree as documented, and except as noted, below.]
1109 Changes with Apache 2.2.x and later:
1111 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
1113 Changes with Apache 2.0.x and later:
1115 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup
1117 Changes with Apache 1.3.x and later:
1119 *) http://svn.apache.org/viewvc/httpd/httpd/branches/1.3.x/src/CHANGES?view=markup