]> granicus.if.org Git - apache/blob - CHANGES
Fix a problem with the display of empty variables ("SetEnv foo") in
[apache] / CHANGES
1 Changes with Apache 2.1.0-dev
2
3   [Remove entries to the current 2.0 section below, when backported]
4
5   *) Fix a problem with the display of empty variables ("SetEnv foo") in
6      mod_include.  PR 24734  [Markus Julen <mj zermatt.net>]
7
8   *) Win32 MPM: The bucket brigades subsystem now honors the MaxMemFree setting.
9      [Bill Stoddard]
10
11   *) mod_autoindex: new directive IndexStyleSheet 
12     [Tyler Riddle <triddle_1999 yahoo.com>, Paul Querna <chip force-elite.com>]
13
14   *) Fix a long delay with CGI requests and keepalive connections on
15      AIX.  [Jeff Trawick]
16
17   *) Fix uninitialized gprof directory name in prefork MPM.  PR 24450.
18      [Chris Knight <Christopher.D.Knight nasa.gov>]
19
20   *) mod_auth_ldap: Fix some segfaults in the cache logic.  PR 18756.
21      [Matthieu Estrade <apache moresecurity.org>]
22
23   *) mod_autoindex: Restore the ability to add a description for
24      directories that don't contain an index file.  [André Malo]
25
26   *) mod_include no longer allows an ETag header on 304 responses.
27      PR 19355. [Geoffrey Young <geoff apache.org>, André Malo]
28
29   *) mod_autoindex: Add 'XHTML' option in order to allow switching between
30      HTML 3.2 and XHTML 1.0 output. PR 23747.  [André Malo]
31
32   *) Add XHTML Document Type Definitions to httpd.h (minor MMN bump).
33      [André Malo]
34
35   *) mod_setenvif: Fix the regex optimizer, which under circumstances
36      treated the supplied regex as literal string. PR 24219.
37      [André Malo]
38
39   *) mod_autoindex: Don't omit the <tr> start tag if the SuppressIcon
40      option is set. PR 21668.  [Jesse Tie-Ten-Quee <highos highos.com>]
41
42   *) mod_autoindex / core: Don't fail to show filenames containing
43      special characters like '%'. PR 13598.  [André Malo]
44
45   *) mod_info: HTML escape configuration information so it displays 
46      correctly. PR 24232. [Thom May]
47      
48   *) mod_status: Report total CPU time accurately when using a threaded
49      MPM.  PR 23795.  [Jeff Trawick]
50
51   *) mod_ssl: Fix segfault on a non-SSL request if the the 'c' log
52      format code is used. PR 22741. [Gary E. Miller <gem rellim.com>]
53
54   *) Log an error when requests for URIs which fail to map to a valid 
55      filesystem name are rejected with 403.  [Jeff Trawick]
56
57   *) Fix a couple of AIX xlc_r compiler issues in the code I just
58      committed. [Paul J. Reder]
59
60   *) Modified the cache code to be header-location agnostic. Also
61      fixed a number of other cache code bugs related to PR 15852.
62      Includes a patch submitted by Sushma Rai <rsushma novell.com>.
63      This fixes mod_mem_cache but not mod_disk_cache yet so I'm not
64      closing the PR since that is what they are using. [Paul J. Reder]
65
66   *) Switch to APR 1.0 API.
67
68   *) Fix mod_include's expression parser to recognize strings correctly
69      even if they start with an escaped token.  [André Malo]
70
71   *) Major overhaul of mod_include's filter parser. The new parser code
72      is expected to be more robust and should catch all of the edge cases
73      that were not handled by the previous one. This includes a binary
74      incompatible change of mod_include's external API.  [André Malo]
75
76   *) mod_rewrite: Allow forced mimetypes [T=...] to get expanded.
77      PR 14223.  [André Malo]
78
79   *) mod_rewrite: Catch an edge case, where strange subsequent RewriteRules
80      could lead to a 400 (Bad Request) response.  [André Malo]
81
82   *) mod_rewrite: Fix LA-U and LA-F lookups in directory context. Previously
83      the current rewrite state was just used as lookup path, which lead to
84      strange and often useless results. Related to PR 8493.  [André Malo]
85
86   *) Change Listen directive to bind to all addresses when a hostname is
87      not specified.  [Justin Erenkrantz]
88
89   *) Correct failure with Listen directives on machines with IPv6 enabled.
90      [Colm MacCárthaigh <colm stdlib.net>, Justin Erenkrantz]
91
92   *) Fix a link failure in mod_ssl when the OpenSSL libraries contain
93      the ENGINE functions but the engine header files are missing.
94      [Cliff Woolley]
95
96   *) mod_dav: Use bucket brigades when reading PUT data. This avoids
97      problems if the data stream is modified by an input filter. PR 22104.
98      [Tim Robbins <tim robbins.dropbear.id.au>, André Malo]
99
100   *) mod_rewrite: RewriteRules in server context using the force
101      type feature [T=...] no longer disable MultiViews.  [André Malo]
102
103   *) mod_rewrite: In external rewrite maps lookup keys containing
104      a newline now cause a lookup failure. PR 14453.
105      [Cedric Gavage <cedric.gavage unixtech.be>, André Malo]
106
107   *) mod_rewrite: Allow piped rewrite logs to be relative to ServerRoot.
108      [André Malo]
109
110   *) mod_authz_groupfile: Strip trailing spaces of group names. This
111      hopefully saves some hours of searching for typos. PR 12863.
112      [André Malo]
113
114   *) mod_actions: Propagate the handler name to the action script via
115      the REDIRECT_HANDLER environment variable.  [André Malo]
116
117   *) mod_actions: Introduce the "virtual" modifier to the Action directive,
118      which allows the use of handlers for virtual locations. PR 8431.
119      [André Malo]
120
121   *) mod_speling: Recognize AcceptPathInfo setting for the particular
122      location. Default is to reject path information. PR 21059.
123      [André Malo]
124
125   *) mod_ext_filter: Add the ability to filter request bodies.
126      [Philipp Reisner <philipp.reisner linbit.com>]
127
128   *) mod_cgid: Restart the cgid daemon if it crashes.  PR 19849
129      [Glenn Nielsen <glenn apache.org>]
130
131   *) Fix some broken log messages in WinNT MPM.  
132      [Juan Rivera <Juan.Rivera citrix.com>]
133
134   *) Add support for IMT minor-type wildcards (e.g., text/*) to
135      ExpiresByType.  PR#7991  [Ken Coar]
136
137   *) Fix a problem with namespace mappings being dropped in mod_dav_fs; 
138      if any property values were set which defined namespaces these 
139      came out mangled in the PROPFIND response.  PR 11637.
140      [Amit Athavale <amit_athavale persistent.co.in>]
141
142   *) prefork MPM: Use the right permissions for the directory created 
143      for gprof support.  [Jim Carlson <jcarlson jnous.com>]
144
145   *) Fix a compile failure with recent OpenSSL and picky compilers
146      (e.g., OpenSSL 0.9.7a and xlc_r on AIX).  [Jeff Trawick]
147
148   *) OpenSSL headers should be included as "openssl/ssl.h", and not rely on
149      the INCLUDE path to be defined properly.
150      PR 11310. [Geoff Thorpe <geoff geoffthorpe.net>]
151
152   *) Modify APACHE_CHECK_SSL_TOOLKIT to detect SSL-C. [Madhusudan Mathihalli]
153
154   *) Replace the APACHE_CHECK_SSL_TOOLKIT method with a cleaner one, using
155      autoconf tools (AC_CHECK_HEADER, AC_CHECK_LIB etc). 
156      [Geoff Thorpe <geoff geoffthorpe.net>]
157
158   *) change directive name from 'compressionlevel' to 'deflatecompressionlevel'
159      [Ian Holsman, André Malo]
160
161   *) mod_negotiation: quality values are now parsed independent from
162      the current locale. level values are now really parsed as integers.
163      PR 17564.  [André Malo]
164
165   *) Added the WindowsSocketsWorkaround directive for Windows NT/2000/XP
166      to work around problems with certain VPN and Firewall products that 
167      have buggy AcceptEx implementations.
168      [Allan Edwards w/ suggestions from Bill Stoddard & Bill Rowe]
169
170   *) Extend mod_negotiation to evaluate the environment variables
171      no-gzip and gzip-only-text/html the same way as mod_deflate does.
172      [André Malo]
173
174   *) mod_rewrite: Fix some problems reporting errors with mapping
175      programs (RewriteMap prg:/something).  [Jeff Trawick]
176
177   *) Return 413 if chunk-ext-header is too long rather than reading from
178      the truncated line.  PR 15857.  [Justin Erenkrantz]
179
180   *) Allow restart of httpd to occur even with syntax errors in the config
181      file.  PR 16813.  [Justin Erenkrantz]
182
183   *) Use APR_LAYOUT instead of APACHE_LAYOUT in configure.  PR 15679.
184      [Justin Erenkrantz]
185
186   *) Remove files on 'make distclean' that should be.  PR 15592.
187      [Justin Erenkrantz]
188
189   *) Allow apachectl to perform status with links and elinks as well.
190      [Justin Erenkrantz]
191
192   *) Extend the SetEnvIf directive to capture subexpressions of the
193      matched value.  [André Malo]
194
195   *) mod_log_config change optional hook to return previous handler
196      [Ian Holsman]
197
198   *) Forward port of mod_actions' ability to handle arbitrary methods
199      with the Script directive.  [André Malo]
200
201   *) Let suexec send a message to stderr, if it failed or its policy
202      was violated. This message appears in the error log and allows
203      for easier debugging. PR 5381, 7638, 8255, 10773.  [André Malo]
204
205   *) Modify buildconf to copy all required files into httpd's tree.
206      [Thom May <thom planetarytramp.net>]
207
208   *) Allow mod_dav to do weak entity comparison functions.
209      [Justin Erenkrantz]
210
211   *) Move RFC 1413 ident requests from core to new module mod_ident.
212      [André Malo]
213
214   *) Add mod_authz_owner - a forward port of "Require file-owner"
215      and "Require file-group", which was already present in version
216      1.3.21.  [André Malo]
217
218   *) Add mod_dav_lock - a generic subset of the DAV locking implementation.
219      [Justin Erenkrantz]
220
221   *) Replace some of the mutex locking in the worker MPM with
222      atomic operations for higher concurrency.  [Brian Pane]
223
224   *) Allow 'make depend' to work with non-GCC compilers.
225      [Justin Erenkrantz]
226
227   *) If an httpd.conf has commented out AddModule directives, 
228      apxs -i -a will add an un-commented AddModule directive for 
229      the new module, which breaks the config.
230      PR: 11212 [Joe Orton]
231
232   *) Fix mod_proxy handling of filtered input bodies.  [Justin Erenkrantz]
233
234   *) Move the check of the Expect request header field after the hook
235      for ap_post_read_request, since that is the only opportunity for
236      modules to handle Expect extensions.  [Justin Erenkrantz]
237
238   *) Rewrite of aaa modules to an authn/authz model.
239      [Dirk-Willem van Gulik, Justin Erenkrantz]
240
241
242   [Apache 2.1.0-dev includes those bug fixes and changes with the
243    Apache 2.0.xx tree as documented, and except as noted, below.]
244
245 Changes with Apache 2.0.49
246
247   *) EBCDIC: Convert header fields to ASCII before sending (broken
248      since 2.0.44). [Martin Kraemer]
249
250   *) Fix the inability to log errors like exec failure in
251      mod_ext_filter/mod_cgi script children.  This was broken after 
252      such children stopped inheriting the error log handle.  
253      [Jeff Trawick]
254
255   *) Fix mod_info to use the real config file name, not the default
256      config file name.  [Aryeh Katz <aryeh secured-services.com>]
257
258   *) Set the scoreboard state to indicate logging prior to running 
259      logging hooks so that server-status will show 'L' for hung loggers
260      instead of 'W'.  [Jeff Trawick]
261
262 Changes with Apache 2.0.48
263
264   *) SECURITY [CAN-2003-0789]: mod_cgid: Resolve some mishandling of
265      the AF_UNIX socket used to communicate with the cgid daemon and
266      the CGI script.  [Jeff Trawick]
267
268   *) SECURITY [CAN-2003-0542]: Fix buffer overflows in mod_alias and 
269      mod_rewrite which occurred if one configured a regular expression 
270      with more than 9 captures.  [André Malo]
271
272   *) mod_include: fix segfault which occured if the filename was not
273      set, for example, when processing some error conditions.
274      PR 23836.  [Brian Akins <bakins web.turner.com>, André Malo]
275
276   *) fix the config parser to support <Foo>..</Foo> containers (no
277      arguments in the opening tag) supported by httpd 1.3. Without
278      this change mod_perl 2.0's <Perl> sections are broken.
279      ["Philippe M. Chiasson" <gozer cpan.org>]
280
281   *) mod_cgid: fix a hash table corruption problem which could
282      result in the wrong script being cleaned up at the end of a
283      request.  [Jeff Trawick]
284
285   *) Update httpd-*.conf to be clearer in describing the connection
286      between AddType and AddEncoding for defining the meaning of
287      compressed file extensions. [Roy Fielding]
288
289   *) mod_rewrite: Don't die silently when failing to open RewriteLogs.
290      PR 23416.  [André Malo]
291
292   *) mod_rewrite: Fix mod_rewrite's support of the [P] option to send
293      rewritten request using "proxy:". The code was adding multiple "proxy:"
294      fields in the rewritten URI. PR: 13946.
295      [Eider Oliveira <eider bol.com.br>]
296
297   *) cache_util: Fix ap_check_cache_freshness to check max_age, smax_age, and
298      expires as directed in RFC 2616. [Thomas Castelle <tcastelle generali.fr>]
299
300   *) Ensure that ssl-std.conf is generated at configure time, and switch
301      to using the expanded config variables to work the same as
302      httpd-std.conf PR: 19611
303      [Thom May]
304
305   *) mod_ssl: Fix segfaults after renegotiation failure. PR 21370
306      [Hartmut Keil <Hartmut.Keil adnovum.ch>]
307
308   *) mod_autoindex: If a directory contains a file listed in the
309      DirectoryIndex directive, the folder icon is no longer replaced
310      by the icon of that file. PR 9587.
311      [David Shane Holden <dpejesh yahoo.com>]
312
313   *) Fixed mod_usertrack to not get false positive matches on the
314      user-tracking cookie's name.  PR 16661.
315      [Manni Wood <manniwood planet-save.com>]
316
317   *) mod_cache: Fix the cache code so that responses can be cached
318      if they have an Expires header but no Etag or Last-Modified
319      headers. PR 23130.
320      [<bjorn exoweb.net>]
321
322   *) mod_log_config: Fix %b log format to write really "-" when 0 bytes
323      were sent (e.g. with 304 or 204 response codes).  [Astrid Keßler]
324
325   *) Modify ap_get_client_block() to note if it has seen EOS.
326      [Justin Erenkrantz]
327
328   *) Fix a bug, where mod_deflate sometimes unconditionally compressed the
329      content if the Accept-Encoding header contained only other tokens than
330      "gzip" (such as "deflate"). PR 21523.  [Joe Orton, André Malo]
331
332   *) Avoid an infinite recursion, which occured if the name of an included
333      config file or directory contained a wildcard character. PR 22194.
334      [André Malo]
335
336   *) mod_ssl: Fix a problem setting variables that represent the
337      client certificate chain.  PR 21371  [Jeff Trawick]
338
339   *) Unix: Handle permissions settings for flock-based mutexes in 
340      unixd_set_global|proc_mutex_perms().  Allow the functions to be
341      called for any type of mutex.  PR 20312  [Jeff Trawick]
342
343   *) ab: Work over non-loopback on Unix again. PR 21495. [Jeff Trawick]
344
345   *) Fix a misleading message from the some of the threaded MPMs when 
346      MaxClients has to be lowered due to the setting of ServerLimit.  
347      [Jeff Trawick]
348
349   *) Lower the severity of the "listener thread didn't exit" message
350      to debug, as it is of interest only to developers.  PR 9011
351      [Jeff Trawick]
352
353   *) MPMs: The bucket brigades subsystem now honors the MaxMemFree setting.
354      [Cliff Woolley, Jean-Jacques Clar]
355
356   *) Install config.nice into the build/ directory to make
357      minor version upgrades easier. [Joshua Slive]
358
359   *) Fix mod_deflate so that it does not call deflate() without checking
360      first whether it has something to deflate. (Currently this causes
361      deflate to generate a fatal error according to the zlib spec.)
362      PR 22259. [Stas Bekman]
363
364   *) mod_ssl: Fix FakeBasicAuth for subrequest.  Log an error when an
365      identity spoof is encountered.
366      [Sander Striker]
367
368   *) mod_rewrite: Ignore RewriteRules in .htaccess files if the directory
369      containing the .htaccess file is requested without a trailing slash.
370      PR 20195.  [André Malo]
371
372   *) ab: Overlong credentials given via command line no longer clobber
373      the buffer.  [André Malo]
374
375   *) mod_deflate: Don't attempt to hold all of the response until we're
376      done.  [Justin Erenkrantz]
377
378   *) Assure that we block properly when reading input bodies with SSL.
379      PR 19242.  [David Deaves <David.Deaves dd.id.au>, William Rowe]
380
381   *) Update mime.types to include latest IANA and W3C types.  [Roy Fielding]
382
383   *) mod_ext_filter: Set additional environment variables for use by
384      the external filter.  PR 20944.  [Andrew Ho, Jeff Trawick]
385
386   *) Fix buildconf errors when libtool version changes.  [Jeff Trawick]
387
388   *) Remember an authenticated user during internal redirects if the
389      redirection target is not access protected and pass it
390      to scripts using the REDIRECT_REMOTE_USER environment variable.
391      PR 10678, 11602.  [André Malo]
392
393   *) mod_include: Fix a trio of bugs that would cause various unusual
394      sequences of parsed bytes to omit portions of the output stream.
395      PR 21095. [Ron Park <ronald.park cnet.com>, André Malo, Cliff Woolley]
396
397   *) Update the header token parsing code to allow LWS between the
398      token word and the ':' seperator.  [PR 16520]
399      [Kris Verbeeck <kris.verbeeck advalvas.be>, Nicel KM <mnicel yahoo.com>]
400
401   *) Eliminate creation of a temporary table in ap_get_mime_headers_core()
402      [Joe Schaefer <joe+gmane sunstarsys.com>]
403
404   *) Added FreeBSD directory layout. PR 21100.
405      [Sander Holthaus <info orangexl.com>, André Malo]
406
407   *) Fix NULL-pointer issue in ab when parsing an incomplete or non-HTTP
408      response. PR 21085. [Glenn Nielsen <glenn apache.org>, André Malo]
409
410   *) mod_rewrite: Perform child initialization on the rewrite log lock.
411      This fixes a log corruption issue when flock-based serialization
412      is used (e.g., FreeBSD).  [Jeff Trawick]
413
414   *) Don't respect the Server header field as set by modules and CGIs.
415      As with 1.3, for proxy requests any such field is from the origin
416      server; otherwise it will have our server info as controlled by
417      the ServerTokens directive.  [Jeff Trawick]
418
419 Changes with Apache 2.0.47
420
421   *) SECURITY [CAN-2003-0192]: Fixed a bug whereby certain sequences
422      of per-directory renegotiations and the SSLCipherSuite directive
423      being used to upgrade from a weak ciphersuite to a strong one
424      could result in the weak ciphersuite being used in place of the
425      strong one.  [Ben Laurie]
426
427   *) SECURITY [CAN-2003-0253]: Fixed a bug in prefork MPM causing
428      temporary denial of service when accept() on a rarely accessed port
429      returns certain errors.  Reported by Saheed Akhtar
430      <S.Akhtar talis.com>.  [Jeff Trawick]
431
432   *) SECURITY [CAN-2003-0254]: Fixed a bug in ftp proxy causing denial
433      of service when target host is IPv6 but proxy server can't create
434      IPv6 socket.  Fixed by the reporter.  [Yoshioka Tsuneo
435      <tsuneo.yoshioka f-secure.com>]
436
437   *) SECURITY [VU#379828] Prevent the server from crashing when entering
438      infinite loops. The new LimitInternalRecursion directive configures
439      limits of subsequent internal redirects and nested subrequests, after
440      which the request will be aborted.  PR 19753 (and probably others).
441      [William Rowe, Jeff Trawick, André Malo]
442
443   *) core_output_filter: don't split the brigade after a FLUSH bucket if
444      it's the last bucket.  This prevents creating unneccessary empty
445      brigades which may not be destroyed until the end of a keepalive
446      connection.
447      [Juan Rivera <Juan.Rivera citrix.com>]
448
449   *) Add support for "streamy" PROPFIND responses.
450      [Ben Collins-Sussman <sussman collab.net>]
451
452   *) mod_cgid: Eliminate a double-close of a socket.  This resolves
453      various operational problems in a threaded MPM, since on the
454      second attempt to close the socket, the same descriptor was
455      often already in use by another thread for another purpose.
456      [Jeff Trawick]
457
458   *) mod_negotiation: Introduce "prefer-language" environment variable,
459      which allows to influence the negotiation process on request basis
460      to prefer a certain language.  [André Malo]
461
462   *) Make mod_expires' ExpiresByType work properly, including for
463      dynamically-generated documents.  [Ken Coar, Bill Stoddard]
464
465 Changes with Apache 2.0.46
466
467   *) SECURITY [CAN-2003-0245]: Fixed a bug causing apr_pvsprintf() to crash 
468      by sending an overly long string.  This can be triggered remotely 
469      through mod_dav, mod_ssl, and other mechanisms.  Reported by David
470      Endler <DEndler iDefense.com>.
471      [Joe Orton <jorton redhat.com>]
472
473   *) SECURITY [CAN-2003-0189]: Fixed a denial-of-service vulnerability
474      affecting basic authentication on Unix platforms related to
475      thread-safety in apr_password_validate().  The problem was reported
476      by John Hughes <john.hughes entegrity.com>.
477
478   *) Fix for mod_dav.  Call the 'can_be_activity' callback, if provided,
479      when a MKACTIVITY request comes in.
480      [Ben Collins-Sussman <sussman collab.net>]
481
482   *) Perform run-time query in apxs for apr and apr-util's includes.
483      [Justin Erenkrantz]
484
485   *) run libtool from the apr install directory (in case that is different
486      from the apache install directory) [Jeff Trawick]
487
488   *) configure.in: Play nice with libtool-1.5. [Wilfredo Sanchez]
489
490   *) If mod_mime_magic does not know the content-type, do not attempt to
491      guess.  PR 16908.  [Andrew Gapon <agapon telcordia.com>]
492
493   *) ssl session caching(shmht) : Fix a SEGV problem with SHMHT session
494      caching. PR 17864.
495      [Andreas Leimbacher <andreasl67 yahoo.de>, Madhusudan Mathihalli]
496
497   *) Add a delete flag to htpasswd.
498      [Thom May]
499
500   *) Fix mod_rewrite's handling of absolute URIs. The escaping routines
501      now work scheme dependent and the query string will only be
502      appended if supported by the particular scheme.  [André Malo]
503
504   *) Add another check for already compressed content in mod_deflate.
505      PR 19913. [Tsuyoshi SASAMOTO <nazonazo super.win.ne.jp>]
506
507   *) Fixes for VPATH builds; copying special.mk and any future .mk files 
508      from the source tree as well as the build tree (now creates a usable
509      configuration for apxs), and eliminated redundant -I'nclude paths.
510      [William Rowe]
511
512   *) Code fixes, constness corrections and ssl_toolkit_compat.h updates
513      for SSLC and OpenSSL toolkit compatibility.  Still work remains to
514      be done to cripple features based on the limitations of RSA's binary 
515      distribution of their SSL-C toolkit.
516      [William Rowe, Madhusudan Mathihalli, Jeff Trawick]
517
518   *) Linux 2.4+: If Apache is started as root and you code 
519      CoreDumpDirectory, coredumps are enabled via the prctl() syscall.
520      [Greg Ames]
521
522   *) ap_get_mime_headers_core: allocate space for the trailing null
523      when folding is in effect.
524      PR 18170 [Peter Mayne <PeterMayne SPAM_SUX.ap.spherion.com>]
525
526   *) Fix --enable-mods-shared=most and other variants.  [Aaron Bannert]
527
528   *) mod_log_config: Add the ability to log the id of the thread 
529      processing the request via new %P formats.  [Jeff Trawick]
530
531   *) Use appropriate language codes for Czech (cs) and Traditional Chinese
532      (zh-tw) in default config files. PR 9427.  [André Malo]
533
534   *) mod_auth_ldap: Use generic whitespace character class when parsing
535      "require" directives, instead of literal spaces only. PR 17135.
536      [André Malo]
537
538   *) Hook mod_rewrite's type checker before mod_mime's one. That way the
539      RewriteRule [T=...] Flag should work as expected now. PR 19626.
540      [André Malo]
541
542   *) htpasswd: Check the processed file on validity. If a line is not empty
543      and not a comment, it must contain at least one colon. Otherwise exit
544      with error code 7. [Kris Verbeeck <Kris.Verbeeck ubizen.com>, Thom May]
545
546   *) Fix a problem that caused httpd to be linked with incorrect flags
547      on some platforms when mod_so was enabled by default, breaking 
548      DSOs on AIX.  PR 19012  [Jeff Trawick]
549
550   *) By default, use the same CC and CPP with which APR was built.
551      The user can override with CC and CPP environment variables.
552      [Jeff Trawick]
553
554   *) Fix ap_construct_url() so that it surrounds IPv6 literal address
555      strings with [].  This fixes certain types of redirection.
556      PR 19207.  [Jeff Trawick]
557
558   *) forward port of buffer overflow fixes for htdigest. [Thom May]
559
560   *) Added AllowEncodedSlashes directive to permit control of whether
561      the server will accept encoded slashes ('%2f') in the URI path.
562      Default condition is off (the historical behaviour).  This permits
563      environments in which the path-info needs to contain encoded
564      slashes.  PR 543, 2389, 3581, 3589, 5687, 7066, 7865, 14639.  [Ken Coar]
565
566   *) When using Redirect in directory context, append requested query
567      string if there's no one supplied by configuration. PR 10961.
568      [André Malo]
569
570   *) Unescape the supplied wildcard pattern in mod_autoindex. Otherwise
571      the pattern will not always match as desired. PR 12596.
572      [André Malo]
573
574   *) mod_autoindex now emits and accepts modern query string parameter
575      delimiters (;). Thus column headers no longer contain unescaped
576      ampersands. PR 10880  [André Malo]
577
578   *) Enable ap_sock_disable_nagle for Windows. This along with the 
579      addition of APR_TCP_NODELAY_INHERITED to apr.hw will cause Nagle 
580      to be disabled for Windows. [Allan Edwards]
581
582   *) Correct a mis-correlation between mpm_common.c and mpm_common.h;
583      This patch reverts us to pre-2.0.46 behavior, using the 
584      ap_sock_disable_nagle noop macro, because ap_sock_disable_nagle 
585      was never compiled on Win32. [Allan Edwards, William Rowe]
586
587   *) Fix a build problem with passing unsupported --enable-layout
588      args to apr and apr-util.  This broke binbuild.sh as well as
589      user-specified layout parameters.  PR 18649 [Justin Erenkrantz,
590      Jeff Trawick]
591
592   *) If a Date response header was already set in the headers array,
593      this value was ignored in favour of the current time. This meant
594      that Date headers on proxied requests where rewritten when they
595      should not have been. PR: 14376 [Graham Leggett]
596
597   *) Add code to buildconf that produces an httpd.spec file from
598      httpd.spec.in, using build/get-version.sh from APR.
599      [Graham Leggett]
600
601   *) Fixed a segfault when multiple ProxyBlock directives were used.
602      PR: 19023 [Sami Tikka <sami.tikka f-secure.com>]
603
604   *) SECURITY [CAN-2003-0134] OS2: Fix a Denial of Service vulnerability 
605      identified and reported by Robert Howard <rihoward rawbw.com> that 
606      where device names faulted the running OS2 worker process.
607      The fix is actually in APR 0.9.4.  [Brian Havard]
608
609   *) Forward port: Escape special characters (especially control
610      characters) in mod_log_config to make a clear distinction between
611      client-supplied strings (with special characters) and server-side
612      strings. This was already introduced in version 1.3.25.
613      [André Malo]
614
615   *) mod_deflate: Check also err_headers_out for an already set
616      Content-Encoding: gzip header. This prevents gzip compressed content
617      from a CGI script from being compressed once more. PR 17797.
618      [André Malo]
619
620 Changes with Apache 2.0.45
621
622   *) Fix possible segfaults under obscure error conditions within the
623      cgid daemon.  [Jeff Trawick, William Rowe]
624
625   *) SECURITY [CAN-2003-0132]: Close a Denial of Service vulnerability
626      identified by David Endler <DEndler iDefense.com> on all platforms.
627      An unlimited stream of newlines were acceptable between requests
628      where each <lf> would allocate an 80 byte buffer, leading very
629      quickly to memory exahustion.  [Brian Pane]
630
631   *) Added an rpm build script.
632      [Graham Leggett, Joe Orton <jorton redhat.com>]
633
634   *) Simpler, faster code path for request header scanning  [Brian Pane]
635
636   *) SECURITY:  Eliminated leaks of several file descriptors to child
637      processes, such as CGI scripts.  This fix depends on the APR library 
638      release 0.9.2 or later (0.9.3 was distributed with the httpd 
639      source tarball for Apache 2.0.45.)  PR 17206
640      [Christian Kratzer <ck cksoft.de>, Bjoern A. Zeeb <bz zabbadoz.net>]
641
642   *) Fix path handling of mod_rewrite, especially on non-unix systems.
643      There was some confusion between local paths and URL paths.
644      PR 12902.  [André Malo]
645
646   *) Prevent endless loops of internal redirects in mod_rewrite by
647      aborting after exceeding a limit of internal redirects. The
648      limit defaults to 10 and can be changed using the RewriteOptions
649      directive. PR 17462.  [André Malo]
650
651   *) Win32: Avoid busy wait (consuming all the CPU idle cycles) when
652      all worker threads are busy. 
653      [Igor Nazarenko <igor_nazarenko hotmail.com>]
654
655   *) Keep the subrequest filter in place when a subrequest is 
656      redirected.  PR 15423.  [Jeff Trawick]
657
658   *) you can now specify the compression level for mod_deflate. 
659      [Ian Holsman, Stephen Pierzchala <stephen pierzchala.com>, 
660      Michael Schroepl <Michael.Schroepl telekurs.de>]
661
662   *) mod_deflate: Extend the DeflateFilterNote directive to
663      allow accurate logging of the filter's in- and outstream.
664      [André Malo]
665
666   *) Allow SSLMutex to select/use the full range of APR locking
667      mechanisms available to it. Also, fix the bug that SSLMutex uses
668      APR_LOCK_DEFAULT no matter what.  PR 8122  [Jim Jagielski,
669      Martin Kutschker <martin.t.kutschker blackbox.net>]
670
671   *) Restore the ability of htdigest.exe to create files that contain
672      more than one user. PR 12910.  [André Malo]
673
674   *) Improve binary compatibility of the core between debug (aka
675      maintainer-mode) and a non-debug compile.
676      [Sander Striker]
677
678   *) mod_usertrack: don't set the cookie in subrequests. This works
679      around the problem that cookies were set twice during fast internal
680      redirects. PR 13211.  [André Malo]
681
682   *) mod_autoindex no longer forgets output format and enabled version
683      sort in linked column headers.  [André Malo]
684
685   *) Use .sv instead of .se as extension for Swedish documents in the
686      default configuration. PR 12877.  [André Malo]
687
688   *) Updated mod_ldap and mod_auth_ldap to support the Novell LDAP SDK SSL
689      and standardized the LDAP SSL support across the various LDAP SDKs.  
690      Isolated the SSL functionality to mod_ldap rather than speading it 
691      across mod_auth_ldap and mod_ldap.  Also added LDAPTrustedCA
692      and LDAPTrustedCAType directives to mod_ldap to allow for a more 
693      common method of specifying the SSL certificate.
694      [Dave Ward, Brad Nicholes]
695
696   *) Fixed mod_ssl's SSLCertificateChain initialization to no longer 
697      skip the first cert of the chain by default.  This misbehavior 
698      was introduced in 2.0.34.  PR 14560  [Madhusudan Mathihalli]
699
700   *) mod_cgi, mod_cgid, mod_ext_filter: Log errors when scripts cannot
701      be started on Unix because of such problems as bad permissions,
702      bad shebang line, etc.  [Jeff Trawick]
703
704   *) Fix 64-bit problem in mod_ssl input logic.  
705      [Madhusudan Mathihalli <madhusudan_mathihalli hp.com>]
706
707   *) Fix potential memory leaks in mod_deflate on malformed data.  PR 16046.
708      [Justin Erenkrantz]
709
710   *) Rewrite ap_xml_parse_input to use bucket brigades.  PR 16134.
711      [Justin Erenkrantz]
712
713   *) Fix segfault which occurred when a section in an included
714      configuration file was not closed. PR 17093.  [André Malo]
715
716   *) Enhance the behavior of mod_isapi's WriteClient() callback to
717      provide better emulation for isapi modules that presume that the
718      first WriteClient() call may send status and headers.  An example
719      of WriteClient() abuse is the foxisapi module, which relies on
720      that assumpion and now works.  [William Rowe, Milan Kosina]
721
722   *) Check the return value of ap_run_pre_connection(). So if the
723      pre_connection phase fails (without setting c->aborted)
724      ap_run_process_connection is not executed. [Stas Bekman]
725
726   *) Fixed a problem with mod_ldap which caused it to fault when caching
727      was disabled.  Needed to make sure that the code did not
728      attempt to use the cache if it didn't exist. Also fixed some memory
729      leaks which were due to not releasing LDAP resources on error
730      conditions.  [Brad Nicholes]
731      
732   *) Hook mod_proxy's fixup before mod_rewrite's fixup, so that by
733      mod_rewrite proxied URLs will not be escaped accidentally by
734      mod_proxy's fixup. PR 16368  [André Malo]
735
736   *) While processing filters on internal redirects, remember seen EOS
737      buckets also in the request structure of the redirect issuer(s). This
738      prevents filters (such as mod_deflate) from adding garbage to the
739      response. PR 14451.  [André Malo]
740
741   *) suexec: Be more pedantic when cleaning environment. Clean it
742      immediately after startup. PR 2790, 10449.
743      [Jeff Stewart <jws purdue.edu>, André Malo]
744
745   *) Fix apxs to insert LoadModule directives only outside of sections.
746      PR 8712, 9012.  [André Malo]
747
748   *) Fix suexec compile error under SUNOS4, where strerror() doesn't
749      exist. PR 5913, 9977.
750      [Jonathan W Miner <Jonathan.W.Miner lmco.com>]
751
752   *) Fix If header parsing when a non-mod_dav lock token is passed to it.
753      PR 16452.  [Justin Erenkrantz]
754
755   *) mod_auth_digest no longer tries to guess AuthDigestDomain, if it's
756      not specified. Now it assumes "/" as already documented. PR 16937.
757      [André Malo]
758
759   *) Try to log an error if a piped log program fails.  Try to
760      restart a piped log program in more failure situations.  Fix an
761      existing problem with error handling in piped_log_spawn().  Use
762      new APR apr_proc_create() features to prevent Apache from starting
763      on Unix* in most cases where a piped log program can be started,
764      and add log messages for the other situations.  *Other platforms
765      already failed Apache initialization if a piped log program
766      couldn't be started.  PR 15761  [Jeff Trawick]
767
768   *) Fix mod_cern_meta to not create empty metafiles when the
769      metafile searched for does not exist.  PR 12353
770      [Owen Rees <owen_rees hp.com>]
771
772   *) Introduce debugging symbols for Win32 release builds, both .pdb 
773      and .dbg files (older debuggers and Dr. Watson-type utilities 
774      on WinNT or Win9x don't support the newer .pdb flavor.)
775      [Allen Edwards, William Rowe]
776  
777   *) Fix bug where 'Satisfy Any' without an AuthType lost all MIME
778      information (and more). Related to PR 9076.  [André Malo]
779
780   *) mod_file_cache: fix segfault serving mmaped cached files.
781      [Bill Stoddard]
782
783   *) mod_file_cache: fixed a segfault when multiple MMapFile directives
784      were used.  PR 16313.  [Cliff Woolley]
785
786   *) Fix a nasty segfault in mmap_bucket_setaside() caused by passing
787      an incompatible pointer type to mmap_bucket_destroy(void*).
788      [Gerard Eviston <geviston bigpond.net.au>]
789
790   *) Enable the -n name parameter on NetWare to allow the
791      administrator to rename the Apache console screen
792      [Brad Nicholes]
793      
794   *) Fixed piped access logs on Win32 by disabling OTHER_CHILD
795      support by default in APR.  More development is required
796      to deploy OTHER_CHILD on Win32.  [William Rowe]
797
798   *) Use saner default config values for suexec. PR 15713.
799      [Thom May <thom planetarytramp.net>]
800
801   *) mod_rewrite: Allow "RewriteEngine Off" even if no "Options FollowSymlinks"
802      (or SymlinksIfOwnermatch) is set. PR 12395.  [André Malo]
803
804   *) apxs: Include any special APR ld flags when linking the DSO.
805      This resolves problems on AIX when building a DSO with apxs+gcc.
806      [Jeff Trawick]
807
808   *) Added character set support to mod_auth_LDAP to allow it to 
809      convert extended characters used in the user ID to UTF-8 
810      before authenticating against the LDAP directory. The new
811      directive AuthLDAPCharsetConfig is used to specify the config
812      file that contains the character set conversion table.
813      [Brad Nicholes]
814
815   *) Don't remove the Content-Length from responses in mod_proxy
816      PR: 8677 [Brian Pane]
817
818   *) Ensure LDAP version is set to v3 on every bind. PR 14235.
819      [Sergey A. Lipnevich <sergeyli pisem.net>]
820
821   *) Fix mod_ldap to open an existing shared memory file should one
822      already exist. PR 12757. [Scooter Morris <scooter gene.com>,
823      Graham Leggett]
824
825   *) Fix the ulimit command used by apachectl on Tru64.  PR 13609.
826      [Joseph Senulis <Joseph.Senulis dnr.state.wi.us>, Jeff Trawick]
827
828   *) Change the ulimit command used by apachectl on AIX so that it
829      works in all locales.  [Jeff Trawick]
830
831   *) mod_ext_filter: Fix a problem building argument lists which 
832      occasionally caused exec to fail.  PR 15491.  [Jeff Trawick]
833
834 Changes with Apache 2.0.44
835
836   *) mod_autoindex: Bring forward the IndexOptions IgnoreCase option
837      from Apache 1.3.  PR 14276
838      [David Shane Holden <dpejesh yahoo.com>, William Rowe]
839
840   *) mod_mime: Workaround to prevent a segfault if r->filename=NULL
841      [Brian Pane]
842  
843   *) Reorder the definitions for mod_ldap and mod_auth_ldap within
844      config.m4 to make sure the parent mod_ldap is defined first.
845      This ensures that mod_ldap comes before mod_auth_ldap in the
846      httpd.conf file, which is necessary for mod_auth_ldap to load.
847      PR 14256  [Graham Leggett]
848
849   *) Fix the building of cgi command lines when the query string
850      contains '='.  PR 13914  [Ville Skyttä <ville.skytta iki.fi>,
851      Jeff Trawick]
852
853   *) Rename CacheMaxStreamingBuffer to MCacheMaxStreamingBuffer. Move
854      implementation of MCacheMaxStreamingBuffer from mod_cache to
855      mod_mem_cache. MCacheMaxStreamingBuffer now defaults to the
856      lesser of 100,000 bytes or MCacheMaxCacheObjectSize. This should 
857      eliminate the need for explicitly coding MCacheMaxStreamingBuffer
858      in most configurations. [Bill Stoddard]
859
860   *) mod_cache: Fix PR 15113, a core dump in cache_in_filter when
861      a redirect occurs. The code was passing a format string and
862      integer to apr_pstrcat. Changed to apr_psprintf.
863      [Paul J. Reder]
864
865   *) Replace APU_HAS_LDAPSSL_CLIENT_INIT with APU_HAS_LDAP_NETSCAPE_SSL
866      as set by apr-util in util_ldap.c. This should allow mod_ldap
867      to work with the Netscape/Mozilla LDAP library. [Øyvin Sømme
868      <somme oslo.westerngeco.slb.com>, Graham Leggett]
869
870   *) Fix critical bug in new --enable-v4-mapped configure option
871      implementation which broke IPv4 listening sockets on some
872      systems.  [hiroyuki hanai <hanai imgsrc.co.jp>]
873
874   *) mod_setenvif: Fix BrowserMatchNoCase support for non-regex
875      patterns [André Malo <nd perlig.de>]
876
877   *) Add version string to provider API.  [Justin Erenkrantz]
878  
879   *) build: './configure && make' now works without an in-tree
880      apr and apr-util. [Wilfredo Sanchez]
881
882   *) mod_negotiation: Set the appropriate mime response headers
883      (Content-Type, charset, Content-Language and Content-Encoding)
884      for negotated type-map "Body:" responses (such as the error
885      pages.)  [André Malo <nd perlig.de>]
886
887   *) mod_log_config: Allow '%%' escaping in CustomLog format
888      strings to insert a literal, single '%'.
889      [André Malo <nd perlig.de>]
890
891   *) mod_autoindex: AddDescription directives for directories
892      now work as in Apache 1.3, where no trailing '/' is
893      specified on the directory name.  Previously, the trailing
894      '/' *had* to be specified, which was incompatible with
895      Apache 1.3.  PR 7990  [Jeff Trawick]
896
897   *) Fix for PR 14556. The expiry calculations in mod_cache were
898      trying to perform "now + ((date - lastmod) * factor)" where
899      date == lastmod resulting in "now + 0". The code now follows
900      the else path (using the default expiration) if date is
901      equal to lastmod. [Sergey <rx armstrike.com>, Paul J. Reder]
902
903   *) Use AP_DECLARE in the debug versions of ap_strXXX in case the
904      default calling convention is not the same as the one used by
905      AP_DECLARE.  [Juan Rivera <Juan.Rivera citrix.com>]
906
907   *) mod_cache: Don't cache response header fields designated
908      as hop-by-hop headers in HTTP/1.1 (RFC 2616 Section 13.5.1).
909      [Estrade Matthieu <estrade-m ifrance.com>, Brian Pane]
910
911   *) mod_cgid: Handle environment variables containing newlines.
912      PR 14550  [Piotr Czejkowski <apache czarny.eu.org>, Jeff
913      Trawick]
914
915   *) Move mod_ext_filter out of experimental and into filters.
916      [Jeff Trawick]
917
918   *) Fixed a memory leak in mod_deflate with dynamic content.
919      PR 14321  [Ken Franken <kfranken decisionmark.com>]
920
921   *) Add --[enable|disable]-v4-mapped configure option to control
922      whether or not Apache expects to handle IPv4 connections
923      on IPv6 listening sockets.  Either setting will work on 
924      systems with the IPV6_V6ONLY socket option.  --enable-v4-mapped
925      must be used on systems that always allow IPv4 connections on
926      IPv6 listening sockets.  PR 14037 (Bugzilla), PR 7492 (Gnats)
927      [Jeff Trawick]
928
929   *) This fixes a problem where the underlying cache code
930      indicated that there was one more element on the cache
931      than there actually was. This happened since element 0
932      exists but is not used. This code allocates the correct
933      number of useable elements and reports the number of
934      actually used elements. The previous code only allowed
935      MCacheMaxObjectCount-1 objects to be stored in the
936      cache. [Paul J. Reder]
937
938   *) mod_setenvif: Add SERVER_ADDR special keyword to allow
939      envariable setting according to the server IP address
940      which received the request.  [Ken Coar]
941
942   *) mod_cgid: Terminate CGI scripts when the client connection 
943      drops.  PR 8388  [Jeff Trawick]
944
945   *) Rearrange OpenSSL engine initialization to support RAND 
946      redirection on crypto accelerator. 
947      [Frederic DONNAT <frederic.donnat zencod.com>]
948
949   *) Always emit Vary header if mod_deflate is involved in the
950      request.  [Andre Malo <nd perlig.de>]
951
952   *) mod_isapi: Stop unsetting the 'empty' query string result with
953      a NULL argument in ecb->lpszQueryString, eliminating segfaults
954      for some ISAPI modules.  PR 14399
955      [Detlev Vendt <detlev.vendt brillit.de>]
956
957   *) mod_isapi: Fix an issue where the HSE_REQ_DONE_WITH_SESSION
958      notification is received before the HttpExtensionProc() returns 
959      HSE_STATUS_PENDING.  This only affected isapi .dll's configured 
960      with the ISAPIFakeAsync on directive.  PR 11918
961      [John DeSetto <jdesetto radiantsystems.com>, William Rowe]
962
963   *) mod_isapi: Fix the issue where all results from mod_isapi would
964      run through the core die handler resulting in invalid responses
965      or access log entries.  PR 10216 [William Rowe]
966
967   *) Improves the user friendliness of the CacheRoot processing
968      over my last pass. This version avoids the pool allocations
969      but doesn't avoid all of the runtime checks. It no longer
970      terminates during post-config processing. An error is logged
971      once per worker, indicating that the CacheRoot needs to be set.
972      [Paul J. Reder]
973
974   *) Fix a bug where we keep files open until the end of a 
975      keepalive connection, which can result in:
976      (24)Too many open files: file permissions deny server access
977      especially on threaded servers.  [Greg Ames, Jeff Trawick]
978
979   *) Fix a bug in which mod_proxy sent an invalid Content-Length
980      when a proxied URL was invoked as a server-side include within
981      a page generated in response to a form POST.  [Brian Pane]
982
983   *) Added code to process min and max file size directives and to
984      init the expirychk flag in mod_disk_cache. Added a clarifying
985      comment to cache_util.   [Paul J. Reder]
986
987   *) The value emitted by ServerSignature now mimics the Server HTTP
988      header as controlled by ServerTokens.  [Francis Daly <deva daoine.org>]
989
990   *) Gracefully handly retry situations in the SSL input filter,
991      by following the SSL libraries' retry semantics.
992      [William Rowe]
993
994   *) Terminate CGI scripts when the client connection drops.  This
995      fix only applies to some normal paths in mod_cgi.  mod_cgid
996      is still busted.  PR 8388  [Jeff Trawick]
997
998   *) Fix a bug where 416 "Range not satisfiable" was being
999      returned for content that should have been redirected.
1000      [Greg Ames]
1001
1002   *) Fix memory leak in mod_ssl from internal SSL library allocations
1003      within SSL_get_peer_certificate and X509_get_pubkey.
1004      [Zvi Har'El <rl math.technion.ac.il>
1005       Madhusudan Mathihalli <madhusudan_mathihalli hp.com>].
1006
1007   *) mod_ssl uses free() inappropriately in several places, to free
1008      memory which has been previously allocated inside OpenSSL.
1009      Such memory should be freed with OPENSSL_free(), not with free().
1010      [Nadav Har'El <nyh math.technion.ac.il>,
1011       Madhusudan Mathihalli <madhusudan_mathihalli hp.com>].
1012
1013   *) Emit a message to the error log when we return 404 because
1014      the URI contained '%2f'.  (This was previously nastily silent
1015      and difficult to debug.)  [Ken Coar]
1016
1017   *) Fix streaming output from an nph- CGI script.  CGI:IRC now
1018      works.  PR 8482  [Jeff Trawick]
1019
1020   *) More accurate logging of bytes sent in mod_logio when
1021      the client terminates the connection before the response
1022      is completely sent  [Bojan Smojver <bojan rexursive.com>]
1023
1024   *) Fix some problems in the perchild MPM.  
1025      [Jonas Eriksson <jonas webkonsulterna.com>]
1026
1027   *) Change the CacheRoot processing to check for a required
1028      value at config time. This saves a lot of wasted processing
1029      if the mod_disk_cache module is loaded but no CacheRoot
1030      was provided. This fix also adds code to log an error
1031      and avoid useless pallocs and procesing when the computed
1032      cache file name cannot be opened. This also updates the
1033      docs accordingly.  [Paul J. Reder]
1034
1035   *) Introduce the EnableSendfile directive, allowing users of NFS 
1036      shares to disable sendfile mechanics when they either fail
1037      outright or provide intermitantly corrupted data.  PR 
1038      [William Rowe]
1039
1040   *) Resolve the error "An operation was attempted on something 
1041      that is not a socket.  : winnt_accept: AcceptEx failed. 
1042      Attempting to recover." for users of various firewall and
1043      anti-virus software on Windows.  PR 8325  [William Rowe]
1044
1045   *) Add the ProxyBadHeader directive, which gives the admin some
1046      control on how mod_proxy should handle bogus HTTP headers from
1047      proxied servers. This allows 2.0 to "emulate" 1.3's behavior if
1048      desired. [Jim Jagielski]
1049
1050   *) Change the LDAP modules to export their symbols correctly
1051      during a Windows build. Add dsp files for Windows. Update
1052      README.ldap file for Windows build instructions.
1053      [Andre Schild <A.Schild aarboard.ch>]
1054
1055   *) Performance improvements for the code that generates HTTP
1056      response headers  [Brian Pane]
1057
1058   *) Add -S as a synonym for -t -DDUMP_VHOSTS.
1059      [Thom May <thom planetarytramp.net>]
1060
1061   *) Fix a bug with dbm rewrite maps which caused the wrong value to
1062      be used when the key was not found in the dbm.  PR 13204
1063      [Jeff Trawick]
1064
1065   *) Fix a problem with streaming script output and mod_cgid.
1066      [Jeff Trawick]
1067
1068   *) Add ap_register_provider/ap_lookup_provider API.
1069      [John K. Sterling <john sterls.com>, Justin Erenkrantz]
1070
1071 Changes with Apache 2.0.43
1072
1073   *) SECURITY [CAN-2002-0840]: HTML-escape the address produced by 
1074      ap_server_signature() against this cross-site scripting 
1075      vulnerability exposed by the directive 'UseCanonicalName Off'.  
1076      Also HTML-escape the SERVER_NAME environment variable for CGI 
1077      and SSI requests.  It's safe to escape as only the '<', '>', 
1078      and '&' characters are affected, which won't appear in a valid 
1079      hostname.  Reported by Matthew Murphy <mattmurphy kc.rr.com>.
1080      [Brian Pane]
1081
1082   *) Fix a core dump in mod_cache when it attemtped to store uncopyable
1083      buckets. This happened, for instance, when a file to be cached
1084      contained SSI tags to execute a CGI script (passed as a pipe
1085      bucket). [Paul J. Reder]
1086
1087   *) Ensure that output already available is flushed to the network
1088      when the content-length filter realizes that no new output will
1089      be available for a while.  This helps some streaming CGIs as
1090      well as some other dynamically-generated content.  [Jeff Trawick]
1091
1092   *) Fix a mutex problem in mod_ssl session cache support which
1093      could lead to an infinite loop.  PR 12705  
1094      [Amund Elstad <amund.elstad ergo.no>, Jeff Trawick]
1095
1096   *) SECURITY [CAN-2002-1156] (cve.mitre.org):
1097      Fix the exposure of CGI source when a POST request is sent to 
1098      a location where both DAV and CGI are enabled. [Ryan Bloom]
1099
1100   *) Allow the UserDir directive to accept a list of directories.
1101      This matches what Apache 1.3 does.  Also add documentation for
1102      this feature. [Jay Ball <jay veggiespam.com>]
1103
1104   *) New Module: mod_logio. adds the ability to log bytes sent and
1105      received. [Bojan Smojver <bojan rexursive.com>]
1106
1107   *) SuExec needs to use the same default directory as the rest of
1108      server, namely /usr/local/apache2.  
1109      [SangBeom han <sbhan os.korea.ac.kr>]
1110
1111   *) Get mod_auth_ldap to retry connections on LDAP_SERVER_DOWN.
1112      [Thomas Bennett <thomas.bennett eds.com>, Graham Leggett]
1113
1114   *) Make sure the contents of the WWW-Authenticate header is
1115      passed on a 4xx error by proxy. Previously all headers
1116      were dropped, resulting in the browser being unable to
1117      authenticate. [Dr Richard Reiner <rreiner fscinternet.com>,
1118      Richard Danielli <rdanielli fscinternet.com>, Graham Wiseman
1119      <gwiseman fscinternet.com>, David Henderson
1120      <dhenderson fscinternet.com>]
1121
1122   *) Make mod_cache's CacheMaxStreamingBuffer directive work
1123      properly for virtual hosts that override server-wide mod_cache
1124      setttings.  [Matthieu Estrade <estrade-m ifrance.com>]
1125
1126   *) Add -p option to apxs to allow programs to be compiled with apxs.
1127      [Justin Erenkrantz]
1128
1129 Changes with Apache 2.0.42
1130
1131   *) mod_dav: Check for versioning hooks before using them.
1132      [Greg Stein]
1133
1134 Changes with Apache 2.0.41
1135
1136   *) The protocol version (eg: HTTP/1.1) in the request line parsing
1137      is now case insensitive. [Jim Jagielski]
1138
1139   *) Allow AddOutputFilterByType to add multiple filters per directive.
1140      [Justin Erenkrantz]
1141
1142   *) Remove warnings with Sun's Forte compiler.  [Justin Erenkrantz]
1143
1144   *) Fixed mod_disk_cache's generation of 304s
1145      [Kris Verbeeck <Kris.Verbeeck ubizen.com>]
1146
1147   *) Add support for using fnmatch patterns in the final path
1148      segment of an Include statement (eg.. include /foo/bar/*.conf).
1149      and remove the noise on stderr during config dir processing.
1150      [Joe Orton <jorton redhat.com>]
1151
1152   *) mod_cache: cache_storage.c. Add the hostname and any request
1153      args to the key generated for caching. This provides a unique
1154      key for each virtual host and for each request with unique
1155      args. [Paul J. Reder, args code provided by Kris Verbeeck]
1156
1157   *) mod_cache: Do not cache responses to GET requests with query
1158      URLs if the origin server does not explicitly provide an
1159      Expires header on the response (RFC 2616 Section 13.9)
1160      [Kris Verbeeck <krisv be.ubizen.com>]
1161
1162   *) Fix memory leak in core_output_filter.  [Justin Erenkrantz]
1163
1164   *) Update OpenSSL detection to work on Darwin.
1165      [Sander Temme <sctemme covalent.net>]
1166
1167   *) Update the xslt and css to give the documentation a more
1168      modern style.
1169      [André Malo <nd perlig.de>, Gernot Winkler <greh o3media.de>]
1170
1171   *) Fix some bucket memory leaks in the chunking code
1172      [Joe Schaefer <joe+apache sunstarsys.com>]
1173
1174   *) Add ModMimeUsePathInfo directive.  [Justin Erenkrantz]
1175
1176   *) mod_cache: added support for caching streamed responses (proxy,
1177      CGI, etc) with optional CacheMaxStreamingBuffer setting [Brian Pane]
1178
1179   *) Add image/x-icon to httpd.conf PR 10993.
1180      [Ian Holsman, Peter Bieringer <pb bieringer.de>]
1181
1182   *) Fix FileETags none operation.  PR 12207.
1183      [Justin Erenkrantz, Andrew Ho <andrew tellme.com>]
1184
1185   *) Restored the experimental leader/followers MPM to working
1186      condition and converted its thread synchronization from
1187      mutexes to atomic CAS.  [Brian Pane]
1188
1189   *) Fix Logic on non-html file removal in mod_deflate
1190      [Kris Verbeeck <Kris.Verbeeck ubizen.com>]
1191
1192   *) Fix "ab -g"'s truncated year: the last digit was cut off.
1193      [Leon Brocard <acme astray.com>]
1194
1195   *) mod_rewrite can now sets cookies in err_headers, uses the correct
1196      expiry date, and can now set the path as well
1197      PR 12132,12181,12172.
1198      [Ian Holsman / Rob Cromwell <apachechangelog robcromwell.com>]
1199
1200   *) The content-length filter no longer tries to buffer up
1201      the entire output of a long-running request before sending
1202      anything to the client.  [Brian Pane]
1203
1204   *) Win32: Lower the default stack size from 1MB to 256K. This will
1205      allow around 8000 threads to be started per child process. 
1206      'EDITBIN /STACK:size apache.exe' can be used to change this 
1207      value directly in the apache.exe executable.
1208      [Bill Stoddard]
1209
1210   *) Win32: Implement ThreadLimit directive in the Windows MPM.
1211      [Bill Stoddard]
1212
1213   *) Remove CacheOn config directive since it is set but never checked.
1214      No sense wasting cycles on unused code. Besides, the only truly
1215      bug free code is deleted code. :)   [Paul J. Reder]
1216
1217   *) BufferLogs are now run-time enabled, and the log_config now has 2 new
1218      callbacks to allow a 3rd party module to actually do the writing of the
1219      log file [Ian Holsman]
1220
1221   *) Correct ISAPIReadAheadBuffer to default to 49152, per mod_isapi docs.
1222      [André Malo, Astrid Keßler <kess kess-net.de>]
1223
1224   *) Fix Segfault in mod_cache. [Kris Verbeeck <Kris.Verbeeck ubizen.com>]
1225
1226   *) Fix a null pointer dereference in the merge_env_dir_configs
1227      function of the mod_env module. PR 11791
1228      [Paul J. Reder]
1229
1230   *) New option to ServerTokens 'maj[or]'. Only show the major version
1231      Also Surfaced this directive in the standard config (default FULL)
1232      [Ian Holsman]
1233
1234   *) Change mod_rewrite to use apr-util's dbm support for dbm rewrite
1235      maps.  The dbm type (e.g., ndbm, gdbm) can be specified on the
1236      RewriteMap directive.  PR 10644  [Jeff Trawick]
1237
1238   *) Fixed mod_rewrite's RewriteMap prg: support so that request/response
1239      pairs will no longer get out of sync with each other.  PR 9534
1240      [Cliff Woolley]
1241
1242   *) Fixes required to get quoted and escaped command args working in
1243      mod_ext_filter. PR 11793 [Paul J. Reder]
1244
1245   *) mod-proxy: handle proxied responses with no status lines
1246      [JD Silvester <jsilves uwo.ca>, Brett Huttley <brett huttley.net>]
1247
1248   *) Fix bug where environment or command line arguments containing 
1249      non-ASCII-7 characters would cause the Win32 child process creation
1250      to fail.  PR 11854  [William Rowe]
1251
1252   *) Bug #11213.. make module loading error messages more informative 
1253      [Ian Darwin <Ian779 darwinsys.com>]
1254
1255   *) thread safety & proxy-ftp [Alexey Panchenko <alexey liwest.ru>, Ian Holsman]
1256
1257   *) mod_disk_cache works much better. This module should still
1258      be considered experimental. [Eric Prud'hommeaux]
1259
1260   *) Performance improvement for keepalive requests: when setting
1261      aside a small file for potential concatenation with the next
1262      response on the connection, set aside the file descriptor rather
1263      than copying the file into the heap.  [Brian Pane]
1264
1265   *) Modified version check on openssl so that it finds the executable
1266      first and then performs a check of the version, only warning the
1267      user if they chose, or we selected, an old version of OpenSSL.
1268      This change also allows the code to work for non-openssl libraries
1269      selected via the --with-ssl=dir option, which can override the
1270      automated library check in any case.  [Roy Fielding]
1271
1272 Changes with Apache 2.0.40
1273
1274   *) SECURITY [CAN-2002-0661] (cve.mitre.org): 
1275      Close a very significant security hole that 
1276      applies only to the Win32, OS2 and Netware platforms.  Unix was not 
1277      affected, Cygwin may be affected.  Certain URIs will bypass security
1278      and allow users to invoke or access any file depending on the system 
1279      configuration.  Without upgrading, a single .conf change will close 
1280      the vulnerability.  Add the following directive in the global server
1281      httpd.conf context before any other Alias or Redirect directives;
1282          RedirectMatch 400 "\\\.\."
1283      Reported by Auriemma Luigi <bugtest sitoverde.com>.
1284      [Brad Nicholes]
1285
1286   *) SECURITY [CAN-2002-0654] (cve.mitre.org):
1287      Close a path-revealing exposure in multiview type
1288      map negotiation (such as the default error documents) where the
1289      module would report the full path of the typemapped .var file when
1290      multiple documents or no documents could be served based on the mime
1291      negotiation.  Reported by Auriemma Luigi <bugtest sitoverde.com>.
1292      [William Rowe]
1293
1294   *) SECURITY [CAN-2002-0654] (cve.mitre.org):
1295      Close a path-revealing exposure in cgi/cgid when we 
1296      fail to invoke a script.  The modules would report "couldn't create 
1297      child process /path-to-script/script.pl" revealing the full path
1298      of the script.  Reported by Jim Race <jrace qualys.com>.
1299      [Bill Stoddard]
1300
1301   *) Set aside the apr-iconv and apr_xlate() features for the Win32
1302      build of 2.0.40 so development can be completed.  A patch, from
1303      <http://www.apache.org/dist/httpd/patches/apply_to_2.0.40/>
1304      will be available for those that wish to work with apr-iconv.
1305      [William Rowe]
1306
1307   *) Fix proxy so that it is possible to access ftp: URLs via a proxy
1308      chain. [Peter Van Biesen <peter.vanbiesen vlafo.be>]
1309
1310   *) mod-deflate now checks to make sure that 'gzip-only-text/html' is
1311      set to 1, so we can exclude things from the general case with
1312      browsermatch. [Ian Holsman, Andre Schild <A.Schild aarboard.ch>]
1313   
1314   *) Accept multiple leading /'s for requests within the DocumentRoot.
1315      PR 10946  [William Rowe, David Shane Holden <dpejesh yahoo.com>]
1316
1317   *) Solved the reports of .pdf byterange failures on Win32 alone.
1318      APR's sendfile for the win32 platform collapses header and trailer
1319      buffers into a single buffer.  However, we destroyed the pointers
1320      to the header buffer if a trailer buffer was present.  PR 10781
1321      [William Rowe]
1322
1323   *) mod_ext_filter: Add the ability to enable or disable a filter via
1324      an environment variable.  Add the ability to register a filter of
1325      type other than AP_FTYPE_RESOURCE.  [Jeff Trawick]
1326
1327   *) Restore the ability to specify host names on Listen directives.
1328      PR 11030.  [Jeff Trawick, David Shane Holden <dpejesh yahoo.com>]
1329
1330   *) When deciding on the default address family for listening sockets, 
1331      make sure we can actually bind to an AF_INET6 socket before
1332      deciding that we should default to AF_INET6.  This fixes a startup
1333      problem on certain levels of OpenUNIX.  PR 10235.  [Jeff Trawick]
1334
1335   *) Replace usage of atol() to parse strings when we might want a
1336      larger-than-long value with apr_atoll(), which returns long long.
1337      This allows HTTPD to deal with larger files correctly.
1338      [Shantonu Sen <ssen apple.com>]
1339
1340   *) mod_ext_filter: Ignore any content-type parameters when checking if
1341      the response should be filtered.  Previously, "intype=text/html"
1342      wouldn't match something like "text/html;charset=8859_1".
1343      [Jeff Trawick]
1344
1345   *) mod_ext_filter: Set up environment variables for external programs.
1346      [Craig Sebenik <craig netapp.com>]
1347
1348   *) Modified the HTTP_IN filter to immediately append the EOS (end of
1349      stream) bucket for C-L POST bodies, saving a roundtrip and allowing
1350      the caller to determine that no content remains without prefetching
1351      additional POST body.  [William Rowe]
1352
1353   *) Get proxy ftp to work over IPv6.  [Shoichi Sakane <sakane kame.net>]
1354
1355   *) Look for OpenSSL libraries in /usr/lib64.  [Peter Poeml <poeml suse.de>]
1356
1357   *) Update SuSE layout.  [Peter Poeml <poeml suse.de>]
1358
1359   *) Changes to the internationalized error documents:
1360      Comment them out in the default config file to make the default
1361      install as simple as possible; Correct the english 500 error to
1362      be more understandable; Add a Swedish translation.
1363      [Thomas Sjogren <thomas northernsecurity.net>, 
1364       Erik Abele <erik codefaktor.de>, Rich Bowen, Joshua Slive]
1365      
1366   *) Increase the limit on file descriptors per process in apachectl.
1367      [Brian Pane]
1368
1369   *) Fix a dependency error when building ApacheMonitor, so that Win32
1370      and MSVC now trust that the project is current (when it is).
1371      [James Cox <imajes php.net>]
1372
1373   *) mod_ext_filter: don't segfault if content-type is not set.  PR 10617.
1374      [Arthur P. Smith <apsmith aps.org>, Jeff Trawick]
1375
1376   *) APR-Util Renames pending have been completed [Thom May]
1377
1378   *) Performance improvements for the code that reads request
1379      headers (ap_rgetline_core() and related functions)  [Brian Pane]
1380
1381   *) Add a new directive: MaxMemFree.  MaxMemFree makes it possible
1382      to configure the maximum amount of memory the allocators will
1383      hold on to for reuse.  Anything over the MaxMemFree threshold
1384      will be free()d.  This directive is useful when uncommon large
1385      peaks occur in memory usage.  It should _not_ be used to mask
1386      defective modules' memory use.  [Sander Striker]
1387
1388   *) Fixed the Content-Length filter so that HTTP/1.0 requests to CGI
1389      scripts would not result in a truncated response.
1390      [Ryan Bloom, Justin Erenkrantz, Cliff Woolley]
1391
1392   *) Add a filter_init parameter to the filter registration functions
1393      so that a filter can execute arbitrary code before the handlers
1394      are invoked.  This resolves a problem where mod_include requests
1395      would incorrectly return a 304.  [Justin Erenkrantz]
1396
1397   *) Fix a long-standing bug in 2.0, CGI scripts were being called
1398      with relative paths instead of absolute paths.  Apache 1.3 used
1399      absolute paths for everything except for SuExec, this brings back
1400      that standard.  [Ryan Bloom]
1401
1402   *) Fix infinite loop due to two HTTP_IN filters being present for
1403      internally redirected requests.  PR 10146.  [Justin Erenkrantz]
1404
1405   *) Switch conn_rec->keepalive to an enumeration rather than a bitfield.
1406      [Justin Erenkrantz]
1407
1408   *) Fix mod_ext_filter to look in the main server for filter definitions
1409      when running in a vhost if the filter definition is not found in
1410      the vhost.  PR 10147  [Jeff Trawick]
1411
1412   *) Support WinNT CGI invocation through ScriptInterpreterSource 
1413      'registry' for script interpreter paths and names with non-ascii
1414      characters in the executable filepath.  [William Rowe]
1415
1416   *) Support the -w flag on to keep the Win32 console open on error.
1417      [William Rowe]
1418
1419   *) Normalize the hostname value in the request_rec to all-lowercase
1420      [Perry Harrington <pedward webcom.com>]
1421
1422   *) Fix WinNT cgi 500 errors when QUERY_ARGS or other strings include
1423      extended characters (non US-ASCII) in non-utf8 format.  This brings
1424      Win32 back into CGI/1.1 compliance, and leaves charset decoding up
1425      to the cgi application itself.  [William Rowe]
1426
1427   *) Major overhaul of mod_dav, mod_dav_fs and the experimental/cache
1428      modules to bring them up to the current apr/apr-util APIs.
1429      [William Rowe]
1430
1431   *) Fix segfault in mod_mem_cache most frequently observed when
1432      serving the same file to multiple clients on an MP machine.
1433      [Bill Stoddard]
1434
1435   *) mod_rewrite can now set cookies  (RewriteRule (.*) - [CO=name:$1:.domain])
1436      [Brian Degenhardt <bmd mp3.com>, Ian Holsman]
1437
1438   *) Fix perchild to work with apachectl by adding -k support to perchild.
1439      PR 10074  [Jeff Trawick]
1440
1441   *) Fix a silly htpasswd.c logic error that incorrectly reported that
1442      both -c and -n had been used.  PR 9989  [Cliff Woolley]
1443
1444   *) Fixed a mod_include error case in which no HTTP response was sent
1445      to the client if an shtml document contained an unterminated SSI
1446      directive [Brian Pane]
1447
1448   *) Improve ap_get_client_block implementation by using APR-util brigade
1449      helper functions and relying on current filter assumptions.
1450      [Justin Erenkrantz]
1451
1452 Changes with Apache 2.0.39
1453
1454   *) Fixed a build problem in htpasswd.c on Win32.
1455      [Guenter Knauf <eflash gmx.net>, Cliff Woolley]
1456
1457 Changes with Apache 2.0.38
1458
1459   *) Rewrite htpasswd to use APR.  The removes the annoying warning about
1460      tmpnam being unsafe.   [Ryan Bloom]
1461
1462   *) We must set the MIME-type for .shtml files to text/html if we want them
1463      to be parsed for SSI tags.  Add the config for that to the default 
1464      config file so that it is easier to enable .shtml parsing.
1465      [Dave Dyer <ddyer real-me.net>]
1466
1467   *) Fixed a problem with 'make install' on ReliantUnix.
1468      [Jean-frederic Clere <jfrederic.clere fujitsu-siemens.com>]
1469
1470   *) Make the default_handler catch all requests that aren't served by
1471      another handler.  This also gets us to return a 404 if a directory
1472      is requested, there is no DirectoryIndex, and mod_autoindex isn't
1473      loaded.  [Justin Erenkrantz]
1474
1475   *) Fixed the handling of nested if-statements in shtml files.
1476      PR 9866  [Brian Pane]
1477
1478   *) Allow 'make install DESTDIR=/path'.  This allows packagers to install
1479      into a directory different from the one that was configured.  This 
1480      also mirrors the root= feature from 1.3.  We cannot use prefix=,
1481      because both APR and APR-util resolve their installation paths at 
1482      configuration time.  This means that there is no variable prefix 
1483      to replace.  [Andreas Hasenack <andreas netbank.com.br>]
1484
1485   *) AIX 4.3.2 and above: Define SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
1486      These levels of AIX don't have a thundering herd problem with
1487      accept().  [Jeff Trawick]
1488
1489   *) prefork MPM: Ignore mutex errors during graceful restart.  For
1490      certain types of mutexes (particularly SysV semaphores), we
1491      should expect to occasionally fail to obtain or release the
1492      mutex during restart processing.  [Jeff Trawick]
1493
1494   *) Fix install-bindist.sh so that it finds any perl instead of just
1495      early perl 5.x versions.  This is consistent with a build/install
1496      from source, and it allows the perl scripts installed by a bindist 
1497      to work on systems with perl 5.6.  [Jeff Trawick]
1498
1499   *) Fix apxs so that the makefile created by "apxs -g" works on AIX and
1500      Tru64 (and probably some other platforms).  [Jeff Trawick]
1501
1502   *) Allow CGI scripts to return their Content-Length.  This also fixes a
1503      hang on HEAD requests seen on certain platforms (such as FreeBSD).
1504      [Justin Erenkrantz]
1505
1506   *) Added log rotation based on file size to the RotateLog support
1507      utility. [Brad Nicholes]
1508
1509   *) Fix some casting in mod_rewrite which broke random maps.
1510      PR 9770  [Allan Edwards, Greg Ames, Jeff Trawick]
1511
1512 Changes with Apache 2.0.37
1513
1514   *) allow POST method over SSL when per-directory client cert
1515      authentication is used with 'SSLOptions +OptRenegotiate' enabled
1516      and a client cert was found in the ssl session cache.
1517
1518   *) 'SSLOptions +OptRengotiate' will use client cert in from the ssl
1519      session cache when there is no cert chain in the cache.  prior to
1520      the fix this situation would result in a FORBIDDEN response and
1521      error message "Cannot find peer certificate chain"
1522      [Doug MacEachern]
1523
1524   *) ap_finalize_sub_req_protocol() shouldn't send an EOS bucket if
1525      one was already sent.  PR 9644  [Jeff Trawick]
1526
1527   *) Fix the display of the default name for the mime types config
1528      file.  PR 9729  [Matthew Brecknell <mbrecknell orchestream.com>]
1529
1530   *) Fix the working directory *for WinNT/2K/XP services only* to
1531      change to the Apache directory (one level above the location 
1532      of Apache.exe, in the case that Apache.exe resides in bin/.)
1533      Solves the case of ServerRoot /foo paths where /foo was not
1534      on the same drive as /winnt/system32.  [William Rowe]
1535
1536   *) Make 2.0's "AcceptMutex" startup message now "completely"
1537      match how 1.3 does it. [Jim Jagielski]
1538
1539   *) Implement a fixed size memory cache using a priority queue
1540      [Ian Holsman]
1541
1542   *) Fix apxs to allow "apxs -q installbuilddir" and to allow
1543      querying certain other variables from config_vars.mk.  PR 9316  
1544      [Jeff Trawick]
1545
1546   *) Added the "detached" attribute to the cgi_exec_info_t internals
1547      so that Win32 and Netware won't create a new window or console
1548      for each CGI invoked.  PR 8387
1549      [Brad Nicholes, William Rowe]
1550
1551   *) Consolidated the command line parameters and attributes that are 
1552      manipulated by the optional function ap_cgi_build_command() in
1553      mod_cgi into a single structure.
1554      [Brad Nicholes]
1555
1556   *) Get rid of uninitialized value errors with "apxs -q" on certain
1557      variables.  [Stas Bekman <stas stason.org>]
1558
1559   *) Fix apxs to allow it to work when the build directory is somewhere
1560      besides server-root/build.  PR 8453  
1561      [Jeff Trawick and a host of others]
1562
1563   *) Allow ap_discard_request_body to be called multiple times in the
1564      same request.  Essentially, ap_http_filter keeps track of whether
1565      it has sent an EOS bucket up the stack, if so, it will only ever
1566      send an EOS bucket for this request.  
1567      [Ryan Bloom, Justin Erenkrantz, Greg Stein]
1568
1569   *) Remove all special mod_ssl URIs.  This also fixes the bug where
1570      redirecting (.*) will allow an SSL protected page to be viewed
1571      without SSL.  [Ryan Bloom]
1572
1573   *) Fix the binary build install script so that the build logic
1574      created by "apxs -g" will work when the user has a binary
1575      build.  [Jeff Trawick]
1576
1577   *) Allow instdso.sh to work with full paths to the shared module.
1578      [Justin Erenkrantz]
1579
1580   *) NetWare: Enabled CGI functionality and added mod_cgi as a built
1581      in module for NetWare  [Brad Nicholes]
1582
1583   *) Changed cgi and piped log behavior to accept 65536 characters
1584      on Win32 (matching Linux) before deadlocking between outputing
1585      client stdin, slurping the output from stdout and then the stderr
1586      stream.  PR 8179  [William Rowe]
1587
1588   *) Fixed Win32 wintty.exe support to assure the window title is valid.
1589      Elimiates possible gpfault or garbage title without the -t option.
1590      [William Rowe]
1591
1592   *) Rewrite mod_cgi, mod_cgid, and mod_proxy input handling to use
1593      brigades and input filters.  [Justin Erenkrantz]
1594
1595   *) Allow ap_http_filter (HTTP_IN) to return EOS when there is no request
1596      body.  [Justin Erenkrantz]
1597     
1598   *) NetWare: Piping log entries through RotateLogs using the 
1599      CustomLogs directive is finally supported now that we have 
1600      the pipes and spawning functionality working.
1601      [Brad Nicholes]
1602
1603   *) SECURITY [CVE-2002-0392] (cve.mitre.org) [CERT VU#944335]:
1604      Detect overflow when reading the hex bytes forming a chunk line.
1605      [Aaron Bannert]
1606
1607   *) Allow RewriteMap prg:'s to take command-line arguments.  PR 8464.
1608      [James Tait <JTait wyrddreams.demon.co.uk>]
1609
1610   *) Correctly return 413 when an invalid chunk size is given on
1611      input.  Also modify ap_discard_request_body to not do anything
1612      on sub-requests or when the connection will be dropped.
1613      [Justin Erenkrantz]
1614
1615   *) Fix the TIME_* SSL var lookups to be threadsafe.  PR 9469.
1616      [Cliff Woolley]
1617
1618   *) Ensure that apr_brigade_write() flushes in all of the cases that
1619      it should to avoid conditions in some modules that could cause
1620      large amounts of data to be buffered.  [Cliff Woolley]
1621
1622   *) Fix problem where mod_cache/mod_disk_cache was incorrectly
1623      stripping the content_type from cached responses.
1624      [Bill Stoddard]
1625
1626   *) apachectl passes through any httpd options.  Note: apachectl
1627      should be used in preference to httpd since it ensures that any
1628      appropriate environment variables have been set up.
1629      [Jeff Trawick]
1630
1631   *) Fix the combination of mod_cgid, mod_setuexec, and mod_userdir.
1632      PR 7810  [Colm MacCarthaigh <colmmacc redbrick.dcu.ie>]
1633
1634   *) Fix suexec execution of CGI scripts from mod_include.
1635      PR 7791, 8291  [Colm MacCarthaigh <colmmacc redbrick.dcu.ie>]
1636
1637   *) Fix segfaults at startup on some platforms when mod_auth_digest,
1638      mod_suexec, or mod_ssl were used as DSO's due to the way they
1639      were tracking the current init phase since DSO's get completely
1640      unloaded and reloaded between phases.  PR 9413.
1641      [Tsuyoshi Sasamoto <nazonazo super.win.ne.jp>, Brad Nicholes]
1642
1643   *) Fix mod_include's handling of regular expressions in
1644      "<!--#if" directives [Julius Gawlas <julius_gawlas hp.com>]
1645
1646   *) Fix the worker MPM deadlock problem  [Brian Pane]
1647
1648   *) Modify the module documentation to allow for translations.
1649      [Yoshiki Hayashi, Joshua Slive]
1650
1651   *) Fix a file permissions problem which prevented mod_disk_cache
1652      from working on Unix.  [Jeff Trawick]
1653
1654   *) Add "-k start|restart|graceful|stop" support to httpd for the Unix 
1655      MPMs.  These have semantics very similar to the old apachectl 
1656      commands of the same name.  [Justin Erenkrantz, Jeff Trawick]
1657
1658   *) Make sure that the runtime dir is created by make install.
1659      PR 9233.  [Jeff Trawick]
1660
1661   *) Fix an unusual set of ./configure arguments that could cause
1662      mod_http to be built as a DSO, which it currently doesn't
1663      support.  PR 9244.
1664      [Cliff Woolley, Robin Johnson <robbat2 orbis-terrarum.net>]
1665
1666   *) Win32: Fix bug in apr_sendfile() that caused incorrect operation
1667      of the %X, %b and %B logformat options. PR 8253, 8996.
1668      [Bill Stoddard]
1669
1670   *) If content-encoding is already present, do not run deflate (PR 9222)
1671      [Kazuhisa ASADA <kaz asada.sytes.net>]
1672
1673   *) The APLOG_NOERRNO flag to ap_log_[r]error() is now deprecated.
1674      It is currently ignored and it will be removed in a future release
1675      of Apache.  [Jeff Trawick]
1676
1677   *) Removed documentation references to the no-longer-supported
1678      "make certificate" feature of mod_ssl for Apache 1.3.x.  Test
1679      certificates, if truly desired, can be generated using openssl
1680      commands.  PR 8724.  [Cliff Woolley]
1681
1682   *) Remove SSLLog and SSLLogLevel directives in favor of having
1683      mod_ssl use the standard ErrorLog directives.  [Justin Erenkrantz]
1684
1685   *) OS/390: LIBPATH no longer has to be manually uncommented in
1686      envvars to get apachectl to set up httpd properly.  [Jeff Trawick]
1687
1688   *) mod_isapi: All mod_isapi directives, excluding ISAPICacheFile,
1689      may now be specified to the <File/Directory > container, rather
1690      than by vhost.  [William Rowe]
1691
1692   *) mod_isapi: Experimental support for faux async support for ISAPI
1693      modules.  [William Rowe]
1694
1695   *) mod_isapi: Major refactoring of the code to rely on apr internals
1696      rather than MS APIs (using our own mod_isapi.h headers for ISAPI
1697      symbol definitions.)  [William Rowe]
1698
1699   *) mod_isapi: Fixed the return string length from GetServerVariable
1700      callback, it was not including the trailing null in the consumed
1701      buffer size.  This was particularly bad for Delphi 6.0 users.
1702      PR 8934  [Sebastian Hantsch <sebastian.hantsch gmx.de>]
1703
1704   *) Fixed Win32 builds for Microsoft VisualStudio 7.0 (.net).
1705      [William Rowe]
1706
1707   *) Make apxs look in the correct directory for envvars.  It was
1708      broken when sbindir != bindir.  PR 8869
1709      [Andreas Sundström <sunkan zappa.cx>]
1710   
1711   *) Fix mod_deflate corruption when using multiple buckets.  PR 9014.
1712      [Asada Kazuhisa <kaz asada.sytes.net>]
1713
1714   *) Performance enhancements for access logger when using
1715      default timestamp formatting  [Brian Pane]
1716
1717   *) Added EnableMMAP config directive to enable the server
1718      administrator to disable memory-mapping of delivered files
1719      on a per-directory basis.  [Brian Pane]
1720
1721   *) Performance enhancements for mod_setenvif  [Brian Pane]
1722
1723   *) Fix a mod_ssl build problem on OS/390.  [Jeff Trawick]
1724
1725   *) Fixed If-Modified-Since on Win32, which would give false positives
1726      because of the sub-second resolution of file timestamps on that
1727      platform.  [Cliff Woolley]
1728
1729   *) Reverse the hook ordering for mod_userdir and mod_alias so
1730      that Alias/ScriptAlias will override Userdir.  PR 8841
1731      [Joshua Slive]
1732
1733   *) Move mod_deflate out of experimental and into filters.
1734      [Justin Erenkrantz]
1735
1736   *) Get proxy CONNECT basically working.  [Jeff Trawick]
1737
1738   *) Fix mod_rewrite hang when APR uses SysV Semaphores and
1739      RewriteLogLevel is set to anything other than 0.  PR: 8143
1740      [Aaron Bannert, Cliff Woolley]
1741
1742   *) Fix byterange requests from returning 416 when using dynamic data
1743      (such as filters like mod_include).  [Justin Erenkrantz]
1744
1745   *) Allow mod_rewrite's set of "int:" internal RewriteMap functions
1746      to be extended by third-party modules via an optional function.
1747      [Tahiry Ramanamampanoharana <nomentsoa hotmail.com>, Cliff Woolley]
1748
1749   *) Fix mod_include expression parser's handling of unquoted strings
1750      followed immediately by a closing paren.  PR 8462.  [Brian Pane]
1751
1752   *) Remove autom4te.cache in 'make distclean'.
1753      [Thom May <thom planetarytramp.net>]
1754
1755   *) Fix generated httpd.conf to respect layout for LoadModule lines.
1756      PR 8170.  [Thom May <thom planetarytramp.net>]
1757
1758   *) Win32: During a graceful restart, threads in the new process
1759      were accessing scoreboard slots still in use by active threads in 
1760      the the old process. [Bill Stoddard]
1761
1762 Changes with Apache 2.0.36
1763
1764   *) Fix some minor formatting issues with ab. Part of this is
1765      in reference to PR 8544, the rest I noticed while testing
1766      the PR fix. [Paul J. Reder]
1767
1768   *) Fix a case where an invalid pass phrase is entered and an
1769      error message is given, but the prompt is not shown again.
1770      This left the user in an ambiguous state. PR 8320 [Paul J. Reder]
1771
1772   *) Close sockets on worker MPM when doing a graceless restart.
1773      [Aaron Bannert]
1774
1775   *) Reverted a minor optimization in mod_ssl.c that used the vhost ID
1776      as the session id context rather that a MD5 hash of that vhost ID,
1777      because it caused very long vhost id's to be unusable with mod_ssl.
1778      PR 8572.  [Cliff Woolley]
1779
1780   *) Fix the link to the description of the CoredumpDirectory 
1781      directive in the server-wide document.  PR 8643.  [Jeff Trawick]
1782
1783   *) Fixed SHMCB session caching.  [Aaron Bannert, Cliff Woolley]
1784
1785   *) Synced with remaining changes from mod_ssl 2.8.8-1.3.24:
1786      - Avoid SIGBUS on sparc machines with SHMCB session caches
1787      - Allow whitespace between the pipe and the name of the
1788      program in SSLLog "| /path/to/program".  [Cliff Woolley]
1789
1790   *) Introduce mod_ext_filter and mod_deflate experimental modules
1791      to the Win32 build (zlib sources must be in srclib\zlib.)
1792      [William Rowe]
1793
1794   *) Changes to the worker MPM's queue management and thread
1795      synchronization code to reduce mutex contention  [Brian Pane]
1796
1797   *) Don't install *.in configuration files since we already install
1798      *-std.conf files.  [Aaron Bannert]
1799
1800   *) Many improvements to the threadpool MPM.  [Aaron Bannert]
1801
1802   *) Fix subreqs that are promoted via fast_redirect from having invalid
1803      frec->r structures.  This would cause subtle errors later on in
1804      request processing such as seen in PR 7966.  [Justin Erenkrantz]
1805
1806   *) More efficient pool recycling logic for the worker MPM [Brian Pane]
1807
1808   *) Modify the worker MPM to not accept() new connections until
1809      there is an available worker thread. This prevents queued
1810      connections from starving for processing time while long-running
1811      connections were hogging all the available threads.  [Aaron Bannert]
1812
1813   *) Convert the worker MPM's fdqueue from a LIFO back into a FIFO.
1814      [Aaron Bannert]
1815
1816   *) Get basic HTTP proxy working on EBCDIC machines.  [Jeff Trawick]
1817
1818   *) Allow mod_unique_id to work on systems with no IPv4 address
1819      corresponding to their host name.  [Jeff Trawick]
1820
1821   *) Fix suexec behavior with user directories.  PR 7810.
1822      [Colm <colmmacc redbrick.dcu.ie>]
1823
1824   *) Reject a blank UserDir directive since it is ambiguous.  PR 8472.
1825      [Justin Erenkrantz]
1826
1827   *) Make mod_mime use case-insensitive matching when examining
1828      extensions on all platforms.  PR 8223.  [Justin Erenkrantz]
1829
1830   *) Add an intelligent error message should no proxy submodules be
1831      valid to handle a request. PR 8407 [Graham Leggett]
1832
1833   *) Major improvements in concurrent processing for AB by enabling
1834      non-blocking connect()s and preventing APR from doing blocking
1835      read()s. Also implement fatal error checking for apr_recv().
1836      [Aaron Bannert]
1837
1838   *) Fix Win32 NTFS Junctions (symlinks).  PR 8014  [William Rowe]
1839
1840   *) Fix Win32 'short name' aliases in httpd.conf directives.
1841      PR 8009  [William Rowe]
1842
1843   *) Fix generation of default httpd.conf when the layout paths are
1844      disjoint.  PR 7979, 8227.  [Justin Erenkrantz]
1845
1846   *) Swap downgrade-1.0 and force-response-1.0 conditional checks so
1847      that downgraded responses can have force-response.  PR 8357.
1848      [Justin Erenkrantz]
1849
1850   *) Fix perchild MPM so that it can be configured with the move to the
1851      experimental directory.  [Scott Lamb <slamb slamb.org>]
1852
1853   *) Fix perchild MPM so that it uses ap_gname2id for groups instead of
1854      ap_uname2id. [Scott Lamb <slamb slamb.org>]
1855
1856   *) Fix AcceptPathInfo. PR 8234  [Cliff Woolley]
1857
1858   *) SECURITY: Added the APLOG_TOCLIENT flag to ap_log_rerror() to
1859      explicitly tell the server that warning messages should be sent 
1860      to the client in addition to being recorded in the error log. 
1861      Prior to this change, ap_log_rerror() always sent warning 
1862      messages to the client. In one case, a faulty CGI script caused
1863      the server to send a warning message to the client that contained
1864      the full path to the CGI script. This could be considered a
1865      minor security exposure. [Bill Stoddard]
1866
1867   *) mod_autoindex output when SuppressRules was specified would
1868      omit the first carriage return so the first item in the list
1869      would appear to the right of the column headings instead of
1870      underneath them. PR 8016  [David Shane Holden <dpejesh yahoo.com>]
1871
1872   *) Moved the call to apr_mmap_dup outside the error branch so
1873      that it would actually get called. This fixes a core dump
1874      at init everytime you use the MMapFile directive. PR 8314
1875      [Paul J. Reder]
1876
1877   *) Trigger an error when a LoadModule directive attempts to
1878      load a module which is built-in.  This is a common error when
1879      switching from a DSO build to a static build.  [Jeff Trawick]
1880
1881   *) Change instdso.sh to use libtool --install everywhere and then
1882      clean up some stray files and symlinks that libtool leaves around
1883      on some platforms.  This gets subversion building properly since
1884      it needed a re-link to be performed by libtool at install time,
1885      and the old instdso.sh logic to simply cp the DSO didn't handle
1886      that requirement.  [Sander Striker]
1887
1888   *) Allow VPATH builds to succeed when configured from an empty
1889      directory.  [Thom May <thom planetarytramp.net>]
1890
1891   *) Fix 'control reaches end of non-void function' warning in
1892      server/log.c.  [Ben Collins-Sussman <sussman collab.net>]
1893
1894   *) Perchild MPM is now correctly deemed as experimental and is now
1895      located in server/mpm/experimental.  [Justin Erenkrantz]
1896
1897   *) Fix segfault in mod_mem_cache when garabge collecting an expired
1898      cache entry.  [Bill Stoddard]
1899
1900   *) Introduced -E startup_logfile_name option to httpd to allow admins
1901      to begin logging errors immediately.  This provides Win32 users 
1902      an alternative to sending startup errors to the event viewer, and
1903      allows other daemon tool authors an alternative to logging to stderr.
1904      [William Rowe] 
1905      
1906   *) Fix subreqs with non-defined Content-Types being served improperly.
1907      [Justin Erenkrantz]
1908
1909   *) Merge in latest GNU config.guess and config.sub files.  PR 7818.
1910      [Justin Erenkrantz]
1911
1912   *) Move 100 - Continue support to the HTTP_IN filter so that filters
1913      are guaranteed to support 100 - Continue logic without any
1914      intervention.  [Justin Erenkrantz]
1915
1916   *) Add HTTP chunked input trailer support.  [Justin Erenkrantz]
1917
1918   *) Rename and export get_mime_headers as ap_get_mime_headers.
1919      [Justin Erenkrantz]
1920
1921   *) Allow empty Host: header arguments.  PR 7441.  [Justin Erenkrantz]
1922
1923   *) Properly substitute sbindir as httpd's location in apachectl.  PR 7840.
1924      [Andreas Hasenack <andreas netbank.com.br>]
1925
1926   *) Allow Win32 shebang scripts to follow the path (or omit the .exe
1927      suffix from the shebang command), and allow ScriptInterpreterSource
1928      Registry or RegistryStrict to override shebang lines, as 1.3 did.
1929      PR 8004  [William Rowe]
1930
1931   *) worker MPM: Fix a situation where a child exited without releasing
1932      the accept mutex.  Depending on the OS and mutex mechanism this 
1933      could result in a hang.  [Jeff Trawick]
1934
1935   *) Update the instructions for how to get started with mod_example.
1936      [Stas Bekman]
1937   
1938   *) Fix PidFile to default to rel_runtimedir instead of
1939      rel_logfiledir.  PR 7841.  [Andreas Hasenack <andreas netbank.com.br>]
1940
1941   *) Win32: Fix problem that caused rapid performance degradation
1942      when number of connecting clients exceeded ThreadsPerChild.
1943      [Bill Stoddard]
1944
1945   *) Fixed a segfault parsing large SSIs on non-mmap systems.
1946      [Brian Havard]
1947
1948   *) Proxy was bombing out every second keepalive request, caused by a
1949      stray CRLF before the second response's status line. Proxy now
1950      tries to read one more line if it encounters a CRLF where it
1951      expected a status. PR 10010 [Graham Leggett]
1952
1953   *) Deprecated the apr_lock.h API. Please see the following files
1954      for the improved thread and process locking and signaling: 
1955      apr_proc_mutex.h, apr_thread_mutex.h, apr_thread_rwlock.h,
1956      apr_thread_cond.h, and apr_global_mutex.h.  [Aaron Bannert]
1957
1958   *) Change mod_status to use scoreboard accessor functions so it can
1959      be used in any MPM without having to be recompiled.
1960      [Ryan Morgan <rmorgan covalent.net>]
1961
1962   *) Fix parsing of some AP_DECLARE_DATA declarations so that the filter
1963      handle declarations are recognized.  This fixes problems loading 
1964      mod_autoindex on some platforms.  [Brian Havard]
1965
1966   *) add optional fixup hook to proxy [Daniel Lopez <daniel covalent.net>]
1967
1968   *) Remind the admin about the User and Group directives when we are
1969      unable to set permissions on a semaphore.  PR 7812  [Jeff Trawick]
1970
1971   *) fix possible compilation problem in ssl_engine_kernel.c. PR 7802
1972      [Doug MacEachern]
1973
1974   *) fix possible infinite loop in mod_ssl triggered by certain
1975      netscape clients [Doug MacEachern]
1976
1977   *) fix ProxyPass when frontend is https and backend is http
1978      [Doug MacEachern]
1979
1980   *) Add DASL support to mod_dav
1981      [Sung Kim <hunkim cse.ucsc.edu>]
1982
1983 Changes with Apache 2.0.35
1984
1985   *) mod_rewrite: updated to use the new APR global mutex type.
1986      [Aaron Bannert]
1987
1988   *) Fixes for mod_include errors on boundary conditions in which
1989      "<!--#" occurs at the very end of a bucket
1990      [Paul Reder, Brian Pane]
1991
1992   *) worker, prefork, perchild, beos MPMs: Add -DFOREGROUND switch to 
1993      cause the Apache parent process to run in the foreground (similar to
1994      -DNO_DETACH except that it doesn't switch session ids).  
1995      [Jeff Trawick]
1996
1997   *) Added support for Posix semaphore mutex locking (AcceptMutex posixsem)
1998      for those platforms that support it. If using the default
1999      implementation, this is between pthread and sysvsem in priority.
2000      This implies it's the new default for Darwin. [Jim Jagielski]
2001
2002   *) AIX: Fix the syntax for setting the LDR_CNTRL and AIXTHREAD_SCOPE
2003      environment variables in the envvars file.  [Jeff Trawick]
2004
2005   *) worker MPM: Don't create a listener thread until we have a worker
2006      thread.  Otherwise, in situations where we'll have to wait a while
2007      to take over scoreboard slots from a previous generation, we'll be
2008      accepting connections we can't process yet.  [Jeff Trawick]
2009
2010   *) Allow worker MPM to build on systems without pthread_kill().
2011      [Pier Fumagalli, Jeff Trawick]
2012
2013   *) Prevent ap_add_output_filters_by_type from being called in
2014      ap_set_content_type if the content-type hasn't changed.
2015      [Justin Erenkrantz]
2016
2017   *) Performance: implemented the bucket allocator made possible by the
2018      API change in 2.0.34.  [Cliff Woolley]
2019
2020   *) Don't allow initialization to succeed if we can't get a socket
2021      corresponding to one of the Listen statements.  [Jeff Trawick]
2022
2023 Changes with Apache 2.0.34
2024
2025   *) Allow all Perchild directives to accept either numerical UID/GID
2026      or logical user/group names.  [Scott Lamb <slamb slamb.org>]
2027
2028   *) Make Perchild compile cleanly and serve pages again. [Ryan Bloom]
2029
2030   *) implement ssl proxy to support ProxyPass / https:// and the
2031      SSLProxy* directives [Doug MacEachern]
2032
2033   *) Update mod_cgid to not do single-byte socket reads for CGI headers
2034      [Brian Pane]
2035
2036   *) Made AB's use of the Host: header rfc2616 compliant
2037      by Taisuke Yamada <tai iij.ad.jp> [Dirk-Willem van Gulik].
2038
2039   *) The old, legacy (and unused) code in which the scoreboard was totally
2040      and completely contained in a file (SCOREBOARD_FILE) has been
2041      removed. This does not affect scoreboards which are *mapped* to
2042      files using named-shared-memory. [Jim Jagielski]
2043
2044   *) Change bucket brigades API to allow a "bucket allocator" to be
2045      passed in at certain points.  This allows us to implement freelists
2046      so that we can stop using malloc/free so frequently.
2047      [Cliff Woolley, Brian Pane]
2048
2049   *) Add support for macro expansion within the variable names in
2050      <!--#echo--> and <!--#set--> directives [Brian Pane]
2051
2052   *) Fix some mod_include segfaults [Cliff Woolley, Brian Pane, Brad Nicholes]
2053
2054   *) Update the "RedHat" Layout to match Red Hat Linux version 7. PR BZ-7422
2055      [Joe Orton] 
2056
2057   *) add compat layer to support RSA SSLC 1.x and 2.x in mod_ssl
2058      [Jon Travis, John Barbee, William Rowe, Ryan Bloom, Doug MacEachern]
2059
2060   *) Add a new parameter to the quick_handler hook to instruct
2061      quick handlers to optionally do a lookup rather than actually 
2062      serve content. This is the first of several changes required fix
2063      several problems with how quick handlers work with subrequests.
2064      [Bill Stoddard]
2065
2066   *) worker MPM: Get MaxRequestsPerChild to work again.  [Jeff Trawick]
2067
2068   *) [APR-related] The ordering of the default accept mutex method has
2069      been changed to better match what's done in Apache 1.3. The ordering 
2070      is now (highest to lowest): pthread -> sysvsem -> fcntl -> flock.
2071      [Jim Jagielski]
2072
2073   *) Ensure that the build/ directory is created when using VPATH.
2074      [Justin Erenkrantz]
2075
2076   *) Add some popular types to the mime magic file.  PR 7730.
2077      [Linus Walleij <triad df.lth.se>, Justin Erenkrantz]
2078
2079   *) Remove the single-byte socket reads for CGI headers [Brian Pane]
2080
2081   *) When a proxied site was being served, Apache was replacing
2082      the original site Server header with it's own, which is not
2083      allowed by RFC2616. Fixed. [Graham Leggett]
2084
2085   *) Fix a mod_cgid problem that left daemon processes stranded
2086      in some server restart scenarios.  [Jeff Trawick]
2087
2088   *) Added exp_foo and rel_foo variables to config_vars.mk for
2089      all Apache and Autoconf path variables (like --sysconfdir,
2090      --sbindir, etc). exp_foo is the "expanded" version, which means
2091      that all internal variable references have been interpolated.
2092      rel_foo is the same as $exp_foo, only relative to $prefix if they
2093      share a common path.  [Aaron Bannert]
2094
2095   *) Fix some restart/terminate problems in the worker MPM.  Don't
2096      drop connections during graceful restart.  [Jeff Trawick]
2097
2098   *) Change the header merging behaviour in proxy, as some headers
2099      (like Set-Cookie) cannot be unmerged due to stray commas in
2100      dates. [Graham Leggett]
2101
2102   *) Be more vocal about what AcceptMutex values we allow, to make
2103      us closer to how 1.3 does it. [Jim Jagielski]
2104
2105   *) Get nph- CGI scripts working again.  PRs 8902, 8907, 9983
2106      [Jeff Trawick]
2107
2108   *) Upgraded PCRE library to latest version 3.9 [Brian Pane]
2109
2110   *) Add accessor function to set r->content_type. From now on,
2111      ap_rset_content_type() should be used to set r->content_type.
2112      This change is required to properly implement the 
2113      AddOutputFilterByType configuration directive.
2114      [Bill Stoddard, Sander Striker, Ryan Bloom]
2115
2116   *) Add new M_FOO symbols for the WebDAV/DeltaV methods specified by
2117      RFC 3253. Improved the method name/number mapping functions.
2118      [Greg Stein]
2119
2120   *) remove sock_enable_linger from connection.c [Ian Holsman]
2121
2122   *) Fix for virtual host processing where the requested hostname
2123      has a '.' at the end (PR 9187) [Ryan Cruse <ryan estara.com>]
2124
2125   *) mod_dav's APIs for REPORT response handling was changed so that
2126      providers can generate the content directly into the output filter
2127      stack, rather than buffering the response into memory. [Greg Stein]
2128
2129   *) Fix a hang condition with graceful restart and prefork MPM
2130      in the situation where MaxClients is very high but
2131      much fewer servers are actually started at the time of the
2132      restart.  [Jeff Trawick]
2133
2134   *) Small performance fixes for mod_include [Brian Pane]
2135
2136   *) Performance improvement for the error logger [Brian Pane]
2137
2138   *) Change configure so that Solaris 8 and above have 
2139      SINGLE_LISTEN_UNSERIALIZED_ACCEPT defined by default.
2140      according to sun people solaris 8+ doesn't have a thundering
2141      herd problem [Ian Holsman]
2142
2143   *) Allow URIs specifying CGI scripts to include '/' at the end
2144      (e.g., /cgi-bin/printenv/) on AIX and Solaris (and other OSs
2145      which ignore '/' at the end of the names of non-directories).
2146      PR 10138  [Jeff Trawick]
2147
2148   *) implement SSLSessionCache shmht and shmcb based on apr_rmm and
2149      apr_shm.  [Madhusudan Mathihalli <madhusudan_mathihalli hp.com>]
2150
2151   *) Fix apxs -g handling.  Move config_vars.mk from the top build
2152      directory to the build directory.  PR 10163  [Jeff Trawick]
2153
2154   *) Fix some mod_include problems which broke evaluation of some
2155      expressions.  PR 10108  [Jeff Trawick]
2156
2157   *) Fix the calculation of request time in mod_status.  [Stas Bekman]
2158
2159   *) Fix the calculation of thread_num in the worker score structure.
2160      [Stas Bekman]
2161
2162   *) Use apr_atomic operations in managing the mod_mem_cache
2163      cache_objects for SMP scalability. (see USE_ATOMICS
2164      preprocessor directive in mod_file_cache)
2165      [Bill Stoddard]
2166
2167   *) Add filehandle caching to mod_mem_cache. (see CACHE_FD
2168      preprocessor directive in mod_file_cache)
2169      [Bill Stoddard]
2170
2171   *) Implement prototype mod_disk_cache for use with mod_cache.
2172      [Bill Stoddard]
2173
2174   *) Add a missing manualdir entry in the Debian config.layout.
2175      [Thom May <thom planetarytramp.net>]
2176
2177   *) Stop installing libtool for APR and tell APR where it should place
2178      its copy of libtool (via our installbuildpath layout variable).
2179      [Justin Erenkrantz]
2180
2181   *) New directive ProxyIOBufferSize. Sets the size of the buffer used
2182      when reading from a remote HTTP server in proxy. [Graham Leggett]
2183
2184   *) Modify receive/send loop in proxy_http and proxy_ftp so that
2185      should it be necessary, the remote server socket is closed before
2186      transmitting the last buffer (set by ProxyIOBufferSize) to the
2187      client. This prevents the backend server from being forced to hang
2188      around while the last few bytes are transmitted to a slow client.
2189      Fix the case where no error checking was performed on the final
2190      brigade in the loop. [Graham Leggett]
2191
2192   *) Scrap CacheMaxExpireMin and CacheDefaultExpireMin. Change
2193      CacheMaxExpire and CacheDefaultExpire to use seconds rather than
2194      hours. [Graham Leggett, Bill Stoddard]
2195
2196   *) New Directive SSIUndefinedEcho. to change the '(none)' echoed
2197      for a undefined variable. [Ian Holsman]
2198
2199   *) Proxy HTTP and CONNECT: Keep trying other addresses from the DNS
2200      when we can't get a socket in the specified address family.  We may
2201      have gotten back an IPv6 address first and yet our system is not
2202      configured to allow IPv6 sockets.  [Jeff Trawick]
2203
2204   *) Be more careful about recursively removing CVS directories. Make
2205      sure that we aren't cd'ing to their home directory first. PR: 9993
2206      [Aaron Bannert, James LewisMoss <dres lewismoss.net>]
2207
2208   *) Add a missing errordir entry in the Debian config.layout. PR: 10067
2209      [Dirk-Jan Faber <dirk-jan selwerd.nl>, Aaron Bannert,
2210       Thom May <thom planetarytramp.net>]
2211
2212   *) Rename the filter ordering priorities.  The recent filtering fixes
2213      have showcased problems with their usage.  Therefore, we need to
2214      rename them to increase the clarity.  (CONTENT->RESOURCE,
2215      HTTP_HEADER->CONTENT_SET/PROTOCOL)  [Justin Erenkrantz]
2216
2217 Changes with Apache 2.0.33
2218
2219   *) Fix a problem in the new --enable-layout functionality where
2220      it wouldn't allow overrides from variables like --prefix,
2221      --bindir, etc.  [Thom May <thom planetarytramp.net>]
2222
2223   *) Fix a bug in the core input filter for AP_MODE_EXHAUSTIVE. It
2224      no longer hangs around waiting for the socket to close before
2225      returning exhaustive data.  [Aaron Bannert]
2226
2227   *) rename apr_exploded_time_t to apr_time_exp_t (as per renames pending)
2228      [Thom May <thom planetarytramp.net>]
2229
2230   *) Change mod_ssl to always do a full startup/teardown on restarts.
2231      this allows mod_ssl to be added to a server that is already
2232      running and makes it possible to add/change certs/keys after the
2233      server has been started.  [Doug MacEachern]
2234
2235   *) Introduce PassPhraseDialog "|/path/to/pipe" mechanism to mod_ssl.
2236      This pipe must be a bidirectional 'console' style relay, which
2237      mod_ssl prints all prompts to the pipe's stdin, and reads the
2238      passphrases from the pipe's stdout.  [William Rowe]
2239
2240   *) Fix bug where --sysconfdir and --localstatedir were being
2241      ignored.  [Thom May <thom planetarytramp.net>, Aaron Bannert]
2242      PR 9888
2243
2244   *) Fix --enable-layout to work again. Caution: When specifying
2245      --enable-layout, common arguments like --prefix, --exec-prefix,
2246      etc. will be ignored and the settings from the layout will be
2247      used instead.  [Thom May <thom planetarytramp.net>, Aaron Bannert]
2248      PR 9124, 9873, 9885
2249
2250   *) New Directive for mod_proxy: ProxyRemoteMatch. This provides
2251      regex pattern matching for the determination of which requests
2252      to use the remote proxy for. [Jim Jagielski]
2253
2254   *) Fix CustomLog bytes-sent with HTTP 0.9.  [Justin Erenkrantz]
2255
2256   *) Prevent Apache from ignoring SIGHUP due to some lingering 1.3
2257      cruft in piped logs and rewritemap child processes.
2258      [William Rowe]
2259
2260   *) All instances of apr_lock_t have been removed and converted
2261      to one of the following new lock APIs: apr_thread_mutex.h,
2262      apr_proc_mutex.h, or apr_global_mutex.h. No new code should
2263      use the apr_lock.h API, as the old API will soon be deprecated.
2264      [Aaron Bannert]
2265
2266   *) Merged in changes to mod_ssl up through 2.8.7-1.3.23.
2267      [Ralf S. Engelschall, Cliff Woolley]
2268
2269   *) mod-include: make it handle flush'es and fix the 'false-alarm'
2270      [Justin Erenkrantz, Brian Pane, Ian Holsman]
2271
2272   *) ap_get_*_filter_handle() functions to allow 3rd party modules
2273      to lookup filter handles so they can bypass the filter name
2274      lookup when adding filters to a request (via ap_add_*_filter_handle())
2275      [Ryan Morgan <rmorgan covalent.net>]
2276
2277   *) Fix for multiple file buckets on Win32, where the first file
2278      bucket would cause the immediate closure of the socket on any
2279      non-keepalive requests.  [Ryan Morgan <rmorgan covalent.net>]
2280
2281   *) Correct Win32 failure of mmap of a segment beyond start of the
2282      file; fixes large SSL and similar transfers.  [William Rowe]
2283      PR 9898
2284
2285   *) Implement apr_proc_detach changes and allow -DNO_DETACH in the
2286      multi-process mode to not "daemonize" while detaching from the
2287      controlling terminal. This is necessary for Apache to work with
2288      process-management tools like AIX's "System Resource Controller"
2289      as well as Dan Bernstein's "daemontools".
2290      [Jos Backus <josb cncdsl.com>, Aaron Bannert]
2291
2292   *) Convert mod_auth_digest to use the new apr_global_mutex_t
2293      type.  [Aaron Bannert]
2294
2295   *) fix bug in mod-include where it wouldn't send a unmatched
2296      part if it was at the end of a bucket [Ian Holsman]
2297
2298   *) worker MPM: Improve logging of errors with the interface between
2299      the listener thread and worker threads.  [Jeff Trawick]
2300
2301   *) Some browsers ignore cookies that have been merged into a
2302      single Set-Cookie header. Set-Cookie and Set-Cookie2 headers
2303      are now unmerged in the http proxy before being sent to the
2304      client. [Graham Leggett]
2305
2306   *) Fix a problem with proxy where each entry of a duplicated
2307      header such as Set-Cookie would overwrite and obliterate the
2308      previous value of the header, resulting in multiple header
2309      values (like cookies) going missing.
2310      [Graham Leggett, Joshua Slive]
2311
2312   *) Add the server-limit and thread-limit values to the scoreboard
2313      for the sake of third-party applications.
2314      [Adam Sussman <myddryn vishnu.vidya.com>]
2315
2316   *) Fix segfault when proxy recieves an invalid HTTP response [Ian Holsman]
2317
2318   *) OS/390: Get make install to properly copy DSO modules.
2319      [Jeff Trawick]
2320
2321   *) Win32: Fix bug in mod_status with displaying "Restart Time"
2322      and "Server uptime".
2323      [Bill Stoddard]
2324
2325   *) Fix IPv6 name-based virtual hosts.  [Jeff Trawick]
2326
2327   *) Introduce AddOutputFilterByType directive.  [Justin Erenkrantz]
2328
2329   *) Fix DEBUG_CGI support in mod_cgi.  PR 9670, 9671.
2330      [David MacKenzie <djm pix.net>]
2331
2332   *) Fix incorrect check for script_in in mod_cgi.  PR 9669.
2333      [David MacKenzie <djm pix.net>]
2334
2335   *) Fix segfault and display error when SSLMutex file can not be
2336      created.  [Adam Sussman <myddryn vishnu.vidya.com>]
2337
2338   *) Add reference counting to mod_mem_cache cache objects to
2339      better manage removing objects from the cache.
2340      [Bill Stoddard]
2341
2342   *) Change the verbage on the ScoreBoardFile in our default configs.
2343      Also change the default to be commented out (unspecified) so we
2344      get anonymous shared memory by default.  [Aaron Bannert]
2345
2346   *) Implement new ScoreBoardFile directive logic. This affects how
2347      we create the scoreboard's shared memory segment. If the directive
2348      is present, a name-based segment is created. If the directive is
2349      not present, first an anonymous segment is created, and if that
2350      fails, a name-based segment is created from a file of the name
2351      DEFAULT_SCOREBOARD. This gives third-party applications the
2352      ability to access our scoreboard.  [Aaron Bannert]
2353
2354   *) Allow mod_deflate to work with non-GET requests and properly send
2355      Content-Lengths.  [Sander Striker <striker apache.org>]
2356
2357   *) Fix ap_directory_merge() to correctly merge configs when there is
2358      no <Directory /> block.  [Justin Erenkrantz, William Rowe]
2359
2360   *) Remove spurious debug messsages that are normal under HTTP
2361      keep-alive logic.  [Jeff Trawick, Justin Erenkrantz]
2362
2363   *) Fix a bug in mod_cgid that would prevent proper shutdown death
2364      of the cgid process.  [Aaron Bannert]
2365
2366   *) Add signal handling back in to the worker MPM for the one_process
2367      (-X, -DDEBUG, -DONE_PROCESS) case.  [Aaron Bannert]
2368
2369   *) Performance: Reuse per-connection transaction pools in the
2370      worker MPM, rather than destroying and recreating them.  [Brian Pane]
2371
2372   *) Remove all signals from the worker MPM's child process.  Instead,
2373      the parent uses the Pipe of Death for all communication with the
2374      child processes.  [Ryan Bloom]
2375
2376 Changes with Apache 2.0.32
2377
2378   *) mod_negotiation: ForceLanguagePriority now uses 'Prefer' as the
2379      default if the directive is not specified.  This mirrors older
2380      behavior without changes to the httpd.conf.  [William Rowe]
2381
2382   *) Win32: solve the win32 service problems in 2.0.31-alpha, by fixing
2383      the service, mpm and logging code, and bugs in apr_file_open_stderr 
2384      and apr_file_dup2 functions.  Win2K/XP services have no handles 
2385      associated for stdin/out/err, which caused unpredictable behavior
2386      in the prior release.  [William Rowe, Bill Stoddard]
2387
2388   *) Win32: simplify the Application Event Log messages, since there isn't
2389      likely to be 'more information in the error log' before an error log
2390      has been opened.  [William Rowe]
2391
2392   *) Win32: substantial cleanup to the mpm_winnt code for legibility and
2393      to follow the program flow of other MPMs.  [Ryan Bloom, William Rowe]
2394
2395   *) Win32: apache -k shutdown now behaves like apache -k stop.
2396      [Bill Stoddard]
2397
2398   *) Fix prefork to not kill the parent if a child hits a resource shortage
2399      on accept().  [Greg Ames]
2400
2401   *) Fix seg faults that occur when what should be the httpd request line
2402      starts with \r\n followed by garbage.  [Greg Ames]
2403
2404   *) Allow statically linked support binaries with the new
2405      --enable-static-support flag, and enable this behavior in
2406      the binbuild script. Also add a new --enable-static-htdbm
2407      flag.  [Aaron Bannert]
2408
2409   *) Allow mod_autoindex to serve symlinks if permitted and attempt to
2410      do only one stat() call when generating the directory listings.
2411      [Justin Erenkrantz]
2412
2413   *) Fix resolve_symlink to save the original symlink name if known.
2414      [Justin Erenkrantz]
2415
2416   *) Be a bit more sane with regard to CanonicalNames.  If the user has
2417      specified they want to use the CanonicalName, but they have not
2418      configured a port with the ServerName, then use the same port that 
2419      the original request used. [Ryan Bloom and Ken Coar]
2420
2421   *) In core_input_filter, check for an empty brigade after 
2422      APR_BRIGADE_NORMALIZE().  Otherwise, we can get segfaults if a
2423      client says it will post some data but we get FIN before any
2424      data arrives.  [Jeff Trawick]
2425
2426   *) Not being able to bind to the socket is a fatal error.  We should
2427      print an error to the console, and return a non-zero status code.
2428      With these changes, all of the Unix MPMs do that correctly.
2429      [Ryan Bloom]
2430
2431   *) suexec: Allow HTTPS and SSL_* environment variables to be passed
2432      through to CGI scripts. PR 9163
2433      [Brian Reid <breid customlogic.com>, 
2434       Zvi Har'El <rl math.technion.ac.il>]
2435
2436   *) binbuild.sh: Make sure that we use the expat from our source
2437      tree so that there aren't any surprises on the target machine.
2438      [Jeff Trawick]
2439
2440   *) mod_cgid: Add retry logic for when the daemon can't fork fast
2441      enough to keep up with new requests.  Start using 
2442      HTTP_SERVER_UNAVAILABLE instead of HTTP_INTERNAL_SERVER_ERROR
2443      when we can't talk to the daemon.  [Jeff Trawick]
2444
2445   *) apxs: LTFLAGS envvar can override default libtool options.  Try
2446      "LTFLAGS=' ' apxs -c mod_foo.c" to see what libtool does under
2447      the covers.  [Jeff Trawick]
2448
2449   *) The Location: response header field, used for external
2450      redirect, *must* be an absoluteURI.  The Redirect directive
2451      tested for that, but RedirectMatch didn't -- it would allow
2452      almost anything through.  Now it will try to turn an abs_path
2453      into an absoluteURI, but it will correctly varf like Redirect
2454      if the final redirection target isn't an absoluteURI.  [Ken Coar]
2455
2456 Changes with Apache 2.0.31
2457
2458   *) Create the scoreboard (in the parent) in a global pool context,
2459      so it survives graceful restarts. This fixes a SEGV during
2460      graceful restarts.  [Aaron Bannert]
2461
2462   *) Add a timeout option to the proxy code 'ProxyTimeout' 
2463      [Ian Holsman]
2464
2465   *) FTP directory listings are now always retrieved in ASCII mode.
2466      The FTP proxy properly escapes URI's and HTML in the generated
2467      listing, and escapes the path components when talking to the FTP
2468      server. It is now possible to browse the root directory by using
2469      a url like:   ftp://user@host/%2f/ (ported from apache_1.3.24)
2470      Also, the last path component may contain wildcard characters
2471      '*' and '?', and if they do, a directory listing is created instead
2472      of a file retrieval. Example: ftp://user@host/httpd/server/*.c
2473      [Martin Kraemer]
2474
2475   *) Added single-listener unserialized accept support to the
2476      worker MPM [Brian Pane]
2477
2478   *) New Directive for mod_proxy: 'ProxyPreserveHost'. This passes
2479      the incoming host header through to the proxied server
2480      [Geoff <g.russell ieee.org>]
2481
2482   *) New Directive Option for ProxyPass. It now can block a location
2483      from being proxied [Jukka Pihl <jukka.pihl entirem.com>]
2484
2485   *) Don't let the default handler try to serve a raw directory.  At
2486      best you get gibberish.  Much worse things can happen depending
2487      on the OS.  [Jeff Trawick]
2488      
2489   *) Change the pre_config hook to return a value. Modules can now emit
2490      an error message and then cause the server to quit gracefully during
2491      startup. This required a bump to the MMN.  [Aaron Bannert]
2492
2493   *) Fix some unix socket descriptor leaks in the handler side of
2494      mod_cgid (the part that runs in the server process).  Whack a
2495      silly "close(-1)" in the handler too.  [Jeff Trawick]
2496
2497   *) Change the pre_mpm hook to return a value, so that scoreboard
2498      init errors percolate up to code that knows how to exit 
2499      cleanly.  This required a bump to the MMN.  [Jeff Trawick]
2500
2501   *) Add the socket back to the conn_rec and remove the create_connection
2502      hook. The create_connection hook had a design flaw that did not 
2503      allow creating connections based on vhost info. [Bill Stoddard]
2504
2505   *) Fixed PATH_INFO and QUERY_STRING from mod_negotiation results.
2506      Resolves the common case of using negotation to resolve the request
2507      /script/foo for /script.cgi/foo.  [William Rowe]
2508
2509   *) Added new functions ap_add_(input|output)_filter_handle to
2510      allow modules to bypass the usual filter name lookup when
2511      adding hard-coded filters to a request [Brian Pane]
2512
2513   *) caching should now work on subrequests (still very experimental)
2514      [Ian Holsman]
2515   
2516   *) The Win32 mpm_winnt now has a shared scoreboard.  [William Rowe]
2517
2518   *) Change ap_get_brigade prototype to use apr_off_t instead of apr_off_t*.
2519      [Justin Erenkrantz]
2520
2521   *) Refactor ap_rgetline so that it does not use an internal brigade.
2522      Change ap_rgetline's prototype to return errors.  [Justin Erenkrantz]
2523
2524   *) Remove mod_auth_db.  [Justin Erenkrantz]
2525
2526   *) Do not install unnecessary pcre headers like config.h and internal.h.
2527      [Joe Orton <joe manyfish.co.uk>]
2528
2529   *) Change in quick_hanlder behavior for subrequests. it now passes DONE
2530      (as it does for a normal request). quick_handled sub-requests now work
2531      in mod-include [Ian Holsman]
2532
2533   *) Change SUBREQ_CORE so that it is a 'HTTP_HEADER' filter instead of
2534      'CONTENT' one, as it needs to run AFTER all content headers
2535
2536   *) Rename BeOS MPM directive RequestsPerThread to MaxRequestsPerThread.
2537      [Lars Eilebrecht]
2538
2539   *) Split out blocking from the mode in the input filters.
2540      [Justin Erenkrantz]
2541
2542   *) Fix a segfault in mod_include.  [Justin Erenkrantz, Jeff Trawick]
2543
2544   *) Cause Win32 to capture all child-worker process errors in
2545      Apache to the main server error log, until the child can
2546      open its own error logs.  [William Rowe]
2547
2548   *) HPUX 11.*: Do not kill the child process when accept() 
2549      returns ENOBUFS on HPUX 11.*. (ported from th 1.3 patch)
2550      [Madhusudan Mathihalli <madhusudan_mathihalli hp.com>, Bill Stoddard]
2551
2552   *) Fix a problem in the parsing of the <Proxy foo> directive.
2553      [Jeff Trawick]
2554
2555   *) rewrite of mod_ssl input filter for better performance and less
2556      memory usage [Doug MacEachern]
2557
2558   *) allow quick_handler to be run on subrequests. [Ian Holsman]
2559
2560   *) mod_dav now asks its provider to place content directly into the
2561      filter stack when handling a GET request. The mod_dav/provider
2562      API has changed, so providers need to be updated. [Greg Stein]
2563
2564   *) Clear the output socket descriptor in unixd_accept() to make sure
2565      we don't supply a bogus socket to the caller if the accept fails.
2566      This caused problems with the worker MPM, which tried to process
2567      the returned socket if it was non-NULL.  [Brian Pane]
2568
2569   *) Move a check for an empty brigade to the start of core input filter
2570      to avoid segfaults.  [Justin Erenkrantz, Jeff Trawick]
2571
2572   *) Add FileETag directive to allow configurable control of what
2573      data are used to form ETag values for file-based URIs.  MMN
2574      bumped to 20020111 because of fields added to the end of
2575      the core_dir_config structure.  [Ken Coar]
2576
2577   *) Fix a segfault in mod_rewrite's logging code caused by passing the
2578      wrong config to ap_get_remote_host().  [Jeff Trawick]
2579
2580   *) Allow mod_cgid to work from a binary distribution install by
2581      using 755 for the permissions on the log directory instead of
2582      750.  [Jeff Trawick]
2583
2584   *) Fixed a segfault that happened during graceful shutdown (or when
2585      the httpd ran out of file descriptors) with the worker MPM [Brian Pane]
2586
2587   *) Split all Win32 modules [excluding the core components mod_core, 
2588      mod_so, mod_win32 and the winnt mpm] into individual loadable
2589      modules, so the administrator may individually disable the former
2590      compiled-in modules by simply commenting out their LoadModule
2591      directives.  [William Rowe]
2592
2593   *) Saved Win32 module authors and porters many future headaches, by
2594      duplicating the appropriate .h files such as os.h into the include
2595      directory, including in the build tree.  [William Rowe]
2596
2597   *) mod_ssl adjustments to help with using toolkits other than OpenSSL:
2598       Use SSL functions/macros instead of directly dereferencing SSL
2599       structures wherever possible.
2600       Add type-casts for the cases where functions return a generic pointer.
2601       Add $SSL/include to configure search path.
2602      [Madhusudan Mathihalli <madhusudan_mathihalli hp.com>]
2603
2604   *) Moved several pointers out of the shared Scoreboard so it is
2605      more portable, and will present the vhost name across server
2606      generation restarts.  [William Rowe]
2607
2608   *) Fix SSLPassPhraseDialog exec: and SSLRandomSeed exec:
2609      [Doug MacEachern]
2610
2611 Changes with Apache 2.0.30
2612
2613   *) Fix the main bug for FreeBSD and threaded MPM's. There are
2614      still issues (see STATUS) but at least the server will now
2615      run without crashing the machine.
2616      [David Reid, Aaron Bannert, Justin Erenkrantz]
2617
2618   *) Fix a typo in mod_deflate's m4 config section.
2619      [albert chin <china thewrittenword.com>]
2620
2621   *) Fix a couple of mod_proxy problems forwarding HTTP connections
2622      and handling CONNECT:
2623      (1) PR #9190  Proxy failed to connect to IPv6 hosts.
2624      (2) Proxy failed to connect when the first IP address returned by 
2625          the resolver was unreachable but a secondary IP address was.  
2626      [Jeff Trawick]
2627
2628   *) Fix the module identifer as shown in the docs for various core
2629      modules (e.g., the identifer for mod_log_config was previously
2630      listed as config_log_module).  PR #9338
2631      [James Watson <ap2bug sowega.org>]
2632
2633   *) Fix LimitRequestBody directive by placing it in the HTTP
2634      filter.  [Justin Erenkrantz]
2635
2636   *) Fix mod_proxy seg fault when the proxied server returns 
2637      an HTTP/0.9 response or a bogus status line.
2638      [Adam Sussman]
2639
2640   *) Prevent mod_proxy from truncating one character off the
2641      end of the status line returned from the proxied server.
2642      [Adam Sussman, Bill Stoddard]
2643
2644   *) Eliminate loop in ap_proxy_string_read().
2645      [Adam Sussman, Bill Stoddard]
2646
2647   *) Provide $0..$9 results from mod_include regex parsing.
2648      [William Rowe]
2649
2650   *) Allow mod-include to look for alternate start & end tags [Ian Holsman]
2651
2652   *) Introduced the ForceLanguagePriority directive, to prevent
2653      returning MULTIPLE_CHOICES or NONE_ACCEPTABLE in some cases,
2654      when using Multiviews.  [William Rowe]
2655
2656   *) Fix a problem which prevented mod_cgid and suexec from working
2657      together reliably [Greg Ames]
2658
2659   *) Remove the call to exit() from within mod_auth_digest's post_config
2660      phase.  [Aaron Bannert]
2661
2662   *) Fix a problem in mod_auth_digest that could potentially cause
2663      problems with initialized static data on a system that uses DSOs.
2664      [Aaron Bannert]
2665
2666   *) Fix a segfault in the worker MPM that could happen during
2667      child process exits.  [Brian Pane, Aaron Bannert]
2668
2669   *) Allow mod_auth_dbm to handle multiple DBM types [Ian Holsman]
2670
2671   *) Fix matching of vhosts by ip address so we find IPv4
2672      vhost address when target address is v4-mapped form of
2673      that address.  [Jeff Trawick]
2674
2675   *) More performance tweaks to the BNDM string-search algorithm
2676      used to find "<!--#" tokens in mod_include [Brian Pane]
2677
2678   *) Miscellaneous small performance fixes: optimized away various
2679      string copy operations and removed large temp buffers from
2680      the stack [Brian Pane]
2681
2682   *) Fixed startup segfault that occurred when a VirtualHost
2683      directive had a port but no address [Brian Pane]
2684
2685   *) Allow htdbm to work with multiple DBM types [Ian Holsman]
2686
2687   *) Win32: Made change to apr_sendfile() to return APR_ENOTIMPL
2688      if oslevel < WINNT.  This should fix several problems reported
2689      Against 2.0.28 on Windows 98 [Bill Stoddard]
2690
2691   *) Win32: Fix bug that could cause CGI scripts with QUERY_STRINGS
2692      to fail. [Bill Stoddard]
2693
2694   *) Change core code to allow an MPM to set hard thread/server
2695      limits at startup.  prefork, worker, and perchild MPMs now have 
2696      directives to set these limits.  [Jeff Trawick]
2697
2698   *) Win32: The async AcceptEx() event should be autoreset upon
2699      successful completion of a wait (WaitForSingleObject). This
2700      eliminates a number of spurious
2701      setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed." messages.
2702      [Bill Stoddard]
2703
2704   *) Move any load library path environment variables out of 
2705      apachectl and into a separate environment variable file which
2706      can be more easily tailored by the admin.  The environment
2707      variable file as built by Apache may have additional system-
2708      specific settings.  For example, on OS/390 we tailor the heap
2709      settings to allow lots of threads.  [Jeff Trawick]
2710     
2711   *) Use the new APR pool code to reduce pool-related lock
2712      contention in the worker MPM.  [Sander Striker]
2713
2714   *) The POD no longer assumes the child is listening on 127.0.0.1
2715      and now pulls the first hostname in the list of listeners to
2716      perform the dummy connect on. This fixes a bug when the user
2717      had configured the Listen directive for an IP other than
2718      127.0.0.1. This would result in undead children and error
2719      messages such as "Connection refused: connect to listener".
2720      [Aaron Bannert]
2721
2722   *) The worker MPM now respects the LockFile setting, needed to
2723      avoid locking problems with NFS.  [Jeff Trawick]
2724
2725   *) Fix segfault when worker MPM receives SIGHUP.
2726      [Ian Holsman, Aaron Bannert, Justin Erenkrantz]
2727
2728   *) Fix bug that could potentially prevent the perchild MPM from
2729      working with more than one vhost/uid.  [Aaron Bannert]
2730
2731   *) Change make install and apxs -i processing of DSO modules to 
2732      perform special handling on platforms where libtool doesn't install 
2733      mod_foo.so.  This fixes some wonkiness on HP-UX, Tru64, and AIX 
2734      which prevented standard LoadModule statements from working.
2735      [Jeff Trawick]
2736
2737   *) Whenever mod_so is enabled (not just when there are DSOs for
2738      our modules), do whatever special magic is required for compiling/
2739      loading third-party modules.  This allows third-party DSOs to
2740      be used on an AIX build when there were no built-in modules
2741      built as DSOs.  (This should help on OS/390 and BeOS as well.)
2742      [Jeff Trawick]
2743
2744   *) Allow apxs to be used to build DSOs on AIX without requiring the
2745      user to hard-code the list of import files.  (This should help
2746      on OS/390 and BeOS as well.)  [Jeff Trawick]
2747      
2748   *) Resolved segfault in mod_isapi when configuring with ISAPICacheFile.
2749      PR 8563, 8919  [William Rowe]
2750   
2751   *) Get binary builds working when libapr and libaprutil are built
2752      shared [Greg Ames]
2753
2754   *) Get shared builds of libapr and libaprutil, as well as Apache DSOs,
2755      working on AIX.  [Aaron Bannert, Dick Dunbar <RLDunbar pacbell.net>,
2756      Gary Hook <ghook us.ibm.com>, Victor Orlikowski, Jeff Trawick]
2757
2758   *) Fix the handling of SSI directives in which the ">" of the
2759      terminating "-->" is the last byte in a file [Brian Pane]
2760
2761   *) Add back in the "suEXEC mechanism enabled (wrapper: /path/to/suexec)"
2762      message that we had back in apache-1.3 and still have scattered
2763      throughout our docs.  [Aaron Bannert]
2764
2765   *) Prevent the Win32 port from continuing after encountering an
2766      error in the command line args to apache.  [William Rowe]
2767
2768   *) On a error in the proxy, make it write a line to the error log
2769      [Ian Holsman]
2770
2771   *) Various mod_ssl performance improvements [Doug MacEachern]
2772
2773 Changes with Apache 2.0.29
2774
2775   *) Add buffering in core_output_filter to ensure that long
2776      lists of small buckets don't cause small packet writes.
2777      [Brian Pane, Ryan Bloom]
2778
2779   *) Fix the installation target to make sure that the manual is 
2780      installed in the correct location.
2781      [Yoshifumi Hiramatsu <hiramatu boreas.dti.ne.jp> and
2782       Gomez Henri <hgomez slib.fr>]
2783
2784   *) Fix the cmd command for mod_include.  When we are processing
2785      a cmd command, we do not want to use the r->filename to set
2786      the command name.  The command comes from the SSI tag.  To do this,
2787      I added a variable to the function that builds the command line
2788      in mod_cgi.  This allows the include_cmd function to specify
2789      the command line itself. [Ryan Bloom]
2790
2791   *) Change open_logs hook to return a value, allowing you
2792      to flag a error while opening logs
2793      [Ian Holsman, Doug MacEachern]
2794
2795   *) Change post_config hook to return a value, allowing you
2796      to flag a error post config
2797      [Ian Holsman, Jeff Trawick]
2798
2799   *) Allow SUEXEC_BIN (the path to the suexec binary that is
2800      hard-coded into the server) to be specified to the configure
2801      script by the --with-suexec-bin parameter.  [Aaron Bannert]
2802
2803   *) Fix segv in worker MPM following accept on pipe-of-death
2804      [Brian Pane]
2805
2806   *) Add mod_deflate to experimental.  
2807      [Ian Holsman, Justin Erenkrantz]
2808
2809   *) Bail out at configure time if an invalid MPM was specified.
2810      [jean-frederic clere <jfrederic.clere fujitsu-siemens.com>]
2811
2812   *) Prevent segv in ap_note_basic_auth_failure() when no AuthName is
2813      configured [John Sterling <sterling covalent.net>]
2814
2815   *) Fix apxs to use sbindir.  [Henri Gomez <hgomez slib.fr>]
2816
2817   *) Fix a problem with IPv6 vhosts.  PR #8118  [Jeff Trawick]
2818
2819   *) Optimization for the BNDM string-search function in
2820      mod_include.  [Brian Pane]
2821
2822   *) Fixed the behavior of the XBitHack directive.
2823      [Taketo Kabe <kabe sra-tohoku.co.jp>, Cliff Woolley] PR#8804
2824
2825   *) The threaded MPM for Unix has been removed.  Use the worker
2826      MPM instead.  [various]
2827
2828   *) APR-ize the resolver logic in mod_unique_id.  This fixes a bug
2829      in logging the error from a failed DNS lookup.  [Jeff Trawick]
2830
2831   *) Added the missing macros AP_INIT_TAKE13 and AP_INIT_TAKE123.
2832      [Cliff Woolley]
2833
2834   *) Get mod_cgid killed when a MPM exits due to a fatal error.
2835      [Jeff Trawick]
2836
2837   *) Fix a file descriptor leak in mod_include.  When we include a
2838      file, we use a sub-request, but we didn't destroy the sub-request
2839      immediately, instead we waited until the original request was
2840      done.  This patch closes the sub-request as soon as the data is
2841      done being generated.  [Brian Pane <bpane pacbell.net>]
2842
2843   *) Allow modules that add sockets to the ap_listeners list to
2844      define the function that should be used to accept on that
2845      socket.  Each MPM can define their own function to use for
2846      the accept function with the MPM_ACCEPT_FUNC macro.  This
2847      also abstracts out all of the Unix accept error handling
2848      logic, which has become out of synch across Unix MPMs.
2849      [Ryan Bloom]
2850
2851   *) Fix a bug which would cause the response headers to be omitted
2852      when sending a negotiated ErrorDocument because the required
2853      filters were attached to the wrong request_rec.
2854      [John Sterling <sterling covalent.net>]
2855
2856   *) Remove commas from the end of the macros that define
2857      directives that are used by MPMs.  Prior to this patch,
2858      you would use these macros without commas, which was unlike
2859      the macros for any other directives.  Now, the caller provides
2860      the comma rather than the macro providing it.  This makes
2861      the macros look more like the rest of the directives.
2862      [Ryan Bloom and Cliff Woolley]
2863
2864   *) Add 'redirect-carefully' environment option to disable sending
2865      redirects under special circumstances.  This is helpful for 
2866      Microsoft's WebFolders when accessing a directory resource via
2867      DAV methods.  [Justin Erenkrantz]
2868
2869   *) Begin to abstract out the underlying transport layer.
2870      The first step is to remove the socket from the conn_rec,
2871      the server now lives in a context that is passed to the
2872      core's input and output filters. This forces us to be very
2873      careful when adding calls that use the socket directly,
2874      because the socket isn't available in most locations.
2875      [Ryan Bloom]
2876
2877   *) Really reset the MaxClients value in worker and threaded
2878      when the configured value is not a multiple of the number 
2879      of threads per child.  We said we did previously but we 
2880      forgot to. [Jeff Trawick]
2881
2882   *) Add Debian layout.  [Daniel Stone <daniel sfarc.net>]
2883
2884   *) If shared modules are requested and mod_so is not available,
2885      produce a fatal config-time error.  [Justin Erenkrantz]
2886
2887   *) Improve http2env's performance by cutting the work it has to
2888      do.  [Brian Pane <bpane pacbell.net>]
2889
2890   *) use new 'apr_hash_merge' function in mod_mime (performance fix)
2891      [Brian Pane <bpane pacbell.net>]
2892
2893 Changes with Apache 2.0.28
2894
2895   *) Fix infinite loop in mod_cgid.c.  
2896      [Dale Ghent <daleg elemental.org>, Brian Pane <bpane pacbell.net>]
2897
2898   *) When no port is given in a "ServerName host" directive, the
2899      server_rec->port is now set to zero, not 80. That allows for
2900      run-time deduction of the correct server port (depending on
2901      SSL/plain, and depending also on the current setting of
2902      UseCanonicalName). This change makes redirections
2903      work, even with https:// connections. As in Apache-1.3, the
2904      connection's actual port number is never used, only the ServerName
2905      setting or the client's Host: setting. Documentation updated
2906      to reflect the change. [Martin Kraemer]
2907
2908   *) Add a '%{note-name}e' argument to mod-headers, which works in
2909      the same way as mod_log_confg.  [Ian Holsman]
2910
2911   *) Fix the spelling of the AP_MPMQ_MIN_SPARE_DAEMONS and
2912      AP_MPMQ_MAX_REQUESTS_DAEMON macros in ap_mpm.h and all standard
2913      MPMs.  [Cliff Woolley]
2914
2915   *) Introduce htdbm, a user management utility for db/dbm authorization
2916      databases.  [Mladen Turk <mturk mappingsoft.com>]
2917
2918   *) Optimize usage of strlen and strcat in ap_directory_walk.
2919      [Brian Pane <bpane pacbell.net>]
2920
2921 Changes with Apache 2.0.27
2922
2923   *) Introduce an Apache mod_ssl initial configuration template 
2924      (ssl.conf, generated from ssl-std.conf).  [Ralf S. Engelschall]
2925
2926   *) Fixed a memory leak in the getline parsing code that could
2927      be triggered by arbitrarily large header lines. Requests
2928      from the core input filter for single lines are now limited
2929      to HUGE_STRING_LEN (8192 bytes).  [Aaron Bannert]
2930
2931   *) Fix a truncation bug in how we print the port on the Via: header. 
2932      The routine that prints the Via: header now takes a length for
2933      the port string.  [Zvi Har'El <rl math.technion.ac.il>]
2934
2935   *) Some syntax errors in mod_mime_magic's magic file can result
2936      in a 500 error, which previously was unlogged.  Now we log the
2937      error.  [Jeff Trawick]
2938
2939   *) Add the support/checkgid helper app, which checks the run-time
2940      validity of group identifiers usable in the Group directive.
2941      [Ken Coar]
2942
2943   *) Various --enable-so options have been fixed: --enable-so is
2944      treated as "static"; explicit --enable-so=shared issues an error;
2945      and explicit --enable-so fails with error on systems without
2946      APR_HAS_DSO.  [Aaron Bannert]
2947
2948   *) Fix a segfault in the core input filter when the client socket
2949      gets disconnected unexpectedly.  [Cliff Woolley]
2950
2951   *) Fix the reporting for child processes that die.  This removes
2952      all of the non-portable W* macros from Apache. 
2953      [Jeff Trawick and Ryan Bloom]
2954
2955   *) Win32: Track and display "Parent Server Generation:" in
2956      mod_status output. The generation will be bumped at
2957      server graceful restart, when the child process exits
2958      by hitting MaxRequestsPerChild or if the child 
2959      process exits abnormally. [Bill Stoddard]
2960
2961   *) Win32: Fix problem where MaxRequestsPerChild directive was
2962      not being picked up in favor of the default. Enable
2963      the parent to start up a new child process immediately upon
2964      the old child starting shutdown.
2965      [Bill Stoddard]
2966
2967   *) Fix some bungling of the remote port in rfc1413.c so that 
2968      IdentityCheck retrieves the proper user id instead of failing
2969      and thus always returning "nobody."  
2970      [Dick Streefland <Dick.Streefland xs4all.nl>]
2971
2972   *) Introduced thread saftey for mod_rewrite's internal cache.
2973      [Brian Pane <bpane pacbell.net>]
2974
2975   *) Simplified mod_env's directives to behave as most directives are
2976      expected, in that UnsetEnv will not unset a SetEnv and PassEnv 
2977      directive following that UnsetEnv within the same container.
2978      Also provides a runtime startup warning if a PassEnv configured 
2979      environment value is undefined.  [William Rowe]
2980
2981   *) The worker MPM is now completely ported to APR's new lock API. It
2982      uses native APR types for thread mutexes, cross-process mutexes,
2983      and condition variables.  [Aaron Bannert]
2984
2985   *) Sync up documentation to remove all references to the now deprecated
2986      Port directive.  [Justin Erenkrantz]
2987
2988   *) Moved all ldap modules from the core to httpd-ldap sub-project
2989      [Ryan Bloom]
2990
2991   *) Exit when we can't listen on any of the configured ports.  This
2992      is the same behavior as 1.3, and it avoids having the MPMs to
2993      deal with bogus ap_listen_rec structures.  [Jeff Trawick]
2994
2995   *) Cleanup the proxy code that creates a request to the origin
2996      server.  This change adds an optional hook, which allows modules
2997      to gain control while the request is created if the proxy module
2998      is loaded.  The purpose of this hook is to allow modules to add
2999      input and/or output filters to the request to the origin.  While
3000      I was at it, I made the core use this hook, so that proxy request
3001      creation uses some of the code from the core.  This can still be
3002      greatly improved, but this is a good start.  [Ryan Bloom]
3003
3004 Changes with Apache 2.0.26
3005
3006   *) Port the MaxClients changes from the worker MPM to the threaded
3007      MPM.  [Ryan Bloom]
3008
3009   *) Fix mod_proxy so that it handles chunked transfer-encoding and works
3010      with the new input filtering system.  [Justin Erenkrantz]
3011
3012   *) Introduce the MultiviewsMatch directive, to allow the operator
3013      to be flexible in recognizing Handlers and Filters filename
3014      extensions as part of the Multiviews matching logic, strict with
3015      MultiviewsMatch NegotiatedOnly to accept only filename extentions 
3016      that designate negotiated parameters, (content type, charset, etc.)
3017      or MultiviewsAll for the 1.3 behavior of matching any files, even
3018      if they have unregistered extensions.  [William Rowe]
3019
3020   *) Fixed the configure script to add a LoadModule directive to
3021      the default httpd.conf for any module that was compiled
3022      as a DSO.  [Aaron Bannert <aaron clove.org>]
3023
3024   *) rewrite mod_ssl input filtering to work with the new input filtering
3025      system.  [Justin Erenkrantz]
3026
3027   *) prefork: Don't segfault when we are able to listen on some but
3028      not all of the configured ports.  [Jeff Trawick]
3029
3030   *) Build mod_so even if no core modules are built shared.
3031      [Aaron Bannert <aaron clove.org>]
3032
3033   *) Introduce ap_directory_walk rewrite (with further optimizations
3034      required) to adapt to the ap_process_request_internal() changes.
3035      Optimized so subrequests and redirects now reuse previous section 
3036      merges, until we mismatch with the original directory_walk, and
3037      precomputed r->finfo results will cause directory_walk to skip
3038      the most expensive phases of the function.  [William Rowe]
3039
3040   *) Allow ApacheMonitor to connect to and control Apache on other 
3041      WinNT/2K machines.   [Mladen Turk <mturk mappingsoft.com>]
3042
3043   *) Remove the Port directive.  In it's place, the Listen directive
3044      is now a required directive, which tells Apache what port to
3045      listen on.  The ServerName directive has also been extended
3046      to accept an optional port.  If the port is specified to the
3047      ServerName, the server will report that port whenever it
3048      reports the port that it is listening on.  This change was
3049      made to ease configuration errors that stem from having a Port
3050      directive, and a Listen directive.  In that situation, the server
3051      would only listen to the port specified by the Listen command,
3052      which caused a lot of confusion to users.  [Ryan Bloom]
3053
3054   *) Added mod_mime_magic, mod_unique_id and mod_vhost_alias to the Win32
3055      build, as loadable modules.  [William Rowe]
3056
3057   *) Fix --enable-mods-shared processing.  If most is specified,
3058      then all modules that can be compiled as shared modules are.
3059      [Aaron Bannert <aaron clove.org>]
3060
3061   *) Update the mime.types file to map video/vnd.mpegurl to mxu
3062      and add commonly used audio/x-mpegurl for m3u extensions.        
3063      [Heiko Recktenwald <uzs106 uni-bonn.de>, Lars Eilebrecht]
3064
3065   *) Eliminate the depreciated r->content_language, in favor of the array
3066      r->content_languages introduced many years ago.  Module authors must
3067      substantially overhaul their modules, so this needs to be upgraded
3068      if the module still relied on backwards-brokeness.  [William Rowe]
3069
3070   *) Allow configure help strings to work with autoconf 2.50+ and 2.13.
3071      [Justin Erenkrantz]
3072
3073   *) Rewrite the input filtering mechanisms to consolidate and reorganize
3074      code.  In short, core_input_filter does something now and
3075      ap_http_filter is now only concerned with HTTP.  [Justin Erenkrantz]
3076
3077   *) Update the Win32 build to re-absorb mod_proxy and family.
3078      [William Rowe]
3079
3080   *) Resolved the build failure on Win32 using MSVC 5.0 (without the
3081      current SDK.)  [William Rowe]
3082
3083   *) Some style changes to the code that does ProxyErrorOverride. Fixed
3084      config merge behaviour. [Graham Leggett]
3085
3086   *) Allow support programs to be compiled against a static version
3087      of libapr.  This allows the smaller support programs to be 
3088      relocated.  [Aaron Bannert <aaron clove.org>]
3089
3090   *) Update the mime.types file to the registered media types as
3091      of 2001-09-25, and add mapping for xsl extension [Mark Cox]
3092
3093   *) Fix MaxClients in the Worker MPM, so that it specifies the maximum
3094      number of clients that can connect at the same time, instead of
3095      specifying the maximum number of child processes.
3096      [Aaron Bannert <aaron clove.org>]
3097
3098   *) Switch proc_pthread AcceptMutex configuration directive to pthread to 
3099      be consistent with 1.3.  [Justin Erenkrantz]
3100
3101   *) Cache apr_explode_localtime() value for 15 seconds.
3102      [Brian Pane <bpane pacbell.net>]
3103
3104   *) Fix mod_include to not return ETag or Last-Modified headers.
3105      [Ian Holsman <ianh cnet.com>]
3106
3107   *) Fix worker MPM's scoreboard logic.  [Aaron Bannert <aaron clove.org>]
3108
3109   *) Eliminate the wasteful run-time conversion of method names from strings 
3110      to numbers in places where the methods are known at compile time.  
3111      [Brian Pane <bpane pacbell.net>]
3112
3113   *) Turn the worker MPM's queue into a LIFO.  This may
3114      improve cache-hit performance under some conditions.
3115      [Aaron Bannert <aaron clove.org>]
3116
3117   *) Switch back to SIGUSR1 for graceful restarts on all platforms that
3118      support it.  [Justin Erenkrantz]
3119
3120   *) Cleanup the worker MPM.  We no longer re-use transaction
3121      pools.  This incurs less overhead than shuffling the pools
3122      around so that they can be re-used.  Remove one of the
3123      queue's condition variables.  We just redefined the API to
3124      state that you can't try to add more stuff than you allocated
3125      segments for.  [Aaron Bannert <aaron clove.org>]
3126
3127   *) Fix SSL VPATH builds [Cody Sherr <csherr covalent.net>]
3128
3129   *) Fixed persistent connections when a request contains a body.
3130      [Greg Stein]
3131
3132   *) mod_dav uses a new API to speak to the backend provider for dead
3133      property management. [Greg Stein]
3134
3135   *) Remove the Win32 script-processing exception from mod_cgi, and
3136      roll build_command_line/build_argv_list into a unified, overrideable
3137      ap_cgi_build_command optional function.  [William Rowe]
3138
3139   *) Rewrite find_start_sequence to use a better search algorithm
3140      to find the start tag.  [Justin Erenkrantz]
3141
3142   *) Fix a seg fault in mod_include.  When we are generating an
3143      internal redirect, we must set r->uri to "", not a bogus
3144      string, and not NULL.  [Ryan Bloom]
3145
3146   *) Optimized location_walk, so subrequests, redirects and second passes
3147      now reuse previous section merges on a <Location > by <Location >
3148      basis, until we mismatch with the original location_walk. 
3149      [William Rowe]
3150
3151   *) Back out the 1.45 change to util_script.c.  This change made
3152      us set the environment variable REQUEST_URI to the redirected
3153      URI, instead of the originally requested URI.
3154      [Taketo Kabe <kabe sra-tohoku.co.jp>]
3155
3156   *) Make mod_include do lazy evaluation of potentially expensive to
3157      compute variables.  [Brian Pane <bpane pacbell.net>]
3158
3159   *) Fix logging of bytes sent for HEAD requests.  %b and %B should
3160      log either - or 0, before this patch, they were both logging
3161      the file size.  [Taketo Kabe <kabe sra-tohoku.co.jp>]
3162
3163   *) Make mod_include check for BYTE_CHECK_THRESHOLD per bucket rather 
3164      than per character.  [Brian Pane <bpane pacbell.net>]
3165
3166   *) Normalize the primary request, redirects and sub-requests to
3167      run the same ap_process_request_internal for consistency in
3168      robustness, behavior and security.  [William Rowe]
3169
3170   *) Fix a segfault with mod_include when r->path_info is not set
3171      (which is the case with mod_proxy).  [Ian Holsman <ianh cnet.com>]
3172
3173   *) Add -X functionality back.  This indicates to all MPMs and any other
3174      part of Apache that it should run in "debug" mode.  [Justin Erenkrantz]
3175
3176   *) Some initial support for the cygwin platform [prefork only].
3177      This is not to be confused with support for the WinNT/Win32
3178      platform, which is the recommended configuration for native
3179      Win32 users.  The cygwin platform support is recommended for
3180      cygwin platform users. [Stipe Tolj <tolj wapme-systems.de>]
3181
3182   *) Changed syntax of Set{Input|Output}Filter.  The list of filters
3183      must be semicolon delimited (if more than one filter is given.)
3184      The Set{Input|Output}Filter directive now overrides a parent
3185      container's directive (e.g. SetInputFilter in <Directory /web/foo>
3186      will override any SetInputFilter directive in <Directory /web>.)
3187      This new syntax is more consistent with Add{Input|Output}Filter
3188      directives defined in mod_mime.  Also cures a bug in prior releases
3189      where the Set{Input|Output}Filter directive would corrupt the 
3190      global configuration if the multiple directives were nested.
3191      [William Rowe]
3192
3193   *) Cured what's ailed mime for quite some time.  If an AddSomething
3194      was given in the configuration (Language, Charset, Handler or
3195      Encoding) Apache would set the content type as given by AddType, 
3196      but refused to check the mime.types file if AddType wasn't given 
3197      for that specific extension.  Setting the AddHandler for .html 
3198      without setting the AddType text/html html would cause Apache to 
3199      use the default content type.  [William Rowe]
3200
3201   *) Added some bulletproofing to memory allocation in the LDAP cache
3202      code. [Graham Leggett]
3203
3204 Changes with Apache 2.0.25
3205
3206   *) Move the installed /manual directory out of the /htdocs/ tree, so
3207      that it can be kept more independently from the remaining document
3208      root. The "Alias /manual ..." already allowed for easy projection
3209      into existing private document trees. [Martin Kraemer]
3210
3211   *) Add specified user attributes to the environment when using
3212      mod_auth_ldap. This allows you to use mod_include to embed specified
3213      user attributes in a page like so:
3214      Hello <!--#echo var="AUTHENTICATE_CN"-->, how are you?
3215      [Graham Leggett]
3216
3217   *) Fix a performance problem with the worker MPM.  We now create
3218      transaction pools once, and re-use them for each connection.
3219      [Aaron Bannert <aaron clove.org>]
3220
3221   *) Modfied mod_mime to prevent mod_negotation from serving a multiview
3222      of a 'handler' or 'filter', so that any filename extension that does 
3223      not contribute to the negotiated metadata can't be served without
3224      an explicit request.  E.g., if the .Z extension is associated with
3225      an unzip filter, the user request somefile.Z.html, mod_negotiation
3226      won't serve it.  It can serve somefile.Z.html when somefile.Z is
3227      requested, since the .Z extension is explictly requested, if the
3228      .html extension is associated with ContentType text/html.
3229      [William Rowe]
3230
3231   *) Introduce the AddInputFilter filter[;filter...] ext [ext...]
3232      and corresponding AddOutputFilter syntax, to insert one or more 
3233      filters by mod_mime filename extension processing.
3234      [William Rowe]
3235
3236   *) Fix a growing connection pool in core_output_filter() for 
3237      keepalive requests.  [Jeff Trawick]
3238
3239   *) Moved split_and_pass_pretag_buckets back to being a
3240      macro at Ryans's request. Removed the return from it
3241      by setting and returning a return code instead. Updated
3242      the code to check the return code from the macro and
3243      do the right thing. [Paul J. Reder]
3244
3245   *) Fix a segfault when a numeric value was received for Host:.
3246      [Jeff Trawick]
3247
3248   *) Add a function ap_remove_input_filter.  This is to match
3249      up with ap_remove_output_filter.  [Ryan Bloom]
3250
3251   *) Clean up location_walk, so that this step performs a minimum
3252      amount of redundant effort (it must be run twice, but it will no
3253      longer reparse all <Location > blocks when the request uri
3254      hadn't changed.)  [William Rowe]
3255
3256   *) Eliminate proxy: (and all other 'special') processing from the
3257      ap_directory_walk() phase.  Modules that want to use special
3258      walk logic should refer to the mod_proxy map_to_location example,
3259      with it's proxy_walk and proxysection implementation.  This makes
3260      either directory_walk flavor much more legible, since that phase
3261      only runs against real <Directory > blocks.
3262      [William Rowe]
3263
3264   *) SECURITY: Fix a security problem in mod_include which would allow
3265      an SSI document to be passed to the client unparsed.
3266      [Cliff Woolley, Brian Pane]
3267
3268   *) Introduce the map_to_storage hook, which allows modules to bypass
3269      the directory_walk and file_walk for non-file requests.  TRACE
3270      shortcut moved to http_protocol.c as APR_HOOK_MIDDLE, and the
3271      directory_walk/file_walk happen as APR_HOOK_VERY_LAST in core.c.
3272      [William Rowe]
3273
3274   *) Add the ability for mod_include to add the INCLUDES filter
3275      if the file is configured for the server-parsed handler.
3276      This makes the configuration for .shtml files much easier
3277      to understand, and allows mod_include to honor Apache 1.3
3278      config files.   Based on Doug MacEachern's patch to PHP
3279      to do the same thing.  [Ryan Bloom]
3280
3281   *) force OpenSSL to ignore process local-caching and to always
3282      get/set/delete sessions using mod_ssl's callbacks
3283      [Madhusudan Mathihalli <madhusudan_mathihalli hp.com>,
3284       Geoff Thorpe <geoff geoffthorpe.net>]
3285
3286   *) Make the worker MPM shutdown and restart cleanly.  This also
3287      cleans up some race conditions, and gets the worker using
3288      pools more cleanly.  [Aaron Bannert <aaron clove.org>]
3289
3290   *) Implement CRYPTO_set_locking_callback() in terms of apr_lock
3291      for mod_ssl
3292      [Madhusudan Mathihalli <madhusudan_mathihalli hp.com>]
3293
3294   *) Fix for mod_include. Ryan's patch to check error
3295      codes put a return in the wrong place. Also, the
3296      include handler return code wasn't being checked.
3297      I don't like macros with returns, so I converted
3298      SPLIT_AND_PASS_PRETAG_BUCKETS into a function.
3299      [Paul J. Reder <rederpj raleigh.ibm.com>]
3300
3301   *) fix segv in mod_mime if no AddTypes are configured
3302      [John Sterling <sterling covalent.net>]
3303
3304   *) Enable ssl client authentication at SSL_accept time
3305      [Madhusudan Mathihalli <madhusudan_mathihalli hp.com>]
3306
3307   *) Fix a segfault in mod_include when the original request has no
3308      associated filename (e.g., we're filtering the error document for
3309      a bad URI).  [Jeff Trawick]
3310
3311   *) Fix a storage leak (a strdup() call) in mod_mime_magic.  [Jeff Trawick]
3312
3313   *) The prefork and OS/2 MPMs are overwriting the pid file when a second copy
3314      of httpd is started and shuts down due to socket conflict. Moving the
3315      call to ap_log_pid solves the problem.
3316
3317   *) Changed the late-1.3 log_config substitution %c to %X, to log the
3318      status of the closed connection, as it conflicts with the far more
3319      common, historical ssl logging directive %...{var}c.  [William Rowe]
3320
3321   *) Added the common error/ tree to the build/install targets 
3322      (similar to the common icons/ tree) for the multi-language error 
3323      messages that Lars committed earlier.  [William Rowe]
3324
3325   *) Added a multi process, multi threaded OS/2 MPM mpmt_os2.  [Brian Havard]
3326
3327   *) Added a default commented-out mod_ldap and mod_auth_ldap
3328      configuration to httpd-std.conf and httpd-win.conf
3329      [Graham Leggett]
3330
3331   *) Added documentation for mod_ldap and mod_auth_ldap.
3332      [Graham Leggett]
3333
3334   *) Enabled negative caching on attribute comparisons in the LDAP cache.
3335      Fixed a problem where the default cache TTL was set in milliseconds
3336      not microseconds causing the cache to time out almost immediately.
3337      [Graham Leggett]
3338
3339   *) Fixed all the #if APR_HAS_SHARED_MEMORY checks within the LDAP
3340      module code to follow APR. [Graham Leggett]
3341
3342   *) Fixed LDAP cleanup on graceful restarts. LDAP connections are now
3343      cleaned up when the connection pool pool is cleaned up.
3344      [Graham Leggett]
3345
3346   *) Fix a minor issue with Jeff Trawick's mod_include
3347      patch. Without this patch, the code will just allocate
3348      more bytes in get_combined_directive than are needed.
3349      [Paul Reder]
3350
3351   *) Added the LDAP authentication module mod_auth_ldap.
3352      [Dave Carrigan <dave rudedog.org>, Graham Leggett]
3353
3354   *) Added the LDAP cache and connection pooling module mod_ldap.
3355      [Dave Carrigan <dave rudedog.org>, Graham Leggett]
3356
3357   *) Fix --enable-modules=all breakage with mod_auth_db and mod_auth_digest
3358      by allowing a module to disable itself if its prerequisites are not
3359      met.  [Justin Erenkrantz]
3360
3361 Changes with Apache 2.0.24
3362
3363   *) Fix a couple of issues in mod_include when the tag appeared at
3364      offsets near 8192 in the file being parsed.  [Jeff Trawick]
3365
3366   *) Fix an assertion failure in mod_ssl when the keepalive timeout is  
3367      reached.  [Jeff Trawick]
3368
3369   *) Numerous improvements to the Win32 build system.  Introduced command line
3370      builds without requiring .mak files for MSVC 6.0 and later versions.
3371      Improved .dsp file compatibility for both Visual Studio 5.0 and 6.0 users.
3372      [William Rowe]
3373
3374   *) Assorted corrections and improvements to the winnt_mpm startup code.  Better
3375      reporting of uninstalled services and other error conditions, and changed the 
3376      default service name to Apache2.  [William Rowe]
3377
3378   *) Numerous improvements to the Win32 ApacheMonitor utility, including winnt_mpm 
3379      compatibility with existing Apache 1.3 Win32 Apache management utilites.  
3380      [Mladen Turk <mturk mappingsoft.com>, William Rowe]
3381
3382   *) Fixed the segfaults in mod_mime introduced by hash tables in 2.0.20.
3383      [William Rowe, Greg Ames]
3384
3385   *) Rounded out the mod_mime Add/Remove pairs by adding RemoveLanguage
3386      and RemoveCharset directives.  [William Rowe]
3387
3388   *) The Unix MPMs other than perchild now allow child server 
3389      processes to use the accept mutex when starting as root and 
3390      using SysV sems for the accept mutex.  Previously, this 
3391      combination would lead to fatal errors in the child server 
3392      processes.  perchild can't use SysV sems because of security
3393      issues.  [Jeff Trawick, Greg Ames]
3394
3395   *) Added Win32 revision stamp resources to all http binaries
3396      (including modules/ and support/ tools.)  PR7322  [William Rowe]
3397
3398   *) Fix ap_rvprintf to support more than 4K of data at one time.
3399      [Cody Sherr <csherr covalent.net>]
3400
3401   *) We have always used the obsolete/deprecated Netscape syntax
3402      for our tracking cookies; now the CookieStyle directive
3403      allows the Webmaster to choose the Netscape, RFC2109, or
3404      RFC2965 format.  The new CookieDomain directive allows the
3405      setting of the cookie's Domain= attribute, too.  PR #s 5006,
3406      5023, 5920, 6140 [Ken Coar]
3407
3408   *) Tweak server/Makefile so that the rules for generating exports.c
3409      are compatible with make utilities which don't expand wildcards
3410      in a dependency list (e.g., OS/390 make, certain levels of GNU
3411      make).  [Jeff Trawick]
3412
3413   *) Install the SSL headers.  [John Sterling <sterling covalent.net>]
3414
3415   *) Begin to sanitize the MPM configuration directives.  Now, all
3416      MPMs use the same functions for all common MPM directives.  This
3417      should make it easier to catch all bugs in these directives once.
3418      [Cody Sherr <csherr covalent.net>]
3419
3420   *) Close a major resource leak.  Every time we had issued a
3421      graceful restart, we leaked a socket descriptor.
3422      [Ryan Bloom]
3423
3424   *) Fix a problem with the new method code.  We need to cast
3425      the 1 to an apr_int64_t or it will be treated as a 32-bit
3426      integer, and it will wrap after being shifted 32 times.
3427      [Cody Sherr <csherr covalent.net> and Ryan Morgan <rmorgan covalent.net>]
3428
3429   *) Fix a bug in mod_expires.  Previous to this patch, if you
3430      told mod_expires to add 604800 seconds to the last-modified
3431      time, it actually added 604800 usec's to the last-modified time,
3432      so that when looking at the response it looked like nothing
3433      had been done.  The root of the problem was that we always compute
3434      time in usec's, but we ask users to input sec's.  This means we
3435      need to convert to usec's before using those values.
3436      [Ryan Bloom]
3437
3438   *) The worker MPM now handles shutdown and restart requests.  It
3439      definitely isn't perfect, but we do stop the servers correctly.
3440      The biggest problem right now is that SIGHUP causes the server to
3441      just die.  [Ryan Bloom]
3442
3443 Changes with Apache 2.0.23
3444
3445   *) Use the prefork MPM by default on Unix.  [various]
3446
3447   *) Added a systray icon monitor application for Win32.
3448      [Mladen Turk <mturk mappingsoft.com>]
3449
3450   *) mod_rewrite: Fix the line ending on some non-Unix systems for 
3451      messages written to the rewrite log.  
3452      [Richard Labennett <rlabenn us.ibm.com>]
3453
3454   *) All mod_autoindex query parsing is now quietly quashed with the 
3455      IndexOption IgnoreClient.  The IndexOption SuppressColumnSorting 
3456      still drops the column sort <a href>'s for the column headers, but 
3457      IgnoreClient is required to ignore these Query options entirely.  
3458      [William Rowe]
3459
3460   *) Introduced new mod_autoindex query argument parsing for F=[0|1|2]
3461      to allow the client to select plain, FancyIndexing or HTMLTable
3462      formatting, V=[0|1] to inhibit or enable version sorting, and 
3463      P=pattern to return only specific files.  The old Query Arguments
3464      were reorganized as C=f for sorting column 'f' (same N, D, S, or M
3465      as before), and O=A|D for ordering ascending or descending.  
3466      [William Rowe]
3467
3468   *) Fixed an error in mod_include's directive parsing routines which
3469      caused #if, #elif, and #else expressions containing backslashes
3470      to be improperly evaluated.  [Cliff Woolley]
3471
3472   *) Introduced new mod_autoindex IndexOptions flags: SuppressIcon to 
3473      drop the icon column, SuppressRules to drop the <hr> elements, 
3474      and HTMLTable to create rudimentary HTML table listings (implies 
3475      FancyIndexing).  [William Rowe]
3476
3477   *) Re-introduced the mod_autoindex IndexOptions flag TrackModified
3478      from Apache 1.3.15.  This is needed for two reasons, first, given
3479      multiple machines within a server farm, ETags and Last-Modified 
3480      stamps won't correspond from machine to machine, and second, many 
3481      Unixes don't capture changes to the date or time stamp of existing 
3482      files, since these don't modify the dirent itself.  [William Rowe]
3483
3484   *) Re-introduced the mod_autoindex IndexOptions flag FoldersFirst 
3485      and DirectoryWidth options from Apache 1.3.10. 
3486      [William Rowe, Ken Coar]
3487
3488   *) Eliminated FancyIndexing directive, deprecated early in Apache
3489      1.3 by the IndexOptions FancyIndexing syntax.  [William Rowe]
3490
3491   *) mod_autoindex now excludes any file names that would result in
3492      an error, other than a success or redirect.  Also optimized
3493      the parent directory, always included except in the URI '/'.
3494      [William Rowe]
3495
3496   *) Refactored mod_negotiation and mod_mime to help mod_dir accept
3497      negotiated index pages, and prevent the server from defaulting
3498      to an autoindex of the directory.  mod_negotiation will now die
3499      with a 500 Internal Error if it could match some filenames 
3500      (e.g. for mod_dir) but none can be served.  mod_negotation now
3501      refuses to serve any file with an extention that mod_mime doesn't
3502      recognize, and wasn't part of the request.  [William Rowe]
3503
3504   *) Eliminate mod_cgi's handling of .exe files without the .exe file
3505      extension.  This is already handled by multiviews, if the admin
3506      wishes to AddHandler .exe or define a content type handler and 
3507      associate .exe files with that content type.  Multiviews must be
3508      enabled to allow these to be served.  [William Rowe]
3509
3510   *) Speed up the server's response to a spike in incoming workload
3511      or restarts by assigning empty scoreboard slots to new processes
3512      when they are available.  [Greg Ames]
3513
3514   *) Add a handler to mod_includes.c.  This handler is designed to
3515      implement the XbitHack directive.  This can't be done with a
3516      fixup, because we need to check the content-type, which is
3517      only available in the handler phase.  [Ryan Bloom]
3518
3519   *) Make the includes filter check return codes from filters lower in
3520      the filter chain.  If a lower level filter returns an error, then
3521      the request needs to stop immediately.  This allows mod_include to
3522      stop parsing data once a lower filter recognizes an error.
3523      [Ryan Bloom]
3524
3525   *) Add the ability to extend the methods that Apache understands
3526      and have those methods <limit>able in the httpd.conf. It uses 
3527      the same bit mask/shifted offset as the original HTTP methods 
3528      such as M_GET or M_POST, but expands the total bits from an int to 
3529      an ap_int64_t to handle more bits for new request methods than 
3530      an int provides.  [Cody Sherr <csherr covalent.net>]
3531
3532   *) Fix broken mod_mime behavior in merging its arguments.  Possible
3533      cause of unexplicable crashes introduced in 2.0.20.  [William Rowe]
3534
3535   *) Solve many mod_ssl porting issues (too many to detail) with 
3536      help from the whole team, but most notably [Ralf S. Engelschall, 
3537      Madhusudan Mathihalli <madhusudan_mathihalli hp.com>, 
3538      Doug MacEachern, William Rowe, Cliff Woolley]
3539
3540   *) More stall fixes for the threaded & worker mpm's.
3541      Make mod_status output more accurate.  Don't
3542      count workers in processes which aren't actively
3543      serving requests. [Greg Ames]
3544      
3545   *) Win32: Get SSI exec cgi tag working. [Bill Stoddard]
3546
3547   *) Add a single listener/multiple worker MPM.  This MPM is
3548      definately not fully correct, but it allows us to solve many
3549      of the problems that exist in the threaded MPM.  This is a 
3550      modified version of the threaded MPM.  [Ryan Bloom]
3551
3552   *) Improve content generation throughout Apache, providing closer
3553      compliance with HTML 3.2, HTML 4.01 Transitional and XHTML 1.0
3554      Transitional specifications.  [William Rowe]
3555
3556 Changes with Apache 2.0.22
3557   
3558   *) Fix a problem where the threaded MPM stalls after restarts or
3559      segfaults.  Also prevent multiple active processes from using
3560      the same scoreboard slot.  [Greg Ames]
3561
3562   *) Apache/Win32 now fills in the service description with Apache's
3563      server version string, including loaded and advertised modules.
3564      [William Rowe]
3565
3566   *) Improved support for the Win32 build, to recover gracefully from
3567      missing apr or apr-util directories or the awk interpreter, 
3568      create the proper cgi-bin examples, including a test-cgi.bat, and 
3569      fix the perl shebang line for printenv.pl, when installing from 
3570      the build environment.  [William Rowe]
3571
3572   *) Fix a segfault in threaded.c caused by passing uninitialized
3573      apr_thread_t * to apr_thread_join().  [Jeff Trawick]
3574
3575   *) Use new APR number conversion functions to reduce CPU consumption 
3576      when setting the content length, and in mod_log_config.
3577      [Brian Pane]
3578      
3579   *) Fix problem reported by Taketo Kabe <kabe sra-tohoku.co.jp>
3580      where HEAD response headers were being repeated twice for
3581      files greater than 32K bytes (4*AP_MIN_BYTES_TO_WRITE). This
3582      problem in the http_header filter was exposed by the recent rewrite
3583      of the content_length filter. [Taketo Kabe, Bill Stoddard]
3584
3585   *) Fix seg faults in mod_status with ExtendedStatus enabled, after
3586      restarts.  A garbage pointer to a vhost's server_rec from the
3587      previous generation was being left around under certain
3588      conditions. [Greg Ames]
3589
3590   *) Fix a cosmetic problem with mod_include.  Non-existant SSI vars
3591      used to appear as '(none', without the closing paren.
3592      [Günter Knauf <eflash gmx.net>]
3593
3594   *) Improve the exports generating awk script.  In the past, we had
3595      work around problems in the awk script by avoiding some #if and
3596      #ifdefs.  This has bitten us many times in generating the exports.c
3597      file.  This improvement allows corrects the header file parsing.
3598      [Sander Striker <striker apache.org>]
3599
3600 Changes with Apache 2.0.21
3601
3602   *) Resolve the Win32 htpasswd bug, where a file that existed would be
3603      overwritten, regardless of the -c flag.
3604      [William Rowe, Mladen Turk <mladen.turk mail.inet.hr>]
3605
3606   *) Introduce connection sub-pools into ab.  Truncating the lifetime
3607      of these allocations means that ab no longer perpetually grows
3608      its working set, running out of memory on large request attempts.
3609      [William Rowe]
3610
3611   *) Make scoreboard creation a hook.  This allows management
3612      modules to have access to the scoreboard at the time that it is
3613      created, and at every restart request.  
3614      [Cody Sherr <csherr covalent.net>]
3615
3616   *) Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
3617      added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest
3618      daemon index actually used in the scoreboard. I also
3619      updated the pertinent calls. [Paul J. Reder]
3620
3621   *) Win32: Prevent listening sockets from being inherited by
3622      the Apache child process, CGI scripts, rotatelog process
3623      etc.  If the Apache child process segfaults, any processes 
3624      that the child started are not reaped. Prior to this fix,
3625      these processes inherited the listening sockets which sometimes
3626      prevented the restarted Apache child process from accepting
3627      connections (ie, the server would hang). 
3628      [Bill Stoddard]
3629
3630   *) Provide vhost and request strings when ExtendedStatus is on.
3631      [Greg Ames]
3632
3633   *) Fix some issues with the pod and prefork: check the pod *after*
3634      processing a connection so that a server processing a time-
3635      consuming request bails out as soon as practical; when the
3636      parent process wakes up a server process via connect(), use an
3637      APR timeout on the connect() so that we don't hang for a long
3638      time if there aren't server processes around to do accept().
3639      [Jeff Trawick, Greg Ames]
3640
3641   *) Performance improvement to mod_mime.c. find_ct() in mod_mime, 
3642      spends a lot of time in apr_table_get calls.  Using the default 
3643      httpd.conf, the tables for languages and charsets are somewhat
3644      large, so the time spent scanning them on each request is
3645      significant. Replacing the tables with hash tables provides
3646      a nice speedup. [Brian Pane <bpane pacbell.net>]
3647
3648   *) Add two functions to allow modules to access random parts of the
3649      scoreboard.  This allows modules compiled for one MPM to access the
3650      scoreboard, even if it the server was compiled for another MPM.
3651      [Harrie Hazewinkel <harrie covalent.net>]
3652
3653 Changes with Apache 2.0.20
3654
3655   *) Fix problem in content-length filter where the filter would
3656      buffer all the output from a CGI before sending any bytes
3657      down the filter stack to the network. This problem would cause
3658      significant memory consumption if the CGIs generated
3659      lots of bytes. [Bill Stoddard]
3660   
3661   *) Get non-blocking CGI pipe reads working with the bucket brigades.
3662      [Bill Stoddard]
3663
3664   *) Fix seg fault on Windows when serving files cached with mod_file_cache.
3665      [Bill Stoddard]
3666
3667   *) Fix a bug in the threaded MPM that would cause it to kill off all
3668      workers immediately after starting if the number of workers started
3669      was above a certain threshold.  [Ryan Bloom, Bill Stoddard]
3670
3671 Changes with Apache 2.0.19
3672
3673   *) Fix problem with threaded MPM.  The problem was that if each child
3674      process was busy serving a single long-lived request and the server
3675      was sent a graceful restart signal, the server would stop serving
3676      requests.  This would happen because each child process would wait to
3677      die until the last thread was done, and the parent wouldn't spawn any
3678      new children until a process died.  Now, the parent looks at the fact
3679      that the children are dying gracefully, and starts new children.
3680      Those new children only start enough threads to compliment the number
3681      of threads in the other child process that shares the same spot in
3682      the scoreboard.  In this way, we make sure to never go over
3683      MaxClients.  [Ryan Bloom]
3684
3685   *) modified mod_negotiation and mod_autoindex to speed up by almost a
3686      factor of two on apr_dir_read()-enhanced platforms, such as Win32
3687      and OS2, by calling ap_sub_request_lookup_dirent() with the results
3688      already provided by apr_dir_read().  [William Rowe]
3689
3690   *) mod_file_cache is now more robust to filtering and serves requests
3691      slightly more efficiently.  [Cliff Woolley]
3692
3693   *) Fix problem handling FLUSH bucket in the chunked encoding filter.
3694      Module was calling ap_rwrite() followed by ap_rflush() but the 
3695      served content was not being displayed in the browser. Inspection
3696      of the output stream revealed that the first data chunk was
3697      missing the trailing CRLF required by the RFC.  [Bill Stoddard]
3698
3699   *) apxs no longer generates ap_send_http_header() in the example handler
3700
3701   *) Fix an ab problem which could cause a divide-by-zero exception
3702      with certain invocations (e.g., ab -k -c 6 -n 100 localhost/).
3703      [Ian Holsman <ianh cnet.com>]
3704
3705   *) Solve case-insensitive platforms' confusion about negotiated
3706      filenames, allowing files of differnt case to match in choosing
3707      the document to serve.  [William Rowe]
3708
3709   *) Fix brokenness when ThreadsPerChild is higher than the built-in
3710      limit.  We left ap_threads_per_child at the higher value which
3711      led to segfaults when doing certain scoreboard operations.
3712      [Jeff Trawick]
3713
3714   *) Fix seg faults and/or missing output from mod_include.  The
3715      default_handler was using the subrequest pool for files and
3716      MMAPs, even though the associated APR structures typically 
3717      live longer than the subrequest. [Greg Ames]
3718   
3719   *) Extend mod_setenvif to support specifying regular expressions
3720      on the SetEnvIf (and SetEnvIfNoCase) directive attribute field.
3721      Example:  SetEnvIf ^TS*  [a-z].* HAVE_TS 
3722      will cause HAVE_TS to be set if any of the request headers begins 
3723      with "TS" and has a value that begins with any character in the
3724      set [a-z]. [Bill Stoddard]
3725
3726   *) httpd children now re-bind themselves to a random CPU on
3727      multiprocessor systems on AIX via bindprocessor() in 2.0.
3728      [Victor J. Orlikowski]
3729
3730   *) Fix htdigest. It would go into a loop in getline when adding 
3731      a second user. [Bill Stoddard]
3732
3733   *) Win32 platforms now fully support mod_userdir options.  [Will Rowe]
3734
3735   *) Automatically generate httpd.exp for AIX.
3736      DSOs now work again on AIX in 2.0
3737      [Victor J. Orlikowski]
3738
3739   *) Add a new request hook, error_log.  This phase allows modules
3740      to act on the error log string _after_ it has been written
3741      to the error log.  The goal for this hook is to allow monitoring
3742      modules to send the error string to the monitoring agent.
3743      [Ryan Bloom]
3744
3745   *) Modify mod_echo to make it use filters for input and output.
3746      [Ryan Morgan <rmorgan covalent.net>]
3747
3748   *) Extend mod_headers to support conditional driven Header 
3749      add, append and set. Use SetEnvIf to set an envar and conditionally
3750      add/append/set headers based on this envar thusly:
3751
3752      SetEnvIf TSMyHeader value HAVE_TSMyHeader
3753      Header add MyHeader "%t %D" env=HAVE_TSMyHeader
3754
3755      If the request contains header "TSMyHeader: value" then header
3756      MyHeader: "t=xxxxxxxxxx D=yyyy" will be sent on the response.
3757      [Bill Stoddard]
3758
3759   *) Extend mod_headers to support using format specifiers on Header
3760      add, append and set header values. Two format specifiers are supported:
3761
3762      %t - reports, in UTC microseconds since the epoch, when the
3763           request was received.
3764
3765      %D - reports the time, in microseconds, between when the request was 
3766           received and the response sent. 
3767
3768      Examples:
3769      Header add MyHeader "This request served in %D microseconds. %t"
3770
3771      results in a header being added to the response that looks like this:
3772      
3773      MyHeader: This request served in D=5438 microseconds. t=991424704447256
3774
3775      [Bill Stoddard]
3776
3777   *) Fix reset_filter().  We need to be careful how we remove filters.
3778      If we set r->output_filters to NULL, we also have to reset the
3779      connection's filters.  [John Sterling]
3780
3781   *) Optimise reset_filter() in http_protocol.c. [Greg Stein]
3782
3783   *) Add a check to ap_die() to make sure the filter stack is sane and
3784      contains the correct basic filters when an error occurs. This fixes
3785      a problem where headers are not being sent on error. [John Sterling]
3786
3787   *) New Header directive 'echo' option. "Header echo regex" will
3788      cause any headers received on the request that match regex to be
3789      echoed to (included in) the response headers.
3790      [Bill Stoddard]
3791
3792   *) include/ap_compat.h tested and set APR_COMPAT_H instead of AP_COMPAT_H.
3793      This prevented the inclusion of apr_compat.h.  PR #7773
3794      [Oleg Broytmann <phd phd.pp.ru>]
3795
3796   *) Moved util_uri to the apr-util library.  This required a bunch of
3797      apr_name changes for the uri utility functions.  [Justin Erenkrantz]
3798
3799   *) Move the addition of default AP_HTTP_HTTP_HEADER filters to the
3800      insert_filter phase so that other filters are not bypassed by default.
3801      [Graham Leggett]
3802
3803   *) Reimplement mod_headers as an output filter. mod_headers can now
3804      add custom headers to inbound requests using the RequestHeader directive
3805      and to responses using the same old Header directive.  [Graham Leggett]
3806
3807 Changes with Apache 2.0.18
3808
3809   *) Fix command-line processing so that if a bad argument is specified
3810      Apache will exit.  [Jeff Trawick]
3811
3812   *) Change the make targets and rules to be consistent in all of the
3813      Apache-owned source trees.  [Roy Fielding]
3814      
3815   *) Fix processing of the TRACE method.  Previously we passed bogus
3816      parms to form_header_field() and it overlaid some vhost structures,
3817      resulting in a segfault in check_hostalias(). 
3818      [Greg Ames, Jeff Trawick]
3819
3820   *) Win32: Add support for reliable piped logs. If the logging process
3821      goes down, Apache will automatically restart it. This function has 
3822      been part of Apache on Unix/Linux/BSD since the early v1.3 releases.
3823      [Bill Stoddard]
3824
3825   *) Do not start piped log processes during the config file 
3826      preflight.  This change also circumvents a problem on 
3827      Windows where the rotatelog processes created during preflight
3828      was not getting cleaned up properly.
3829      [Bill Stoddard]
3830
3831   *) add "Request Phase Participation" info to mod_info
3832      [Doug MacEachern]
3833
3834   *) Make first phase changes to the scoreboard data structures in
3835      preparation for the rewriting of the scoreboard per my posted
3836      design notes. [Paul J. Reder]
3837
3838   *) Fix httpd's definition of LTFLAGS to be consistent with that of apr
3839      and apr-util, allow it to be overridden by the configure command-line
3840      (default="--silent") and introduce LT_LDFLAGS to replace what we were
3841      formerly abusing as LTFLAGS.  [Roy Fielding]
3842
3843   *) Clean up the reporting of incorrect closing container tags.
3844      [Barrie Slaymaker <barries slaysys.com>]
3845
3846   *) Simplify the configure process by moving all libtool stuff to APR
3847      and moving hints.m4 inline.  [Roy Fielding]
3848
3849   *) Add the AP_DECLARE()/AP_CORE_DECLARE macros on the return types
3850      of functions used by mod_proxy for export in the DLL 
3851      [Ian Holsman <IanH cnet.com>]
3852
3853   *) Prevent a hang when a cgi handled by mod_cgid tries to read a
3854      request body from its stdin but no reqest body is being written to 
3855      the cgi.  [Jeff Trawick]
3856
3857   *) mod_log_config: %c connection status incorrectly logged
3858      as "-" (non-keepalive) when MaxKeepAliveRequests is set to 0.
3859      [Bill Stoddard]
3860
3861   *) Get mod_cern_meta working under Windows
3862      [Bill Stoddard]
3863
3864   *) Create Files, and thus MMAPs, out of the request pool, not the
3865      connection pool.  This solves a small resource leak that had us
3866      not closing files until a connection was closed.  In order to do
3867      this, at the end of the core_output_filter, we loop through the
3868      brigade and convert any data we have into a single HEAP bucket
3869      that we know will survive clearing the request_rec.
3870      [Ryan Bloom, Justin Erenkrantz <jerenkrantz ebuilt.com>,
3871       Cliff Woolley]
3872
3873   *) Completely revamp configure so that it preserves the standard make
3874      variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving
3875      the configure additions to EXTRA_* variables.  Also, allow the user
3876      to specify NOTEST_* values for all of the above, which eliminates the
3877      need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM.  Fix the setting
3878      of INCLUDES and EXTRA_INCLUDES.  Check flags as they are added to
3879      avoid pointless duplications.  Fix the order in which flags are given
3880      on the compile and link lines.  Remove obsolete macros APR_DOEXTRA,
3881      AC_ADD_LIBRARY, AC_CHECK_DEFINE, APACHE_PASSTHRU, and APACHE_ONCE.
3882      Added APR_SAVE_THE_ENVIRONMENT and APR_RESTORE_THE_ENVIRONMENT macros.
3883      Renamed AC_TYPE_RLIM_T macro to APACHE_TYPE_RLIM_T.  [Roy Fielding]
3884
3885   *) Get mod_tls to compile/work better on Windows.  PR #7612
3886      [Bernhard Schrenk <b.schrenk improx.com>]
3887
3888   *) Fix shutdown/restart hangs in the threaded MPM.
3889      [Jeff Trawick, Greg Ames, Ryan Bloom]
3890   
3891   *) Removed the keptalive boolean from conn_rec because it is now only
3892      used by a single routine and can be replaced by a local variable.
3893      [Greg Stein, Ryan Bloom, Roy Fielding]
3894
3895   *) Patch prefork to put enough of the signal processing back in so that
3896      signals are all handled properly now. The previous patch fixed the
3897      deadlock race condition, but broke the user directed signal handling.
3898      This fixes it to work the way it did before my previous prefork patch
3899      (primarily, SIGTERM is now working).
3900  
3901   *) Change how input filters decide how much data is returned to the
3902      higher filter.  We used to use a field in the conn_rec, with this
3903      change, we use an argument to ap_get_brigade to determine how much
3904      data is retrieved. [Ryan Bloom]
3905
3906   *) Fix seg fault at start-up introduced by Ryan's change to enable
3907      modules to specify their own logging tags. mod_log_config
3908      registers an optional function, ap_register_log_handler().
3909      ap_register_log_handler() was being called by http_core before
3910      the directive hash table was created. This patch creates the
3911      directive hash table before ap_register_log_handler() is
3912      registered as an optional function.
3913      [jean-frederic clere <jfrederic.clere fujitsu-siemens.com>]
3914
3915   *) Add ap_set_int_slot() function
3916      [John K. Sterling <sterling covalent.net>]
3917
3918   *) Under certain circumstances, Apache did not supply the
3919      right response headers when requiring authentication.
3920      [Gertjan van Wingerde <Gertjan.van.Wingerde cmg.nl>] PR#7114
3921      (This is a port of the change that went into Apache 1.3.19.)
3922
3923   *) Allow modules to specify their own logging tags.  This basically
3924      allows a module to tell mod_log_config that when %x is encountered
3925      a specific function should be called.  Currently, x can be any single
3926      character.  It may be more useful to make this a string at some point.
3927      [Ryan Bloom]
3928
3929 Changes with Apache 2.0.17
3930
3931   *) If a higher-level filter handles the the byterange aspects of a
3932      request, then the byterange filter should not try to redo the
3933      work.  The most common case of this happening, is a byterange
3934      request going through the proxy, and the origin server handles
3935      the byterange request.  The proxy should ignore it.
3936      [Graham Leggett <minfrin sharp.fm>]
3937
3938   *) Changed the threaded mpm to have child_main join to each of the
3939      worker threads to make sure the kids are all gone before child_main
3940      exits after a signal (cleanup from perform_idle_server_maintenance).
3941      This is an extension of Ryans recent commit to make the child_main
3942      the signal thread.
3943
3944   *) Add more options to the ap_mpm_query function.  This also allows MPMs to
3945      report if their threads are dynamic or static.  Finally, this also
3946      implements a new API, ap_show_mpm, which returns the MPM that was
3947      required into the core. [Harrie Hazewinkel <harrie covalent.net>]
3948
3949   *) Do not install the binaries from the support directory twice.
3950      [jun-ichiro hagino <itojun iijlab.net>]
3951
3952   *) The ap_f* functions should flush data to the filter that is passed
3953      in, not the the filter after the one passed in.
3954      [Ryan Morgan <rmorgan covalent.net>]
3955
3956   *) Make ab work again by changing its native types to apr types and formats.
3957      [Justin Erenkrantz <jerenkrantz ebuilt.com>]
3958
3959   *) Move the byterange filter and all of the supporting functions back
3960      to the HTTP module.  The byterange filter turned out to be very
3961      HTTP specific, and it belongs in the HTTP module.  [Greg Stein]
3962
3963   *) Make clean, distclean, and extraclean consistently according to the
3964      Gnu makefile guidelines.  [Justin Erenkrantz <jerenkrantz ebuilt.com>]
3965
3966   *) Fix errors in the renaming of the apr_threadattr_detach_xxx functions.
3967      This may have been causing problems stopping processes in the threaded
3968      mpm's. [Greg Ames]
3969
3970   *) Fix content-length in mod_negotiation to a long int representation.
3971      [William Rowe]
3972
3973   *) Remove BindAddress from the default config file.
3974      [<giles nemeton.com.au>]
3975
3976   *) Allow module authors to add a module to their Apache build using
3977      --with-module, without re-running buildconf.  The syntax is:
3978          --with-module=module_type:/path/to/module.c
3979      The configure script will copy the module.c file to 
3980      modules/module_type, and it will be added to the relevant Makefiles.
3981      currently, this only works for static modules.  [Ryan Bloom]
3982
3983   *) Changes required to make prefork clean up idle children properly.
3984      There was a window during which a starting worker deadlocks when
3985      an idle cleanup arrives before it completes init. Apache then keeps
3986      trying to cleanup the same deadlocked worker forever (until higher
3987      pids come along, but it still will never reduce below the deadlocked
3988      pid). Thus the number of children would not reduce to the correct
3989      idle level. [Paul J. Reder]
3990
3991 Changes with Apache 2.0.16
3992
3993   *) Change the default installation directory to /usr/local/apache2,
3994      as now defined by the "Apache" layout in config.layout. [Marc Slemko]
3995
3996   *) OS/2: Added support for building loadable modules as OS/2 DLLs. 
3997      [Brian Havard]
3998
3999   *) Get MaxRequestsPerChild working with the Windows MPM.
4000      [Bill Stoddard]
4001
4002   *) Make generic hooks to work, with mod_generic_hook_import/export
4003      experimental modules.  [Ben Laurie, Will Rowe]
4004
4005   *) Fix segfaults for configuration file syntax errors such as
4006      "<Directory>" followed by "</Directory" and
4007      "<Directory>" followed by "</Directoryz>".  [Jeff Trawick]
4008
4009   *) Cleanup the --enable-layout option of configure.  This makes
4010      us use a consistent location for the config.layout file, and it
4011      makes configure more portable.
4012      [jun-ichiro hagino <itojun iijlab.net>]
4013
4014   *) Changes to 'ab'; fixed int overrun's, added statistics, output in
4015      csv/gnuplot format, rudimentary ssl support and various other tweaks
4016      to make results more true to what is measured. The upshot of this it
4017      turns out that 'ab' has often underreported the true performance of
4018      apache. Often by a order of magnitude :-) See talk/paper of Sander 
4019      Temme at April ApacheCon 2001 for details.
4020      [Dirk-Willem van Gulik]
4021
4022   *) Clean up mod_cgid's temporary request pool.  Besides fixing a
4023      storage leak this ensures that some unnecessary pipes are closed.
4024      [Jeff Trawick]
4025
4026   *) Performance: Add quick_handler hook. This hook is called at the
4027      very beginning of the request processing before location_walk,
4028      translate_name, etc.  This hook is useful for URI keyed content
4029      caches like Mike Abbott's Quick Shortcut Cache.
4030      [Bill Stoddard]
4031
4032   *) top_module global variable renamed to ap_top_module [Perl]
4033
4034   *) Move ap_set_last_modified to the core.  This is a potentially 
4035      controversial change, because this is kind of HTTP specific.  However
4036      many protocols should be able to take advantage of this kind of
4037      information.  I expect that headers will need one more layer of
4038      indirection for multi-protocol work, but this is a small step in
4039      the right direction.  [Ryan Bloom]
4040
4041   *) Enable mod_status by default.  This matches what Apache 1.3 does.
4042      [Ed Korthof]
4043
4044   *) Add a ScriptSock directive to the default config file.  This is
4045      only enabled when mod_cgid is used.  
4046      [Taketo Kabe <kabe sra-tohoku.co.jp>]
4047
4048 Changes with Apache 2.0.15
4049
4050   *) Untangled the buildconf script and eliminated the need for build's
4051      aclocal.m4, generated_lists, build.mk, build2.mk, and a host of other
4052      libtool muck that is now under srclib/apr/build.  [Roy Fielding]
4053
4054   *) Win32: Don't accept more connections than we have worker threads
4055      to handle.
4056      [Bill Stoddard]
4057
4058   *) Fix bug in the Unix threaded.c MPM that allowed child processes
4059      to fork() new child processes. 
4060      [Bill Stoddard]
4061
4062   *) SECURITY: Fix a major security problem with double-reverse lookup 
4063      checking.  Previously, a client connecting over IPv4 would not be 
4064      matched properly when the server had an IPv6 listening socket.  
4065      PR #7407   [Taketo Kabe <kiabe sra-tohoku.co.jp>]
4066
4067   *) Change the way the beos MPM handles polling to allow it to stop and
4068      restart.  Problem was the sockets being polled were being reset by
4069      the select call, so once it had accepted a connection it was no
4070      longer listening on the UDP socket we use for shutdown instructions.
4071      APR needs to be altered, patch on it's way. [David Reid]
4072
4073   *) Empty out the brigade shared by ap_getline()/ap_get_client_block()
4074      on error exit from ap_getline().  Some other code got upset because
4075      the wrong data was in the brigade.  [Greg Ames, Jeff Trawick]
4076
4077   *) Handle ap_discard_request_body() being called more than once.
4078      [Greg Ames, Jeff Trawick]
4079
4080   *) Get rid of an inadvertent close of file descriptor 2 in
4081      mod_mime_magic.  [Greg Ames, Jeff Trawick]
4082
4083   *) Add a hook, create_request.  This hook allows modules to modify
4084      a request while it is being created.  This hook is called for all
4085      request_rec's, main request, sub request, and internal redirect.
4086      When this hook is called, the the r->main, r->prev, r->next
4087      pointers have been set, so modules can determine what kind of
4088      request this is.  [Ryan Bloom]
4089
4090   *) Cleanup the build process a bit more.  The Apache configure
4091      script no longer creates its own helper scripts, it just
4092      uses APR's.  
4093      [jean-frederic clere <jfrederic.clere fujitsu-siemens.com>]
4094
4095   *) Stop the forced downgrade of the connection to HTTP/1.0 for
4096      proxy requests.  [Graham Leggett]
4097
4098   *) Avoid using sscanf to determine the HTTP protocol number in
4099      the common case because sscanf is a performance hog. From
4100      Mike Abbot's Accelerating Apache patch number 6.
4101      [Mike Abbot <mja trudge.engr.sgi.com>, Bill Stoddard]
4102
4103   *) SECURITY: Fix a security exposure in mod_access.  Previously when 
4104      IPv6 listening sockets were used, allow/deny-from-IPv4-address rules 
4105      were not evaluated properly (PR #7407).  Also, add the ability to 
4106      specify IPv6 address strings with optional prefix length on Allow 
4107      and Deny.  [Jeff Trawick]
4108
4109   *) Enhance rotatelogs so that a UTC offset can be specified, and
4110      the logfile name can be formatted using strftime(3).  (Brought
4111      forward from 1.3.)  [Ken Coar]
4112
4113   *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling 
4114      DuplicateHandle on an IOCompletionPort (a practice which
4115      MS "discourages"). The new model does not rely on associating
4116      the completion port with the listening sockets, thus the
4117      completion port can be completely managed within the child 
4118      process.  A dedicated thread accepts connections off the network,
4119      then calls PostQueuedCompletionStatus() to wake up worker
4120      threads blocked on the completion port.
4121      [Bill Stoddard]
4122
4123   *) Bring forward the --suexec-umask option which allows the
4124      builder to preset the umask for suexec processes.  [Ken Coar]
4125
4126   *) Add a -V flag to suexec, which causes it to display the
4127      compile-time settings with which it was built.  (Only
4128      usable by root or the AP_HTTPD_USER username.)  [Ken Coar]
4129
4130   *) Mod_include should always unset the content-length if the file is
4131      going to be passed through send_parsed_content.  There is no to
4132      determine if the content will change before actually scanning the
4133      entire content.  It is far safer to just remove the C-L as long
4134      as we are scanning it.  [Ryan Bloom]
4135
4136   *) Make sure Apache sends WWW-Authenticate during a reverse proxy
4137      request and not Proxy-Authenticate.
4138      [Graham Leggett <minfrin sharp.fm>]
4139
4140 Changes with Apache 2.0.14
4141
4142   *) Fix content-length computation.  We ONLY compute a content-length if
4143      We are not in a 1.1 request and we cannot chunk, and this is a keepalive
4144      or we already have all the data.  [Ryan Bloom]
4145
4146   *) Report unbounded containers in the config file.  Previously, a typo
4147      in the </container> directive could result in the rest of the config
4148      file being silently ignored, with undesired defaults used.
4149      [Jeff Trawick]
4150
4151   *) Make the old_write filter use the ap_f* functions for the buffering.
4152      [Ryan Bloom]
4153
4154   *) Move more code from the http module into the core server.  This
4155      is core code, basically the default handler, the default input
4156      and output filters, and all of the core configuration directives.
4157      All of this code is required in order for the server to work, with or
4158      without HTTP.  The server is closer to working without the HTTP
4159      module, although there is still more to do.  [Ryan Bloom]
4160
4161   *) Fix a number of SGI compile warnings throughout the server.  Fix some
4162      bad parameters to apr_bucket_read().  Fix a bad statement in 
4163      ap_method_in_list().  For the mod_rewrite cache use apr_time_t 
4164      consistently; we were mixing apr_time_t and time_t in invalid ways 
4165      before.  In load_file(), call apr_dso_error() instead of 
4166      apr_strerror() so that we get a more specific string on some platforms.
4167      PR #6980  [Jeff Trawick]
4168
4169   *) Allow modules to query the MPM about it's execution profile.  This
4170      query API can and should be extended in the future, but for now,
4171      max_daemons, and threading or forking is a very good start.
4172      [Jon Travis <jtravis covalent.net>]
4173
4174   *) Modify mod_include to send blocks of data no larger than 9k.
4175      Without this, mod_include will wait until the whole file is parsed,
4176      or the first tag is found to send any data to the client.
4177      [Paul J. Reder <rederpj raleigh.ibm.com>]
4178
4179   *) Fix mod_info, so that <Directory> and <Location> directives are
4180      not displayed twice when displaying the current configuration.
4181      [Ryan Morgan <rmorgan covalent.net>]
4182
4183   *) Add config directives to override DEFAULT_ERROR_MSG and
4184      DEFAULT_TIME_FORMAT.  This was sent in as PR 6193.
4185      [Dan Rench <drench xnet.com>]
4186
4187   *) Get mod_info building and loading on Win32.  [William Rowe]
4188
4189   *) Begin to move protocol independant functions out of mod_http.  The goal
4190      is to have only functions that are HTTP specific in the http directory.
4191      [Ryan Bloom]
4192
4193 Changes with Apache 2.0.13
4194
4195   *) Don't assume that there will always be multiple calls to the byterange 
4196      filter.  It is possible that we will need to do byteranges with only
4197      one call to the filter.  [Ryan Morgan <rmorgan covalent.net>]
4198
4199   *) Move the error_bucket definition from the http module to the
4200      core server.  Every protocol will need this ability, not just
4201      HTTP.  [Ryan Bloom]
4202
4203 Changes with Apache 2.0.12
4204
4205   *) Modify mod_file_cache to save pre-formatted strings for 
4206      content-length and last-modified headers for performance. 
4207      [Mike Abbot <mja trudge.engr.sgi.com>]
4208
4209   *) Namespace protect IOBUFSIZ since it is exposed in the API.
4210      [Jon Travis <jtravis covalent.net>]
4211
4212   *) Use "Basic" authentication instead of "basic" in ab, as the spec
4213      says we should.  [Andre Breiler <andre.breiler rd.bbc.co.uk>]
4214
4215   *) Fix a seg fault in mod_userdir.c.  We used to use the pw structure
4216      without ever filling it out.  This fixes PR 7271.
4217      [Taketo Kabe <kabe sra-tohoku.co.jp> and 
4218       Cliff Woolley <cliffwoolley yahoo.com>]
4219
4220   *) Add a couple of GCC attribute tags to printf style functions.
4221      [Jon Travis <jtravis covalent.net>]
4222
4223   *) Add the correct language tag for interoperation with the Taiwanese
4224      versions of MSIE and Netscape. [Clive Lin <clive CirX.ORG>] PR#7142
4225
4226   *) Migrate the perchild MPM to use the new apr signal child, and 
4227      APR thread functions.  [Ryan Bloom]
4228
4229   *) Close one copy of the CGI's stdout before creating the new process.
4230      The CGI will still have stdout, because we have already dup'ed it.
4231      This keeps Apache from waiting forever to send the results of a CGI
4232      process that has forked a long-lived child process.
4233      [Taketo Kabe <kabe sra-tohoku.co.jp>]
4234
4235   *) Remove the rest of the pthreads functions from the threaded MPM.
4236      This requires the APR support for a signal thread that was just
4237      added.  [Ryan Bloom]
4238
4239   *) Make mod_dir use a fixup for sending a redirect to the browser.
4240      Before this, we were using a handler, which doesn't make much
4241      sense, because the handler wasn't generating any data, it would
4242      either return a redirect error code, or DECLINED.  This fits the
4243      current hooks better.  [Ryan Morgan <rmorgan covalent.net>]
4244
4245   *) Make the threaded MPM use APR threads instead of pthreads.
4246      [Ryan Bloom]
4247
4248   *) Get mod_tls to the point where it actually appears to work in all cases.
4249      [Ben Laurie]
4250
4251   *) implement --enable-modules and --enable-mods-shared for "all" and
4252      "most".  [Greg Stein]
4253
4254   *) Move the threaded MPM to use APR locks instead of pthread locks.
4255      [Ryan Bloom]
4256
4257   *) Rename mpmt_pthread to threaded.  This is more in line with the
4258      fact that mpmt_pthread shouldn't be using pthreads directly, and
4259      it is a smaller name that doesn't tie into anything.
4260      [Ryan Bloom]
4261
4262   *) Rename the module structures so that the exported symbol matches
4263      the file name, and it is easier to automate the installation
4264      process (generating LoadModule directives from the module filenames).
4265      [Martin Kraemer]
4266
4267   *) Remove the coalesce filter.  With the ap_f* functions, this filter
4268      is no longer needed. [Ryan Bloom]
4269
4270 Changes with Apache 2.0.11
4271
4272   *) Remove the dexter MPM.  Perchild is the same basic idea, but it has the
4273      added feature of allowing a uid/gid per child process.  If no
4274      uid/gid is specified, then Perchild behaves exactly like dexter.
4275      [Ryan Bloom]
4276
4277   *) Get perchild building again. [Ryan Bloom]
4278
4279   *) Don't disable threads just because we are using the prefork MPM.
4280      If somebody wants to compile without threads, they must now add
4281      --disable-threads to the configure command line.  [Ryan Bloom]
4282
4283   *) Begin to move the calls to update_child_status into common code, so
4284      that each individual MPM does not need to update the scoreboard itself.
4285      [Ryan Bloom]
4286
4287   *) Allow mod_tls to compile under Unix boxes where openssl has been
4288      installed to the system include files.
4289      [Gomez Henri <new-httpd slib.fr>]
4290
4291   *) Cleanup the mod_tls configure process.  This should remove any need
4292      to hand-edit any files.  We require OpenSSL 0.9.6 or later, but 
4293      configure doesn't check that yet.  [Ryan Bloom]
4294
4295   *) Add a very early prototype of SSL support (in mod_tls.c). It is
4296      vital that you read modules/tls/README before attempting to build
4297      it. [Ben Laurie]
4298
4299   *) Fix a potential seg fault on all platforms.  David Reid fixed this
4300      on BEOS, but the problem could happen anywhere, so we don't want
4301      to #ifdef it. [Cliff Woolley <cliffwoolley yahoo.com>]
4302  
4303   *) Add new LogFormat directive, %D, to log time it takes to serve a
4304      request in microseconds. [Bill Stoddard]
4305
4306   *) Change AddInputFilter and AddOutputFilter to SetInputFilter and
4307      SetOutputFilter.  This corresponds nicely with the other Set 
4308      directives, which operate on containers while the Add* directives
4309      tend to work directly on extensions.  [Ryan Bloom]
4310
4311   *) Cleanup the header handling a bit.  This uses the apr_brigade_*
4312      functions for the buffering so that we don't need to compute
4313      the length of the headers before we actually create the header
4314      buffer.  [Ryan Bloom]
4315
4316   *) Allow filters to buffer data using the ap_f* functions.  These have
4317      become macros that resolve directly to apr_brigade_*.  
4318      [Ryan Bloom]
4319
4320   *) Get the Unix MPM's to do a graceful restart again.  If we are going
4321      to register a cleanup with ap_cleanup_scoreboard, then we have to
4322      kill the cleanup with the same function,  and that function can't be
4323      static.  [Ryan Bloom]
4324
4325   *) Install all required header files.  Without these, it was not
4326      possible to compile some modules outside of the server.
4327      [Ryan Bloom]
4328
4329   *) Fix the AliasMatch directive in Apache 2.0.  When we brought a patch
4330      forward from 1.3 to 2.0, we missed a single line, which broke regex
4331      aliases.  [Ryan Bloom]
4332
4333   *) We have a poor abstraction in the protocol.  This is a temporary
4334      hack to fix the bug, but it will need to be fixed for real.  If
4335      we find an error while sending out a custom error response, we back
4336      up to the first non-OK request and send the data.  Then, when we send
4337      the EOS from finalize_request_protocol, we go to the last request,
4338      to ensure that we aren't sending an EOS to a request that has already
4339      received one.  Because the data is sent on a different request than
4340      the EOS, the error text never gets sent down the filter stack.  This
4341      fixes the problem by finding the last request, and sending the data
4342      with that request.  [Ryan Bloom]
4343
4344   *) Make the server status page show the correct restart time, and
4345      thus the proper uptime. [Ryan Bloom]
4346
4347   *) Move the CGI creation logic from mod_include to mod_cgi(d).  This
4348      should reduce the amount of duplicate code that is required to
4349      create CGI processes.
4350      [Paul J. Reder <rederpj raleigh.ibm.com>]
4351
4352   *) ap_new_connection() closes the socket and returns NULL if a socket
4353      call fails.  Usually this is due to a connection which has been 
4354      reset.  [Jeff Trawick]
4355
4356   *) Move the Apache version information out of httpd.h and into release.h.
4357      This is in preparation for the first tag with the new tag and release
4358      system.  [Ryan Bloom]
4359
4360   *) Begin restructuring scoreboard code to enable adding back in
4361      the ability to use IPC other than shared memory.
4362      Get mod_status working on Windows again. [Bill Stoddard]
4363
4364   *) Make mod_status work with 2.0.  This will work for prefork,
4365      mpmt_pthread, and dexter.  [Ryan Bloom]
4366
4367   *) Correct a typo in httpd.conf.
4368      [Kunihiro Tanaka <tanaka apache.or.jp>] PR#7154 
4369
4370   *) Really fix mod_rewrite map lookups this time. [Tony Finch]
4371
4372   *) Get the correct IP address if ServerName isn't set and we can't
4373      find a fully-qualified domain name at startup.
4374      PR#7170 [Danek Duvall <dduvall eng.sun.com>]
4375
4376   *) Make mod_cgid work with SuExec.  [Ryan Bloom]
4377
4378   *) Adopt apr user/group name features for mod_rewrite.  Eliminates some
4379      'extra' stat's for user/group since they should never occur, and now
4380      resolves the SCRIPT_USER and SCRIPT_GROUP, including on WinNT NTFS
4381      volumes.  [William Rowe]
4382
4383   *) Adopt apr features to simplify mod_includes.  This changes the
4384      behavior of the USER_NAME variable, unknown uid's are now reported
4385      as USER_NAME="<unknown>" rather than the old user#000 result.
4386      WinNT now resolves USER_NAME on NTFS volumes.  [William Rowe]
4387
4388   *) Adopt apr features for simplifing mod_userdir, and accept the new
4389      Win32/OS2 exceptions without hiccuping.  [William Rowe]
4390
4391   *) Replace configure --with-optim option by using and saving the
4392      environment variable OPTIM instead.  This is needed because configure
4393      options do not support multiple flags separated by spaces.
4394      [Roy Fielding]
4395
4396   *) Fix some byterange handling.  If we get a byte range that looks like
4397      "-999999" where that is past the end of the file, we should return 
4398      a PARTIAL CONTENT status code, and return the whole file as one big
4399      byterange.  This matches the 1.3 handling now.  [Ryan Bloom]
4400
4401   *) Make the error bucket a real meta-data bucket.  This means that the
4402      bucket length is 0, and a read returns NULL data.  If one of these
4403      buckets is passed down after the headers are sent, this data will
4404      just be ignored.  [Greg Stein]
4405
4406   *) The prefork MPM wasn't killing child processes correctly if a restart
4407      signal was received while the process was serving a request.  The child
4408      process would become the equivalent of a second parent process.  If
4409      we break out of the accept loop, then we need to do die after cleaning
4410      up after ourselves.  [Ryan Bloom]
4411
4412   *) Change the Prefork MPM to use SIGWINCH instead of SIGUSR1 for graceful
4413      restarts.  [Ryan Bloom]
4414
4415   *) Modify the apr_stat/lstat/getfileinfo calls within apache to use
4416      the most optimal APR_FINFO_wanted bits.  This spares Win32 from
4417      performing very expensive owner, group and permission lookups
4418      and allows the server to function until these apr_finfo_t fields
4419      are implemented under Win32.  [William Rowe]
4420
4421   *) Support for typedsafe optional functions - that is functions exported by
4422      optional modules, which, therefore, may or may not be present, depending
4423      on configuration. See the experimental modules mod_optional_fn_{ex,im}port
4424      for sample code. [Ben Laurie]
4425
4426   *) filters can now report an HTTP error to the server.  This is done
4427      by sending a brigade where the first bucket is an error_bucket.
4428      This bucket is a simple bucket that stores an HTTP error and
4429      a string.  Currently the string is not used, but it may be needed
4430      to output an error log.  The http_header_filter will find this
4431      bucket, and output the error text, and then return 
4432      AP_FILTER_ERROR, which informs the server that the error web page
4433      has already been sent.  [Ryan Bloom]
4434
4435   *) If we get an error, then we should remove all filters except for
4436      those critical to serving a web page.  This fixes a bug, where
4437      error pages were going through the byterange filter, even though
4438      that made no sense.  [Ryan Bloom]
4439
4440   *) Relax the syntax checking of Host: headers in order to support
4441      iDNS. PR#6635 [Tony Finch]
4442
4443   *) Cleanup the byterange filter to use the apr_brigade_partition
4444      and apr_bucket_copy functions.  This removes a lot of very messy
4445      code, and hopefully makes this filter more stable.
4446      [Ryan Bloom]
4447
4448   *) Remove AddModule and ClearModuleList directives.  Both of these
4449      directives were used to ensure that modules could be enabled
4450      in the correct order.  That requirement is now gone, because
4451      we use hooks to ensure that modules are in the correct order.
4452      [Ryan Bloom]
4453
4454   *) When SuExec is specified, we need to add it to the list of
4455      targets to be built.  If we don't, then any changes to the
4456      configuration won't affect SuExec, unless 'make suexec' is
4457      specifically run.  [Ryan Bloom]
4458
4459   *) Cleaned out open_file from mod_file_cache, as apr now accepts
4460      the APR_XTHREAD argument to open a file for consumption by
4461      parallel threads on win32.  [William Rowe]
4462
4463   *) Correct a bug in determining when we follow symlinks.  The code
4464      expected a stat -1 result, not an apr_status_t positive error.
4465      Also check if the APR_FINFO_USER fields are valid before we
4466      follow the link.  [William Rowe]
4467
4468   *) Move initgroupgs, ap_uname2id and ap_gname2id from util.c to
4469      mpm_common.c.  These functions are only valid on some platforms,
4470      so they should not be in the main-line code. [Ryan Bloom]
4471
4472   *) Remove ap_chdir_file().  This function is not thread-safe,
4473      and nobody is currently using it.  [Ryan Bloom]
4474
4475   *) Do not try to run make depend if there are no .c files in the
4476      current directory, doing so makes `make depend` fail.
4477      [Ryan Bloom]
4478
4479    *) Update highperformance.conf to work with either prefork or
4480       pthreads mpms.  [Greg Ames] 
4481
4482   *) Stop checking to see if this is a pipelined request if we know
4483      for a fact that it isn't.  Basically, if r->connection->keepalive == 0.
4484      This keeps us from making an extra read call when serving a 1.0
4485      request.  [Ryan Bloom and Greg Stein]
4486
4487   *) Fix the handling of variable expansion look-ahead in mod_rewrite,
4488      i.e. syntax like %{LA-U:REMOTE_USER}, and also fix the parsing of
4489      more complicated nested RewriteMap lookups. PR#7087 [Tony Finch]
4490
4491   *) Fix the RFC number mentioned when complaining about a missing
4492      Host: header. PR#7079 [Alexey Toptygin <alexeyt wam.umd.edu>]
4493
4494   *) Fix an endless loop in ab which occurred when ab was posting
4495      and the server dropped the connection unexpectedly.
4496      [Jeff Trawick]
4497
4498   *) Fix a segfault while handling request bodies in ap_http_filter().  
4499      This problem has been seen with mod_dav usage as well as with 
4500      requests where the body was just being discarded.  [Jeff Trawick]
4501
4502   *) Some adjustment on the handling and automatic setting (via
4503      hints.m4) of various compilation flags (eg: CFLAGS). Also,
4504      add the capability to specify flags (NOTEST_CFLAGS and
4505      NOTEST_LDFLAGS) which are used to compile Apache, but
4506      not used during the configuration process. Useful for
4507      flags like "-Werror". [Jim Jagielski]
4508
4509   *) Stop using environment variables to force debug mode or
4510      no detach.  We now use the -D command line argument to 
4511      specify the correct mode.  -DONE_PROCESS and -DNO_DETACH.
4512      [Greg Stein, Ryan Bloom]
4513
4514   *) Change handlers to use hooks. [Ben Laurie]
4515
4516   *) Stop returning copies of filenames from both apr_file_t and
4517      apr_dir_t.  We pstrdup the filenames that we store in the
4518      actual structures, so we don't need to pstrdup the strings again.
4519      [Ryan Bloom]
4520
4521   *) mod_cgi: Fix some problems where the wrong error value was being
4522      traced.  [Jeff Trawick]
4523
4524   *) EBCDIC: Fix some missing ASCII conversion on some protocol data.
4525      [Jeff Trawick]
4526
4527   *) Add generic hooks. [Ben Laurie]
4528
4529   *) Use a real pool to dup the error log descriptor.  [Ryan Bloom]
4530
4531   *) Fix a segfault caused by mod_ext_filter when the external filter 
4532      program does not exist. [Jeff Trawick]
4533
4534   *) Fix an output truncation error when on an HTTP >= 1.0 request an
4535      object of size between DEFAULT_BUCKET_SIZE and AP_MIN_BYTES_TO_WRITE 
4536      was served through mod_charset_lite (or anything else that would
4537      create a transient bucket in this size range).  ap_bucket_make_heap()
4538      silently failed (fixed), transient_setaside() discovered it, but
4539      ap_save_brigade() ignored it (fixed). [Jeff Trawick]
4540      
4541   *) Ignore \r\n or \n when using PEEK mode for input filters.  The problem
4542      is that some browsers send extra lines at the end of POST requests, and
4543      we don't want to delay sending data back to the user just because the
4544      browser isn't well behaved. [Ryan Bloom]
4545
4546   *) Get SuEXEC working again.  We can't send absolute paths to suExec
4547      because it refuses to execute those programs.  SuEXEC also wasn't
4548      always recognizing configuration changes made using the autoconf
4549      setup.  [Ryan Bloom]
4550
4551   *) Allow the buildconf process to find the config.m4 files in the correct
4552      order.  Basically, we can now name config.m4 files as config\d\d.m4,
4553      and we will sort them correctly when inserting them into the build
4554      process.  [Ryan Bloom]
4555
4556   *) Get mod_cgid to use apr calls for creating the actual CGI process.
4557      This also allows mod_cgid to use ap_os_create_priviledged_process,
4558      thus allowing for SuExec execution from mod_cgid.  Currently, we do
4559      not support everything that standard SuExec supports, but at least
4560      it works minimally now. [Ryan Bloom]
4561
4562   *) Allow SuExec to be configured from the ./configure command line.
4563      [Ryan Bloom]
4564
4565   *) Update some of the docs in README and INSTALL to reflect some of
4566      the changes in Apache 2.0 [Cliff Woolley <cliffwoolley yahoo.com>]
4567
4568   *) If we get EAGAIN returned from the call to apr_sendfile, then we
4569      need to call sendfile again.  This gets us serving large files
4570      such as apache_2.0a9.tar.gz on FreeBSD again. [Ryan Bloom]
4571
4572   *) Get the support programs building cleanly again.
4573      [Cliff Woolley <cliffwoolley yahoo.com>]
4574
4575   *) The Apache/Win32 Apache.exe and dll's now live in bin.  The 
4576      current directory logic now backs up over bin/ to determine the
4577      server root from the Apache.exe path.
4578
4579   *) Apache/Win32 now follows the standard conventions of mod_foo.so
4580      loadable modules, dynamic libs are all named libfoo.dll, and the
4581      makefile.win populates the include, lib and libexec directories.
4582
4583   *) Apache is now IPv6-capable.  On systems where APR supports IPv6,
4584      Apache gets IPv6 listening sockets by default.  Additionally, the
4585      Listen, NameVirtualHost, and <VirtualHost> directives support IPv6
4586      numeric address strings (e.g., "Listen [fe80::1]:8080").
4587      [Jeff Trawick]
4588
4589   *) Modify the install directory layout.  Modules are now installed in
4590      modules/.  Shared libraries should be installed in libraries/, but
4591      we don't have any of those on Unix yet.  All install directories
4592      are modifyable at configure time. [Ryan Bloom]
4593
4594   *) Install all header files in the same directory on Unix. [Ryan Bloom]
4595
4596   *) Get the functions in server/linked into the server, regardless of
4597      which modules linked into the server.  This uses the same hack 
4598      for Apache that we use for APR and apr-util to ensure all of the
4599      necessary functions are linked.  As a part of thise, the CHARSET_EBCDIC
4600      was renamed to AP_CHARSET_EBCDIC for namespace protection, and to make
4601      the scripts a bit easier.
4602      [Ryan Bloom]
4603
4604   *) Rework the RFC1413 handling to make it thread-safe, use a timeout
4605      on the query, and remove IPv4 dependencies.  [Jeff Trawick]
4606
4607   *) Get all of the auth modules to the point that they will install and
4608      be loadable into the server.  Our new build/install mechanism expects
4609      that all modules will have a common name format.  The auth modules 
4610      didn't use that format, so we didn't install them properly.
4611      [Ryan Bloom]
4612
4613   *) API routines ap_pgethostbyname() and ap_pduphostent() are no longer
4614      available.  Use apr_getaddrinfo() instead.  [Jeff Trawick]
4615
4616   *) Get "NameVirtualHost *" working in 2.0.  [Ryan Bloom]
4617
4618   *) Return HTTP_RANGE_NOT_SATISFIABLE if the every range requested starts
4619      after the end of the response. [Ryan Bloom]
4620
4621   *) Get byterange requests working with responses that do not have a
4622      content-length.  Because of the way byterange requests work, we have to
4623      have all of the data before we can actually do the byterange, so we
4624      can compute the content-length in the byterange filter.
4625      [Ryan Bloom]
4626
4627   *) Get exe CGI's working again on Windows.
4628      [Allan Edwards]
4629
4630   *) Get mod_cgid and mod_rewrite to work as DSOs by changing the way
4631      they keep track of whether or not their  post config hook has been
4632      called before.  Instead of a static variable (which is replaced when 
4633      the DSO is loaded a second time), use userdata in the process pool.
4634      [Jeff Trawick]
4635
4636 Changes with Apache 2.0a9
4637
4638   *) Win32 now requires perl to complete the final install step for users
4639      to build + install on Win32.  Makefile.win now rewrites @@ServerRoot@
4640      and installs the conf, htdocs and htdocs/manual directories.
4641      [William Rowe]
4642
4643   *) Make mod_include use a hash table to associate directive tags with
4644      functions.  This allows modules to implement their own SSI tags easily.
4645      The idea is simple enough, a module can insert it's own tag and function
4646      combination into a hash table provided by mod_include.  While mod_include
4647      parses an SSI file, when it encounters a tag in the file, it does a
4648      hash lookup to find the function that implements that tag, and passes
4649      all of the relevant data to the function.  That function is then
4650      responsible for processing the tag and handing the remaining data back
4651      to mod_include for further processing.
4652      [Paul J. Reder <rederpj raleigh.ibm.com>]
4653
4654   *) Get rid of ap_new_apr_connection().  ap_new_connection() now has 
4655      fewer parameters: the local and remote socket addresses were removed
4656      from the parameter list because all required information is available
4657      via the APR socket.  [Jeff Trawick]
4658
4659   *) Distribution directory structure reorganized to reflect a
4660      normal source distribution with external install targets.
4661      [Roy Fielding]
4662
4663   *) The MPMs that need multiple segments of shared memory now create
4664      two apr_shmem_t variables, one for each shared memory allocation.
4665      the problem is that we can't determine how much memory will be required
4666      for shared memory allocations once we try to allocate more than one
4667      variable.  The MM code automatically aligns the shared memory allocations,
4668      so we end up needing to pad the amount of shared memory we want based
4669      on how many variables will be allocated out of the shared memory segment.
4670      It is just easier to create a second apr_shmem_t variable, and two
4671      shmem memory blocks.
4672      [Ryan Bloom]
4673
4674   *) Cleanup the export list a bit.  This creates a single unified list of
4675      functions exported by APR.  The export list is generated at configure
4676      time, and that list is then used to generate the exports.c file.
4677      Because of the way the export list is generated, we only export those
4678      functions that are valid on the platform we are building on.
4679      [Ryan Bloom]
4680
4681   *) Enable logging the cookie with mod_log_config
4682      [Sander van Zoest <sander covalent.net>]
4683
4684   *) Fix a segfault in mod_info when it reaches the end of the configuration.
4685      [Jeff Trawick]
4686
4687   *) Added lib/aputil/ as a placeholder for utility functions which are not
4688      specific to the Apache HTTP Server (but do not make sense with APR).
4689      The first utility is "apu_dbm": a set of functions to work with DBM
4690      files. This first version can be compiled for SDBM or GDBM databases.
4691      [Greg Stein]
4692
4693   *) Complete re-write of mod_include.  This makes mod_include a filter that
4694      uses buckets directly.  This has now served the FAQ correctly.
4695      [Paul Reder <rederpj raleigh.ibm.com>]
4696
4697   *) Allow modules to specify the first filter in a sub_request when
4698      making the sub_request.  This keeps modules from having to change the
4699      output_filter immediately after creating the sub-request, and therefore
4700      skip the sub_req_output_filter.  [Ryan Bloom]
4701
4702   *) Update ab to accept URLs with IPv6 literal address strings (in the
4703      format described in RFC 2732), and to build Host header fields in
4704      the same format.  This allows IPv6 literal address strings to be
4705      used with ab.  This support has been tested against Apache 1.3 with 
4706      the KAME patch, but Apache 2.0 does not yet work with this format
4707      of the Host header field.  [Jeff Trawick]
4708
4709   *) Accomodate an out-of-space condition in the piped logs and the
4710      rotatelogs.c code, and no longer churn log processes for this
4711      condition.  [Victor J. Orlikowski]
4712
4713   *) Add support for partial writes with apr_sendfile() to core_output_filter.
4714      [Greg Ames] 
4715
4716 Changes with Apache 2.0a8
4717
4718   *) Add a directive to mod_mime so that filters can be associated with
4719      a given mime-type.
4720      [Ryan Bloom]
4721
4722   *) Get multi-views working again.  We were setting the path_info
4723      field incorrectly if we couldn't find the specified file.
4724      [Ryan Bloom]
4725
4726   *) Fix 304 processing.  The core should never try to send the headers
4727      down the filter stack.  Always, just setup the table in the request
4728      record, and let the header filter convert it to data that is ready
4729      for the network.
4730      [Ryan Bloom]
4731
4732   *) More fixes for the proxy.  There are still bugs in the proxy code,
4733      but this has now proxied www.yahoo.com and www.ntrnet.net (my ISP)
4734      successfully.
4735      [Ryan Bloom]
4736
4737   *) Fix params for apr_getaddrinfo() call in connect proxy handler.
4738      [Chuck Murcko]
4739
4740   *) APR: Add new apr_getopt_long function to handle long options.
4741      [B. W. Fitzpatrick <fitz red-bean.com>]
4742
4743   *) APR: Change apr_connect() to take apr_sockaddr_t instead of hostname.
4744      Add generic apr_create_socket().  Add apr_getaddrinfo() for doing
4745      hostname resolution/address string parsing and building
4746      apr_sockaddr_t.  Add apr_get_sockaddr() for getting the address
4747      of one of the apr_sockaddr_t structures for a socket.  Change
4748      apr_bind() to take apr_sockaddr_t.  [David Reid and Jeff Trawick]
4749
4750   *) Remove the BUFF from the HTTP proxy.  This is still a bit ugly, but
4751      I have proxied pages with it, cleanup will commence soon.
4752      [Ryan Bloom]
4753
4754   *) Make the proxy work with filters.  This isn't perfect, because we
4755      aren't dealing with the headers properly.  [Ryan Bloom]
4756
4757   *) Do not send a content-length iff the C-L is 0 and this is a head
4758      request.  [Ryan Bloom]
4759
4760   *) Make cgi-bin work as a regular directory when using mod_vhost_alias
4761      with no VirtualScriptAlias directives. PR#6829 [Tony Finch]
4762
4763   *) Remove BUFF from the PROXY connect handling. [Ryan Bloom]
4764
4765   *) Get the default_handler to stop trying to deal with HEAD requests.
4766      The idea is to let the content-length filter compute the C-L before
4767      we try to send the data.  If we can get the C-L correctly, then we
4768      should send it in the HEAD response.
4769      [Ryan Bloom]
4770      
4771   *) The Header filter can now determine if a body should be sent based
4772      on r->header_only.  The general idea of this is that if we delay
4773      deciding to send the body, then we might be able to compute the
4774      content-length correctly, which will help caching proxies to cache
4775      our data better.  Any handler that doesn't want to try to compute
4776      the content-length can just send an EOS bucket without data and
4777      everything will just work.
4778      [Ryan Bloom]
4779
4780   *) Add the referer to the error log if one is available.
4781      [Markus Gyger <mgyger itr.ch>]
4782
4783   *) Mod_info.c has now been ported to Apache 2.0.  As a part of this
4784      change, the root of the configuration tree has been exposed to modules
4785      as ap_conftree.
4786      [Ryan Morgan <rmorgan covalent.net>]
4787
4788   *) Get the core_output_filter to use the bucket interface directly.
4789      This keeps us from calling the content-length filter multiple times
4790      for a simple static request.
4791      [Ryan Bloom]
4792
4793   *) We are sending the content-type correctly now.
4794      [Ryan Bloom and Will Rowe]
4795
4796   *) APR on FreeBSD: Fix a bug in apr_sendfile() which caused us to report
4797      a bogus bytes-sent value when the only thing being sent was trailers
4798      and writev() returned an error (or EAGAIN).  [Jeff Trawick]
4799
4800   *) Get SINGLE_LISTEN_UNSERIALIZED_ACCEPT working again.  This uses the
4801      hints file to determine which platforms define 
4802      SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
4803      [Ryan Bloom]
4804
4805   *) APR: add apr_get_home_directory()  [Jeff Trawick]
4806
4807   *) Initial import of 1.3-current mod_proxy. [Chuck Murcko]
4808
4809   *) Not all platforms have INADDR_NONE defined by default.  Apache
4810      used to make this check and define INADDR_NONE if appropriate,
4811      but APR needs the check too, and I suspect other applications will
4812      as well.  APR now defines APR_INADDR_NONE, which is always a valid
4813      value on all platforms.
4814      [Branko Èibej <brane xbc.nu>]
4815
4816   *) Destroy the pthread mutex in lock_intra_cleanup() for PR#6824.
4817      [Shuichi Kitaguchi <ki hh.iij4u.or.jp>] 
4818
4819   *) Relax the syntax checking of Host: headers in order to support
4820      iDNS. PR#6635 [Tony Finch]
4821
4822   *) When reading from file buckets we convert to an MMAP if it makes
4823      sense.  This also simplifies the default handler because the
4824      default handler no longer needs to try to create MMAPs.
4825      [Ryan Bloom]
4826
4827   *) BUFF has been removed from the main server.  The BUFF code will remain
4828      in the code until it has been purged from the proxy module as well.
4829      [Ryan Bloom]
4830
4831   *) Byteranges have been completely re-written to be a filter.  This
4832      has been tested, and I believe it is working correctly, but it could
4833      doesn't work for the Adobe Acrobat plug-in.  The output almost matches
4834      the output from 1.3, the only difference being that 1.3 includes
4835      a content-length in the response, and this does not.
4836      [Ryan Bloom]
4837
4838   *) APR read/write functions and bucket read functions now operate
4839      on unsigned integers, instead of signed ones.  It doesn't make
4840      any sense to use signed ints, because we return the error codes,
4841      so if we have an error we should report 0 bytes read or written.
4842      [Ryan Bloom]
4843
4844   *) Always compute the content length, whether it is sent or not.
4845      The reason for this, is that it allows us to correctly report
4846      the bytes_sent when logging the request.  This also simplifies
4847      content-length filter a bit, and fixes the actual byte-reporing
4848      code in mod_log_config.c
4849      [Ryan Bloom]
4850
4851   *) Remove AP_END_OF_BRIGADE definition.  This does not signify what
4852      it says, because it was only used by EOS and FLUSH buckets.  Since
4853      neither of those are required at the end of a brigade, this was
4854      really signifying FLUSH_THE_DATA, but that can be determined better
4855      by checking AP_BUCKET_IS_EOS() or AP_BUCKET_IS_FLUSH.  EOS and FLUSH
4856      buckets now return a length of 0, which is actually the amount of data
4857      read, so they make more sense.
4858      [Ryan Bloom]
4859
4860   *) Allow the core_output_filter to save some data past the end of a
4861      request.  If we get an EOS bucket, we only send the data if it 
4862      makes sense to send it.  This allows us to pipeline request
4863      responses.  As a part of this, we also need to allocate mmap
4864      buckets out of the connection pool, not the request pool.  This
4865      allows the mmap to outlive the request.
4866      [Ryan Bloom]
4867
4868   *) Make blocking and non-blocking bucket reads work correctly for
4869      sockets and pipes.  These are the only bucket types that should
4870      have non-blocking reads, because the other bucket types should
4871      ALWAYS be able to return something immediately.
4872      [Ryan Bloom]
4873
4874   *) In the Apache/Win32 console window, accept Ctrl+C to stop the 
4875      server, but use Ctrl+Break to initiate a graceful restart 
4876      instead of duplicating behavior. [John Sterling]
4877
4878   *) Patch mod_autoindex to set the Last-Modified header based on
4879      the directory's mtime, and add the ETag header.  [William Rowe]
4880
4881   *) Merge the 1.3 patch to add support for logging query string in 
4882      such a way that "%m %U%q %H" is the same as "%r".
4883      [Bill Stoddard]
4884
4885   *) Port three log methods from mod_log_config 1.3 to 2.0: 
4886      CLF compliant '-' byte count, method and protocol.
4887      [Bill Stoddard]
4888
4889   *) Add a new LogFormat directive, %c, that will log connection
4890      status at the end of the response as follows:
4891      'X' - connection aborted before the response completed.
4892      '+' - connection may be kept-alive by the server.
4893      '-' - connection will be closed by the server.
4894      [Bill Stoddard]
4895
4896   *) Expand APR for WinNT to fully accept and return utf-8 encoded
4897      Unicode file names and paths for Win32, and tag the Content-Type 
4898      from mod_autoindex to reflect that charset if the the feature
4899      macro APR_HAS_UNICODE_FS is true.  [William Rowe]
4900
4901   *) Compute the content length (and add appropriate header field) for
4902      the response when no content length is available and we can't use 
4903      chunked encoding.  [Jeff Trawick]
4904
4905   *) Changed ap_discard_request_body() to use REQUEST_CHUNKED_DECHUNK,
4906      so that content input filters get dechunked data when using
4907      the default handler. Also removed REQUEST_CHUNKED_PASS.
4908      [Sascha Schumann]
4909      
4910   *) Add mod_ext_filter as an experimental module.  This module allows
4911      the administrator to use external programs as filters.  Currently,
4912      only filtering of output is supported.  [Jeff Trawick]
4913
4914   *) Most Apache functions work on EBCDIC machines again, as protocol
4915      data is now translated (again).  [Jeff Trawick]
4916
4917   *) Introduce ap_xlate_proto_{to|from}_ascii() to clean up some of
4918      the EBCDIC support.  They are noops on ASCII machines, so this
4919      type of translation doesn't have to be surrounded by #ifdef
4920      CHARSET_EBCDIC.  [Jeff Trawick]
4921
4922   *) Fix mod_include.  tag commands work again, and the server will
4923      send the FAQ again.  This also allows mod_include to set aside
4924      buckets that include partial buckets.
4925      [Ryan Bloom and David Reid]
4926
4927   *) Add suexec support back.  [Manoj Kasichainula]
4928
4929   *) Lingering close now uses the socket directly instead of using
4930      BUFF.  This has been tested, but since all we can tell is that it
4931      doesn't fail, this needs to be really hacked on.
4932      [Ryan Bloom]
4933
4934   *) Allow filters to modify headers and have those headers be sent to
4935      the client.  The idea is that we have an http_header filter that
4936      actually sends the headers to the network.  This removes the need
4937      for the BUFF to send headers.
4938      [Ryan Bloom]
4939
4940   *) Charset translation: mod_charset_lite handles translation of
4941      request bodies.  Get rid of the xlate version of ap_md5_digest()
4942      since we don't compute digests of filtered (e.g., translated) 
4943      response bodies this way anymore.  (Note that we don't do it at
4944      all at the present; somebody needs to write a filter to do so.)
4945      [Jeff Trawick]
4946
4947   *) Input filters and ap_get_brigade() now have a input mode parameter 
4948      (blocking, non-blocking, peek) instead of a length parameter.
4949      [hackathon]
4950
4951   *) Update the mime.types file to the registered media types as
4952      of 2000-10-19. PR#6613 [Carsten Klapp <carsten.klapp home.net>,
4953      Tony Finch]
4954
4955   *) Namespace protect some macros declared in ap_config.h
4956      [Ryan Bloom]
4957
4958   *) Support HTTP header line folding with input filtering.
4959      [Greg Ames]
4960
4961   *) Mod_include works again.  This should still be re-written, but at
4962      least now we can serve an SHTML page again.
4963      [Ryan Bloom]
4964
4965   *) Begin to remove BUFF from the core.  Currently, we keep a pointer
4966      to both the BUFF and the socket in the conn_rec.  Functions that
4967      want to use the BUFF can, functions that want to use the socket,
4968      can.  They point to the same place.
4969      [Ryan Bloom]
4970
4971   *) apr_psprintf doesn't understand %lld as a format.  Make it %ld.
4972      [Tomas "Ögren" <stric ing.umu.se>]
4973
4974   *) APR pipes on Unix and Win32 are now cleaned up automatically when the 
4975      associated pool goes away.  (APR pipes on OS/2 were already had this
4976      logic.)  This resolvs a fatal file descriptor leak with CGIs.  
4977      [Jeff Trawick]
4978
4979   *) The final line of the config file was not being read if there was
4980      no \n at the end of it.  This was caused by apr_fgets returning 
4981      APR_EOF even though we had read valid data.  This is solved by
4982      making cfg_getline check the buff that was returned from apr_fgets.
4983      If apr_fgets return APR_EOF, but there was data in the buf, then we
4984      return the buf, otherwise we return NULL.
4985      [Ryan Bloom]
4986
4987   *) Piped logs work again in the 2.0 series.
4988      [Ryan Bloom]
4989
4990   *) Restore functionality broken by the mod_rewrite security fix:
4991      rewrite map lookup keys and default values are now expanded
4992      so that the lookup can depend on the requested URI etc.
4993      PR #6671 [Tony Finch]
4994
4995   *) SECURITY: Tighten up the syntax checking of Host: headers to fix a
4996      security bug in some mass virtual hosting configurations
4997      that can allow a remote attacker to retrieve some files
4998      on the system that should be inaccessible. [Tony Finch]
4999
5000   *) Add a pool bucket type.  This bucket is used for data allocated out
5001      of a pool.  If the pool is cleaned before the bucket is destroyed, then
5002      the data is converted to a heap bucket, allowing it to survive the
5003      death of the pool.
5004      [Ryan Bloom]
5005
5006   *) Add a flush bucket.  This allows modules to signal that the filters
5007      should all flush whatever data they currently have.  There is no way
5008      to actually force them to do this, so if a filter ignores this bucket,
5009      that's life, but at least we can try with this.
5010      [Ryan Bloom]
5011
5012   *) Add an output filter for sub-requests.  This filter just strips the
5013      EOS bucket so that we don't confuse the main request's core output
5014      filter by sending multiple EOS buckets.  This change also makes sub
5015      requests start to send EOS buckets when they are finished.
5016      [Ryan Bloom]
5017
5018   *) Make ap_bucket_(read|destroy|split|setaside) into macros.  Also
5019      makes ap_bucket_destroy a return void, which is okay because it
5020      used to always return APR_SUCCESS, and nobody ever checked its
5021      return value anyway.
5022      [Cliff Woolley <cliffwoolley yahoo.com>]
5023
5024   *) Remove the index into the bucket-type table from the buckets
5025      structure.  This has now been replaced with a pointer to the
5026      bucket_type.  Also add some macros to test the bucket-type.
5027      [Ryan Bloom]
5028
5029   *) Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
5030      for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
5031      and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
5032      All _VAR_ flavors changes to _DATA to be absolutely clear.
5033      [William Rowe]
5034
5035   *) Add support for /, //, //servername and //server/sharename 
5036      parsing of <Directory> blocks under Win32 and OS2.
5037      [Tim Costello, William Rowe, Brian Harvard]
5038
5039   *) Remove the function pointers from the ap_bucket type.  They have been
5040      replaced with a global table.  Modules are allowed to register bucket
5041      types and use then use those buckets.
5042      [Ryan Bloom]
5043
5044   *) mod_cgid: In the handler, shut down the Unix socket (only for write) 
5045      once we finish writing the request body to the cgi child process; 
5046      otherwise, the client doesn't hit EOF on stdin.  Small request bodies 
5047      worked without this change (for reasons I don't understand), but large 
5048      ones didn't.  [Jeff Trawick]
5049
5050   *) Remove file bucket specific information from the ap_bucket type.
5051      This has been moved to a file_bucket specific type that hangs off
5052      the data pointer in the ap_bucket type.
5053      [Ryan Bloom]
5054
5055   *) Input filtering now has a third argument.  This is the amount of data
5056      to read from lower filters.  This argument can be -1, 0, or a positive
5057      number.  -1 means give me all the data you have, I'll deal with it and
5058      let you know if I need more.  0 means give me one line and one line
5059      only.  A positive number means I want no more than this much data.
5060
5061      Currently, only 0 and a positive number are implemented.  This allows
5062      us to remove the remaining field from the conn_rec structure, which
5063      has also been done.
5064      [Ryan Bloom] 
5065     
5066   *) Big cleanup of the input filtering.  The goal is that http_filter
5067      understands two conditions, headers and body.  It knows where it is
5068      based on c->remaining.  If c->remaining is 0, then we are in headers,
5069      and http_filter returns a line at a time.  If it is not 0, then we are
5070      in body, and http_filter returns raw data, but only up to c->remaining
5071      bytes.  It can return less, but never more.
5072      [Greg Ames, Ryan Bloom, Jeff Trawick]
5073
5074   *) mod_cgi: Write all of the request body to the child, not just what
5075      the kernel would accept on the first write.  [Jeff Trawick]
5076
5077   *) Back out the change that moved the brigade from the core_output_filters
5078      ctx to the conn_rec.  Since all requests over a given connection
5079      go through the same core_output_filter, the ctx pointer has the
5080      correct lifetime.
5081      [Ryan Bloom]
5082
5083   *) Fix another bug in the send_the_file() read/write loop. A partial
5084      send by apr_send would cause unsent data in the read buffer to
5085      get clobbered. Complete making send_the_file handle partial
5086      writes to the network.
5087      [Bill Stoddard]
5088
5089   *) Fix a couple of type fixes to allow compilation on AIX again
5090      [Victor J. Orlikowski <v.j.orlikowski gte.net>]
5091
5092   *) Fix bug in send_the_file() which causes offset to be ignored
5093      if there are no headers to send.
5094      [Bill Stoddard]
5095
5096   *) Handle APR_ENOTIMPL returned from apr_sendfile in the core
5097      filter. Useful for supporting Windows 9* with a binary
5098      compiled on Windows NT.
5099      [Bill Stoddard]
5100
5101 Changes with Apache 2.0a7
5102
5103   *) Reimplement core_output_filter to buffer/save bucket brigades
5104      across multiple calls to the core_filter. The brigade will be
5105      sent when either MIN_BYTES_TO_SEND or MAX_IOVEC_TO_WRITE
5106      thresholds are hit or the EOS bucket is received.
5107      [Bill Stoddard]
5108
5109   *) Create experimental filter (buffer_filter) that coalesces bytes 
5110      into one large buffer before invoking the next filter in the
5111      chain. This filter is particularly useful with the current 
5112      implementation of mod_autoindex when it inserted above the
5113      chunk_filter. mod_autoindex generates a lot of brigades that
5114      containing buckets holding just a few bytes each. The
5115      buffer_filter coalesces these buckets into a single large bucket.
5116      [Bill Stoddard]
5117
5118   *) Add apr_sendfile() support into the core_output_filter.
5119      [Bill Stoddard]
5120
5121   *) Add apr_sendv() support into the core_output_filter.
5122      [Bill Stoddard]
5123
5124   *) Fix mod_log_config so that it compiles cleanly with BUFFERED_LOGS
5125      [Mike Abbott <mja sgi.com>]
5126
5127   *) Remove ap_send_fb.  This is no longer used in Apache, and it doesn't
5128      make much sense, because Apache uses buckets instead of BUFFs now.
5129      [Ryan Bloom]
5130
5131   *) send_the_file now falls back to a read/write loop on platforms that
5132      do not have sendfile.
5133      [Ryan Bloom and Brian Havard]
5134
5135   *) Install apachectl correctly, and substitute the proper values so
5136      that it works again.  [Ryan Bloom]
5137
5138   *) Better(??) handle platforms that lack sendfile().
5139      [Jim Jagielski]
5140
5141   *) APR now has UUID generation/formatting/parsing support.
5142      [Greg Stein]
5143
5144   *) Begin the http_filter.  This is an input filter that understands
5145      the absolute basic amount required to parse an HTTP Request.  The
5146      goal is to be able to split headers from request body before passing
5147      the data back to the other filters.
5148      [Ryan Bloom]
5149
5150   *) Bring forward from 1.3.13 the config directory implementation
5151      [Jim Jagielski]
5152
5153   *) install apxs if it is created
5154      [Ryan Bloom]
5155
5156   *) Added APR_IS_STATUS_condition test macros to eliminate canonical error
5157      conversions.  [William Rowe]
5158
5159   *) Now that we have ap_add_input_filter(), rename ap_add_filter() to 
5160      ap_add_output_filter().  [Jeff Trawick]
5161
5162   *) Multiple build and configuration fixes
5163     Build process:
5164
5165       -add datadir and localstatedir substitutions
5166       -fix layout name
5167       -fix logfilename misspelling
5168       -fix evaluation of installation dir variables and
5169       -replace $foobar by $(foobar) to be usefull in the makefile
5170     
5171     Cross compile:
5172     
5173       -add rules for cross-compiling in rules.mk. Okay, rule to check for
5174        $CC_FOR_BUILD is still missing
5175       -use CHECK_TOOL instead of CHECK_PROG for ranlib
5176       -add missing "AR=@AR@" to severaly Makefile.in's
5177       -cache result for "struct rlimit"
5178       -compile all helper programs with native and cross compiler
5179        and use the native version to generate header file
5180      ["Rüdiger" Kuhlmann <Tadu gmx.de>]
5181
5182   *) Prepare our autoconf setup for autoconf 2.14a and for cross-
5183      compiling.
5184      ["Rüdiger" Kuhlmann <Tadu gmx.de>]
5185
5186   *) Fix a bug where a client which only sends \n to delimit header
5187      lines (netcat) gets a strange looking HTTP_NOT_IMPLEMENTED 
5188      message.  Start working on ebcdic co-existance with input 
5189      filtering.
5190      [William Rowe, Greg Ames]
5191
5192   *) If mod_so is enabled in the server always create libexec, even
5193      if there are no modules installed in this directory.  This is a
5194      requirement for APXS to work correctly.
5195      [Ryan Bloom]
5196
5197   *) Connection oriented output filters are now stored in the 
5198      conn_rec instead of the request_rec.  This allows us to add the
5199      output filter in the pre-connection phase instead of the
5200      post_read_request phase, which keeps us from trying to write an
5201      error page before we have a filter to write to the network.
5202      [Ryan Bloom, Jeff Trawick, and Greg Ames]
5203
5204   *) Cleaning up an mmap bucket no longer deletes the mmap.  An
5205      mmap can be used across multiple buckets (default_handler with
5206      byte ranges, mod_file_cache, mod_mmap_static), so cleanup of
5207      the mmap itself can't be associated with the bucket.
5208      [Jeff Trawick]
5209
5210   *) Add .dll caching directive ISAPICacheFile to mod_isapi.
5211      [William Rowe]
5212
5213   *) Radical surgery to improve mod_isapi support under Win32.
5214      Includes a number of newer ServerSupportFunction calls, support
5215      for ReadClient (in order to retrieve POSTs greater than 48KB),
5216      and general bug fixes to more reliably load ISAPI .dll's and
5217      prevent leaking handle resources.  Note: There are still 
5218      discrepancies between IIS's and Apache's ServerVariables, and
5219      async calls are still not supported.  Additional warnings are
5220      logged to facilitate debugging of unsupported ISAPI calls.
5221      [William Rowe]
5222
5223   *) Add input filtering to Apache.  The basic idea for the input
5224      filters is the same as the ideas for output filters.  The biggest
5225      difference is that instead of calling ap_pass_brigade, ap_get_brigade
5226      should be called, and the order of execution for the filter itself is
5227      different.  When writing an output filter, a brigade is passed in,
5228      and filters operate directly on that brigade, when done, they call
5229      ap_pass_brigade.  Input filters are the exact opposite.  Because input
5230      is not a push operation, filters first call ap_get_brigade.  When this
5231      function returns, the input filter will be left with a valid brigade.
5232      The input filter should then operate on the brigade, and return.
5233      [Ryan Bloom]
5234
5235   *) Fix building on BSD/OS using its native make. The build system
5236      falls back to the BSD .include directive on that host platform.
5237      [Sascha Schumann]
5238
5239   *) Expand dbmmanage to allow -d -m -s -p options for Crypt, MD5,
5240      SHA1 and plaintext password encodings.  Make feature tests a
5241      bit more flexible.  [William Rowe]
5242
5243   *) Charset translation: mod_charset_lite handles output content 
5244      translation in a filter.  mod_charset_lite no longer ignores 
5245      subrequests.  A bunch of cruft related to BUFF's support for
5246      translating request and response bodies was removed.  
5247      [Jeff Trawick]
5248
5249   *) Move the addition of the CORE filter to the post_read_request
5250      hook in http_core.c.  This removes the need to add the filter in
5251      multiple places and allows for an SSL module to be added much
5252      simpler. [Ryan Bloom]
5253
5254   *) SECURITY [CVE-2000-0913] (cve.mitre.org):
5255      Fix a security problem that affects certain configurations of
5256      mod_rewrite. If the result of a RewriteRule is a filename that
5257      contains expansion specifiers, especially regexp backreferences
5258      $0..$9 and %0..%9, then it may be possible for an attacker to
5259      access any file on the web server. [Tony Finch]
5260
5261   *) Fix a bug where errors that are detected during early request parsing
5262      don't produce visible HTTP error messages at the browser, because
5263      the core_filter wasn't present.  [Greg Ames]
5264
5265   *) Provide apr_socklen_t as a portability aid. 
5266      [Victor  J. Orlikowski]
5267
5268   *) Overhaul of dbmmanage to allow a groups arg (as in Apache 1.2)
5269      as well as a comment arg to the add, adduser and update cmds.
5270      update allows the user to clear or preserve pw/groups/comment.
5271      Fixed a bug in dbmmanage that prevented the check option from 
5272      parsing a password followed by :group... text.  Corrected the
5273      seed calcualation for Win32 systems, and added -lsdbm support.
5274      [William Rowe]
5275
5276   *) Configured mod_auth_dbm to compile with sdbmlib under Win32.
5277      [William Rowe]
5278
5279   *) Avoid a segfault when parsing .htaccess files.  An 
5280      uninitialized tree pointer was passed to ap_build_config().
5281      [Jeff Trawick]
5282
5283   *) Change the way that inet_addr & inet_network are checked for
5284      in APR's configure process to allow BeOS BONE to correctly
5285      find them. With this change BeOS BONE now builds from source
5286      with no problems.  [David Reid]
5287
5288   *) Fix a bug in apr_create_process() for Unix.  The NULL signifying
5289      the end of the parameters to execve() was stored in the wrong
5290      location, overlaying the storage beyond the newargs[] array and 
5291      also passing uninitialized storage to execve(), which would 
5292      sometimes fail with EFAULT.  [Jeff Trawick]
5293
5294   *) Fix a bug parsing configuration file containers.  With a sequence
5295      like this in the config file
5296
5297        <IfModule mod_kilroy.c>
5298        any stuff
5299        </IfModule>
5300        <IfModule mod_lovejoy.c>
5301        (blank line)
5302        any stuff
5303        </IfModule>
5304
5305      the second container would be terminated at the blank line due to
5306      sediment in the buffer from reading the prior </IfModule> and an 
5307      error message would be generated for the real </IfModule> for the
5308      second container.  Also due to this problem, any two characters 
5309      could be used for "</" in the close of a container.  
5310      [Jeff Trawick]
5311
5312   *) ap_add_filter prototype changed to remove the ctx pointer.  The
5313      pointer still remains in the filter structure, but it can not be
5314      a part of the ap_add_filter prototype.  The reason is that when
5315      the core uses AddFilter to add a filter to the stack it doesn't
5316      know how to allocate the ctx pointer, or even how much memory should
5317      be allocated.  The filters will have to be responsible for allocating
5318      the ctx memory when they need it.
5319      [Ryan Bloom]
5320
5321   *) Add an AddFilter directive.  This directive takes a list of filters
5322      that should be activated for the requested resource.
5323      [Ryan Bloom]
5324
5325   *) apr_snprintf(): Get quad format strings working on OS/390 (and perhaps
5326      some other platforms).  [Jeff Trawick]
5327
5328   *) Modify mod_include to be a filter.  Currently, it has only been tested
5329      on actual files, but it should work for CGI scripts too.
5330      [Ryan Bloom]
5331
5332   *) apr_putc(), apr_puts() for Unix: handle buffered files and interrupted
5333      writes.  apr_flush() for Unix: handle interrupted writes.
5334      [Jeff Trawick]
5335
5336   *) NameVirtualHost can now take "*" as an argument instead of
5337      an IP address. This allows you to create a purely name-based
5338      virtual hosting server that does not have any IP addresses in
5339      the configuration file and which ignores the local address
5340      of any connections. PR #5595, PR #4455 [Tony Finch]
5341
5342   *) Fix some compile warnings in mod_mmap_static.c
5343      [Mike Abbott <mja sgi.com>]
5344
5345   *) Fix chunking problem with CGI scripts.  The general problem was that
5346      the CGI modules were adding an EOS bucket and then the core added an
5347      EOS bucket.  The chunking filter finalizes the chunked response when it
5348      encounters an EOS bucket.  Because two EOS buckets were sent, we
5349      finalized the response twice.  The fix is to make sure we only send one
5350      EOS, by utilizing a flag in the request_rec.
5351      [Ryan Bloom]
5352
5353   *) apr_put_os_file() now sets up the unget byte appropriately on Unix
5354      and Win32.  Previously, the first read from an apr_file_t set up via
5355      apr_put_os_file() would return a '\0'.  [Jeff Trawick]
5356
5357   *) Mod_cgid now creates a single element bucket brigade, with a pipe
5358      bucket, instead of using BUFF's and ap_r*.
5359      [Ryan Bloom]
5360
5361   *) APRVARS.in no longer overwrites the EXTRA_LIBS variable.
5362      [Mike Abbott <mja sgi.com>]
5363
5364   *) Remove ap_bopenf from buff code.  This required modifying the file_cache
5365      code to use APR file's directly instead of going through BUFFs.
5366      [Ryan Bloom]
5367
5368   *) Fix compile break on some platforms for mod_mime_magic.c
5369      [John K. Sterling <sterling covalent.net>]
5370
5371   *) Fix merging of AddDefaultCharset directive.
5372      PR #5872 (1.3) [Jun Kuriyama <kuriyama imgsrc.co.jp>]
5373
5374   *) Minor revamp of the rlimit sections of code. We now test
5375      explicitly for setrlimit and getrlimit. Also, unixd_set_rlimit()
5376      is now "available" even if the platform doesn't support
5377      the rlimit family (it's just a noop though). [Jim Jagielski]
5378
5379   *) Migrate the pre-selection of which MPM to use for specific
5380      platforms to hints.m4, which contains (or should contain)
5381      all platform specific "hints". [Jim Jagielski]
5382
5383   *) Remove IOLs from Apache.  With filtering, IOLs are no longer necessary
5384      [Ryan Bloom]
5385
5386   *) Add tables with non-string/binary values to APR.
5387      [Ken Coar]
5388
5389   *) Fix some bad calls to ap_log_rerror() in mod_rewrite. 
5390      [Jeff Trawick]
5391
5392   *) Update PCRE to version 3.2.  [Ryan Bloom]
5393
5394   *) Change the way buckets' destroy functions are called so that
5395      they can be more directly used when changing the type of a
5396      bucket in place. [Tony Finch]
5397
5398   *) Add generic support for reference-counting the resources used by
5399      buckets, and alter the HEAP and MMAP buckets to use it. Change
5400      the way buckets are initialised to support changing the type of
5401      buckets in place, and use it when setting aside TRANSIENT buckets.
5402      Change the implementation of TRANSIENT buckets so that it can be
5403      mostly shared with IMMORTAL buckets, which are now implemented.
5404      [Tony Finch]
5405
5406 Changes with Apache 2.0a6
5407
5408   *) Add support to Apache and APR for dsos on OS/390.  [Greg Ames]
5409
5410   *) Add a chunking filter to Apache.  This brings us one step closer
5411      to removing BUFF. [Ryan Bloom]
5412
5413   *) ap_add_filter now adds filters in a LIFO fashion.  The first filter
5414      added to the stack is the last filter to be called.  [Ryan Bloom]
5415
5416   *) Apache 2.0 has been completely documented using Scandoc.  The
5417      docs can be generated by running 'make docs'.  [Ryan Bloom]
5418
5419   *) Add filtered I/O to Apache.  This is based on bucket brigades,
5420      Currently the buckets still use BUFF under the covers, but that
5421      should change quickly.  The only currently written filter is the
5422      core filter which just calls ap_bwrite.  [The Apache Group]
5423
5424   *) APR locks on Unix: Let APR_LOCKALL locks work when APR isn't
5425      built with thread support.  [Jeff Trawick]
5426
5427   *) Abort configuration if --with-layout was specified and there's
5428      no layout definition file.  [Ken Coar]
5429
5430   *) Add support for '--with-port=n' option to configure.  [Ken Coar]
5431
5432   *) Add support for extension methods for the Allow response header
5433      field, and an API routine for accessing r->allowed and the
5434      list of extension methods in a unified manner.  [Ken Coar]
5435
5436   *) mod_cern_meta: fix broken file reading loop in scan_meta_file().
5437      [Rob Simonson <simo us.ibm.com>]
5438
5439   *) Get xlate builds working again.  The apr renaming in 2.0a5 broke
5440      APACHE_XLATE builds.  [Jeff Trawick]
5441
5442   *) A configuration file parsing problem was fixed.  When the 
5443      configuration file started with an IfModule/IfDefine container, 
5444      only the last statement in the container would be retained.  
5445      [Jeff Trawick]
5446
5447 Changes with Apache 2.0a5
5448
5449   *) Perchild is serving pages after passing them to different child
5450      processes.  There are still a lot of bugs, but this does work.  I
5451      have made requests against the same installation of Apache, and had
5452      different servers use different user IDs to serve the responses.
5453      This change moves to using socketpair instead of an AF_UNIX socket.
5454      [Ryan Bloom]
5455
5456   *) Perchild MPM still doesn't work perfectly, but it is serving pages.
5457      It can't seem to pass between child processes yet, but I think we
5458      are closer now than before.  This moves us back to using Unix
5459      Domain Sockets.  [Ryan Bloom]
5460
5461   *) libapr functions and types renamed with apr_ prefix.
5462      #include "apr_compat.h" for 1.3.x backwards compat
5463      [Perl]
5464
5465   *) Fix problems with APR sockaddr handling on Win32.  It didn't always
5466      return the right information on the local socket address.
5467      [Gregory Nicholls <gnicholls level8.com>]
5468
5469   *) ap_recv() on Win32: Set bytes-read to 0 on error.  
5470      [Gregory Nicholls <gnicholls level8.com>]
5471
5472   *) Add an option to not detach from the controlling terminal without
5473      going into single process mode.  This allows for much easier
5474      debugging of the process startup code. [Ryan Bloom]
5475
5476   *) ab: don't use perror() to report the failure of an APR function.
5477      [Jeff Trawick]
5478
5479   *) Make dexter, mpmt_pthread, and perchild MPMs not destroy the
5480      scoreboard on graceful restarts.
5481      [Ryan Bloom]
5482
5483   *) Fix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
5484      An invalid ap_proc_t was passed to ap_create_process().
5485      [Jeff Trawick]
5486
5487   *) Allow modules to register filters.  Those filters are still
5488      never called, but this is a step in the right direction.
5489      [Ryan Bloom and Greg Stein]
5490
5491   *) Register the mod_cgid daemon process for cleanup so that it is
5492      killed at termination if it does not die when the parent gets
5493      SIGTERM.  This change is to fix occasional problems where the
5494      process stays around.  Bugs in similar logic in mod_rewrite and
5495      mod_include were also fixed.  [Jeff Trawick]
5496
5497   *) Fix a bug in the time handling.  Basically, we were imploding a time
5498      in ap_parseHTTPdate, but it had bogus data in the exploded time format.
5499      Namely, tm_usec and tm_gmtoff were not filled out.  ap_implode_time
5500      uses those two fields to adjust the time value.  Because of the HTTP
5501      spec, both of those values can be zero'ed out safely.  This fixes
5502      the bug correctly.  [Ryan Bloom]
5503
5504   *) Fix a couple of place in the Windows code where the wrong error
5505      code was being returned. [Gregory Nicholls <gnicholls level8.com>]
5506
5507   *) Fix POOL_DEBUG (at least for prefork mpm). [Dean Gaudet]
5508
5509   *) Added the APR_EOL_STR macro for platform dependent differences in 
5510      logfiles and other raw text (such as all APR files).  Fixes logfiles
5511      not terminated with cr/lf sequences in Win32.  [William Rowe]
5512
5513   *) Move all strings functions in APR to src/lib/apr/strings and create
5514      apr_strings.h for the prototypes. [Ryan Bloom]
5515
5516   *) APR lock fixes: when using SysV sems, flock(), or fcntl(), be sure
5517      to repeat the syscall until we stop getting EINTR.  I noticed a
5518      related problem at termination (SIGTERM) on FreeBSD when using
5519      fcntl().  Apache 1.3 had these new loops too.  Also, make the flock() 
5520      implementation work properly with child init.  Previously, ap_lock()
5521      was essentially a no-op because all children were using different
5522      locks and thus nobody ever blocked.  [Jeff Trawick]
5523
5524   *) The htdocs/ tree has been moved out of the CVS source tree into
5525      a separate area for easier development.  This has NO EFFECT on
5526      end-users or Apache installations.  [Ken Coar]
5527
5528   *) Integrate the mod_dav module for WebDAV protocol handling. This
5529      adds the dav and dav_fs modules, the SDBM library, and additional
5530      XML handling utilities. [Greg Stein]
5531
5532   *) Clean out obsolete names (from httpd.h) for the HTTP Status Codes
5533      [Greg Stein]
5534
5535   *) Update the lib/expat-lite/ library (bring forward changes from
5536      the Apache 1.3 repository). [Greg Stein]
5537
5538   *) If sizeof(long long) == sizeof(long), then prefer long in APR
5539      configure.in.  [Dave Hill <ddhill zk3.dec.com>]
5540
5541   *) Add ap_sendfile for Tru64 Unix.  Also, add an error message for
5542      machines where sendfile is detected, but nobody has written ap_sendfile.
5543      [Dave Hill <ddhill zk3.dec.com>]
5544
5545   *) Compile fixes in mod_mmap_static.  [Victor J. Orlikowski]
5546
5547   *) ab would start up more connections than needed, then quit when the
5548      desired number were finished. Also fixed a logic error involving
5549      ab keepalives.  [Victor J. Orlikowski]
5550
5551   *) WinNT: Implement non-blocking pipes with timeouts to communicate
5552      with CGIs. Apache 2.0a4 had non-blocking pipes but without 
5553      timeouts (i.e, if a timeout was specified, the pipe reverted to
5554      a full blocking pipe). Now the behaviour is more in line with
5555      Unix non-blocking pipes.
5556      [Bill Stoddard]
5557
5558   *) WinNT: Implement accept socket reuse. Using mod_file_cache to
5559      cache open file handles along with accept socket reuse enables
5560      Apache 2.0 to serve non-keepalive requests for static files at
5561      3x the rate of Apache 1.3.(e.g, Apache 1.3 will serve 400 rps
5562      and Apache 2.0 will serve almost 1200 rps on my system).
5563      [Bill Stoddard]
5564
5565   *) Merge mod_mmap_static function into mod_file_cache. mod_file_cache
5566      supports two config directives, mmapfile (same behavious as
5567      mod_mmap_static) and cachefile. Use the cachefile directive
5568      to cache open file handles. This directive only works on systems
5569      that have implemented the ap_sendfile API. cachefile works today
5570      on Windows NT, but has not been tested on any flavors of Unix.
5571      [Bill Stoddard]
5572
5573   *) Cleanup the configuration.  With the last few changes the
5574      configuration process automatically:
5575          inherits information about how to build from APR.  Allowing
5576          APR to inform Apache that it should or should not use -ldl
5577         
5578          Detects which mod_cgi should be used mod_cgi or mod_cgid,
5579          based on the threading model
5580
5581          Apache calls APR's configure process before finishing it's
5582          configuration processing, allowing for more information flow
5583          between the two.
5584      [Ryan Bloom]
5585          
5586
5587   *) Change Unix and Win32 ap_setsockopt() so that APR_SO_NONBLOCK
5588      with non-zero argument makes the socket non-blocking.  BeOS and
5589      OS/2 already worked this way.  [Jeff Trawick]
5590
5591   *) ap_close() now calls ap_flush() for buffered files, so write
5592      operations work a whole lot better on buffered files.
5593      [Jeff Trawick]
5594
5595   *) Fix error messages issued from MPMs which explain where to change
5596      compiled-in limits (e.g., ThreadsPerChild, MaxClients, StartTreads).
5597      [Greg Ames]
5598
5599   *) ap_create_pipe() now leaves pipes in blocking state.  (This helps 
5600      reduce the number of syscalls on Unix.)  ap_set_pipe_timeout() is
5601      now the way that the blocking state of a pipe is manipulated.
5602      ap_block_pipe() is gone.  [Jeff Trawick]
5603
5604   *) Correct the problem where the only local host name that the IP stack
5605      can discover are 'undotted' private names.  If no fully qualified
5606      domain name can be identified, the default ServerName will be set to
5607      the machine's IP address string. A warning is always provided if the
5608      ServerName not specified, but assumed.  Solves PR6215 [William Rowe]
5609
5610   *) Repair problems with config file processing which caused segfault
5611      at init when virtual hosts were defined and which caused ServerName to
5612      be ignored when there was no valid DNS setup.  [Jeff Trawick]
5613
5614   *) Removed pointless ap_is_aborted macro function. [Roy Fielding]
5615
5616   *) Add ap_sendfile implementation for AIX
5617      [Victor J. Orlikowski]
5618
5619   *) Repair C++ compatibility in ap_config.h, apr_file_io.h, 
5620      apr_network_io.h, and apr_thread_proc.h.  
5621      [Tyler J. Brooks <tylerjbrooks home.com>, Jeff Trawick]
5622
5623   *) Bring the allocation and pool debugging code back into a working
5624      state.  This will need to be tested as so far it's only been used on
5625      BeOS. [David Reid]
5626
5627   *) Change configuration command setup to be properly typesafe when in
5628      maintainer mode. Note that this requires a compiler that can initialise
5629      unions. [Ben Laurie]
5630
5631   *) Turn on buffering for config file reads.  Part of this was to
5632      repair buffered I/O support in Unix and implement buffered
5633      ap_fgets() for all platforms.  [Brian Havard, Jeff Trawick]
5634
5635   *) Win32: Fix problem where UTC offset was not being set correctly
5636      in the access log. Problem reported on news group by Jerry Baker.
5637      [Bill Stoddard]
5638
5639   *) Fix segfault when reporting this type of syntax error:
5640      "</container> without matching <container> section", where
5641      container is VirtualHost or Directory or whatever.
5642      [Jeff Trawick]
5643
5644   *) SECURITY [CAN-2000-1204] (cve.mitre.org):
5645      Prevent the source code for CGIs from being revealed when 
5646      using mod_vhost_alias and the CGI directory is under the document root
5647      and a user makes a request like http://www.example.com//cgi-bin/cgi
5648      as reported in <news:960999105.344321 ernani.logica.co.uk>
5649      [Tony Finch]
5650
5651   *) Add support for the new Beos NetwOrking Environment (BONE)
5652      [David Reid]
5653
5654   *) xlate: ap_xlate_conv_buffer() now tells the caller when the
5655      final input char is incomplete; ap_bwrite_xlate() now handles
5656      incomplete final input chars.  [Jeff Trawick]
5657
5658   *) Yet another update to saferead/halfduplex stuff -- need to ensure
5659      that a bhalfduplex call occurs before logging or else DNS and
5660      such can delay the last packet of the response.  [Dean Gaudet]
5661
5662   *) Some syscall reduction in APR on unix -- don't seek when setting
5663      up an mmap; and don't fcntl() more than once per socket.
5664      [Dean Gaudet]
5665
5666   *) When mod_cgid is started as root, the cgi daemon now switches 
5667      to the configured User/Group (like other httpd processes) 
5668      instead of continuing as root.  [Jeff Trawick]
5669
5670   *) The prefork MPM now uses an APR lock for the accept() mutex.
5671      It has not been getting a lock at all recently.  httpd -V now 
5672      displays APR's selection of the lock mechanism instead of the 
5673      symbols previously respected by prefork.  [Jeff Trawick]
5674
5675   *) Change the mmap() feature test to check only for existence.
5676      The previous check required features not used by Apache.
5677      [Greg Ames]
5678
5679   *) Fix a couple of bugs in mod_cgid:  The cgi arguments were
5680      sometimes mangled.  The len parm to accept() was not 
5681      initialized, leading sometimes to an endless loop of failed
5682      accept() calls on OS/390 and anywhere else that failed the call
5683      if the len was negative.  Use <sys/un.h> for struct sockaddr_un
5684      instead of declaring it ourselves to fix a compilation problem
5685      on Solaris.  [Jeff Trawick]
5686
5687   *) Add Resource limiting code back into Apache 2.0. [Ryan Bloom]
5688
5689   *) Fix zombie process problem with mod_cgi.  [Jeff Trawick]
5690
5691   *) Port mod_mmap_static to 2.0.  Make it go faster.  [Greg Ames]
5692
5693   *) Fix storage overlay when loading dsos.  Symptom: Apache dies at
5694      initialization if ALLOC_DEBUG is defined; no known symptom 
5695      otherwise.  [Jeff Trawick]
5696
5697   *) Fix typo in configure script when checking for mod_so.  bash
5698      doesn't seem to have a problem but /bin/sh on Solaris does.
5699      Symptom: "./configure: test: unknown operator =="
5700      [Jeff Trawick]
5701    
5702   *) Rebind the Win32 NT and 9x services control into the MPM.  
5703      All console, WinNT SCM and Win9x pseudo-service control code is
5704      now wrapped within the WinNT MPM.
5705      [William Rowe]
5706
5707   *) Make a copy of getenv("PATH") before storing for later use.  Some
5708      getenv() implementations use the same storage for successive calls.
5709      CGIs on OS/390 had a bad PATH due to this.  [Jeff Trawick]
5710
5711   *) Server Tokens work in 2.0 again.  This also propogates the change
5712      to allow just the product name in the server string using
5713      PRODUCT_ONLY.
5714      [Ryan Bloom]
5715
5716 Changes with Apache 2.0a4
5717
5718   *) EBCDIC: Rearrange calls to ap_checkconv() so that most handlers
5719      won't need to call it.  [Greg Ames, Jeff Trawick]
5720
5721   *) Move pre_config hook call to between configuration read and config
5722      tree walk.  This allows all modules to implement pre_config hooks
5723      and know that they will be called at an appropriate time.
5724      [Ryan Bloom] 
5725
5726   *) mod_cgi, mod_cgid: Make ScriptLog directive work again.  
5727      [Jeff Trawick]
5728
5729   *) Add pre-config hooks back to all modules.
5730      [Ryan Bloom]
5731
5732   *) Fix a SIGSEGV in ap_md5digest(), which is used when you have
5733      ContentDigest enabled and we can't/don't mmap the file. 
5734      [Jeff Trawick]
5735
5736   *) We now report the correct line number for syntax errors in config
5737      files.  [Ryan Bloom, Greg Stein, Jeff Trawick]
5738
5739   *) Brought mod_auth_digest up to synch with 1.3, fixed ap_time_t-
5740      related bugs, and changed shmem/locking to use apr API. Shared-mem
5741      is currently disabled, however, because of problems with graceful
5742      restarts. [Ronald Tschalär]
5743
5744   *) Fix corruption of IFS variable in --with-module= handling.  
5745      Depending on the user's shell or customization thereof, there 
5746      would be errors generating ap_config_auto.h later in the configure
5747      procedure.  [Jeff Trawick]
5748
5749   *) mod_cgi: Restore logging of stderr from child process when ScriptLog 
5750      isn't used (as in 1.3), except that on Unix it is now logged via 
5751      ap_log_rerror() instead of by the child having STDERR_FILENO refer
5752      to the error log.  [Greg Ames, Jeff Trawick]
5753
5754   *) Add '-D' argument processing for run time configuration defines.
5755      [William Rowe]
5756
5757   *) Organize http_main.c as independent code, such that no code or
5758      global data is exported from it.  WIN32 will dynamically link it
5759      to the server core, so this will prevent mutual dependency.
5760      [William Rowe]
5761
5762   *) Add separate dynamic linkage tags APR_EXPORT(), APR_EXPORT_NONSTD()
5763      and APR_VAR_EXPORT to correctly resolve apr functions and globals.
5764      [William Rowe]
5765
5766   *) Add Win9x service execution and Ctrl+C/Ctrl+Break/Shutdown handlers.
5767      [William Rowe, Jan Just Keijser <KEIJSERJJ logica.com>]
5768
5769   *) Add mod_charset_lite for configuring character set translation.
5770      [Jeff Trawick]
5771
5772   *) Add '-n' option to htpasswd to make it print its user:pw record
5773      on stdout rather than having to frob a text file.  [Ken Coar]
5774
5775   *) Fix saferead.  Basically, we flush the output buffer if a read on the
5776      input will block.
5777      [Ryan Bloom]
5778  
5779   *) APR: Add ap_xlate_get_sb() so that an app can find out whether or not
5780      a conversion is single-byte only. [Jeff Trawick]
5781
5782   *) BEOS: ap_shutdown should return APR_SUCCESS or errno. Note that
5783      the BeOS 5.0 documentation says that shutdown doesn't work yet.
5784      [Roy Fielding]
5785
5786   *) Fix some minor errors where pid was being manipulated as an int
5787      instead of the portable pid_t.  [Roy Fielding]
5788
5789   *) Fix some error log prints that were printing the pointer to a
5790      structure rather than the pid within the structure.
5791      [Jeff Trawick, Roy Fielding]
5792
5793   *) ab: Fix a command-line processing bug; track bad headers in 
5794      err_response; support reading headers up to 2K. 
5795      [Ask Bjoern Hansen <ask valueclick.com>]
5796
5797   *) Fix ap_resolve_env() so that it handles new function added in a prior
5798      alpha (see "Added the capability to do ${ENVVAR} constructs in the
5799      config file.") as well as the constructs used by mod_rewrite.
5800      [Paul Reder <rederpj raleigh.ibm.com>]
5801
5802   *) Apache 2.0 builds and runs on OS/390. [Jeff Trawick, Greg Ames]
5803
5804   *) Change the EBCDIC support in functions for MD5, SHA1, and base 64 to use
5805      APR to perform translation, instead of accessing the hard-coded tables
5806      in 1.3's ebcdic.c. [Jeff Trawick]
5807
5808   *) Fix some bugs (mostly lost 1.3 code) in ab's command-line processing. 
5809      [Jeff Trawick]
5810
5811   *) Add the ability to hook into the config file reading phase.  Basically
5812      if a directive is specified EXEC_ON_READ, then when that directive is
5813      read from the config file, the assocaited function is executed.  This
5814      should only be used for those directives that must muck with HOW the
5815      server INTERPRETS the config.  This should not be used for directives
5816      that re-order or replace items in the config tree.  Those changes should
5817      be made in the pre-config step.
5818      [Ryan Bloom]
5819
5820   *) Add mod_example to the build system.
5821      [Tony Finch]
5822
5823   *) APR: Add ap_xlate_conv_byte() to convert one char between single-
5824      byte character sets. [Jeff Trawick]
5825
5826   *) Pick up various EBCDIC fixes from 1.3 (from Martin
5827      Kraemer and Oliver Reh originally according to the change log).
5828      [Jeff Trawick]
5829
5830   *) Fix a couple of problems in RFC1413 support (controlled by the
5831      IdentityCheck directive).  Apache did not build the request string
5832      properly and more importantly Apache would loop forever if the 
5833      would-be ident server dropped the connection before sending a
5834      properly terminated response. [Jeff Trawick]
5835
5836   *) apxs works in 2.0.
5837      [Ryan Bloom]
5838
5839   *) Reliable piped logs work in 2.0.
5840      [Ryan Bloom]
5841
5842   *) Introduce a hash table implementation into APR to be used for
5843      replacing tables and other random data structures in Apache.
5844      [Tony Finch]
5845
5846   *) Add some more error reporting to htpasswd in the case of problems
5847      generating or accessing the temporary file.  Also, pass in a
5848      buffer if the implementation knows how to use it (i.e., if L_tmpnam
5849      is defined).  [Ken Coar]
5850
5851   *) Configure creates config.nice now containing your configure
5852      options. Syntax: ./config.nice [--more-options]
5853      [Sascha Schumann]
5854
5855   *) Fix various return code problems in APR on Win32.  For most of
5856      these, APR was returning APR_EEXIST instead of GetLastError()/
5857      WSAGetLastError().  [Jeff Trawick]
5858
5859   *) Make piped logs work again in version 2.0
5860      [Ryan Bloom]
5861
5862   *) Add VPATH support to UNIX build system of Apache and APR.
5863      [Sascha Schumann]
5864
5865   *) Fix ap_tokenize_to_argv to respect the const arguments that are
5866      passed to it.
5867      [Ryan Bloom]
5868
5869   *) Fix mm's memcpy/memset macros, pointer arithmetic was broken.
5870      Patch submitted to author.
5871      [Sascha Schumann]
5872
5873   *) Fix mm configuration on Solaris 8 x86 and OS/390.  Don't require
5874      /sbin in PATH on FreeBSD (all submitted to rse previously) 
5875      [Jeff Trawick]
5876
5877   *) Fix building Pthread-based MPMs on OpenBSD
5878      [Sascha Schumann] PR#26
5879
5880   *) Fix ap_readdir() problem on systems where d_name[] field in
5881      struct dirent is declared with only one byte.  (This problem only 
5882      affected multithreaded builds.)  This caused a segfault during
5883      pool cleanup with mod_autoindex on Solaris (Solaris 8 x86, at 
5884      least). [Jeff Trawick]
5885
5886   *) Fix some make-portability problems on at least Tru64, Irix
5887      and UnixWare.
5888      [Sascha Schumann] PR#18, PR#39
5889
5890   *) Add ap_sigwait() to support old-style sigwait() on systems
5891      like OS/390 and UnixWare.
5892      [Sascha Schumann] 
5893
5894   *) Add POSIX-thread flags for more platforms.
5895      [Sascha Schumann]
5896
5897   *) Fix some minor bugs in ap_strerror().  Teach ap_strerror()
5898      (on Unix, at least) to handle resolver errors.  Fix a bug in
5899      the definition of APR_ENOMEM so that ap_strerror() can spit
5900      out the correct error message for it.
5901      [Jeff Trawick]
5902
5903 Changes with Apache 2.0a3
5904
5905   *) mod_so reports ap_os_dso_error() if ap_dso_load() fails
5906      [Doug MacEachern]
5907
5908   *) API: *HOOK* macros now have an AP_ prefix
5909      [Doug MacEachern]
5910
5911   *) Win32: Eliminate redundant calls to initialize winsock.
5912      [Tim Costello <timcostello ozemail.com.au>]
5913
5914   *) Fix bugs initializing ungetchar for pipes. 
5915      [Chia-liang Kao <clkao CirX.ORG>]
5916
5917   *) The ab program in the src/support directory is now portable using
5918      APR.
5919      [Ryan Bloom]
5920
5921   *) Support directory is being compiled when the server is built
5922      [Ryan Bloom]
5923
5924   *) The configure option --with-program-name has been added to allow
5925      developers to rename the executable at configure time.  This also
5926      changes the name of the config files to match the executable's name.
5927      [Ryan Bloom]
5928
5929   *) mod_autoindex: Add `IndexOptions +VersionSort', to nicely sort filenames
5930      containing version numbers. [Martin Pool]
5931
5932   *) ap_open(..,APR_OS_DEFAULT,..) uses perms 0666 instead of 0777 on
5933      Unix; access_log and error_log now created with these perms; non-
5934      Unix is unaffected [Jeff Trawick]
5935      
5936   *) Finished move of ap_md5 routines to apr_md5.  Removed ap_md5.h.
5937      Replaced more magic numbers with MD5_DIGESTSIZE.
5938      [William Rowe, Roy Fielding]
5939
5940   *) Win32: Get mod_auth_digest compiling and added to the Windows
5941      build environment. Not tested and I'd be suprised if it 
5942      actually works. [Bill Stoddard]
5943
5944   *) Revamp the Win32 make environment. Makefiles have been removed and
5945      Apache.dsw created to bring together all the pieces. Create new file
5946      os/win32/BaseAddr.ref to define module base addresses (to prevent
5947      dll relocation at start-up).
5948      [William Rowe, Greg Marr, Tim Costello, Bill Stoddard]
5949
5950   *) [EBCDIC] Port Paul Gilmartin's CRLF patch from 1.3.  This replaces most
5951      of the \015, \012, and \015\012 constants with macros.
5952      [Greg Ames]
5953      
5954   *) Add ap_xlate_open() et al for translation of text between different 
5955      character sets.  The initial implementation requires iconv().
5956      [Jeff Trawick]
5957
5958   *) More FAQs and answers from comp.infosystems.www.servers.unix.
5959      [Joshua Slive <slive finance.commerce.ubc.ca>]
5960
5961   *) CGI output is being timed out now.
5962      [Ryan Bloom]
5963
5964   *) Fix the problem with dieing quietly.  dupfile now takes a pool which
5965      is used by the new apr file.  There is no reason to create a new file
5966      with the same lifetime as the original file.
5967      [Ryan Bloom] 
5968
5969   *) Win32: Attempt to eliminate dll relocation at start-up by specifying
5970      module base addresses. This will help shooting seg faults
5971      in the field. [William Rowe <wrowe lnd.com>]
5972
5973   *) Update Apache on Windows documentation. Add new document
5974      describing how to compile Apache on Windows.
5975      [William Rowe <wrowe lnd.com>]
5976
5977   *) ap_set_pipe_timeout(), ap_poll(), and APR_SO_TIMEOUT now take 
5978      microseconds instead of seconds.  Some storage leaks and other
5979      minor bugs in related code were fixed.  [Jeff Trawick]
5980
5981   *) Win32: First cut at getting mod_isapi working under 2.0
5982      [William Rowe <wrowe lnd.com>]
5983
5984   *) First stab at getting mod_auth_digest working under 2.0
5985      quick change summary:
5986      - moved the random byte generation (ap_generate_random_bytes) into APR
5987      - now uses ap_time_t
5988      - compiles and runs on linux
5989      - tested with amaya
5990      [Brian Martin <bmartin penguincomputing.com>]
5991
5992   *) Win32: Move the space stripping of physical service names
5993      fix up from Apache 1.3. #include'ing "ap_mpm.h" fixes up an
5994      unresolved symbol. Add dependency checking to the
5995      CreateService call to ensure TCPIP and AFP (winsock) is started
5996      before Apache.
5997      [William Rowe <wrowe lnd.com>]
5998
5999   *) Win32: Add code to perform latebinding on functions that may
6000      not exist on all levels of Windows where Apache runs. This
6001      is needed to allow Apache to start-up on Win95/98. All calls
6002      to non portable functions should be protected with
6003      ap_oslevel checks to prevent runtime segfaults. 
6004      [William Rowe <wrowe lnd.com>]
6005
6006   *) Fix fallback default values for SHM_R and SHM_W [Martin Kraemer]
6007
6008   *) Get lingering_close() working again. [Dean Gaudet, Jeff Trawick]
6009
6010   *) Win32: Get non-blocking CGI pipe reads working under Windows NT.
6011      This addresses PR 1623. Still need to address timing out runaway
6012      CGI scripts. [Bill Stoddard]
6013  
6014   *) Win32: Make ap_stat Windows 95/98 friendly
6015      [William Rowe <wrowe lnd.com>]                                            
6016
6017   *) Win32: Fix a bug in ap_get_oslevel which causes GetVersionEx() to 
6018      always fail. Need to initialise the dwOSVersionInfoSize member of the 
6019      OSVERSIONINFO struct before calling GetVersionEx, so GetVersionEx 
6020      always fails. 
6021
6022      The patch also enhances ap_get_oslevel (and the associated enum) to 
6023      handle selected service packs for NT4, and adds recognition for 
6024      Windows 2000. This is useful, eg. if we can recognise NT4 SP2 then 
6025      we can use ReadFileScatter and WriteFileGather in readwrite.c. 
6026      [Tim Costello <Tim.Costello BTFinancialgroup.com>]
6027
6028   *) Get mod_rewrite building and running, and mod_status building for Win NT
6029      [Allan Edwards <ake raleigh.ibm.com>]
6030
6031   *) Patch to port mod_auth_db to the 2.0 api and also to support 
6032      Berlekey DB 3.0. It works for me with both Berkeley DB 3.0.55 and 
6033      2.7.7.  It should work with version 1 as well but I haven't tested it.  
6034      [Brian Martin <bmartin penguincomputing.com>]
6035
6036   *) Get APR DSO code working under Windows. Includes cross platform
6037      fixes to mod_so.c.
6038      [<Tim.Costello BTFinancialgroup.com>]
6039
6040   *) Fix some of the Windows APR time functions.
6041      [William Rowe]
6042
6043   *) FAQ changes related to tidying up historical documents on the web site.
6044      [Joshua Slive <slive finance.commerce.ubc.ca>]
6045
6046   *) Move Windows DSO code into APR.
6047      [Bill Stoddard]
6048
6049   *) Eliminate apr_win.h and apr_winconfig.h (and the ugly #ifdefs they cause).
6050      Now, apr.h and apr_config.h are generated from apr.hw and apr_config.hw
6051      at build time. At this point, the server will not compile on Windows because
6052      of the recent DSO commits. Fixing those next.
6053      [Bill Rowe & Bill Stoddard]
6054
6055   *) Added error checking for file I/O APR routines.
6056      [Jon Travis <jtravis covalent.net>]
6057
6058   *) APR: Don't use the values of resolver error codes for the 
6059      corresponding APR error codes.  On Unix and Win32, return the 
6060      proper APR error code after a resolver error. [Jeff Trawick]
6061
6062 Changes with Apache 2.0a2
6063
6064   *) Renamed the executable back to httpd on all platforms other 
6065      than Win32
6066      [Ryan Bloom]
6067
6068   *) Allow BeOS to survive restarts, log properly and a few
6069      small things it had problems with due to the way it setup
6070      users and groups. [David Reid]
6071
6072   *) Get mod_rewrite working with APR locks
6073      [Paul Reder <rederpj raleigh.ibm.com>]
6074
6075   *) Actually remove the sempahore when the lock cleanup routine
6076      is called on BeOS. [David Reid]
6077
6078   *) Clear hook registrations between reads of the config file.
6079      When DSOs are unloaded and re-loaded the old hook pointers may
6080      no longer be valid. This fix eliminates potential segfaults.
6081      [Allan Edwards <ake raleigh.ibm.com>]
6082
6083   *) Fix a problem with Sigfunc not being defined or bypassed
6084      if sigaction() wasn't found. [Jim Jagielski]
6085
6086   *) Fix the locking mechanism on BSD variants.  They now use fcntl
6087      locks.  This allows the server to start and serve pages.
6088      [Ryan Bloom]
6089
6090   *) First cut at getting the Win32 installer to work
6091      [William Rowe <wrowe lnd.com>]
6092
6093   *) Get htpasswd compiling under Windows
6094      [William Rowe <wrowe lnd.com>]
6095
6096   *) Change the log message for a bind() failure to show the
6097      interface and port number. [Jeff Trawick]
6098
6099   *) Import the documentation from 1.3.12 and bring parts of it
6100      up-to-date with respect to the changes that have occurred
6101      in 2.0.
6102      [Tony Finch]
6103
6104   *) BeOS MPM updated.  CGI bug on BeOS fixed.  IP addresses
6105      now logged correctly on BeOS.
6106      [David Reid]
6107
6108   *) Create one makefile for all Win32 distributions (NT/2000/95/98).
6109      Makefile.win includes the same user interface as the old 
6110      Makefile.nt 
6111      [William Rowe <wrowe lnd.com>, Jeff Trawick <trawick us.ibm.com>]
6112
6113   *) Win32 exec now uses COMSPEC environment string for command 
6114      shell path resolution.
6115      [William Rowe <wrowe lnd.com>] PR#3715
6116
6117   *) Win32: ap_connect() was not returning correct error condition
6118      PR5866
6119      [Allen Prescott <allen clanprescott.com>]
6120
6121   *) Win32: ap_open() was broken on Win9x because an NT-specific
6122      flag was passed to CreateFile.  ap_puts() added an unnecessary
6123      '\n'.
6124      [Jeff Trawick <trawick us.ibm.com>]
6125
6126   *) Put in Korean and Norwegian index.html pages (2.0 and 1.3)
6127      which where donated by Lee Kuk Hyun and Lorant Czaran. 'Fixed'
6128      confusing ee/et name and made all extensions language/dialect
6129      rather than country reflecting. Changed example files to
6130      explicit reflect the ISO charset and added a few common 
6131      ones to the example config [dirkx]
6132
6133   *) Extend external module capability.  To use this, you call
6134      configure with --with-module=path/to/mod1,path/to/mod2,etc.
6135      [Ryan Bloom]
6136
6137   *) Backported the various "default charset" fixes from 1.3.12,
6138      including the AddDefaultCharset directive. [Jim Jagielski]
6139
6140   *) Added the capability to do ${ENVVAR} constructs in the
6141      config file. E.g. 'ServerAdmin ${POSTMASTER}'. As commited
6142      it does this on a line by line basis; i.e. if the envvar
6143      expands to something with spaces you have to protect it
6144      by adding quotes around it (Unless of course you expect it
6145      to contains more than one argument. Alternatively you
6146      can compile it on a per token basis; which is what people
6147      usually expect by setting RESOLVE_ENV_PER_TOKEN. But this
6148      hampers fancier hacks.
6149      [Dirk-Willem van Gulik]
6150
6151   *) Changed the 'ErrorDocument' syntax in that it NO longer
6152      supports the asymetric
6153
6154                 ErrorDocument 301 "Some message
6155
6156      Note the opening " quote, without a closing quote. It now
6157      has either the following syntaxes
6158
6159                 ErrorDocument XXX /local/uri
6160                 ErrorDocument XXX http://valid/url
6161                 ErrorDocument XXX "Some Message"
6162
6163      The recognition heuristic is: if it has a space it
6164      is a message. If it has no spaces and starts with a /
6165      or is a valid URL then treat it that way. Otherwise it
6166      is assumed to be a message.
6167
6168      This breaks backward compatibility but makes live a hell
6169      of a lot easier for GUI's and config file parsers.
6170      [Dirk-Willem van Gulik]
6171
6172   *) Changed 'CacheNegotiatedDocs' from its present/not-present
6173      syntax into a 'on' or 'off' syntax. As it currently is the
6174      only non nesting token which uses NO_ARGS and thus is an
6175      absolute pain for any config interface automation. This
6176      breaks backward compatibility. [Dirk-Willem van Gulik]
6177
6178   *) Add ability to add external modules to the build process.  This is
6179      done with --with-module=/path/to/module.  Modules can only be added
6180      as static modules at this point.
6181      [Ryan Bloom]
6182
6183 Changes with Apache 2.0a1
6184
6185   *) Fix FreeBSD 3.3 core dump.
6186      Basically, ap_initialize() needs to get called before 
6187      create_process(), since create_process() passes op_on structure
6188      to semop() to get a lock, but op_on isn't initialized until 
6189      ap_initialize() calls setup_lock().  Here is a slight
6190      rearrangement to main() which calls ap_initialize() earlier...
6191      [Jeff Trawick <trawick us.ibm.com>]
6192
6193   *) Enable Apache to use sendfile/TransmitFile API
6194      [Bill Stoddard, David Reid, Paul Reder]
6195
6196   *) Re-Implement Win32 APR network I/O APIs and most of the file I/O
6197      APIs.
6198      [Bill Stoddard]
6199
6200   *) Make file I/O and network I/O writev/sendv APIs consistent.
6201      Eliminate use of ap_iovec_t and use Posix struct iovec.
6202      Use seperate variable on ap_writev to set the number of iovecs
6203      passed in and number of bytes written.
6204      [Bill Stoddard]
6205
6206   *) Adapt file iol to use APR functions. Replaced ap_open_file() 
6207      with ap_create_file_iol(). ap_create_file_iol() requires that 
6208      the file be opened prior to the call using ap_open().
6209      [Bill Stoddard]
6210
6211   *) Port mod_include and mod_cgi to 2.0
6212      [Paul Reder, Bill Stoddard]
6213
6214   *) ap_send{,v}, ap_recv, ap_sendfile API clarification --
6215      bytes_read/bytes_written is always valid (never -1).  Plus
6216      some fixes to buff.c to correct problems introduced by the
6217      errno => ap_status_t changes a while back.  Plus a fix to
6218      chunked encoding introduced right at the beginning of 2.0.
6219      [Dean Gaudet]
6220
6221   *) Revamped UNIX build system to use autoconf and libtool.
6222      [Manoj Kasichainula, Sascha Schumann]
6223
6224   *) port mod_rewrite to 2.0. [Paul J. Reder <rederpj raleigh.ibm.com>]
6225
6226   *) SECURITY: More rigorous checking of Host: headers to fix security 
6227      problems with mass name-based virtual hosting (whether using mod_rewrite
6228      or mod_vhost_alias).
6229      [Ben Hyde, Tony Finch]
6230   
6231   *) Add back support for UseCanonicalName in <Directory> containers.
6232      [Manoj Kasichainula]
6233
6234   *) Added APLOG_STARTUP log type.  This allows us to write an error
6235      message without any of the date and time information.  As a part
6236      of this change, I also removed all of the calls to fprintf(stderr
6237      and replaced them with calls to ap_log_error using APLOG_STARTUP
6238      writing to stderr is no longer portable, because we don't direct 
6239      stderr to the error log on all platforms.
6240      [Ryan Bloom] 
6241  
6242   *) Convert error logging functions to take errno as an argument.
6243      This makes our error logs more portable, because some Windows API's 
6244      don't set errno.  This change allows us to still output a valid
6245      message on all of our platforms.
6246      [Ryan Bloom]
6247
6248   *) mod_mime_magic runs in 2.0-dev now.
6249      [Paul Reder <rederpj raleigh.ibm.com>]
6250
6251   *) sendfile has been added to APR.
6252      [John Zedlewski <zedlwski Princeton.EDU>]
6253
6254   *) buff.c has been converted to no longer use errno.
6255      [Manoj Kasichainula]
6256
6257   *) mod_speling runs in 2.0-dev now: a bug in readdir_r handling and
6258      interface adaption to APR functions did it. [Martin Kraemer]
6259
6260   *) Support DSOs properly on 32-bit HP-UX 11.0
6261      [Dilip Khandekar <dilip cup.hp.com>]
6262
6263   *) Updated MM in APR source tree from version 1.0.8 to 1.0.11
6264      [Ralf S. Engelschall]
6265
6266   *) Cleaned APR build environment integration and bootstrap APR 
6267      automatically for developers from src/Configure.
6268      [Ralf S. Engelschall]
6269
6270   *) Fixed building of src/support/htpasswd.c
6271      [Ralf S. Engelschall]
6272
6273   *) When generating the Location: header, mod_speling forgot
6274      to escape the spelling-fixed uri. (Forw-Port from 1.3)
6275      [Martin Kraemer]
6276
6277   *) Moved mod_auth_digest.c from experimental to standard. [Roy Fielding]
6278
6279   *) Change all pools to APR contexts.  This is the first step to
6280      incorporating APR into Apache. [Ryan Bloom]
6281
6282   *) Move "handler not found" warning message to below the check
6283      for a wildcard handler.  [Dirk <dirkm teleport.com>, Roy Fielding]
6284      PR#2584, PR#2751, PR#3349, PR#3436, PR#3548, PR#4384, PR#4795, PR#4807
6285
6286   *) Support line-continuation feature in config.option file and
6287      allow the loading of multiple option sections at once via
6288      ``--with-option=<section1>,<section2>,...''
6289      [Ralf S. Engelschall]
6290
6291   *) Rebuilt CVS repository with Apache 1.3.9 as basis.  [Roy Fielding]
6292
6293 Changes with Apache MPM
6294
6295   *) Use asynchronous AcceptEx() and a completion port to accept and
6296      dispatch connections to threads in Windows NT/2000. 
6297      [Bill Stoddard]
6298
6299   *) Implement WINNT Win32 MPM from original Win32 code in http_main.c
6300      [Bill Stoddard]  
6301
6302   *) Implement the APACI --with-option facility 
6303      (per default used the config.option file).
6304      [Ralf S. Engelschall]
6305
6306   *) MPM BEOS port.  [David Reid <abb37 dial.pipex.com>]
6307
6308   *) Start to implement module-defined hooks that are a) fast and b) typesafe.
6309      Replace pre_connection module call with a register_hook call and
6310      implement pre_connection as a hook. The intent is that these hooks will
6311      be extended to allow Apache to be multi-protocol, and also to allow the
6312      calling order to be specified on a per-hook/per-module basis.
6313      [Ben Laurie]
6314
6315   *) Implement mpm_* methods as "modules". Each method gets its own
6316      subdir in src/modules (eg: src/modules/prefork). Selection
6317      of method uses Rule MPM_METHOD.  [Jim Jagielski]
6318
6319   *) Port the hybrid server from the apache-apr repository as
6320      mpm_mpmt_pthread.  [Manoj Kasichainula]
6321
6322   *) os/unix/unixd.[ch]: detach, setuid, setgid, stuff which will be common
6323      amongst the unix MPMs.
6324
6325   *) mpm_prefork: throw away all the alarm/timeout crud; and clean up the
6326      signal handling for the new world order.  [Dean Gaudet]
6327
6328   *) Crude ap_thread_mutex abstraction so that we get the pthread stuff out
6329      of alloc.c for now.  [Dean Gaudet]
6330
6331   *) Handle partial large writes correctly.  [Ben Laurie]
6332
6333   *) Eliminate conn_rec's pointer to server. All it knows is the base server
6334      based on IP/port.  [Ben Laurie]
6335
6336   *) Port a bunch of modules to the new module structure.
6337      ["Michael H. Voase" <mvoase midcoast.com.au>]
6338
6339   *) I/O layering and BUFF revamp.  See docs/buff.txt.  [Dean Gaudet]
6340
6341   *) Basic restructuring to introduce the MPM concept; includes various
6342      changes to the module API... better described by
6343      docs/initial_blurb.txt.  [Dean Gaudet]
6344
6345 Changes with Apache pthreads
6346
6347   *) New buff option added: BO_TIMEOUT. It describes the timeout for
6348      buff operations (generally over a network).
6349      [Dean Gaudet, Ryan Bloom, Manoj Kasichainula]
6350
6351   *) Created http_accept abstraction. Added 4 new functions (not exported):
6352      init_accept(), begin_accepting_requests(), get_request(), 
6353      stop_accepting_requests() [Bill Stoddard]
6354
6355   *) Fix to ap_rprintf call that allows mod_info to work properly.
6356      [James Morris <jmorris intercode.com.au>]
6357
6358   *) user and ap_auth_type fields were moved from connection_rec to 
6359      request_rec. [Ryan Bloom] 
6360
6361   *) Removed the ap_block_alarms and ap_unblock_alarm calls.  These aren't
6362      needed in a threaded server.
6363
6364   *) Initial pthread implementation from from Dean's apache-nspr code.
6365      [Bill Stoddard, Ryan Bloom]
6366
6367
6368 Changes with Apache 1.3.9
6369
6370   *) Remove bogus error message when a redirect doesn't set Location.
6371      Instead, use an empty string to avoid coredump if the error message
6372      was supposed to include a location.  [Roy Fielding]
6373
6374   *) Don't allow configure to include mod_auth_digest unless it is
6375      explicitly requested, even if the user asked for all modules.
6376      [Roy Fielding]
6377
6378   *) Translate module names to dll names for OS/2 so that they are no more
6379      than 8 characters long and have an extension of "dll" instead of "so".
6380      [Brian Havard]
6381
6382   *) Print out pointer to Rule DEV_RANDOM when truerand lib not found.
6383      Fix test-compile check to check for randbyte instead of trand32.
6384      Use ap_base64encode_binary/decode instead of copy in mod_auth_digest.c
6385      and tweak to make Amaya happier.  [Ronald Tschalär]
6386
6387   *) Ensure that the installed expat include files are world readable,
6388      just like the other header files.  [Martin Kraemer]
6389
6390   *) Fixed generated AddModule adjustments in APACI's `configure' script
6391      in order to allow (new) modules like mod_vhost_alias to be handled
6392      correctly (which was touched by the adjustments for mod_alias).
6393      [Ralf S. Engelschall]
6394
6395   *) For binary builds, add -R flag to apachectl to work around the lack of
6396      an absolute path to the ./libexec directory where the libhttp.ep file
6397      is needed for SHARED_CORE architectures.  [Randy Terbush]
6398
6399   *) WIN32: Create the CGI script process as DETACHED.  This may solve the
6400      problem observed by some Win95/98 users where they get CGI script
6401      output sent to the console.  [Bill Stoddard]
6402
6403   *) Fix (re)naming in the uuencode/decode section. The ap/ap_
6404      routines are now called ap_base64* and are 'plain' (i.e., no 
6405      pool access or anything clever). Inside util.c the routines acting
6406      like pstrdup are called ap_pbase64encode() and ap_pbase64decode().
6407      The oddly named ap_uuencode(), ap_uudecode() are kept around for
6408      now but deprecated.  [dirkx]
6409
6410   *) Clean up the base64 and SHA1 additions and make sure they are
6411      represented in the ApacheCore.def, ApacheCoreOS2.def, and httpd.exp
6412      files.  [Roy Fielding]
6413
6414   *) WIN32: Migrate to InstallShield 5.5 and provide a bit more error
6415      checking.  Allow compiling on VS 6.0.  [Randy Terbush]
6416
6417   *) Fixed assumption of absolute paths in binbuild.sh.  [Tony Finch]
6418
6419   *) Use TestCompile to search for the truerand library (rather than blindly
6420      assuming its existence). If it is not found, complain (but do not
6421      exit - yet).  [Martin Kraemer]
6422
6423   *) We forgot to add the new exported function names to
6424      src/support/httpd.exp.  [Bill Stoddard, Randy Terbush]
6425
6426   *) Add description of -T command-line option to usage().
6427      [Ralf S. Engelschall]
6428
6429   *) For "some" platforms (notably, EBCDIC based ones), libos needs to be
6430      searched only AFTER libap has been searched, because libap needs
6431      some symbols from libos.  [Martin Kraemer]
6432
6433   *) Fix conflict with original mod_digest related to the symbol of the
6434      module dispatch list (which has to be unique for DSO and follow the
6435      usual conventions for the installation procedure).
6436      [Ralf S. Engelschall]
6437
6438   *) Add a dbm-library check for the "usual places" (-ldbm, -lndbm, -ldb)
6439      for other platforms as well.  [Martin Kraemer]
6440
6441   *) Make ap_sha1.c compile for EBCDIC platforms: replace remaining LONG
6442      types by AP_LONG and replace reference to renamed variable 'ubuf'
6443      by 'buffer'.  [Martin Kraemer]
6444
6445 Changes with Apache 1.3.8 [not released]
6446
6447   *) Flush the output buffer immediately after sending an error or redirect
6448      response, since the result may be needed by the client to abort a
6449      long data transfer or restart a series of pipelined requests.
6450      [Tom Vaughan <tvaughan aventail.com>, Roy Fielding]
6451
6452   *) PORT: Improved compilation and DSO support on Sequent DYNIX/ptx.
6453      [Ian Turner <iant sequent.com>] PR#4735
6454
6455   *) Local struct mmap in http_core.c conflicted with system structure
6456      name on DYNIX -- changed to mmap_rec.  [Roy Fielding] PR#4735
6457
6458   *) Added updated mod_digest as modules/experimental/mod_auth_digest.
6459      [Ronald Tschalär <ronald innovation.ch>]
6460
6461   *) Fix a memory leak where the module counts were getting messed
6462      up across restarts.  [David Harris <dharris drh.net>]
6463
6464   *) CIDR addresses such as a.b.c.d/24 where d != 0 weren't handled
6465      properly in mod_access.
6466      ["Paul J. Reder" <rederpj raleigh.ibm.com>] PR#4770
6467
6468   *) RewriteLock/RewriteMap didn't work properly with virtual hosts.
6469      [Dmitry Khrustalev <dima bog.msu.su>] PR#3874
6470
6471   *) PORT: Support for compaq/tandem/com.
6472      [Michael Ottati <michael.ottati compaq.com>, dirkx]
6473
6474   *) Added SHA1 password encryption support to easy migration from 
6475      Netscape servers. See support/SHA1 for more information.
6476      Caused the separation of ap_md5.c into md5, sha1 and a general
6477      ap_checkpass.c with just a validate_passwd routine. Added a
6478      couple of flags to support/htpasswd. Some reuse of the to64()
6479      function; hence renamed to ap_to64().
6480      [Dirk-Willem van Gulik, Clinton Wong <clintdw netcom.com>]
6481
6482   *) Change for EBCDIC platforms (TPF and BS2000) to correctly deal
6483      with ASCII/EBCDIC conversions in "ident" query.
6484      [David McCreedy <McCreedy us.ibm.com>]
6485
6486   *) Get rid of redefinition warning on MAC_OS_X_SERVER platform.
6487      Change "Power Macintosh" to Power* so if uname prints "Power Book"
6488      we're still happy on Rhapsody platforms.  [Wilfredo Sanchez]
6489
6490   *) Fix SIGSEGV on some systems because the Vary fix below included
6491      a call to table_do with a variable argument list that was not
6492      NULL terminated.  Replaced with better implementation. [Roy Fielding]
6493
6494 Changes with Apache 1.3.7 [not released]
6495
6496   *) The "Vary" response header field is now sanitised right before
6497      the header is sent back to the client.  Multiple "Vary" fields
6498      are combined, and duplicate tokens (e.g., "Vary: host, host" or
6499      "Vary: host, negotiate, host, accept-language") are reduced to
6500      single instances.  This is a better solution than the force-no-vary
6501      one (which is still valid for clients that can't cope with Vary
6502      at all).  PR#3118 [Dean Gaudet, Roy Fielding, Ken Coar]
6503
6504   *) Portability changes for BeOS. [David Reid <abb37 dial.pipex.com>]
6505
6506   *) Link DSO's with "gcc -shared" instead of "ld -Bshareable" at 
6507      least on Linux and FreeBSD for now.  
6508      [Rasmus Lerdorf]
6509
6510   *) Win32: More apache -k restart work. Restarts are now honored
6511      immediately and connections in the listen queue are -not- lost.
6512      This is made possible by the use of the WSADuplicateSocket()
6513      call.  The listeners are opened in the parent, duplicated, then
6514      the duplicates are passed to the child. The original listen sockets 
6515      are not closed by the parent across a restart, thus the listen queue 
6516      is preserved.
6517      [Bill Stoddard <stoddard raleigh.ibm.com>]
6518
6519   *) Fix handling of case when a client has sent "Expect: 100-continue"
6520      and we are going to respond with an error, but get stuck waiting to
6521      discard the body in the pointless hope of preserving the connection.
6522      [Roy Fielding, Joe Orton <jeo101 york.ac.uk>] PR#4499, PR#3806
6523
6524   *) Fix 'configure' to work correctly with SysV-based versions of
6525      'tr' (consistent with Configure's use as well). [Jim Jagielski]
6526
6527   *) apxs: Add "-S var=val" option which allows for override of CFG_*
6528      built-in values. Add "-e" option which works like -i but doesn't
6529      install the DSO; useful for editing httpd.conf with apxs. Fix
6530      editing code so that multiple invocations of apxs -a will not
6531      create duplicate LoadModule/AddModule entries; apxs can now be
6532      used to re- enable/disable a module.  [Wilfredo Sanchez]
6533
6534   *) Win32: Update the server to use Winsock 2. Specifically, link with
6535      ws2_32.lib rather than wsock32.lib.  This gives us access to 
6536      WSADuplcateSocket() in addition to some other enhanced comm APIs.
6537      Win 95 users may need to update their TCP/IP stack to pick up
6538      Winsock 2. (See http://www.microsoft.com/windows95/downloads/)
6539      [Bill Stoddard <stoddard raleigh.ibm.com>]
6540
6541   *) Win32: Redirect CGI script stderr (script debug info) into the 
6542      error.log when CGI scripts fail. This makes Apache on Win32 
6543      behave more like Unix.      
6544      [Bill Stoddard <stoddard raleigh.ibm.com>]
6545
6546   *) Fixed `httpd' usage display: -D was missing.
6547      [Ralf S. Engelschall] PR#4614
6548
6549   *) Fix `make r' test procedure in src/regex/: ap_isprint was not found.
6550      [Ralf S. Engelschall] PR#4561, PR#4562
6551
6552   *) OS/2: Fix problem with accept lock semaphores where server would die with
6553      "OS2SEM: Error 105 getting accept lock. Exiting!" 
6554      [Brian Havard] PR#4505
6555
6556   *) Add DSO support for DGUX 4.x using gcc. Tested on x86 platforms.
6557      [Randy Terbush <randy covalent.net>]
6558  
6559   *) Add the new mass-vhost module (mod_vhost_alias.c) developed and
6560      used by Demon Internet, Ltd. [Tony Finch <fanf demon.net>]
6561
6562   *) Better GCC detection for DSO flags under Solaris 2 where the `cc' 
6563      command potentially _is_ GCC. [Ralf S. Engelschall]
6564
6565   *) Fix apxs build issues on AIX 
6566      [Rasmus Lerdorf <rasmus raleigh.ibm.com>]
6567
6568   *) DocumentRoot Checking: Under previous versions, when Apache
6569      first started up, it used to do a stat of each DocumentRoot to
6570      see if it existed and was a directory. If not, then an error
6571      message was printed. THIS HAS BEEN DISABLED. If DocumentRoot
6572      does not exist, you will get error messages in error_log. If
6573      the '-t' command line option is used (to check the configuration)
6574      the check of DocumentRoot IS performed. An additional command
6575      line option, '-T', has been added if you want to avoid the
6576      DocumentRoot check even when checking the configuration.
6577      [Jim Jagielski]
6578
6579   *) Win32: The query switch "apache -S" didn't exit after showing the
6580      vhost settings. That was inconsistent with the other query functions.
6581      [Bill Stoddard - Fixed by Martin on Unix in 1.3.4]
6582
6583   *) Win32: Changed behaviour of apache -k restart. 
6584      Previously, the server would drain all connections in the stack's
6585      listen queue before honoring the restart. On a busy server, this
6586      could take hours.  Now, a restart is honored almost immediately. 
6587      All connections in Apache's queues are handled but connections in 
6588      the stack's listen queue are discarded. Restart triggered by 
6589      MaxRequestPerChild is unchanged.
6590      [Bill Stoddard <stoddard raleigh.ibm.com>]
6591
6592   *) Win32: Eliminated unnecessary call to wait_for_multiple_objects in
6593      the accept loop. Good for a 5% performance boost. Cleaned up 
6594      parent/child process management code. 
6595      [Bill Stoddard <stoddard raleigh.ibm.com>]
6596
6597   *) Added ceiling on file size for memory mapped files.
6598      [John Giannandrea <jg meer.net>] PR#4122
6599
6600   *) Fix ndbm.h include problems with brain-dead glibc >= 2.1 which 
6601      has ndbm.h in a non-standard db1/ subdir. PR#4431, PR#4528
6602      [Henri Gomez <gomez slib.fr>, Ralf S. Engelschall] 
6603
6604   *) Determine AP_BYTE_ORDER for ap_config_auto.h and already
6605      use this at least for Expat. [Ralf S. Engelschall]
6606
6607   *) Allow .module files to specify libraries with Lib:.
6608      [Ben Laurie]
6609
6610   *) Allow SetEnvIf[NoCase] to test environment variables as well
6611      as header fields and request attributes.  [Ken Coar]
6612
6613   *) Fix mod_autoindex's handling of ScanHTMLTitles when file
6614      content-types are "text/html;parameters".  PR#4524  [Ken Coar]
6615
6616   *) Remove "mxb" support from mod_negotiation -- it was a draft feature
6617      never accepted into any standard, and it opens up certain DoS
6618      attacks.  [Koen Holtman <Koen.Holtman cern.ch>]
6619
6620   *) TestCompile updated. We can now run programs and output the
6621      results during the Configure process. [ Jim Jagielski]
6622
6623   *) The source is now quad (long long) aware as needed. Specifically,
6624      the Configure process determines the correct size of off_t and
6625      *void. When the OS/platform/compiler supports quads, ap_snprintf()
6626      provides for the 'q' format qualifier (if quads are not available,
6627      'q' is silently "demoted" to long). [Jim Jagielski]
6628
6629   *) When the username or password fed to htpasswd is too long, include the
6630      size limit in the error message.  Also report illegal characters
6631      (currently only ':') in the username.  Add the size restrictions
6632      to the man page.  [Ken Coar]
6633
6634   *) Fixed the configure --without-support option so it doesn't result in
6635      an infinite loop.  [Marc Slemko]
6636
6637   *) Piped error logs could cause a segfault if an error occured
6638      during configuration after a restart.
6639      [Aidan Cully <aidan panix.com>] PR#4456
6640
6641   *) If a "Location" field was stored in r->err_headers_out rather
6642      than r->headers_out, redirect processing wouldn't find it and
6643      the server would core dump on ap_escape_html(NULL).  Check both
6644      tables and raise HTTP_INTERNAL_SERVER_ERROR with a log message
6645      if Location isn't set.  [Doug MacEachern, Ken Coar]
6646
6647   *) Add RULE_EXPAT, the src/lib/ directory structure, and a modified copy
6648      of the Expat 1.0.2 distribution. [Greg Stein]
6649
6650   *) Replace regexec() calls with calls to a new API stub function
6651      ap_regexec().  This solves problems with DSO modules which use the regex
6652      library. [Jens-Uwe Mager <jum helios.de>, Ralf S. Engelschall]
6653
6654   *) Add 'Request_Protocol' special keyword to mod_setenvif so that
6655      environment variables can be set according to the protocol version
6656      (e.g., HTTP/0.9 or HTTP/1.1) of the request.  [Ken Coar]
6657
6658   *) Add DSO support for OpenStep (Mach 4.2) platform.
6659      [Ralf S. Engelschall, Rex Dieter <rdieter math.unl.edu>] PR#3997
6660
6661   *) Fix sed regex for generating ap_config_auto.h in src/Configure.
6662      [Jan Gallo <gallo pvt.sk>] PR#3690, PR#4373
6663  
6664   *) Switch to /bin/sh5 in APACI on Ultrix and friends to avoid problems with
6665      their brain-dead /bin/sh. [Ralf S. Engelschall] PR#4372
6666
6667   *) Better DSO flags recognition on NetBSD platforms using ELF.
6668      [Todd Vierling <tv pobox.com>] PR#4310
6669
6670   *) Always log months in english format for %t in mod_log_config.
6671      [Petr Lampa <lampa fee.vutbr.cz>] PR#4366, 679
6672
6673   *) Support for server-parsed and multiview-determined ReadmeName and
6674      HeaderName files in mod_autoindex. Removed the restriction on
6675      "/"s in ReadmeName and HeaderName directives since the *sub_req*
6676      routines will deal with the access issues. (It's now possible to
6677      have {site|group|project|customer|...} wide readmes and headers.)
6678      [Raymond S Brand <rsbx rsbx.net>, Ken Coar] PR#1574, 3026, 3529,
6679      3569, 4256
6680
6681   *) When stat() fails, don't assume anything about the contents of
6682      the struct stat.  [Ed Korthof <ed bitmechanic.com>]
6683
6684   *) It's OK for a semop to return EINTR, just loop around and try
6685      again.  [Dean Gaudet]
6686
6687   *) Fix configuration engine re-entrant hangups, which solve a
6688      handful of problems seen with mod_perl <Perl> configuration sections
6689      [Salvador Ortiz Garcia <sog msg.com.mx>]
6690
6691   *) Mac OS and Mac OS X Server now use the appropriate custom layout
6692      by default when building with APACI; allow for platform-specific
6693      variable defaults in configure. [Wilfredo Sanchez]
6694
6695   *) Do setgid() before initgroups() in http_main; some platforms
6696      zap the grouplist when setgid() is called.  This was fixed in
6697      suexec earlier, but the main httpd code missed the change.
6698      [Rob Saccoccio <robs InfiniteTechnology.com>]  PR#2579
6699
6700   *) Add recognition of .tgz as a gzipped tarchive.
6701      [Bertrand de Singly <bertrand.de-singly polytechnique.fr>]  PR#2364
6702
6703   *) mod_include's fsize/flastmod should allow only relative paths, just
6704      like "include file".  [Jaroslav Benkovsky <benkovsk pha.pvt.cz>]
6705
6706   *) OS/2: Add support for building loadable modules using DLLs.
6707      [Brian Havard]
6708
6709   *) Add iconsdir, htdocsdir, and cgidir to config.layout.
6710      [Wilfredo Sanchez]
6711
6712   *) Fix minor but annoying bug with the test for Configuration.tmpl
6713      being newer than Configuration so that it is less likely to fail
6714      when using APACI and shadow sources. [Wilfredo Sanchez]
6715
6716   *) PORT: Add initial support for Mac OS (versions 10.0 and
6717      greater). Use Mac OS X Server layout for now. Clean up dyld code
6718      in unix/os.c, and don't install the dyld error handlers, which
6719      are no longer needed in Mac OS. [Wilfredo Sanchez]
6720
6721   *) Rename Rhapsody layout to "Mac OS X Server". Change install
6722      locations to appropriate ones for user-built (as opposed to
6723      system) installs. [Wilfredo Sanchez]
6724
6725   *) Modify mod_autoindex's handling of AddDescription so that the
6726      behaviour matches the documentation.  [Ken Coar] PR#1898, 3072.
6727
6728   *) Add functionality to the install-bindist.sh script created by
6729      binbuild.sh to use tar when copying distribution files to the
6730      serverroot. This allows upgrading an existing installation
6731      without nesting the new distribution in the old.
6732
6733      install-bindist.sh now detects the local perl5 path to install
6734      apxs and dbmmanage with proper path to perl interpreter.
6735
6736      Add an install-binsupport target which copies the source files
6737      for apxs and dbmmanage to bindist to allow these scripts to
6738      be properly installed relative to the destination serverroot.
6739      [Randy Terbush, Covalent Technologies, <randy covalent.net>]
6740
6741   *) Fix intermittent SEGV in ap_proxy_cache_error() in
6742      src/modules/proxy_util.c where a NULL filepointer and
6743      temporary filename were closed and unlinked.
6744      [Graham Leggett <minfrin sharp.fm>,
6745      Tim Costello <tjcostel socs.uts.edu.au>] PR#3178
6746
6747   *) Fix inconsistent error messages reported by mod_proxy.
6748      [Graham Leggett <minfrin sharp.fm>]
6749
6750   *) OS/2: Fix terminating CGIs that aren't compiled by EMX GCC when a 
6751      connection is aborted.  [Brian Havard]
6752
6753   *) Force the LANG envariable to the known state of "C" so that we
6754      have assurance about how string manipulators (e.g., tr) will
6755      function.  [Ken Coar]  PR#1630
6756
6757   *) Add a directive to allow customising of the tracking cookie name.
6758      [Ken Coar]  PR#2921, 4303
6759
6760   *) Add "force-no-vary" envariable to allow servers to work around
6761      clients that choke on "Vary" fields in the response header.
6762      [Ken Coar, Dmitry Khrustalev <dima zippy.machaon.ru>]  PR#4118
6763
6764   *) Fixed a bug in mod_dir that causes a child process will infinitely
6765      recurse when it attemps to handle a request for a directory wnd the
6766      value of the DirectoryIndex directive is a single dot. Also likely
6767      to happen for anyother values of DirectoryIndex that will map back
6768      to the same directory. The handler now only considers regular files
6769      as being index candidates. No PR#s found.
6770      [Raymond S Brand <rsbx rsbx.net>]
6771
6772   *) Ease configuration debugging by making TestCompile fall back to
6773      using "make" if the $MAKE variable is unset [Martin Kraemer]
6774
6775   *) Fixed the ServerSignature directive to work as documented.
6776      [Raymond S Brand <rsbx rsbx.net>] PR#4248
6777
6778   *) Add "opt" (SysV-style) layout to config.layout. [Raymond S Brand
6779      <rsbx rsbx.net>]
6780
6781   *) Add APACI --without-execstrip option which can be used to disable the
6782      stripping of executables on installation.  This is very important for DSO
6783      and debugging situations. [Ralf S. Engelschall]
6784
6785   *) Add support for OS/2 (case insenstive filesystem, .exe suffix, etc)
6786      to APACI files and related scripts. 
6787      [Yitzchak Scott-Thoennes <sthoenna efn.org>, Ralf S. Engelschall] PR#4269
6788
6789   *) Add support for standalone mode in TPF
6790      [Joe Moenich <moenich us.ibm.com>]
6791
6792   *) Fix number of bytes copied by read_connection() in src/support/ab.c
6793      [Jim Cox <jc superlink.net>] PR#4271
6794
6795   *) Fix special RewriteCond "-s" pattern matching.
6796      [Bob Finch <bob nas.com>]
6797
6798   *) Fix value quoting in src/Configure script for ap_config_auto.h 
6799      [Paul Sutton <paul awe.com>]
6800
6801   *) Make sure RewriteLock can be used only in the global context, (i.e.
6802      outside of any <VirtualHost> sections) because it's a global facility of
6803      the rewrite engine. [Ralf S. Engelschall]
6804
6805   *) Fix the ownership delegation for proxy directory under `make install'.
6806      [Ralf S. Engelschall]
6807
6808   *) APACI would not correctly build suexec. [Maria Verina
6809      <mariav icgeb.trieste.it>] PR#4260
6810
6811   *) mod_mime_magic passed only the first 4k of a file to
6812      uncompress/gzip, but those tools sometimes do not produce
6813      any output unless a sufficient portion of the compressed
6814      file is input.  Change to pass the entire file -- but
6815      only read 4k of output.
6816      [Marcin Cieslak <saper system.pl>] PR#4097
6817
6818   *) "IndexOptions None" generated extra spaces at the end of each
6819      line.  [<inkling firstnethou.com>] PR#3770
6820
6821   *) The "100 Continue" response wasn't being sent after internal
6822      redirects. [Jose KAHAN <kahan w3.org>] PR#3910, 3806, 3575
6823
6824   *) When padding the name with spaces for display, mod_autoindex would
6825      count &, <, and > in their escaped width, messing up the display.
6826      [Dean Gaudet] PR#4075, 3758
6827
6828   *) PORT: fixed a compilation problem on NEXT.
6829      [Jacques Distler <distler golem.ph.utexas.edu>] PR#4130
6830
6831   *) r->request_time wasn't being set properly in certain error conditions.
6832      [Dean Gaudet] PR#4156
6833
6834   *) PORT: deal with UTS compiler error in http_protocol.c
6835      [Dave Dykstra <dwd bell-labs.com>] PR#4189
6836
6837   *) Add ap_vrprintf() function.  [John Tobey <jtobey banta-im.com>] PR#4246
6838
6839   *) Fix the mod_mime hash table to work properly with locales other
6840      than C.  [Dean Gaudet] PR#3427
6841
6842   *) Fix a memory leak which is exacerbated by certain configurations.
6843      [Dean Gaudet] PR#4225
6844
6845   *) Prevent clobbering saved IFS values in APACI. [Jim Jagielski]
6846
6847   *) Fix buffer overflows in ap_uuencode and ap_uudecode pointed out
6848      by "Peter 'Luna' Altberg <peter altberg.nu>" and PR#3422
6849      [Peter 'Luna' Altberg <peter altberg.nu>, Ronald Tschalär]
6850
6851   *) Make {Set,Unset,Pass}Env per-directory instead of per-server.
6852      [Ben Laurie]
6853
6854   *) Correct an apparent typo: on the Windows and MPE platforms, the
6855      htpasswd utility was limiting passwords to only 8 characters.
6856      [Ken Coar]
6857
6858   *) EBCDIC platforms: David submitted patches for two bugs in the
6859      MD5 digest port for EBCDIC machines:
6860      a) the htdigest utility overwrote the old contents of the digest file
6861      b) the Content-MD5 header value (ContentDigest directive) was wrong
6862      when the returned file was not converted from EBCDIC, but was a
6863      binary (e.g., image file) in the first place.
6864      [David McCreedy <mccreedy us.ibm.com>]
6865
6866   *) support/htpasswd now permits the password to be specified on the
6867      command line with the '-b' switch.  This is useful when passwords
6868      need to be maintained by scripts -- particularly in the Win32
6869      environment.  [Ken Coar]
6870
6871   *) Win32: Win32 multiple services patch. Added capability to install and
6872      run multiple copies of apache as individual services.
6873
6874      Example 1:
6875      apache -n apache1 -i -f c:/httpd.conf
6876         Installs apache as service 'apache1' and associates c:/httpd.conf
6877         with that service.
6878      net start apache1
6879         Starts apache1 service.
6880      net stop apache1
6881         Stops apache1 service
6882
6883      Example 2:
6884      apache -n apache2 -i
6885         Installs apache as service 'apache2'. httpd.conf is located under
6886         the default server root (/apache/conf/httpd.conf).
6887      net start apache2
6888         Starts apache2 service.
6889
6890      Example 3:
6891      apache -n apache3 -i -d c:/program files/apache
6892         Install apache as service 'apache3' and sets server root to
6893         c:/program files/apache.
6894
6895      Example 4:
6896      apache -n apache2 -k restart
6897         Restart apache2 service 
6898
6899      [Keith Wannamaker, Ken Parzygnat, Bill Stoddard]
6900
6901   *) Correct the signed/unsigned character handling for the MD5 routines;
6902      mismatches were causing compilation problems with gcc -pedantic and
6903      in the TPF cross-compilation.  [Ken Coar]
6904
6905   *) OS/2: Rework CGI handling to use spawn*() instead of fork/exec, achieving
6906      a roughly 5 fold speed up. [Brian Havard]
6907
6908   *) proxy ftp: instead of using the hardwired string "text/plain" as
6909      a fallback type for files served by the ftp proxy, use the
6910      ap_default_type() function to determine the configured type.
6911      This allows for special configurations like
6912         <Directory proxy:ftp://some.host>
6913         DefaultType gargle/blurb
6914         </Directory>
6915      Additionally, add the Content-Encoding: header to FTP proxy replies
6916      when the encoding is defined (by the AddEncoding directive).
6917      Because it was missing, it was almost impossible to browse compressed
6918      files using the FTP proxy (works now perfectly in Communicator).
6919      The ftp proxy now also returns the Date: and Server: header lines (if not
6920      much else... This code is "somewhat" broken) like normal requests do.
6921      [Martin Kraemer]
6922
6923   *) Be more smart in APACI's configure script when determining the UID/GID
6924      for User/Group directives and use the determined UID/GID to initialize
6925      the permissions on the proxycachedir.
6926      [Dirk-Willem van Gulik, Ralf S. Engelschall]
6927
6928   *) Changed the forking-prior-to-cleanup in the proxy module to first
6929      check wether it actually needs to collect garbage. This reduces 
6930      the number of fork()s from one/request to just the odd one an hour.
6931      [Dirk-Willem van Gulik]
6932
6933   *) Added proxy, auth and header support to src/support/ab.c. Added a
6934      README file to src/support/
6935      [Dirk-Willem van Gulik]
6936
6937   *) Don't hard-code the path to AWK in --shadow bootstrapping Makefile.
6938      [Ralf S. Engelschall] PR#4050
6939
6940   *) Add support for DSO module compilation on BSD/OS 3.x.
6941      [Randy Terbush, Covalent Technologies]
6942
6943   *) Fix sed-substitutions in `make install': path elements like `httpd/conf'
6944      (for instance from an APACI configure --sysconfdir=/etc/httpd/conf
6945      option) were substituted with $(TARGET).conf, etc. Same for other strings
6946      with dots where the dot wasn't matched as plain text. 
6947      [Ralf S. Engelschall]
6948
6949   *) PORT: Add support for FreeBSD 4.x [Ralf S. Engelschall]
6950
6951   *) Fix verbose output of APACI configure (option -v) 
6952      [Martin Kraemer, Ralf S. Engelschall]
6953
6954 Changes with Apache 1.3.6
6955
6956   *) Removed new PassAllEnv code due to DSO problems. [Lars Eilebrecht]
6957
6958 Changes with Apache 1.3.5 [not released]
6959
6960   *) M_INVALID needed a value within the scope of METHODS so that unknown
6961      methods can be access controlled.  [Roy Fielding] PR#3821
6962
6963   *) Added PassAllEnv; makes server's entire environment available
6964      to CGIs and SSIs executed within directive's scope.  [Ken Coar]
6965
6966   *) ap_uuencode() always added two trailing '='s and encoding of
6967      8 bit characters on a machine with signed char may produced
6968      incorrect results. Additionally ap_uuencode() should now
6969      work correctly on EBCDIC platforms.
6970      [Ronald Tschalär <ronald innovation.ch>] PR#3411
6971
6972   *) WIN32: Binary installer now runs the configuration DLL before
6973      the reboot prompt (which is only given if MSVCRT.DLL system
6974      DLL is new or updated). This should avoid the configuration
6975      directory being empty after installation. [Paul Sutton]
6976      PR#3767, 3800, 3827, 3850, 3900, 3953, 3988
6977
6978   *) WIN32: Binary installer now creates Start menu options to start
6979      and stop Apache as a console application and to uninstall
6980      the Apache service on NT. [Paul Sutton] PR#3741
6981
6982   *) WIN32: Apache.exe now contains an icon. [Paul Sutton]
6983
6984   *) PORT: Switch back to using fcntl() locking on Linux -- instabilities
6985      have been reported with flock() locking (probably related to kernel
6986      version).  [Dean Gaudet] PR#2723, 3531
6987
6988   *) Using APACI, the main config file (usually httpd.conf) was
6989      not being adjusted as $(TARGET).conf. [Wilfredo Sanchez
6990      <wsanchez apple.com>]
6991
6992   *) PORT: AIX does not require the SHARED_CODE "hack"
6993      [Ryan Bloom <rbb raleigh.ibm.com>]
6994
6995   *) Set-Cookie headers were being doubled up for some CGIs by the O(n^2)
6996      avoidance code added in 1.3.3.
6997      [Dean Gaudet, Jeff Lewis <lewis stanford.edu>] PR#3872
6998
6999   *) ap_isxdigit was somehow neglected when adding the ap_isfoo() macros
7000      for 8-bit safeness.  [Dean Gaudet]
7001
7002   *) PORT: Use -fPIC instead of -fpic on Solaris and SunOS for compiling DSOs
7003      because SPARCs have a small machine-specific maximum size for the Global
7004      Offset Table which is often exceeded when compiling one of the larger
7005      third-party modules with Apache. [Peter Urban <Peter.Urban epfl.ch>] PR#3977
7006
7007   *) Move the directive `ExtendedStatus' in httpd.conf-dist-win _after_ the
7008      DSO/DLL section because it's a directive from mod_status and isn't
7009      available before the DLL of mod_status is loaded.
7010      [Martin POESCHL <mpoeschl gmx.net>] PR#3936
7011
7012   *) SECURITY: Fix a bug in the calculation of the buffer size for the line 
7013      continuation facility in Apache's configuration files which could 
7014      lead to a buffer overflow situation.
7015      [Thomas Devanneaux <Thomas.Devanneaux enst.fr>] PR#3617
7016
7017   *) Make documentation and error messages of APACI's --activate-module=FILE 
7018      option more clear. [Jan Wolter <janc wwnet.net>] PR#3995
7019
7020   *) Fix the gcc version check (for enabling the `inline' facility) to 
7021      really support all future gcc versions >= 2.7 until we know more.
7022      [John Tobey <jtobey banta-im.com>] PR#3983
7023
7024   *) Let APACI's configure script correctly complain for unknown --enable-XXX
7025      and --disable-XXX options. [Ralf S. Engelschall] PR#3958
7026
7027   *) Link the shared core bootstrap program (``Rule SHARED_CORE=yes'') also
7028      against libap.a and use its ap_snprintf() instead of sprintf() to avoid
7029      possible buffer overflows. [Ralf S. Engelschall]
7030
7031   *) Remove no longer used non-API function ap_single_module_init().
7032      [Ralf S. Engelschall]
7033
7034   *) Add Apple's Mac OS X Server Layout "Rhapsody" to config.layout.
7035      [Wilfredo Sanchez]
7036
7037   *) Add cgidir, htdocsdir, iconsdir variables to Makefile.tmpl in order
7038      to make platform installations easier.  [Wilfredo Sanchez]
7039
7040   *) In configure, do not append the target name to the directory path if
7041      the path already contains "apache".  [Ralf S. Engelschall]
7042
7043   *) SIGPIPE is now ignored by the server core.  The request write routines
7044      (ap_rputc, ap_rputs, ap_rvputs, ap_rwrite, ap_rprintf, ap_rflush) now
7045      correctly check for output errors and mark the connection as aborted.
7046      Replaced many direct (unchecked) calls to ap_b* routines with the
7047      analogous ap_r* calls.  [Roy Fielding]
7048
7049   *) Enhanced mod_rewrite's mapfile handling: The in-core cache for text and
7050      DBM format mapfiles now uses a 4-way hash table with LRU functionality.
7051      Furthermore map lookups for non-existent keys are now cached as well.
7052      Additionally "txt" maps are now parsed with simple string functions
7053      instead of using ap_pregcomp(). As a side effect a bug that prevented
7054      the usage of keys containing the "," character was fixed.
7055      The changes drastically improve the performance when large rewrite maps
7056      are in use.
7057      [Michael van Elst <mlelstv serpens.swb.de>, Lars Eilebrecht] PR#3160
7058
7059   *) Added ap_sub_req_method_uri() for doing a subrequest with a method
7060      other than GET, and const'd the definition of method in request_rec.
7061      [Greg Stein]
7062
7063   *) Use proper pid_t type for saving PIDs in alloc.c.  [John Bley]
7064
7065   *) Replaced use of WIN32 define with HAVE_DRIVE_LETTERS to indicate
7066      when the OS allows a DOS drive letter within pathnames.  [Brian Havard]
7067
7068   *) Add %V to mod_log_config, this logs the hostname according to the
7069      UseCanonicalName setting (this is the pre-1.3.4 behaviour of
7070      %v).  Useful for mass vhosting.  [Tony Finch <dot dotat.at>]
7071
7072   *) Add support for \n and \t to mod_log_config, can be used to produce
7073      more reliable logs with multiline entries.  [Tony Finch <dot dotat.at>]
7074
7075   *) Fixed a few compiler nits.  [John Bley <jbb6 acpub.duke.edu>]
7076
7077   *) Added informative error messages for failed munmap() and fseek() calls
7078      in http_core.c. [John Bley, Roy Fielding]
7079
7080   *) Added some informative error messages for some failed malloc()
7081      calls. [John Bley <jbb6 acpub.duke.edu>, Jim Jagielski]
7082
7083   *) OS/2 ap_os_canonical_filename()'s behaviour is improved: ap_assert()
7084      is removed. This allows <Directory proxy:*> directives to work and
7085      prevents invalid requests from killing the process.
7086      [Brian Havard <brianh kheldar.apana.org.au>]
7087
7088   *) Reorganised FAQ document.
7089      [Joshua Slive <slive finance.commerce.ubc.ca>] PR#2497
7090
7091   *) src/support/: The ApacheBench benchmark program was overhauled by
7092      David N. Welton: you can now have it generate an HTML TABLE, presumably
7093      for integration into other HTML sources. David updated the ab man page
7094      as well and added some missing descriptions. Thanks!
7095      [David N. Welton <davidw prosa.it>]
7096
7097   *) Win32: The filename validity checker now allows filenames containing
7098      characters in the range 0x80 to 0xff (for example accented characters).
7099      [Paul Sutton] PR#3890
7100
7101   *) Added conditional logging based upon environment variables to
7102      mod_log_config.  mod_log_referer and mod_log_agent
7103      are now deprecated.  [Ken Coar]
7104
7105   *) Allow apache acting as a proxy server to relay the real
7106      reason of a failure to a client rather than the "internal
7107      server error" it does currently. The general exposure mechanism
7108      can be triggered by any module by setting the "verbose-error-to"
7109      note to "*"; this allows more than just proxy errors to be exposed.
7110      [Cliff Skolnick, Roy Fielding, Martin Kraemer] Related to PR#3455, 4086
7111
7112   *) Moved man pages for ab and apachectrl to section 8.
7113      [Wilfredo Sanchez, Roy Fielding]
7114
7115   *) Added -S option to install.sh so that options can be passed to
7116      strip on some platforms. [Ralf S. Engelschall, Wilfredo Sanchez]
7117
7118   *) Tweak modules Makefile generated by Configure so that it handles
7119      the test case of no modules being selected. [<chaz reliant.com>]
7120
7121   *) Added a <LimitExcept method ...> sectioning directive that allows
7122      the user to assign authentication control to any HTTP method that
7123      is *not* given in the argument list; i.e., the logical negation
7124      of the <Limit> directive.  This is particularly useful for controlling
7125      access on methods unknown to the Apache core, but perhaps known by
7126      some module or CGI script. [Roy Fielding, Tony Finch]
7127
7128   *) Prevent apachectl from complaining if the PIDFILE exists but
7129      does not contain a process id, as might occur if the server is
7130      being rapidly restarted. [Wilfredo Sanchez]
7131
7132   *) Win32: Add global symbols missing from ApacheCore.def. [Carl Olsen]
7133
7134   *) Entity tag comparisons for If-Match and If-None-Match were not being
7135      performed correctly -- weak tags might cause false positives.  Also,
7136      strong comparison wasn't properly enforced in all cases.
7137      [Roy Fielding, Ken Coar, Dean Gaudet] PR#2065, 3657
7138
7139   *) OS/2: Supply OS/2 error code instead of errno on semaphore errors.
7140      [Brian Havard]
7141
7142   *) Work around a bug in Lynx regarding its sending "Negotiate: trans"
7143      even though it doesn't understand TCN.  [Koen Holtman, Roy Fielding]
7144
7145   *) Added ap_size_list_item(), ap_get_list_item(), and ap_find_list_item()
7146      to util.c for parsing an HTTP header field value to extract the next
7147      list item, taking into account the possible presence of nested comments,
7148      quoted-pairs, and quoted-strings. ap_get_list_item() also removes
7149      insignificant whitespace and lowercases non-quoted tokens.
7150      [Roy Fielding] PR#2065
7151
7152   *) proxy: The various calls to ap_proxyerror() can return HTTP/1.1 status
7153      code different from 500. This allows the proxy to, e.g., return
7154      "403 Forbidden" for ProxyBlock'ed URL's. [Martin Kraemer] Related to PR#3455
7155
7156   *) Fix ordering of language variants for the case where the traditional
7157      negotiation algorithm is being used with multiple language variants
7158      and no Accept-Language. [James Treacy <treacy debian.org>] PR#3299, 3688
7159
7160   *) Do not round the TCN quality calculation to 5 decimal places,
7161      unlike RFC 2296, because the calculation might need 12 decimal places
7162      to get the right result.  [Roy Fielding]
7163
7164   *) Remove unused code to disable transparent negotiation when
7165      negotiating on encoding only, as we now handle encoding too
7166      (though this is nonstandard for TCN), remove charset=ISO-8859-1
7167      fiddle from the fiddle-averse RVSA comparison, and fix bugs in
7168      some debugging statements within mod_negotiation. [Koen Holtman]
7169
7170   *) Fixed a rare memory corruption possibility in mod_dir if the index
7171      file is negotiable and no acceptable variant can be found.
7172      [Dean Gaudet, Roy Fielding, Martin Kraemer]
7173
7174   *) Win32: Add new config directive, ScriptInterpreterSource, to enable
7175      searching the Win32 registry for script interpreters.
7176      [Bill Stoddard]
7177
7178   *) Win32: The compiled-in default filename for the error log is now
7179      error.log, which matches the default in the distributed httpd.conf.
7180      [Paul Sutton]
7181
7182   *) Win32: Any error messages from -i or -u command line options are now
7183      displayed on the console output rather than sent to the error log.
7184      Also the "Running Apache..." message is not output unless Apache is
7185      going to serve requests. [Paul Sutton]
7186
7187   *) Rework the MD5 authentication scheme to use FreeBSD's algorithm,
7188      and use a private significator ('$apr1$') to mark passwords as
7189      being smashed with our own algorithm.  Also abstract the password
7190      checking into a new ap_validate_password() routine.  [Ken Coar]
7191
7192   *) Win32: The filename validity checker now allows "COM" but refuses 
7193      access to "COM1" through "COM4". This allows filenames such
7194      as "com.name" to be served. [Paul Sutton] PR#3769.
7195
7196   *) BS2000: Adapt to the new ufork() system call interface which will
7197      make subtasking easier on the OSD/POSIX mainframe environment.
7198      [Martin Kraemer]
7199
7200   *) Add a compatibility define for escape_uri() -> ap_escape_uri() to
7201      ap_compat.h. [David White <david persimmon.com>] PR#3725
7202
7203   *) Make NDBM file suffix determination for mod_rewrite more accurate, i.e.
7204      use `.db' instead of `.pag' not only for FreeBSD, but also when
7205      the NDBM library looks like Berkeley-DB based.
7206      [Ralf S. Engelschall] PR#3773
7207
7208   *) Add ability to handle DES or MD5 authentication passwords.
7209      [Ryan Bloom <rbb Raleigh.IBM.Com>]
7210
7211   *) Fix O(n^2) memory consumption in mod_speling.  [Dean Gaudet]
7212
7213   *) SECURITY: Avoid some buffer overflow problems when escaping
7214      quoted strings.  (This overflow was on the heap and we believe
7215      impossible to exploit.)  [Rick Perry <perry ece.vill.edu>]
7216
7217   *) Let src/Configure be aware of CFLAGS options starting with plus
7218      signs as it's the case for the HP/UX compiler.
7219      [Doug Yatcilla <yatcilda umdnj.edu>] PR#3681
7220
7221   *) Remove the hard-wire of TAR=tar (we now check for gtar and gnutar first)
7222      and check to see if the tar we wind up with supports '-h'.
7223      [Jim Jagielski] PR#3671
7224
7225   *) A consistent and conservative style for all shell scripts has been
7226      implemented. Basically, all shell string tests use the traditional
7227      hack of 'if [ "x$var" != "x" ]' or 'if [ "x$var" = "xstring" ]'
7228      to protect against bare null variable strings (ie: wrapping both
7229      sides with double quotes and prepending 'x'). 'x' was chosen
7230      because it's more universal and hopefully easier for old shell
7231      prgrammers, as well as being easier to search for in 'vi' (/x\$) :)
7232      [Jim Jagielski]
7233
7234   *) The status module now prints out both the main server generation as
7235      well as the generation of each process. Also, the vhost info is
7236      printed with '?notable'. [Jim Jagielski]
7237
7238   *) Move src/main/md5c.c to src/ap/ap_md5c.c; it's httpd-neutral
7239      and this makes its functions available to things in src/support.
7240      [Ken Coar]
7241
7242 Changes with Apache 1.3.4
7243
7244   *) Renamed macros status_drops_connection to ap_status_drops_connection
7245      and vestigial scan_script_header to ap_scan_script_header_err,
7246      mostly for aesthetic reasons. [Roy Fielding]
7247
7248   *) The query switch "httpd -S" didn't exit after showing the
7249      vhost settings. That was inconsistent with the other query functions.
7250      [Martin Kraemer]
7251
7252   *) Moved the MODULE_MAGIC_COOKIE from before the versions and
7253      filename to the end of the STANDARD_MODULE_STUFF.  Its
7254      presence at the beginning prevented reporting of the filename
7255      for modules compiled before 1 January 1999.  [Ken Coar]
7256
7257   *) SECURITY: ap_os_is_filename_valid() has been added to Win32
7258      to detect and prevent access to special DOS device file names.
7259      [Paul Sutton, Ken Parzygnat]
7260      
7261   *) WIN32: Created new makefiles Makefile_win32.txt (normal build)
7262      and Makefile_win32_debug.txt (debug build) that work on Win95.
7263      Run each of the following from the src directory:
7264         nmake /f Makefile_win32.txt           # compiles normal build
7265         nmake /f Makefile_win32.txt install   # compiles and installs
7266         nmake /f Makefile_win32.txt clean     # removes compiled junk
7267         nmake /f Makefile_win32_debug.txt     # compiles debug build
7268         nmake /f Makefile_win32_debug.txt install
7269         nmake /f Makefile_win32_debug.txt clean
7270      [Roy Fielding]
7271
7272   *) Added binbuild.sh and findprg.sh helpers to make it easier for us
7273      to build binary distributions. [Lars Eilebrecht]
7274
7275   *) IndexOptions SuppressColumnSorting only turned off making
7276      the column headers anchors; you could still change the display
7277      order by manually adding a '?N=A' or similar query string to the
7278      URL.  Now SuppressColumnSorting locks in the sort order so
7279      it can't be overridden this way.  [Ken Coar]
7280
7281   *) Added IndexOrderDefault directive to supply a default sort order
7282      for FancyIndexed directory listings.  [Ken Coar] PR#1699
7283
7284   *) Change the ap_assert macro to a variant that works on all platforms.
7285      [Richard Prinz <richard.prinz cso.net>] PR#2575
7286
7287   *) Make sure under ELF-based NetBSD (now) and OpenBSD (future) we don't
7288      search for an underscore on dlsym() (as it's already the case
7289      for FreeBSD 3.0). [Todd Vierling <tv pobox.com>] PR#2462
7290   
7291   *) Small fix for mod_env.html: The module was documented as to be _not_
7292      compiled into Apache per default, although it _IS_ compiled into 
7293      Apache per default. [Sim Harbert <sim mindspring.com>] PR#3572
7294
7295   *) Instead of fixing a bug in the generation procedure for config.status (a
7296      backslash was missing) we remove the bug together with it's complete
7297      context because the special cases of the past can now no longer occur
7298      because of the recent magic for the --with-layout default.
7299      [Ralf S. Engelschall] PR#3590
7300  
7301   *) Make top-level Makefile aware of a parallel build procedures (make -j) by
7302      making sure the src/support/ tools are _forced_ to be build last (they
7303      depend on other libraries).
7304      [Markus Theissinger <markus.theissinger gmx.de>]
7305
7306   *) Fix installation procedure: Now that os-inline.c is actually used (a
7307      recently fixed bug prevented this) we need to also install os-include.c
7308      in addition to os.h into the PREFIX/include/ location or building of
7309      module DSOs with APXS fails. [Ralf S. Engelschall] PR#3527
7310
7311   *) Added MODULE_MAGIC_COOKIE as the first field in a module structure to
7312      allow us to distinguish between a garbled DSO (or even a file which isn't
7313      an Apache module DSO at all) and a DSO which doesn't match the current
7314      Apache API. [Ralf S. Engelschall] PR#3152
7315  
7316   *) Two minor enhancements to mod_rewrite: First RewriteRule now also
7317      supports the ``nocase|NC'' flag (as RewriteCond already does for ages) to
7318      match case insensitive (this especially avoids nasty patterns like
7319      `[tT][eE][sS][tT]'). Second two additional internal map functions
7320      `escape' and `unescape' were added which can be used to escape/unescape
7321      to/from hex-encodings in URLs parts (this is especially useful in
7322      combination with map lookups). 
7323      [Magnus Bodin, Ian Kallen, Ralf S. Engelschall]
7324
7325   *) Renamed the macro escape_uri() to ap_escape_uri() which was
7326      forgotten (because it was a macro) in the symbol renaming process.
7327      [Ralf S. Engelschall]
7328
7329   *) Fix some inconsistencies related to the scopes of directives. The only
7330      user visible change is that the directives `UseCanonicalName' and
7331      `ContentDigest' now use the (more correct) `Options' scope instead of
7332      (less correct) `AuthConfig' scope.  [Ralf S. Engelschall]
7333
7334   *) Using DSO, the Server token was being mangled. Specifically, the
7335      module's token was being added first before the Apache token. This
7336      has been fixed. [Jim Jagielski]
7337
7338   *) Major overhaul of mod_negotiation.c, part 2.
7339      - properly handle "identity" within Accept-Encoding.
7340      - allow encoded variants in RVSA negotiation and let them appear in
7341        the Alternates field using the non-standard "encoding" tag-list.
7342      - fixed both negotiation algorithms so that an explicitly accepted
7343        encoding is preferred over no encoding if "identity" is not
7344        included within Accept-Encoding.
7345      - added ap_array_pstrcat() to alloc.c for efficient concatenation
7346        of large substring sequences.
7347      - replaced O(n^2) memory hogs in mod_negotiation with ap_array_pstrcat.
7348      [Roy Fielding]
7349
7350   *) Major overhaul of mod_negotiation.c, part 1.
7351      - cleanups to mod_negotiation comments and code structure
7352      - made compliant with HTTP/1.1 proposed standard (rfc2068) and added
7353        support for everything in the upcoming HTTP/1.1
7354        revision (draft-ietf-http-v11-spec-rev-06.txt).
7355          - language tag matching also handles tags with more than 2
7356            levels like x-y-z
7357          - empty Accept, Accept-Language, Accept-Charset headers are
7358            processed correctly; previously an empty header would make all
7359            values acceptable instead of unacceptable.
7360          - allowed for q values in Accept-Encoding
7361      - added support for transparent content negotiation (rfc2295 and
7362        rfc2296) (though we do not implement all features in these drafts,
7363        e.g. no feature negotiation).  Removed old experimental version.
7364      - implemented 'structured entity tags' for better cache correctness
7365        (structured entity tags ensure that caches which can deal with Vary
7366        will (eventually) be updated if the set of variants on the server
7367        is changed)
7368          - this involved adding a vlist_validator element to request_rec
7369          - this involved adding the ap_make_etag() function to the global API
7370      - modified guessing of charsets used by Apache negotiation algorithm 
7371        to guess 'no charset' if the variant is not a text/* type
7372      - added code to sort multiviews variants into a canonical order so that
7373        negotiation results are consistent across backup/restores and mirrors
7374      - removed possibility of a type map file resolving to another type map
7375        file as its best variant
7376      [Koen Holtman, Roy Fielding, Lars Eilebrecht] PR#3451, 3299, 1987
7377
7378   *) RFC2396 allows the syntax http://host:/path (with no port number)
7379      but the proxy disallowed it (ap_proxy_canon_netloc()).
7380      [David Kristol <dmk bell-labs.com>] PR#3530
7381
7382   *) When modules update/modify the file name in the configfile_t structure,
7383      syntax errors will report the updated name, not the original one.
7384      [Fabien Coelho <coelho cri.ensmp.fr>] PR#3573
7385
7386   *) Correct some filename case assumptions from WIN32 to
7387      CASE_BLIND_FILESYSTEM.  [Brian Havard <brianh kheldar.apana.org.au>]
7388
7389   *) For %v log ServerName regardless of the UseCanonicalName
7390      setting (similarly for %p).  [Dean Gaudet]
7391
7392   *) Configure was initializing the variables $OSDIR, $INCDIR and $SHELL
7393      rather late (too late for some invocations of TestCompile).
7394      This improves the make environment available to TestCompile and
7395      the *.module scripts. [Martin Kraemer]
7396
7397   *) The hashbang emulation code in ap_execve.c would interpret
7398      #!/hashbang/scripts correctly, but failed to fall back to a
7399      standard shell for scripts which did NOT start with #!
7400      Now SHELL_PATH is started in these cases. [Martin Kraemer]
7401
7402   *) PORT: Added the Cyberguard V2 port [Richard Stagg <stagg lentil.org>]
7403      PR#3336
7404
7405   *) Update APXS manual page: some -q option arguments were missing
7406      and another was incorrect. [Mark Anderson <mda discerning.com>] PR#3553
7407
7408   *) Cleanup the command line options: `-?' was documented to show
7409      the usage list but does it with an error because `?' is not a valid
7410      command. OTOH a lot of users expect `-h' to print such a usage list and
7411      instead are annoyed for ages by our huge unreadable list of directives.
7412      So we now changed the command line options this way:
7413      1. `-L' => `-R' 
7414         Intent: we need `-L' to be free, and `-R' for the DSO run-time path is
7415         very similar to the popular linker option.
7416      2. `-h' => `-L'
7417         Intent: while -l gives the small list of modules, -L now gives the
7418         large list of directives implemented by these modules.  This is also
7419         consistent with -v (short version info) and -V (large version info).
7420      3. `-?' => `-h' 
7421         Intent: it's now the expected option ;-)
7422      The manual page was adjusted accordingly. 
7423      [Ralf S. Engelschall] PR#2714
7424
7425   *) Fixed problem of fclose() on an unopened file in suexec if LOG_EXEC
7426      wasn't defined.  [Rick Franchuk <rickf transpect.net>]
7427
7428   *) Removed recently introduced bugs and disfigurements in APACI:
7429      o fixed argument line processing: using $args was broken: It was not
7430        initialized and using args="$args $apc_option" and even args="$args
7431        \"$apc_option\"" fails in the second processing round for any arguments
7432        containing whitespaces. The only correct way is to use the construct
7433        "$@" (but not possible here) or iterate _both_ times over the implicit
7434        argument line (no argument to for-loop) which is what we now use.
7435      o make --with-layout=Apache the default without creating
7436        redundancy (copying the --with-layout block in the argument parsing
7437        loop).  We achieve this by using the "$@" construct together with the
7438        `set' command to prepend --with-layout=Apache to the command line in
7439        case --with-layout is not used.
7440      o fixed auto-suffix handling now that config.layout exists.
7441        Paths which are auto-suffixed are marked with a trailing plus sign in
7442        config.layout and every path now can be marked this way (not only the
7443        four paths for which we do it currently).  Additionally the suffix is
7444        no longer a static one. Instead it's now `/<target>' where <target> is
7445        the argument of the --target option or per default `httpd'.
7446      o allow also tabs (and only spaces) where we match whitespaces
7447      o various fixes and cleanups related to used shell coding style
7448      o made Jim happy by replacing `Written by' with `Initially written by' ;-)
7449      o trimmed output of --help to fit into 80 columns
7450      [Ralf S. Engelschall]
7451
7452   *) Added two new core API functions, ap_single_module_configure() and
7453      ap_single_module_init(), which are now used by mod_so to configure a module
7454      after loading. [Ralf S. Engelschall]
7455
7456   *) PORT: Add defines for USE_FLOCK_SERIALIZED_ACCEPT and
7457      SINGLE_LISTEN_UNSERIALIZED_ACCEPT to NetBSD/OpenBSD section
7458      of ap_config.h to allow serialized accept for multiport listens.
7459      [Roy Fielding, Curt Sampson] PR#3120
7460
7461   *) PORT: Fixed a misplaced #endif for NetBSD/OpenBSD section
7462      of ap_config.h that would skip several defines if DEFAULT_GROUP
7463      was overridden. [Roy Fielding]
7464
7465   *) PORT: The I86 version of DGUX has support for strncasecmp and 
7466      strcasecmp, so allow it in ap_config.h. [Amiel Lee Yee] PR#3247
7467
7468   *) Fix ordering of definitions in ap_config.h so that ap_inline is
7469      defined before it might be used. [Victor Khimenko]
7470
7471   *) PORT: Add Dynamic Shared Object (DSO) support for BSDI (v4.0).
7472      [Tom Serkowski <tks bsdi.com>] PR#3453
7473
7474   *) Make generation of src/Configuration.apaci more robust: It failed to
7475      differenciate between modules when one module name was a postfix of
7476      another (e.g. cgi vs. fastcgi). We now check for mod_XXX, libXXX and even
7477      just XXX (think about totally non-standard names like "apache_ssl", too).
7478      [Ralf S. Engelschall] PR#3380
7479
7480   *) In src/Configure remove the SERVER_SUBVERSION support (already deprecated
7481      since 1.3b7) and make whitespace handling more robust (it failed horrible
7482      when whitespaces were present in the arguments of -D options).
7483      [Ralf S. Engelschall] PR#3240
7484
7485   *) Add APACI --shadow=DIR variant (in addition to --shadow). This now first
7486      creates an external package shadow tree in DIR before the local build
7487      shadow tree is generated under DIR. This way one can have the extracted
7488      Apache distribution tree read-only on NFS or CDROM and still build Apache
7489      from these sources. An automatically triggered VPATH-like mechanism is
7490      provided through the TOP variable, too.
7491      [Ralf S. Engelschall, Wilfredo Sanchez <wsanchez apple.com>]
7492
7493   *) Fix negotiation so that a Vary response header is correctly 
7494      generated when, for a particular dimension, variants only vary
7495      in having or not having a value for that dimension. [Paul Sutton]
7496
7497   *) Fix negotiation so that we prefer an encoded variant over an
7498      unencoded variant if the user-agent explicitly says it can
7499      accept that encoding. Previously we always preferred the unencoded
7500      variant.
7501      [Paul Ausbeck <paula alumni.cse.ucsc.edu>, Paul Sutton] PR#3447
7502  
7503   *) Fix APXS tool: query variables LIBS_SHLIB and TARGET were not recognized
7504      and the usage page was inconsistent with the functionality and manpage.
7505      [Ralf S. Engelschall]
7506
7507   *) Allow special options -Wc,xxx and -Wl,xxx on APXS compile/link command.
7508      They can occur multiple times and their arguments (`xxx') are passed AS
7509      IS to the compiler/linker command.  [Ralf S. Engelschall]
7510
7511   *) Fixed possible (but harmless in practice) bug in the DBM lookup
7512      procedure of mod_rewrite: very long keys were truncated.
7513      [Ralf S. Engelschall]
7514
7515   *) Added a generic --with-layout=[FILE:]ID option. ID here is a layout
7516      identifier, currently "Apache" and "GNU" are pre-defined in the file
7517      config.layout.  Custom layouts are possible by using FILE:ID as the
7518      argument where the layout ID is taken from FILE.
7519
7520      The config.layout file consists of <Layout ID>..</Layout> sections
7521      where inside those sections "path_variable: path_value" pairs can be
7522      specified. These lines are converted to path_variable='path_value'.
7523
7524   *) Add a DefaultLanguage directive so that files missing a language
7525      extension (e.g., .fr, .de) can be labelled as being some other
7526      default language. DefaultLanguage can appear in <Directory> and 
7527      <Files> containers as well as .htaccess files.  [Paul Sutton]
7528      PR#1180
7529
7530   *) Fix TARGET configuration when configuring and installing using
7531      APACI configure. TARGET now defines the basename of the configuration
7532      file, startup script, manual page, etc. log_error_core() now reports
7533      the server binary name given by argv[0]. TARGET can now also be defined
7534      with --target=TARGET parameter passed to APACI configure.
7535      [Ralf Engelschall, Randy Terbush]
7536
7537   *) mod_include.c:handle_perl() now properly tests for OPT_INCNOEXEC
7538      rather than OPT_INCLUDES [Rainer Schoepf <schoepf uni-mainz.de>]
7539
7540   *) ap_md5_binary() was using sprintf() rather than a table lookup
7541      to convert binary bytes to hex digits.
7542      [Ronald Tschalär <ronald innovation.ch>] PR#3409
7543
7544   *) Fix SEGV in TCN negotiation if no variants are acceptable.
7545      [Martin Plechsmid <plechsmi karlin.mff.cuni.cz>] PR#1987
7546
7547   *) API: ap_exists_config_define() function is now "public" [Doug MacEachern]
7548
7549   *) Fix documentation of `Action' directive: It can activate a CGI script
7550      when either a handler or a MIME content type is triggered by the request.
7551      [Andrew Pimlott <pimlott math.harvard.edu>] PR#3340
7552
7553   *) Document the `add' command of `dbmmanage' in `dbmmanage.1' manpage.
7554      [David MacKenzie <djm uu.net>] PR#3394
7555
7556   *) Ignore a "ErrorDocument 401" directive with a full URL and write a
7557      notice to the error log. It is not possible to send a 401 response
7558      and a redirect at the same time.  [Lars Eilebrecht]
7559
7560   *) Fallback to native compilers for IRIX-32 platform. It seems that
7561      a gcc 2.8.1 compiled apache is logging client addresses with all
7562      bits set (255.255.255.255). This is the second such problem caused
7563      by gcc 2.8.1 compiler. The first being broken semaphore locking.
7564      [Randy Terbush]
7565
7566   *) Updated mime.types to reflect current Internet media types
7567      and include a URL to the registry.
7568      [Manoj Kasichainula, Roy Fielding] PR#2380, 2286, 2246
7569
7570   *) SECURITY: Do a more complete check in mod_include to avoid 
7571      an infinite loop of recursive SSI includes.  [Marc Slemko] PR#3323
7572
7573   *) Add APACI --suexec-docroot and --suexec-logfile options which can be
7574      used to set the document root directory (DOC_ROOT) and the suexec
7575      logfile (LOG_EXEC), respectively. Additionally the --layout option
7576      was changed to show more information about the suEXEC setup.
7577      [Lars Eilebrecht] PR#3316, 3357, 3361
7578
7579   *) Added the last two WebDAV status codes of 424 (Failed Dependency)
7580      and 507 (Insufficient Storage) for use by third-party modules.
7581      [Roy Fielding]
7582
7583   *) Enabled all of the WebDAV method names for use by third-party
7584      modules, Limit, and Script directives.  That includes PATCH,
7585      PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, and UNLOCK.
7586      Improved mod_actions.c so that it can use any of the methods
7587      defined in httpd.h.  Added ap_method_number_of(method) for
7588      getting the internal method number.  [Roy Fielding]
7589
7590   *) PORT: Add a port to the TPF OS. [Joe Moenich <moenich us.ibm.com> and
7591      others at IBM]
7592
7593   *) Fix problems with handling of UNC names (e.g., \\host\path)
7594      on Win32.  [Ken Parzygnat <kparz us.ibm.com>]
7595
7596   *) Rework os_canonical_*() on Win32 so it's simpler, more
7597      robust, and works.  [Ken Parzygnat <kparz us.ibm.com>]
7598      PR#2555, 2915, 3064, 3232
7599
7600   *) Work around incomplete implementation of strftime on Win32.
7601      [Manoj Kasichainula, Ken Parzygnat <kparz us.ibm.com>]
7602
7603   *) Move a typedef to fix compile problems on Linux with 1.x kernels.
7604      [Manoj Kasichainula] PR#3177
7605
7606   *) PORT: Add a port to the Concurrent PowerMAX OS. [Tom Horsley
7607      <Tom.Horsley mail.ccur.com>]
7608
7609   *) WIN32: Log more explicit error messages if spawning an interpreted 
7610      script failed, including the command line used to attempt to execute 
7611      the interpreter and the Win32 error code returned.  [Marc Slemko]
7612
7613   *) Disable sending of error-notes on a 500 (Internal Server Error) response
7614      since it often includes file path info.  Enable sending of error-notes
7615      on a 501 (Method Not Implemented).  [Roy Fielding] PR#3173
7616
7617   *) http_config.c would respond with 501 (Method Not Implemented) if a
7618      content type handler was specified but could not be found, which
7619      should have been a 500 response.  Likewise, mod_proxy.c would responsd
7620      with a 501 if the URI scheme is unrecognized instead of the correct
7621      response of 403 (Forbidden).  [Roy Fielding]
7622
7623   *) SECURITY: Eliminate DoS attack when a bad URI path contains what
7624      looks like a printf format escape.  [Marc Slemko, Studenten Net Twente]
7625
7626   *) Fix in mod_autoindex: for files where the last modified time stamp was
7627      unavailable, an empty string was printed which was 2 bytes short.
7628      The size and description columns were therefore not aligned correctly.
7629      [Martin Kraemer] (no PR#)
7630
7631   *) Update BS2000 OS code to work with recent versions. Starting with
7632      release A17, the child fork() must be replaced by a _rfork().
7633      (BS2000 only) [Martin Kraemer]
7634
7635   *) Add the actual server_rec structure of the specific Vhost to the
7636      scoreboard file and avoid a string copy (as well as allow some
7637      further future enhancements). [Harrie Hazewinkel
7638      <harrie.hazewinkel jrc.it>]
7639
7640   *) Add APACI --permute-module=foo:bar option which can be used to
7641      on-the-fly/batch permute the order of two modules (mod_foo and mod_bar)
7642      in the Configuration[.apaci] file. Two special and important variants are
7643      supported for the option argument: first BEGIN:foo which permutes module
7644      mod_foo with the begin of the module list, i.e. it `moves' the module to
7645      the begin of the list (gives it lowest priority).  And second foo:END
7646      which permutes mod_foo with the end of the module list, i.e. it `moves'
7647      the module to the end of the list (gives it highest priority). 
7648      [Ralf S. Engelschall]
7649
7650   *) Fix problem with 'apache -k shutdown' and startup event
7651      synchronisation (Win32).  [Ken Parzygnat <kparz raleigh.ibm.com>]
7652      PR#3255
7653
7654   *) The config parser wasn't correctly noticing a missing '>'
7655      on container start lines (e.g., it wouldn't spot
7656      "<Directory /" as a syntax error).  [Ryan Bloom <rbbloom us.ibm.com>]
7657      PR#3279
7658
7659   *) Add a 'RemoveHandler' directive which will selectively remove
7660      all handler associations for the specified file extensions.
7661      [Ryan Bloom <rbbloom us.ibm.com>] PR#1799.
7662
7663   *) Properly handle & allow "nul" and ".*/null" in AccessConfig and
7664      ResourceConfig directives on Win32.  Also add a note to the effect
7665      of 'useless User directive ignored on Win32' to the errorlog if
7666      a User directive is encountered on Win32.
7667      [Ken Parzygnat <kparz raleigh.ibm.com>] PR#2078, 2303.
7668
7669   *) Fix multiple whitespace handling in imagemaps for mod_imap which was
7670      broken since Apache 1.3.1 where we took out compressing of multiple
7671      spaces in ap_cfg_getline().
7672      [Ivan Richwalski <ivan seppuku.net>] PR#3249
7673
7674   *) Fix Berkeley-DB/2.x support in mod_auth_db: The data structures were not
7675      initialized correctly and the db_open() call used an invalid mode
7676      parameter. [Ron Klatchko <ron ckm.ucsf.edu>] PR#3171
7677
7678   *) PORT: DSO support for UnixWare 7
7679      [Ralf S. Engelschall, Ron Record <rr sco.com>]
7680
7681   *) Merge the contents of the {srm,access}.conf-dist* files into the
7682      httpd.conf-dist* files.  The srm and access files now contain
7683      only comments, and httpd.conf has all the combined contents in
7684      a rational order.  [Ken Coar]
7685
7686   *) PORT: DSO/ELF support for FreeBSD 3.0.
7687      [Ralf S. Engelschall, Dirk Froemberg <ibex physik.TU-Berlin.DE>]
7688   
7689   *) Add a "default-handler" handler that calls the default_hander()
7690      function which is normally called for static content.  This allows
7691      you to override a specific handler.  [Marc Slemko]
7692
7693   *) Further simplify checking for absolute paths by replacing an
7694      hard-coded syntax check with a call to a routine we already created to
7695      do this.  [Ken Parzygnat <kparz raleigh.ibm.com>] PR#2976, 3074
7696
7697   *) Log an error if we encounter a malformed "require" directive 
7698      in mod_auth if we know that we know that no other module can
7699      deal with it.  [Marc Slemko]
7700
7701   *) Remove ap_private_extern method of hiding conflicting symbols
7702      on the NEXT platform because it is not correct for all versions,
7703      and the versions for which it is correct are unknown.
7704      [Wilfredo Sanchez <wsanchez apple.com>]
7705
7706   *) Fix inheritance of IndexOptions NameWidth and remove unintended
7707      restriction on +NameWidth, +IconHeight, and +IconWidth.  [Ken Coar]
7708
7709   *) Fix per-directory config merging for cases in which a 500 error
7710      is encountered in an .htaccess file somewhere down the tree.
7711      [Ken Coar]  PR#2409
7712
7713   *) Minor performance improvement to ap_escape_html(). [Roy Fielding]
7714
7715   *) Fixed a segmentation violation in mod_proxy when a response is
7716      non-cachable.  [Roy Fielding, traced by Doug Bloebaum]. PR#2950, 3056
7717
7718 Changes with Apache 1.3.3
7719
7720   *) Added a complete implementation of the Expect header field as
7721      specified in rev-05 of HTTP/1.1.  Disabled the 100 Continue
7722      response when we already know the final status, which is mighty
7723      useful for PUT responses that result in 302 or 401. [Roy Fielding]
7724
7725   *) Remove extra trailing whitespace from the getline results as part
7726      of the protocol processing, which is extra nice because it works
7727      between continuation lines, is almost no cost in the normal case
7728      of no extra whitespace, and saves memory. [Roy Fielding]
7729
7730   *) Added new HTTP status codes and default response bodies from the
7731      revised HTTP/1.1 (307, 416, 417), WebDAV (102, 207, 422, 423), and 
7732      HTTP Extension Framework (510) specifications.  Did not add the
7733      WebDAV 424 and 425 codes because they are bogus.  We don't use any
7734      of these codes yet, but they are now available to 3rd-party modules.
7735      [Roy Fielding]
7736
7737   *) Fix a possible race condition between timed-out requests and the
7738      ap_bhalfduplex select that might result in an infinite loop on
7739      platforms that do not validate the descriptor. [Roy Fielding]
7740
7741   *) WIN32: Add "-k shutdown" and "-k restart" options to signal a
7742      running Apache server [Paul Sutton]
7743
7744   *) Fix mod_autoindex bug where directories got a size of "0k" instead
7745      of "-".  [Martin Plechsmid <plechsmi karlin.mff.cuni.cz>, Marc Slemko]
7746      PR#3130
7747
7748   *) PORT: DRS 6000 machine. [Paul Debleecker <pdebleecker jetair.be>]
7749
7750   *) Add the server signature text (from the core ServerSignature directive)
7751      to the list of envariables available to scripts, SSI, and the like.
7752      [Ken Coar]
7753
7754   *) PORT: Fix sys/resource.h handling for SCO 3.x platform.
7755      [M. Laak <maert proinv.ee>] PR#3108
7756  
7757   *) Fallback from sysconf-based to plain HZ-based `ticks per second'
7758      calculation in mod_status for all systems which don't have POSIX
7759      sysconf() (like UTS 2.1) and not only for the NEXT platform.
7760      [Dave Dykstra <dwd bell-labs.com>] PR#3055
7761
7762   *) Fix `require ...' directive parsing in mod_auth, mod_auth_dbm and
7763      mod_auth_db by using ap_getword_white() (which uses ap_isspace()) 
7764      instead of ap_getword(..., ' ') (which parses only according to spaces 
7765      but not tabs).  [James Morris <jmorris intercode.com.au>, 
7766      Ralf S. Engelschall] PR#3105
7767
7768   *) Fix the SERVER_NAME variable under sub-request situations (where
7769      `UseCanonicalName off' is used) like CGI's called from SSI pages or
7770      RewriteCond variables by adopting r->hostname to sub-requests.
7771      [James Grinter <jrg blodwen.demon.co.uk>] PR#3111
7772
7773   *) Fix stderr redirection under syslog-based error logging situation.
7774      [Youichirou Koga <y-koga jp.FreeBSD.org>] PR#3095
7775
7776   *) Document `ErrorLog syslog:facility' variant of error logging.
7777      [Youichirou Koga <y-koga jp.FreeBSD.org>] PR#3096
7778
7779   *) Fix http://localhost/ hints in top-level INSTALL document.
7780      [Rob Jenson <robjen spotch.com>, Ralf S. Engelschall] PR#3088
7781
7782   *) Quote paths in default configuration files.  [Wilfredo Sanchez]
7783
7784   *) PORT: Remove extra HAVE_SYS_RESOURCE_H define for RHAPSODY since
7785      it is now taken care of properly by the header file tests.
7786      [Wilfredo Sanchez <wsanchez apple.com>]
7787
7788   *) Fix problem with scripts and filehandle inheritance on Win32.
7789      [Ken Parzygnat <kparz raleigh.ibm.com>]  PR#2884, 2910
7790
7791   *) Win32 name canonicalisation could end up using the server's
7792      working directory to fill in some blanks.  [Ken Parzygnat
7793      <kparz raleigh.ibm.com>] PR#3001
7794
7795   *) Correct invalid assumption by ap_sub_req_lookup_file() that all
7796      absolute paths begin with "/" -- because they don't on Win32.
7797      [Ken Parzygnat <kparz raleigh.ibm.com>] PR#2976, 3074
7798
7799   *) Add [REDIRECT_]VARIANTS environment variable to mod_speling
7800      so that ErrorDocument 300 processors can reformat the list
7801      if desired.  [Ken Coar] PR#2859
7802
7803   *) Add +/- incremental prefixes to IndexOptions keywords, and
7804      enable merging of multiple IndexOptions directives.  [Ken Coar]
7805
7806   *) PORT: Allow GuessOS to recognize Unixware 7.0.1 [Steve Cameron
7807      <steve.cameron compaq.com>]
7808
7809   *) Reconstructed the loop through multiple htaccess file names so
7810      that missing files are not confused with unreadable files.
7811      [Roy Fielding]
7812
7813   *) The ap_pfopen and ap_pfdopen routines were failing to protect the
7814      errno on an error, which leads to one error being mistaken for
7815      another when reading non-existent .htaccess files.
7816      [Jim Jagielski]
7817
7818   *) OS/2: The new header tests get things right, need to update
7819      ap_config.h.  [Brian Havard]
7820
7821   *) The Perl %ENV hash will now be setup by default when using the
7822      mod_include `perl' command [Doug MacEachern]
7823
7824   *) PORT: Add Pyramid DC/OSx support to configuration mechanism.
7825      [Earle Ake <akee wpdiss1.wpafb.af.mil>]
7826
7827   *) PORT: Fix sys/resource.h handling for Amdahl's UTS 2.1
7828      [Dave Dykstra <dwd bell-labs.com>] PR#3054
7829
7830   *) Correct comment in mod_log_config.c about its internals.
7831      [Elf Sternberg <elf halcyon.com>]
7832
7833   *) Avoid possible line overflow in Configure: Use an awkfile to
7834      handle the creation of modules.c [Jim Jagielski]
7835
7836 Changes with Apache 1.3.2
7837
7838   *) Fix bug in ap_remove_module(), which caused problems for dso's 
7839      who were the top_module.  [Doug MacEachern]
7840
7841   *) Add support for Berkeley-DB/2.x (in addition to Berkeley-DB/1.x) to
7842      mod_auth_db to both be friendly to users who wants to use this version
7843      and to avoid problems under platforms where only version 2.x is present.
7844      [Dan Jacobowitz <drow false.org>, Ralf S. Engelschall]
7845
7846   *) When using ap_log_rerror(), make the error message available to the
7847      *ERROR_NOTES envariables by default.  [Ken Coar]
7848
7849   *) BS2000 platform only: get rid of the nasty BS2000AuthFile.
7850      You now must define a BS2000Account name for the server User.
7851      This has fewer security implications than the old approach.
7852      [Martin Kraemer]
7853
7854   *) Fix SHARED_CORE feature for HPUX platform: We now use extension `.sl'
7855      instead of `.so' and `SHLIB_PATH' instead of `LD_LIBRARY_PATH' on this
7856      platform to make the braindead HPUX linker happy. Notice, for the module
7857      DSOs we don't have to use this, because these are loaded manually (and
7858      not via HPUX' dld). [Ralf S. Engelschall] PR#2905, PR#2968
7859
7860   *) Remove 64 thread limit on Win32.
7861      [Bill Stoddard <stoddard raleigh.ibm.com>]
7862
7863   *) Remove redundant substitutions in top-level Makefile.tmpl.
7864      [Ralf S. Engelschall]
7865
7866   *) Fix APACI's `Group' configuration adjustment - especially for Linux
7867      platforms where `nogroup' exists in /etc/group. [Ralf S. Engelschall]
7868  
7869   *) Make PrintPath work generically instead of having one version
7870      strictly for OS/2. [Jim Jagielski, Brian Havard]
7871
7872   *) Fix the recently introduced C header file checking: We now use the C
7873      pre-processor pass only (and no longer the complete compiler pass) to
7874      determine whether a C header file exists or not. Because only this way
7875      we're safe against inter-header dependencies (which caused horrible
7876      portability problems). The only drawback is that we now have a CPP
7877      configuration variable which has to be determined first (we do a similar
7878      approach as GNU Autoconf does here). When all fails the user still has
7879      the possibility to override it manually via APACI or src/Configuration.
7880      As a fallback for the header check itself we can directly check the
7881      existance of the file under /usr/include, too.
7882      [Ralf S. Engelschall] PR#2777
7883
7884   *) PORT: Added RHAPSODY (Mac OS X Server) support. MAP_TMPFILE defined
7885      as an alternate mechanism for mmap'd shared memory for RHAPSODY.
7886      ap_private_extern defined to hide symbols that conflict with loaded
7887      dynamic libraries on the NEXT and RHAPSODY platforms.
7888      [Wilfredo Sanchez <wsanchez apple.com>]
7889
7890   *) Delete PID file on clean shutdowns.
7891      [Charles Randall <crandall matchlogic.com>] PR#2947
7892
7893   *) Fix mod_auth_*.html documents: NSCA -> NCSA
7894      [Youichirou Koga <y-koga jp.FreeBSD.org>] PR#2991
7895
7896   *) Fix INSTALL document: www.gnu.ai.mit.edu -> www.gnu.org
7897      [Karl Berry <karl gnu.org>] PR#2994
7898
7899   *) Fix dbmmanage.1 manual page.
7900      [Youichirou Koga <y-koga jp.FreeBSD.org>] PR#2992
7901      
7902   *) Fix possible buffer overflow situation in suexec.c.
7903      [Jeff Stewart <jws purdue.edu>] PR#2790
7904
7905   *) Add some more LIBS for the SCO5 platform which are needed for the already
7906      used -lprot. It's actually a bug in SCO5, of course.
7907      [Ronald Record <rr sco.com>] PR#2533
7908
7909   *) Fix documentation of ProxyPass/ProxyPassReverse according to the
7910      trailing slash problem. [Jon Drukman <jsd gamespot.com>] PR#2933
7911   
7912   *) Remove `-msym' option from LDFLAGS_SHLIB for the Digital UNIX (OSF/1)
7913      platform, because it's only supported under version 4.0 and higher. But
7914      because our GuessOS is still unaware of Digital UNIX versions and the
7915      -msym is just to optimize the DSO statup time a little bit it's safe and
7916      best when we leave it out now.  [Ralf S. Engelschall] PR#2969
7917
7918   *) Fix the ap_log_error_old(), ap_log_unixerr() and ap_log_printf()
7919      functions: First all three functions no longer fail on strings containing
7920      "%" chars and second ap_log_printf() no longer does a double-formatting
7921      (instead it directly passes through the message to be formatted to the
7922      real internal formatting function). [Ralf S. Engelschall] PR#2941
7923
7924   *) Allow "Include" directives anywhere in the server config
7925      files (but not .htaccess files).  [Ken Coar] PR#2727
7926
7927   *) The proxy was refusing to serve CONNECT requests except to
7928      port 443 (https://) and 563 (snews://). The new AllowCONNECT
7929      directive allows the configuration of the ports to which a
7930      CONNECT is allowed.  [Sameer Parekh, Martin Kraemer]
7931
7932   *) mod_expires will now act on content that is not sent from a file
7933      on disk.  Previously it would never add an Expires: header to
7934      any response that did not come from a file on disk; the only
7935      case where it still doesn't (and can't) add one for that type of 
7936      content is if you are using a modification date based setting.  
7937      [Marc Slemko, Paul Phillips <paulp go2net.com>]
7938
7939   *) Problems encountered during .htaccess parsing or CGI execution
7940      that lead to a "500 Server Error" condition now provide explanatory
7941      text (in the *ERROR_NOTES envariable) to ErrorDocument 500 scripts.
7942      [Ken Coar] PR#1291
7943
7944   *) Add NameWidth keyword to IndexOptions directive so that the
7945      width of the filename column is customisable.  [Ken Coar, Dean Gaudet]
7946      PR#1949, 2324.
7947
7948   *) Recognize lowercase _and_ uppercase `uname' results under
7949      SCO OpenServer. [David Coelho <drc ppt.com>]
7950
7951   *) As duplicate "HTTP/1.0 200 OK" lines within the header seem to be
7952      a common problem of (mis-administrated?) IIS servers, make the apache
7953      proxy immune to these errors (and ignore the duplicates, but log
7954      the fact to error_log). [Martin Kraemer], after the proposal in PR#2914 
7955      
7956   *) The <IfModule and <IfDefine block starting directives now only
7957      allow exactly one argument. Previously, the optional negation
7958      character '!' could be separated by whitespace without a syntax
7959      error being reported, albeit defeating the IfModule functionality
7960      (enclosed directives would ALWAYS be executed). By using the
7961      stricter syntax, these hard-to-track errors can be avoided.
7962      [Martin Kraemer]
7963
7964   *) Simplify handling of IndexOptions in mod_autoindex -- and BTW
7965      cause the standalone FancyIndexing directive to logically OR
7966      into any existing IndexOptions settings rather than wiping
7967      them out.  [Ken Coar]
7968
7969   *) Changes in ftp proxy: make URL parsing simpler by using the
7970      parsed_uri stuff.
7971      + Add display of the "current directory" in cases where it's
7972      different from the supplied path (e.g., ftp://user@host/ lives
7973      in /home/user, not in /, therefore clicking on "../" in the
7974      starting directory might send us to /home/).
7975      + When ftp login fails, (esp. when a user name was part of the
7976      URL already), we now return [401 Unauthorized ] to allow the
7977      browser to pop up an authorization dialog. This makes passwords
7978      slightly less visible (they don't appear in the regular log files)
7979      and implements a functionality that other www proxy servers
7980      already offered.
7981      [Martin Kraemer]
7982
7983   *) Triggered by the recent "Via:" header changes, the proxy module would
7984      dump core for replies with invalid headers (e.g., duplicate
7985      "HTTP/1.0 200 OK" lines). These errors are now logged and the
7986      core dump is avoided. Also, broken replies are not cached.
7987      [Martin Kraemer] PR#2914
7988
7989   *) new `GprofDir' directive when compiled with -DGPROF, where gprof can
7990      plop gmon.out profile data for each child [Doug MacEachern]
7991    
7992   *) Use the construct ``"$@"'' instead of ``$*'' in the generated
7993      config.status script to be immune against arguments with whitespaces.
7994      [Yves Arrouye <yves apple.com>] PR#2866
7995
7996   *) Replace the inlined information grabbing stuff for the configuration
7997      adjustment feature (no --without-confadjust) with calls to a new helper
7998      script `buildinfo.sh' which is both more flexible and already proofed to
7999      be more robust against platform differences. This mainly fixes the
8000      recently occured ``sed: command garbled: ...'' problems.
8001      [Ralf S. Engelschall] PR#2776, PR#2848
8002
8003   *) Make ab.c again pass ``gcc -Wall -Wshadow -Wpointer-arith -Wcast-align
8004      -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''
8005      without complains after we recently added the POST feature.
8006      [Ralf S. Engelschall]
8007
8008   *) Renamed is_HTTP_xxx() macros to ap_is_HTTP_xxx() name. They are used inside
8009      modules as API functions and we forgot them at the big symbol renaming.
8010      [Ralf S. Engelschall]
8011
8012   *) Remove bad reference to non-existing SERVER_VERSION in mod_rewrite.html
8013      [Youichirou Koga <y-koga jp.FreeBSD.ORG>] PR#2895
8014
8015   *) Dynamically size the filename column of mod_autoindex output.
8016      [Dean Gaudet]
8017
8018   *) Add the ability to do POST requests to the ab benchmarking tool.
8019      [Kurt Sussman <kls best.com>] PR#2871
8020
8021   *) Bump up MAX_ENV_FLAGS in mod_rewrite.h from the too conservatice limit of
8022      5 to 10 because there are some users out there who always have 5 to 8
8023      variables in one RewriteRule and had to patch mod_rewrite.h for every
8024      release. So 15 should be now more than enough, even for them. (I never
8025      needed more than 4 in my RewriteRules ;-)
8026      [Ralf S. Engelschall]
8027
8028   *) Make the proxy generate and understand Via: headers
8029      [Martin Kraemer]
8030
8031   *) Change the proxy to use tables instead of array_headers for
8032      the header lines. [Martin Kraemer]
8033
8034   *) Make sure the config.status file is not overridden when just
8035      ``configure --help'' is used. [Ralf S. Engelschall] PR#2844
8036
8037   *) Split MODULE_MAGIC_NUMBER into _MAJOR/_MINOR numbers. This should
8038      provide a way to trace API changes that add functionality but do
8039      not create a compatibility issue for precompiled modules, etc.
8040      See include/ap_mmn.h for more details.  [Randy Terbush]
8041
8042   *) Fix suexec installation under `make install root=xxx' situation.
8043      [Ralf S. Engelschall]
8044
8045   *) Extend the output of the -V switch to include the paths of all
8046      compiled-in configuration files, if they were overridden at
8047      compile time, for least astonishment of the user.
8048      [Martin Kraemer]
8049
8050   *) When READing a request in ExtendedStatus mode, the "old"
8051      vhost, request and client information is not displayed.
8052      [Jim Jagielski]
8053
8054   *) STATUS is no longer available. Full status information now
8055      run-time configurable using the ExtendedStatus directive.
8056      [Jim Jagielski]
8057
8058   *) SECURITY [CAN-1999-1199] (cve.mitre.org): 
8059      Eliminate O(n^2) space DoS attacks (and other O(n^2)
8060      cpu time attacks) in header parsing.  Add ap_overlap_tables(),
8061      a function which can be used to perform bulk update operations
8062      on tables in a more efficient manner.
8063      [Dean Gaudet]
8064
8065   *) SECURITY: Added compile-time and configurable limits for
8066      various aspects of reading a client request to avoid some simple
8067      denial of service attacks, including limits on maximum request-line
8068      size (LimitRequestLine), number of header fields (LimitRequestFields),
8069      and size of any one header field (LimitRequestFieldsize).  Also added
8070      a configurable directive LimitRequestBody for limiting the size of the
8071      request message body.  [Roy Fielding]
8072
8073   *) Make status module aware of DNS and logging states, even if
8074      STATUS not defined.  [Jim Jagielski]
8075
8076   *) Fix a problem with the new OS/2 mutexes.  [Brian Havard]
8077
8078   *) Enhance mod_speling so that CheckSpelling can be used in
8079      <Directory> containers and .htaccess files.  [Ken Coar]
8080
8081   *) API: new ap_custom_response() function for hooking into the
8082      ErrorDocument mechanism at runtime [Doug MacEachern]
8083
8084   *) API: new ap_uuencode() function [Doug MacEachern]
8085
8086   *) API: scan_script_header_err_core() now "public" and renamed
8087      ap_scan_script_header_err_core() [Doug MacEachern]
8088
8089   *) The 'status' module will now show the process pid's and their
8090      state even without full STATUS accounting. [Jim Jagielski]
8091
8092   *) Restore the client IP address to the error log messages, this
8093      was lost during the transition from 1.2 to 1.3.  Add a new
8094      function ap_log_rerror() which takes a request_rec * and
8095      formats it appropriately.  [Dean Gaudet] PR#2661
8096
8097   *) Cure ap_cfg_getline() of its nasty habit of compressing internal
8098      whitespace in input lines -- including within quoted strings.
8099      [Ken Coar]
8100      but leading and trailing whitespace should continue to be
8101      stripped [Martin Kraemer]
8102
8103   *) Cleanup of the PrintPath/PrintPathOS2 helper functions. Avoid
8104      the ugly use of an env. variable and use command-line args for
8105      alternate $PATH. Make more like advanced 'type's as well.
8106      [Jim Jagielski]
8107
8108   *) The IRIXN32 Rule was being ignored. Configure now correctly adds
8109      -n32 only if IRIXN32 says to. [Jim Jagielski, Alain St-Denis
8110      <alain.st-denis ec.gc.ca>] PR#2736
8111
8112   *) Clean up a warning in mod_proxy. [Ralf S. Engelschall]
8113
8114   *) Renamed __EMX__ (internal define of the gcc port under OS/2) to OS2
8115      following the same idea as "MSVC vs WIN32". Additionally the src/os/emx/
8116      directory was renamed to src/os/os2/ for consistency.
8117      [Brian Havard, Ralf S. Engelschall]
8118
8119   *) Add new Rule SHARED_CHAIN which can be used to enable linking of DSO
8120      files (here modules) against other DSO files (here shared libraries).
8121      This is done by determining a subset of LIBS which can be safely used for
8122      linking the DSOs, i.e. PIC libs and shared libs.  Currently the rule is
8123      disabled for all platforms to avoid problems with this (experimental)
8124      rule. But we provide it now for those people how ran into problems and
8125      want to came out by forcing linking against DSOs.
8126      [Ralf S. Engelschall] PR#2587
8127
8128   *) Fix suEXEC start message: Has to be of `notice' level to really get
8129      printed together with the standard startup message because the `notice'
8130      level is handled special inside ap_log_error() for startup messages.
8131      [Ralf S. Engelschall] PR#2761 PR#2761 PR#2765
8132
8133   *) Add correct `model' MIME types from RFC2077 to mime.types file.
8134      [Ralf S. Engelschall] PR#2732
8135
8136   *) Fixed examples in mod_rewrite.html document. 
8137      [Youichirou Koga <y-koga jp.FreeBSD.org>, Ralf S. Engelschall] PR#2756
8138
8139   *) Allow ap_read_request errors to propagate through the normal request
8140      handling loop so that the connection can be properly closed with
8141      lingering_close, thus avoiding a potential TCP reset that would
8142      cause the client to miss the HTTP error response.  [Roy Fielding]
8143
8144   *) One more portability fix for APACI shadow tree support: Swap order of awk
8145      and sed in top-level configure script to avoid sed fails on some
8146      platforms (for instance SunOS 4.1.3 and NCR SysV) because of the
8147      non-newline-termined output of Awk. [Ralf S. Engelschall] PR#2729
8148
8149   *) PORT: NEC EWS4800 support.
8150      [MATSUURA Takanori <t-matsuu protein.osaka-u.ac.jp>]
8151
8152   *) Fix a segfault in the proxy on OS/2.  [Brian Havard]
8153
8154   *) Fix Win32 part of ap_spawn_child() by providing a reasonable child_info
8155      structure instead of just NULL. This fixes at least the RewriteMap
8156      programs under Win32. [Marco De Michele <mdemichele tin.it>] PR#2483
8157
8158   *) Add workaround to top-level `configure' script for brain dead 
8159      `echo' commands which interpet escape sequences per default.
8160      [Ralf S. Engelschall] PR#2654
8161
8162   *) Make sure that the path to the Perl interpreter is correctly
8163      adjusted under `make install' also for the printenv CGI script.
8164      [Ralf S. Engelschall] PR#2595
8165  
8166   *) Update the mod_rewrite.html document to correctly reflect the situation
8167      of the `proxy' (`[P]') feature. [Ralf S. Engelschall] PR#2679
8168
8169   *) Fix `install-includes' sub-target of `install' target in top-level
8170      Makefile.tmpl: The umask+cp approach didn't work as expected (especially
8171      for users which extracted the distribution under 'umask 077'), so replace
8172      it by an explicit cp+chmod approach.
8173      [Richard Lloyd, Curt Sampson, Ralf S. Engelschall] PR#2656 PR#2626
8174  
8175   *) Fix `distclean' and `clean' targets in src/Makefile.tmpl to have same
8176      behavior and to cleanup correctly even under enabled SHARED_CORE rule.
8177      [Ralf S. Engelschall]
8178
8179   *) Use a more straight forward and thus less problematic Sed command in
8180      src/helper/mkdir.sh script.  [Ralf S. Engelschall]
8181
8182   *) Make sure the `configure' scripts doesn't fail when trying to guess the
8183      domainname of the machine and there are multiple `domainname' and
8184      `search' entries in /etc/resolv.conf.
8185      [Ralf S. Engelschall] PR#2710
8186
8187   *) Add note about the SHARED_CORE requirement on some platforms also to the
8188      INSTALL file because a lot of users don't read htdocs/manual/dso.html
8189      first. [Ralf S. Engelschall] PR#2701
8190
8191   *) Fix document "hyperlink" for dso.html in src/Configuration.tmpl
8192      [Knut A.Syed <Knut.Syed nhh.no>] PR#2674
8193
8194   *) Modify mod_rewrite to update the Vary response field if the URL rewriting
8195      engine does any manipulations or decisions based upon request fields. 
8196      [Ken Coar] PR#1644
8197
8198   *) Document the special APACI behavior for installation paths where
8199      ``/apache'' is appended to paths under some (well defined, of course)
8200      situations to prevent pollution of system locations with Apache files.
8201      [Ralf S. Engelschall] PR#2660
8202
8203   *) Fixed problem with buffered response message not being sent for
8204      the read_request error conditions of URI-too-long (414) and
8205      malformed header fields (400).  [Roy Fielding] PR#2646
8206
8207   *) Add support for the Max-Forwards: header line required by RFC2068 for
8208      the TRACE method. This allows apache to TRACE along a chain of proxies
8209      up to a predetermined depth. [Martin Kraemer]
8210
8211   *) Fix SHARED_CORE rule: The CFLAGS_SHLIB variable is no longer doubled
8212      (compilers complained) and the .so.V.R.P filename extension was adjusted
8213      to correctly reflect the 1.3.2 version.
8214      [Ralf S. Engelschall] PR#2644
8215
8216   *) SECURITY: Plug "..." and other canonicalization holes under OS/2.
8217      [Brian Havard]
8218   
8219   *) PORT: implement serialized accepts for OS/2.  [Brian Havard]
8220
8221   *) mod_include had problems with the fsize and flastmod directives
8222      under WIN32.  Fix also avoids the minor security hole of using
8223      ".." paths for fsize and flastmod.
8224      [Manoj Kasichainula <manojk raleigh.ibm.com>] PR#2355
8225
8226   *) Fixed some Makefile dependency problems.  [Dean Gaudet]
8227
8228 Changes with Apache 1.3.1
8229
8230   *) Disable the incorrect entry for application/msword in the 
8231      mod_mime_magic "magic" file because it also matches other Office
8232      documents.  [Ralf S. Engelschall] PR#2608
8233
8234   *) Fix broken RANLIB handling in src/Configure (the entry from
8235      src/Configuration.tmpl was ignored) and additionally force RANLIB to
8236      /bin/true under HP/UX where ranlib exists but is deprecated.
8237      [Ralf S. Engelschall] PR#2627
8238      
8239   *) 'apachectl status' failed on some systems.
8240      [Steve VanDevender <stevev darkwing.uoregon.edu>, Lars Eilebrecht] PR#2613
8241
8242   *) Add new flags for ap_unparse_uri_components() to make it generate
8243      the scheme://sitepart string only, or to omit the query string.
8244      [Martin Kraemer]
8245
8246   *) WIN32: Canonicalize ServerRoot before checking to see if it
8247      is a valid directory.  The failure to do this caused certain
8248      ServerRoot settings (eg. "ServerRoot /apache") to be improperly
8249      rejected.  [Marc Slemko]
8250
8251   *) Global renaming of C header files to both get rid of conflicts with third
8252      party packages and to again reach consistency:
8253        1. conf.h      -> ap_config.h
8254        2. conf_auto.h -> ap_config_auto.h \ these are now merged
8255        3. ap_config.h -> ap_config_auto.h / in the config process
8256        4. compat.h    -> ap_compat.h
8257        5. apctype.h   -> ap_ctype.h
8258      Backward compatibility files for conf.h and compat.h were created.
8259
8260   *) mod_mmap_static will no longer take action on requests unless at 
8261      least one "mmapfile" directive is present in the configuration. 
8262      This experimental module has to do some black magic to operate 
8263      inside the current API and thus creates side-effects for other 
8264      modules under some circumstances.
8265      [Ralf S. Engelschall]
8266  
8267   *) Add conservative ticks around more egrep arguments in top-level configure
8268      to avoid problems under brain-dead platforms like Digital UNIX (OSF1).
8269      [Ralf S. Engelschall] PR#2596
8270
8271   *) mod_rewrite created RewriteLock files under the UID of the parent
8272      process, thus the child processes had no write access to the files.
8273      Now a chown() is done on the file to the uid of the children,
8274      if applicable.  [Lars Eilebrecht, Ralf S. Engelschall] PR#2341
8275
8276   *) Autogenerate some HAVE_XXXXX_H defines in conf_auto.h (determined via
8277      TestCompile) instead of defining them manually in conf.h based on less
8278      accurate platform definitions.  This way we no longer have to fiddle with
8279      OS-type and/or OS-version identifiers to discover whether a system header
8280      file exists or not.  Instead we now directly check for the existence of
8281      those esoteric ones. 
8282      [Ralf S. Engelschall] PR#2093, PR#2361, PR#2377, PR#2434,
8283                            PR#2524, PR#2525, PR#2533, PR#2569
8284
8285   *) mod_setenvif (BrowserMatch* and friends) will now match a missing
8286      field with "^$".  [Ken Coar]
8287
8288   *) Set the RTLD_GLOBAL dlopen mode parameter to allow dynamically loaded
8289      modules to load their own modules dynamically.  This improves mod_perl
8290      and mod_php3 when these modules are loaded dynamically into Apache.
8291      [Rasmus Lerdorf]
8292
8293   *) Cache a proxied request in the event that the client cancels the
8294      transfer, provided that the configured percentage of the file has
8295      already been transfered. It works for HTTP transfers only.  The 
8296      new configuration directive is called CacheForceCompletion. 
8297      [Glen Parker <glenebob nwlink.com>] PR#2277
8298
8299   *) Add the "<!DOCTYPE HTML" magic cookie used by modern documents (and
8300      required by HTML 3.2 and later) to mod_mime_magic's conf/magic.
8301      [Anna Shergold <anna inext.co.uk>]
8302
8303   *) Fix yet another signal-based race condition involving nested timers.
8304      Signals suck.  [Dean Gaudet]
8305
8306   *) suexec's error messages have been clarified a little bit.  [Ken Coar]
8307
8308   *) Clean up some, but perhaps not all, 8-bit character set problems
8309      with config file parsing, and URL parsing.  We now define
8310      ap_isdigit(), ap_isupper(), ... which cast to an (unsigned char).
8311      This should work on most modern unixes.
8312      [Dean Gaudet] PR#800, 2282, 2553  (and others)
8313
8314   *) The "handler not found" error was issued in cases where the handler
8315      really did exist, but was just declining to serve the request.
8316      [John Van Essen <jve gamers.org>] PR#2529
8317
8318   *) Add Dynamic Shared Object (DSO) support for SCO5 (OpenServer 5.0.x).
8319      [Ronald Record <rr sco.com>] PR#2533
8320
8321   *) The APACI libexecdir was not extended with an "apache/" subdir
8322      if the installation prefix didn't already contain "apache", but
8323      it should be because the DSO files are Apache-specific.  Now
8324      libexecdir is treated the same way sysconfdir, datadir, localstatedir
8325      and includedir are already treated.
8326      [Charles Levert <charles comm.polymtl.ca>] PR#2551
8327
8328   *) The <Limit> parsing routine was incorrectly treating methods as
8329      case-insensitive.  [Ken Coar]
8330
8331   *) The ap_bprintf() code neglected to test if there was an error on
8332      the connection.  ap_bflush() misdiagnosed a failure as a success.
8333      [Dean Gaudet]
8334
8335   *) add support for #perl arg interpolation in mod_include
8336      [Doug MacEachern]
8337
8338   *) API: Name changes of table_elts to ap_table_elts, is_table_empty
8339      to ap_is_table_empty and bgetflag to ap_bgetflag. [Ben Laurie]
8340
8341   *) PORT: Add UnixWare 7 support
8342      [Vadim Kostoglodoff <vadim olly.ru>] PR#2463
8343
8344   *) Fix the Guess-DSO-flags-from-Perl stuff in src/Configure: "perl" was
8345      used instead of "$PERL" which contains the correctly determined Perl
8346      interpreter (important for instance on systems where "perl" and "perl5"
8347      exists, like BSDI or FreeBSD, etc).
8348      [Ralf S. Engelschall] PR#2505
8349
8350   *) Move the initial suEXEC-related startup message from plain
8351      fprintf()/stderr to a delayed ap_log_error()-based one to avoid problems
8352      when Apache is started from inetd (instead of standalone). Under this
8353      situation startup messages on stderr lead to problems (the line is sent
8354      to the client in front of the requested document).
8355      [Ralf S. Engelschall] PR#871, PR#1318
8356
8357   *) Add a flag so ap_fnmatch() can be used for case-blind pattern matching.
8358      [Ken Coar, Dean Gaudet]
8359
8360   *) WIN32: Don't collapse multiple slashes in PATH_INFO.
8361      [Ben Laurie, Bill Stoddard <wgstodda us.ibm.com>] PR#2274
8362
8363   *) WIN32 SECURITY: Eliminate trailing "."s in path components. These are
8364      ignored by the Windows filesystem, and so can be used to bypass security.
8365      [Ben Laurie, Alexei Kosut].
8366
8367   *) We now attempt to dump core when we get SIGILL. [Jim Jagielski]
8368
8369   *) PORT: remove broken test for MAP_FILE in http_main.c.
8370      [Wilfredo Sanchez <wsanchez apple.com>]
8371
8372   *) PORT: Change support/apachectl to use "kill -0 $pid" to test if the
8373      httpd is running.  This should be more portable than figuring out
8374      which of three dozen different versions of "ps" are installed.
8375      [a cast of dozens]
8376
8377   *) WIN32: If we can't figure out how to execute a file in a script
8378      directory, bail out of the request with an error message.  [W G Stoddard]
8379
8380   *) WIN32 SECURITY: Eliminate directories consisting of three or more dots;
8381      these are treated by Win32 as if they are ".." but are not detected by
8382      other machinery within Apache. This is something of a kludge but
8383      eliminates a security hole. [Manoj Kasichainula, Ben Laurie]
8384
8385   *) Move ap_escape_quotes() from src/ap to src/main/util.c; it uses
8386      pools and thus pollutes libap (until the pool stuff is moved there).
8387      [Ken Coar]
8388
8389   *) IndexIgnore should be case-blind on Win32 (and any other case-aware
8390      but case-insensitive platforms).  New #define for this added to conf.h
8391      (CASE_BLIND_FILESYSTEM).  [Ken Coar] PR#2455
8392
8393   *) Enable DSO support for OpenBSD in general, not only for 2.x, because it
8394      also works for OpenBSD 1.x. [Ralf S. Engelschall]
8395
8396   *) PORT: Fix compilation problem on ARM Linux.
8397      [Sam Kington <sam illuminated.co.uk>] PR#2443
8398
8399   *) Let APACI's configure script determine some configuration parameters
8400      (Group, Port, ServerAdmin, ServerName) via some intelligent tests to
8401      remove some of the classical hurdles for new users when setting up
8402      Apache. This is done per default because it is useful for the average
8403      user. Package authors can use the --without-confadjust option to disable
8404      these configuration adjustments.
8405      [Ralf S. Engelschall]
8406
8407   *) Added an EXTRA_DEPS configuration parameter which can be used
8408      to add an extra Makefile dependency for the httpd target, for instance
8409      to external third-party libraries, etc.
8410      [Ralf S. Engelschall]
8411
8412   *) Add <IfDefine>..</IfDefine> sections to the core module (with same spirit
8413      as <IfModule>..</IfModule> sections) which can be used to skip or process
8414      contained commands dependend of ``-D PARAMETER'' options on the command
8415      line. This can be used to achieve logical conditions like <IfDefine
8416      ReverseProxy> instead of physically ones (e.g. <IfModule mod_proxy.c>)
8417      and thus especially can be used for conditionally loading DSO-based
8418      modules via LoadModule, etc. [Ralf S. Engelschall]
8419
8420   *) PORT: clean up a warning in mod_status for OS/2.  [Brian Havard]
8421
8422   *) Make table elements const. This may prevent obscure errors. [Ben Laurie]
8423
8424   *) Fix parsing of FTP `SIZE' responses in proxy module: The newline was not
8425      truncated which forced following HTTP headers to be data in the HTTP
8426      reponse. [Ralf S. Engelschall, Charles Fu <ccwf bacchus.com>] 
8427      PR#2412, 2367
8428
8429   *) Portability fix for APACI shadow tree support: Swap order of awk and sed
8430      in top-level configure script to avoid sed fails on some platforms (for
8431      instance SunOS 4.1.3 and NCR SysV) because of the non-newline-termined
8432      output of Awk. [Bill Houle <bhoule sandiegoca.ncr.com>] PR#2435
8433
8434   *) Improve performance of directory listings (mod_autoindex) by comparing
8435      integer keys (last-modified and size) as integers rather than converting
8436      them to strings first.  Also use a set of explicit byte tests rather
8437      than strcmp() to check for parent directory-ness of an entry.  Oh, and
8438      make sure the parent directory (if displayed) is *always* listed first
8439      regardless of the sort key.  Overall performance winnage should be good
8440      in CPU time, instruction cache, and memory usage, particularly for large
8441      directories.  [Ken Coar]
8442
8443   *) Add a tiny but useful goody to APACI's configure script: The generation
8444      of a config.status script (as GNU Autoconf does) which remembers the used
8445      configure command and hence can be used to restore the configuration by
8446      just re-running this script or for remembering the configuration between
8447      releases.
8448      [Ralf S. Engelschall]
8449
8450   *) Add httpd -t (test) option for running configuration syntax tests only.
8451      If something is broken it complains and exits with a return code
8452      non-equal to 0. This can be used manually by the user to check the Apache
8453      configuration after editing and is also automatically used by apachectl
8454      on (graceful) restart command to make sure Apache doesn't die on restarts
8455      because of a configuration which is now broken since the last (re)start.
8456      This way `apachectl restart' can be used inside cronjobs without having
8457      to expect Apache to be falling down. Additionally the httpd -t can be run
8458      via `apachectl configtest'.
8459      [Ralf S. Engelschall] PR#2393
8460   
8461   *) Minor display fix for "install" target of top-level Makefile:
8462      the displayed installation command was incorrect although the
8463      executed command was correct. Now they are in sync.
8464      [Ralf S. Engelschall] PR#2402
8465
8466   *) Correct initialization of variable `allowed_globals' in http_main.c
8467      [Justin Bradford <justin ukans.edu>] PR#2400
8468
8469   *) Apache would incorrectly downcase the entire Content-Type passed from
8470      CGIs.  This affected server-push scripts and such which use
8471      multipart/x-mixed-replace;boundary=ThisRandomString.
8472      [Dean Gaudet] PR#2394
8473
8474   *) PORT: QNX update to properly guess 32-bit systems.
8475      [Sean Boudreau <seanb qnx.com>] PR#2390
8476
8477   *) Make sure the DSO emulation code for HPUX finds the proprietary shl_xxx()
8478      functions which are in libdld under HPUX 9/10.
8479      [Ralf S. Engelschall] PR#2378
8480
8481   *) Make sure the "install" target of the top-level Makefile doesn't break
8482      because of a return code of 1 from an "if" (for instance under braindead
8483      Ultrix the result code of an "if" construct is 1 if the "then" clause
8484      didn't match). [Ralf S. Engelschall]
8485
8486   *) Add an additional "dummy" target to the "$(LIB)" target in generated
8487      modules/xxx/Makefile's to avoid problems with SVR4 Make under "full-DSO"
8488      situation (no libxxx.a built, only mod_xxx.so's) where LIB and OBJS are
8489      empty. [Ralf S. Engelschall, Dean Gaudet, Martin Kraemer]
8490
8491   *) Replace two bad sprintf() calls with ap_snprintf() variants in
8492      mod_rewrite. [Ralf S. Engelschall]
8493
8494   *) Fix missing usage description for MetaFiles directive.
8495      [David MacKenzie <djm va.pubnix.com>] PR#2384
8496
8497   *) mod_log_config wouldn't let vhosts use log formats defined in the
8498      main server.  [Christof Damian <damian mediaconsult.com>] PR#2090
8499
8500   *) mod_usertrack was corrupting the client hostname.  As part of the
8501      fix, the cookie values were slightly extended to include the
8502      fully qualified hostname of the client.
8503      [Dean Gaudet] PR#2190, 2229, 2366
8504
8505   *) Fix a typo in pool debugging code.  [Alvaro Martinez Echevarria]
8506
8507   *) mod_unique_id did not work on alpha linux (in general on any
8508      architecture that has 64-bit time_t).
8509      [Alvaro Martinez Echevarria]
8510
8511   *) PORT: Make SCO 5 (and probably 3) compile again. [Ben Laurie]
8512
8513   *) PORT: NCR MPRAS systems have the same bug with SIGHUP restart that
8514      Solaris systems experience.  So define WORKAROUND_SOLARIS_BUG.
8515      [Klaus Weber <kweber chephren.germany.ncr.com>] PR#1973
8516
8517   *) Change "Options None" to "Options FollowSymLinks" in the 
8518      <Directory /> section of the default access.conf-dist
8519      (and -win even though it doesn't matter there).  This has better
8520      performance, and more intuitive semantics.  [Dean Gaudet]
8521
8522   *) PORT: Updated support for UTS 2.1.2.
8523      [Dave Dykstra <dwd bell-labs.com>] PR#2320
8524
8525   *) Fix symbol export list (src/support/httpd.exp) after recent
8526      API changes in the child spawning area.
8527      [Jens-Uwe Mager <jum helios.de>]
8528
8529   *) Workaround for configure script and old `test' commands which do not
8530      support the -x flag (for instance under platforms like Ultrix). This is
8531      solved by another helper script findprg.sh which searches for Perl and
8532      Awk like PrintPath but _via different names_.
8533      [Ralf S. Engelschall]
8534
8535   *) Remove the system() call from htpasswd.c, which eliminates a system
8536      dependancy.  ["M.D.Parker" <mdpc netcom.com>] PR#2332
8537
8538   *) PORT: Fix compilation failures on NEXTSTEP.
8539      [Rex Dieter <rdieter math.unl.edu>] PR#2293, 2316
8540
8541   *) PORT: F_NDELAY is a typo, should have been FNDELAY.  There's also
8542      O_NDELAY on various systems.  [Dave Dykstra <dwd bell-labs.com>] PR#2313
8543
8544   *) PORT: helpers/GuessOS updates for various versions for NCR SVR4.
8545      [juerg schreiner <j.schreiner zh.ch>,
8546      Bill Houle <Bill.Houle SanDiegoCA.NCR.COM>] PR#2310
8547
8548   *) Fix recently introduced Win32 child spawning code in mod_rewrite.c which
8549      was broken because of invalid ap_pstrcat() -> strcat() transformation.
8550      [Ralf S. Engelschall]
8551
8552   *) Proxy Cache Fixes: account for directory sizes, fork off garbage collection
8553      to continue in background, use predefined types (off_t, size_t, time_t),
8554      log the current cache usage percentage at LogLevel debug
8555      [Martin Kraemer, based on discussion between Dean Gaudet & Dirk vanGulik]
8556
8557 Changes with Apache 1.3.0
8558
8559   *) Using a type map file as a custom error document was not possible.
8560      [Lars Eilebrecht] PR#1031
8561
8562   *) Avoid problems with braindead Awks by additionally searching for gawk 
8563      and nawk in APACI's configure script.
8564      [Dave Dykstra <dwd bell-labs.com>, Ralf S. Engelschall] PR#2319
8565
8566   *) Rename md5.h to ap_md5.h to avoid conflicts with native MD5 on
8567      some systems. [Randy Terbush]
8568
8569   *) Change usage of perror()+fprintf(stderr,...) in mod_rewrite to
8570      more proper ap_log_error() variants.
8571      [Ralf S. Engelschall]
8572
8573   *) Make sure the argument for the --add-module option to APACI's configure
8574      script is of type [path/to/]mod_xxx.c because all calculations inside
8575      configure and src/Configure depend on this.
8576      [Ralf S. Engelschall] PR#2307
8577
8578   *) Changes usage of perror/fprintf to stderr to more proper ap_log_error
8579      in mod_mime, mod_log_referer, mod_log_agent, and mod_log_config.
8580      [Brian Behlendorf]
8581
8582   *) Various OS/2 cleanups ["Brian Havard" <brianh kheldar.apana.org.au>]
8583
8584   *) PORT: QNX needed a #include <sys/mman.h>; and now it uses flock
8585      serialized accept to handle multiple sockets.
8586      [Rob Saccoccio <robs InfiniteTechnology.com>] PR#2295, 2296
8587  
8588   *) Have NT properly set the directory for CGI scripts 
8589      (& other spawned children)
8590      [W G Stoddard <wgstodda us.ibm.com>]
8591
8592   *) Propagate environment to CGI scripts correctly in Win32.
8593      [W G Stoddard <wgstodda us.ibm.com>] PR#2294
8594
8595   *) Some symbol renaming:
8596      ap_spawn_child_err became ap_spawn_child
8597      ap_spawn_child_err_buff became ap_bspawn_child
8598      spawn_child was obsoleted and moved to compat.h
8599      [Brian Behlendorf]
8600
8601   *) Upgrade the child spawning code in mod_rewrite for the RewriteMap
8602      programs: ap_spawn_child_err() is used and the Win32 case now uses
8603      CreateProcess() instead of a low-level execl() (which caused problems in
8604      the past under Win32).
8605      [Ralf S. Engelschall]
8606
8607   *) A few cosmetics and trivial enhancements to APXS to make the
8608      generated Makefile more user friendly. [Ralf S. Engelschall]
8609
8610   *) Proxy Fix: The proxy special failure routine ap_proxyerror()
8611      was updated to use the normal apache error processing, thereby allowing
8612      proxy errors to be treated by ErrorDocument's as well. For this
8613      purpose, a new module-to-core communication variable "error-notes"
8614      was introduced; the proxy (and possibly other modules) communicates
8615      its error text using this variable. Its content is copied to a new
8616      cgi-env-var REDIRECT_ERROR_NOTES for use by ErrorDocuments.
8617      The old proxy special error routine ap_proxy_log_uerror()
8618      was replaced by regular ap_log_error() calls, many messages were made
8619      more informative. 
8620      [Martin Kraemer] PR#494, 1259
8621
8622   *) SECURITY: A possible buffer overflow in the ftp proxy was fixed.
8623      [Martin Kraemer]
8624
8625   *) Transform the configure message "You need root privileges for suEXEC"
8626      from a fatal error into a (more friendly) warning because the building
8627      ("make") of Apache we can allow, of course. Root privileges are needed
8628      only for the installation step ("make install"). So make sure the
8629      user is aware of this fact but let him proceed as long as he can.
8630      [Ralf S. Engelschall] PR#2288
8631   
8632   *) Renamed three more functions to common ap_ prefix which we missed at the
8633      Big Symbol Renaming because they're #defines and not real C functions:
8634      is_default_port(), default_port(), http_method().
8635      [Ralf S. Engelschall]
8636
8637   *) A zero-length name after a $ in an SSI document should cause
8638      just the $ to be in the expansion.  This was broken during the
8639      security fixes in 1.2.5.  [Dean Gaudet] PR#1921, 2249
8640
8641   *) Call ap_destroy_sub_req() in ap_add_cgi_vars() to reclaim some
8642      memory.  [Rob Saccoccio <robs InfiniteTechnology.com>] PR#2252
8643
8644   *) Fix src/support/httpd.exp (DSO export file which is currently only
8645      used under AIX) because of recent changes to function names.
8646      [Ralf S. Engelschall]
8647
8648 Changes with Apache 1.3b7
8649
8650   *) Make sure a MIME-type can be forced via a RewriteRule even when no
8651      substitution takes place, for instance via the following rule:
8652      ``RewriteRule ^myscript$ - [T=application/x-httpd-cgi]'' This was often
8653      requested by users in the past to force a single script without a .cgi
8654      extension and outside any cgi-bin dirs to be executed as a CGI program.
8655      [Ralf S. Engelschall] PR#2254
8656
8657   *) A fix for protocol issues surrounding 400, 408, and
8658      414 responses. [Ed Korthof]
8659
8660   *) Ignore MaxRequestsPerChild on WIN32. [Brian Behlendorf]
8661
8662   *) Fix discrepancy in proxy_ftp.c which was causing failures when 
8663      trying to connect to certain ftpd's, such as anonftpd.  
8664      [Rick Ohnemus <rick ecompcon.com>]
8665
8666   *) Make mod_rewrite use ap_open_piped_log() for RewriteLog directive's
8667      logfile instead of fiddling around itself with child spawning stuff.
8668      [Ralf S. Engelschall]
8669
8670   *) Made RefererIgnore case-insensitive.
8671
8672   *) Mod_log_agent, mod_log_referer now use ap_open_piped_log for piped logs.
8673      [Brian Behlendorf]
8674
8675   *) Replace use of spawn_child with ap_spawn_child_err_buff, to make everything
8676      "safe" under Win32.  In: mod_include.c, mod_mime_magic.c
8677      [Brian Behlendorf]
8678
8679   *) Improve RFC1413 support. [Bob Beck <beck bofh.ucs.ualberta.ca>]
8680
8681   *) Fix support script `dbmmanage': It was unable to handle some sort
8682      of passwords, especially passwords with "0" chars.
8683      [Ralf S. Engelschall] PR#2242
8684
8685   *) WIN32: Clicking on "Last Modified" in a fancy index caused a crash. Fixed.
8686      [Ben Laurie] PR#2238
8687
8688   *) WIN32: CGIs could cause a hang (because of a deadlock in the standard C
8689      library), so CGI handling has been changed to use Win32 native handles
8690      instead of C file descriptors.
8691      [Ben Laurie and Bill Stoddard <wgstodda us.ibm.com>] PR#1129, 1607
8692
8693   *) The proxy cache would store an incorrect content-length in the cached
8694      file copy after a cache update. That resulted in repeated fetching
8695      of the original copy instead of using the cached copy.
8696      [Ernst Kloppenburg <kloppen isr.uni-stuttgart.de>] PR#2094
8697
8698   *) The Makefiles assumed that DSO files are build via $(LD). This
8699      is broken for two reasons: First we never defined at least LD=ld
8700      somewhere to make sure this works (it was silently assumed that most Make
8701      provide a built-in LD definition - ARGL!) and second using the generic LD
8702      variable is not the truth. Instead a special variable named LD_SHLIB is
8703      reasonable because although "ld" is usually the default, the command for
8704      building DSO files can be "libtool" or even "cc" on some systems.
8705      [Ralf S. Engelschall]
8706
8707   *) Replace the AddVersionPlatform directive with ServerTokens which
8708      provides for more control over the format of the Server:
8709      header line. SERVER_SUBVERSION is no longer supported;
8710      all module should use the ap_add_version_component()
8711      API function instead. [Jim Jagielski]
8712
8713   *) Support for the NCR MP/RAS 3.0
8714      [John Withers <withers semi.kcsc.mwr.irs.gov>]
8715
8716   *) The LDFLAGS_SHLIB_EXPORT variable of src/Configuration[.tmpl] was
8717      not retrieved in src/Configure and thus was not useable.
8718      [Ralf S. Engelschall]
8719  
8720   *) Various Makefile consistency cleanups:
8721      - make OSDIR also automatically be relative to src/ like INCDIR
8722      - SUBDIRS is now generated in src/Makefile only and not in
8723        Makefile.config because it is a local define for this location.
8724      - remove BROKEN_BPRINTF_FLAGS because is it no longer used inside
8725        any Makefile but make sure that at least the "-K inline" is kept in
8726        CFLAGS for SCO 5.
8727      - update the "depend" targets in Makefile.tmpl files to use $(OSDIR), too.
8728      - updated the dependencies theirself
8729      - removed not existing SHLIB variable from "clean" targets
8730      - replaced SHLIB_OBJS/SHLIBS_OBJ consistently with OBJS_PIC because OBJS
8731        already exists and OBJS_PIC are also just plain objects and have not
8732        directly to do with "shared" things. The only difference is that they
8733        contain PIC. So OBJS_PIC is the more canonical name.
8734      - Updated the Makefile-dependency lines for OBJS_PIC
8735      - Removed the Makefile-dependency line in Configure to avoid double
8736        definitions
8737      - replaced ugly xx-so.o/xx.so-o hack with a clean and consistent usage
8738        of xxx.lo as GNU libtool does with its PIC objects
8739      - reduce local complexity in modules Makefile.tmpl by moving the last
8740        existing target "depend" to the generation section in Configure, too.
8741      - removed the historical $(SPACER) which was used in the past together
8742        with BROKEN_BPRINTF_FLAGS to avoid zig-zags in the build process. This
8743        is no longer needed.
8744      - force the build and run of the gen_xxx programs under main/ as the
8745        first step before building the objects because it looks cleaner
8746      [Ralf S. Engelschall]
8747
8748   *) WIN32: Make Win32 work again after the /dev/null DoS fix.
8749      [Ben Laurie]
8750
8751   *) WIN32: Check for buffer overflows in ap_os_canonical_filename.
8752      [Ben Laurie]
8753
8754   *) WIN32: Don't force ISAPI headers to finish with \n.
8755      [Jim Patterson <Jim.Patterson Cognos.COM>, Ben Laurie] PR#2060
8756
8757   *) When opening "configuration" files (like httpd.conf, htaccess
8758      and htpasswd), Apache will not allow them to be non-/dev/null
8759      device files. This closes a DoS hole. At the same time,
8760      we use ap_pfopen to open these files to handle timeouts.
8761      [Jim Jagielski, Martin Kraemer]
8762
8763   *) Apache will now log the reason its httpd children exit if they exit
8764      due to an unexpected signal.  (It requires a new porting define,
8765      SYS_SIGLIST, which if defined should point to a list of text
8766      descriptions of the signals available.  See PORTING.)  [Dean Gaudet]
8767
8768   *) WIN32: chdir() doesn't make sense in a multithreaded environment 
8769      like WIN32.  Before, Win32 CGI's could have had sporadic failures 
8770      if a chdir call from one thread was made between another chdir call 
8771      and a spawn in another thread.  So, for now don't chdir for CGI scripts 
8772      in WIN32.  The current CGI "spec" is unclear as to whether it's 
8773      necessary.  Long-term fix is to either serialize the chdir/spawn combo 
8774      or use WIN32 native calls to spawn a process.  This temp fix was 
8775      necessary to remove this as a showstopper for 1.3's release. 
8776      [Brian Behlendorf]
8777
8778   *) Cleanup the suEXEC support in APACI and make it more safe:
8779      1. Add big fat hint in INSTALL about risks and to read the
8780         htdocs/manual/suexec.html document before using the suexec-related
8781         configure options.
8782      2. Make sure the user has at least provided one --suexec-xxxx option
8783         (specifies suEXEC parameters) in addition to --enable-suexec option.
8784         If only --enable-suexec is given APACI stops with a hint to INSTALL
8785         and htdocs/manual/suexec.html documents.
8786      3. Provide two additional --suexec-xxxx options to make the suEXEC
8787         configuration complete (especially for package maintainers who else
8788         had to patch the source tree) by providing ways to configure minimal
8789         UID/GID and safe PATH, too.
8790      [Ralf S. Engelschall]
8791
8792   *) Cleanup of the `configure --shadow' process:
8793      - make sure the configure script creates its temporary files in the
8794        shadow tree to avoid conflicts with parallel configure runs
8795      - removed unnecessary option "-r" from "rm" call for Makefiles
8796      - make sure the configure scripts creates the shadow-wrapper Makefile
8797        only when no shadow trees already exists
8798      - make sure "make distclean" removes the shadow-wrapper Makefile but only
8799        when no more shadow trees exists
8800      - overhauled mkshadow.sh script: now its more IFS-safe and approx. twice
8801        as fast (in the past it needed 70sec, now it runs just 38sec)
8802      - make sure CVS does not complain about the created files
8803        Makefille.<gnutriple> and directories src.<gnutriple>
8804      [Ralf S. Engelschall]
8805
8806   *) Added the ap_add_version_component() API routine and the
8807      AddVersionPlatform core directive.  The first allows modules to
8808      declare themselves in the Server response header field value,
8809      augmenting the SERVER_SUBVERSION define in the Configuration file
8810      with run-time settings (more useful in a loadable-module environment).
8811      AddVersionPlatform inserts a comment such as "(UNIX)" or "(Win32)"
8812      into the server version string.  [Ken Coar] PR#2056
8813
8814   *) Minor stability tweaks to avoid core dumps in ap_snprintf.
8815      [Martin Kraemer]
8816
8817   *) Emit the "Accept-Range" header for the default handler.
8818      [Brian Behlendorf] PR#1464
8819
8820   *) Add a note to httpd.conf-dist that apache will on some systems fail
8821      to start when the Group # is set to a negative or large positive value.
8822      [Martin Kraemer]
8823
8824   *) Make sure the module execution order is correct even when some modules
8825      are loaded under runtime (`LoadModule') via the DSO mechanism:
8826      1. The list of loaded modules is now a dynamically allocated one
8827         and not the original statically list from modules.c
8828      2. The loaded modules are now correctly setup by LoadModule for
8829         later use by the AddModule command.
8830      3. When the DSO mechanism for modules is used APACI's `install'
8831         target now enables all created `LoadModule' lines per default because
8832         this is both already expected by the user _and_ needed to avoid
8833         confusion with the next point and reduces the Makefile.tmpl complexity
8834      4. When the DSO mechanism for modules is used, APACI's `install'
8835         target now additionally makes sure the module list is reconstructed
8836         via a complete `ClearModuleList+AddModule...' entry.
8837      5. The support tool `apxs' now also makes sure an AddModule command
8838         is added in addition to the LoadModule command.
8839      6. The modules.c generation was extended to now contain two
8840         comments to make sure no one is confused by the confusing terminology
8841         of loading/linking (we use load=link+load & link=activate instead of
8842         the obvious load=activate & link=link :-( )
8843      This way now there is no longer a difference under execution time between
8844      statically and dynamically linked modules.
8845      [Ralf S. Engelschall]
8846
8847   *) Fix the generated mod_xxx.c from "apxs -g -f xxx" after the
8848      Big Symbol Renaming. [Ralf S. Engelschall]
8849
8850   *) Add a comment to mod_example.c showing the format of a FLAG command
8851      handler.  [Ken Coar]
8852
8853   *) Standardized the time format in mod_status to match that of other 
8854      places in the code (e.g. DATE_GMT).  PR#1551
8855
8856   *) Fix handling of %Z in timefmt strings for those platforms with no time
8857      zone information in their tm struct. [Paul Eggert <eggert twinsun.com>]
8858      PR#754
8859
8860   *) Makes mod_rewrite, mod_log_config, mod_status and the ServerSignature 
8861      feature compatible with 'UseCanonicalName off' by changing  
8862      r->server->server_hostname to ap_get_server_name().  And I changed some 
8863      functions which use r->server->port to use ap_get_server_port() instead, 
8864      because if there's no Port directive in the config r->server->port is 0.
8865      [Lars Eilebrecht]
8866
8867   *) get/set_module_config are trivial enough to be better off inline.  Worth
8868      1.5% performance boost. [Dean Gaudet]
8869
8870   *) Fix off-by-one error in ap_proxy_date_canon() in proxy_util.c
8871      when ensuring 'x' is at least 30-chars big. [Jim Jagielski,
8872      Brian Behlendorf]
8873
8874   *) [BS2000 security] BS2000 needs an extra authentication to initialize
8875      the task environment to the unprivileged User id. Otherwise CGI scripts
8876      would have a way to gain super user access. [Martin Kraemer]
8877
8878   *) Fix debug log messages for BS2000/OSD: instead of logging the whole
8879      absolute path, only log base name of logging source as is done
8880      in unix. [Martin Kraemer]
8881
8882   *) Ronald Tschalaer's Accept-Encoding patch - preserve the "x-" in
8883      the encoding type from the Accept-Encoding header (if it's there)
8884      and use it in the response, as that's probably what it'll be expecting.
8885      [<Ronald.Tschalaer psi.ch>]
8886
8887   *) Fix to mod_alias: translate_alias_redir is dealing with
8888      a URI, not a filename, so the check for drive letters for win32 
8889      and emx is not necessary. [Dean Gaudet]
8890
8891   *) WIN32: Allow .cmd as an executable extension.
8892      [Kari Likovuori <Kari.Likovuori mol.fi>] PR#2146
8893
8894   *) Make Apache header files, and some variables, C++ friendly.
8895      [Michael Anderson's <mka redes.int.com.mx>]
8896
8897   *) Child processes can now "signal" (by exiting with a status
8898      of APEXIT_CHILDFATAL) the parent process to abort and
8899      shutdown the server if the error in the child process was
8900      fatal enough. [Jim Jagielski]
8901
8902   *) mod_autoindex's find_itme() was sensitive to MIME type case.
8903      [Jim Jagielski] PR#2112
8904
8905   *) Make sure the referer_log and agent_log entries in the default httpd.conf
8906      file are also adjusted for the actual relative installation paths.
8907      [Ralf S. Engelschall] PR#2175
8908
8909   *) WIN32: Extensive overhaul of the way UNCs are handled. [Ben Laurie]
8910
8911   *) WIN32: Make roots of filesystems (e.g. c:/) work. [Ben Laurie]
8912      PR#1558
8913
8914   *) PORT: Various porting changes to support AIX 3.2, 4.1.5, 4.2 and 4.3.
8915      Additionally the checks for finding the vendor DSO library were moved
8916      from mod_so.c to Configure because first it needs $PLAT etc. and second
8917      mod_so already uses an abstraction layer and does not fiddle with the
8918      vendor functions itself.
8919      [Jens-Uwe Mager, Ralf S. Engelschall]
8920
8921   *) PORT: Some optimization defines for NetBSD
8922      [Jaromir Dolecek <dolecek ics.muni.cz>] PR#2165
8923
8924   *) PORT: Dynamic Shared Object (DSO) support for NetBSD.
8925      [Jaromir Dolecek <dolecek ics.muni.cz>, Ralf S. Engelschall] PR#2158
8926
8927   *) Add Dynamic Shared Object (DSO) support for AIX (at least 4.2 but older
8928      AIX variants should work fine, too. Even AIX 3.x should work). This is
8929      accomplished by using the free DSO emulation code from Jens-Uwe Mager
8930      which we put into a os/unix/os-dso-aix.c file.
8931      [Ralf S. Engelschall]
8932   
8933   *) PORT: Fix compiler warnings under AIX >= 4.2 where the manual pages imply
8934      that we should use NET_SIZE_T == int but the include files force size_t.
8935      [Ralf S. Engelschall]
8936
8937   *) Fix two bugs in select() handling in http_main.c.
8938      [Roy Fielding]
8939
8940   *) Suppress "error(0)" messages for ap_log_error() when the APLOG_NOERRNO
8941      is unset (as it is in situations like timeouts) where it is unclear
8942      whether errno is set or not.  [Martin Kraemer]
8943
8944   *) Just having APACI's localstatedir is too general and not enough for most
8945      of the systems. 1.3b6 again required manual APACI patches by package
8946      maintainers from Red Hat and FreeBSD because for their filesystem layout a
8947      little bit more flexibility in configuring the paths is needed. Hence we
8948      provide three additional configure options (--runtimedir, --logfiledir,
8949      --proxycachedir) which now can be used for more granular adjustments if
8950      --localstatedir is not enough to fit the particular needs. As a nice
8951      side-effect this reduces some subdir fiddling in configure+Makefile.tmpl.
8952      [Ralf S. Engelschall]
8953
8954   *) Make the install root for "make install" in APACI's Makefile overrideable
8955      by package authors.  This way we are even more friendly to package
8956      maintainers (especially Debian and Red Hat) who build for the real prefix
8957      via "configure --prefix=/<real>" but use a different local prefix via
8958      "make root=/tmp/apache install" for rolling the package without bristling
8959      the target location on their system. 
8960      [Ralf S. Engelschall]
8961
8962   *) Workaround sed limitations in APACI's configure script by now
8963      substituting in chunks of 50 commands (because for instance HPUX's vendor
8964      sed has a limit of max. 98 commands)
8965      [Ralf S. Engelschall] PR#2136
8966
8967   *) Adding SOCKS5 support and fixing existing SOCKS4 support.
8968      [Ralf S. Engelschall] PR#2140
8969
8970   *) Manually fix some symbols which were not renamed to prefix ap_ in the BIG
8971      RENAMING process because they are defined as pre-processor macros instead
8972      of real functions: bputc, bgetc, piped_log_write_fd, piped_log_read_fd
8973      [Ralf S. Engelschall]
8974
8975   *) Workaround braindead AWK's when generating ap_config.h: The split() and
8976      substr() functions cannot be nested under vendor AWK from Solaris 2.6.
8977      [Ralf S. Engelschall] PR#2139
8978
8979   *) Various bugfixes and cleanups for the APACI configure script:
8980      o fix IFS handling for _nested_ situation
8981      o fix Perl interpreter search: take first one found instead of last one
8982      o fix DSO consistency check
8983      o print error messages to stderr instead of stdout
8984      o add install-quiet for --shadow situation to Makefile stub
8985      o reduce complexity by avoiding sed-hacks for rule and module list loops
8986      [Ralf S. Engelschall]
8987
8988   *) Fix DEBUG_CGI situation in mod_cgi.c [David MacKenzie] PR#2114
8989
8990   *) Make sure the input field separator (IFS) shell variable is explicitly
8991      initialized correctly before _every_ `for' loop and also restored after
8992      the loops. [Ralf S. Engelschall]
8993
8994   *) Make sure that "make install" doesn't overwrite the `mime.types' and
8995      `magic' files from an existing Apache installation. Because people often
8996      customize these for own MIME and content types.
8997      [Ralf S. Engelschall]
8998
8999   *) PORT: Dynamic Shared Object (DSO) support for OpenBSD 2.x
9000      [Peter Galbavy, Ralf S. Engelschall] PR#2109
9001
9002   *) Fix the path to the ScoreBoardFile in the install-config target, too.
9003      [Ralf S. Engelschall] PR#2105
9004
9005   *) Let "configure" clear out the users parameters (provided as shell
9006      variables) to avoid side-effects in "src/Configure" when the user
9007      exported them (which is not needed, but some users do it). 
9008      [Ralf S. Engelschall] PR#2101
9009
9010   *) Provide backward compatibility from some old src/Configuration.tmpl
9011      parameter names to the canonical Autoconf-style shell variable names. For
9012      instance CFLAGS vs. EXTRA_CFLAGS. The EXTRA_xxx variants are accepted now
9013      but a hint message is displayed. [Ralf S. Engelschall]
9014   
9015   *) Make sure that "make install" doesn't overwrite the DocumentRoot and
9016      CGI scripts from an existing Apache installation. 
9017      [Ralf S. Engelschall, Jim Jagielski] PR#2084
9018
9019   *) Make `configure --compat' more "compatible" by first 
9020      let the libexecdir default to EPREFIX/libexec instead of EPREFIX/bin and
9021      second by making sure the "avoid-bristling-suffix" /apache is not
9022      appended to sysconfdir, datadir, localstatedir and includedir when
9023      --compat is used. [Ralf S. Engelschall, Lars Eilebrecht]
9024
9025   *) NeXT required strdup() in support/logresolve.c
9026      [Francisco Tomei <fatomei sandburg.unm.edu>] PR#2082
9027
9028   *) AIX required sys/select.h in support/ab.c
9029      [Jens Schleusener <Jens.Schleusener dlr.de>] PR#2081
9030
9031   *) Fix the path to the MimeMagicFile in the install-config target, too.
9032      [Ralf S. Engelschall] PR#2089
9033
9034   *) PORT: Added HP-UX 11 patches [Jeff Earickson <jaearick colby.edu>]
9035
9036   *) If you start apache with the -S command line option it will dump
9037      out the parsed vhost settings.  This is useful for folks trying
9038      to figure out what is wrong with their vhost configuration.
9039      (Other dumps may be added in the future.) [Dean Gaudet]
9040
9041   *) Add %pA, %pI, and %pp codes to ap_vformatter (and hence ap_bprintf,
9042      ap_snprintf, and ap_psprintf).  See include/ap.h for docs.
9043      [Dean Gaudet]
9044
9045   *) Because /usr/local/apache is the default prefix the ``configure
9046      --compat'' option no longer has to set prefix, again. This way the
9047      --compat option honors a leading --prefix option. [Lars Eilebrecht]
9048
9049   *) PORT: Cast the first argument of dlopen() in ap_os_dso_load()
9050      to `char *' under OSF1 and FreeBSD 2.x where it is defined this way
9051      to avoid "discard const" warnings. [Ralf S. Engelschall]
9052
9053   *) If a specific handler is set for a file yet the request still
9054      ends up being handled by the default handler, log an error
9055      message before handling it.  This catches things such as trying 
9056      to use SSIs without mod_include enabled.  [Marc Slemko]
9057
9058   *) Fix error logging for the startup case where ap_log_error() still uses
9059      stderr as the target. Now the default log level is honored here, too.
9060      [Ralf S. Engelschall]
9061     
9062   *) PORT: Make sure some AWK's don't fail in src/Configure with "string too
9063      long" errors when generating the MODULES entry for src/Makefile
9064      [Ben Hyde, Ralf S. Engelschall]
9065
9066   *) Make sure src/Configure doesn't complain about the old directory
9067      /usr/local/etc/httpd/ when APACI is used.  [Lars Eilebrecht]
9068    
9069 Changes with Apache 1.3b6
9070
9071   *) PORT: Clean up warnings on Ultrix and HPUX.  [Ben Hyde]
9072  
9073   *) Adding DSO support for the HP/UX platform by emulating the dlopen-style
9074      interface via the similar but proprietary HP/UX shl_xxx-style system
9075      calls. [Ralf S. Engelschall]
9076
9077   *) PORT: Updated UnixWare 2.0.x and 2.1.x entries for DSO support and made
9078      APACI Makefile.tmpl "install" target more robust for sensible UnixWare
9079      Make. [Ralf S. Engelschall]
9080
9081   *) ++++ THE BIG SYMBOL RENAMING ++++
9082      To avoid symbol clashes with third-party code compiled into the server,
9083      we globally applied the prefix "ap_" to the following classes of
9084      functions:
9085         - Apache provided general functions (e.g., ap_cpystrn)
9086         - Public API functions (e.g., palloc, bgets)
9087         - Private functions which we can't make static (because of
9088           cross-object usage) but should be (e.g., new_connection)
9089      For backward source compatibility a new header file named compat.h was
9090      created which provides defines for the old symbol names and can be used
9091      by third-party module authors.
9092      [The Apache Group]
9093
9094   *) Added dynamic shared object (DSO) support for SVR4-derivates: The
9095      problem under SVR4 is that there is no command flag to force the linker
9096      to export the global symbols of the httpd executable therewith they are
9097      available to the DSO's. Instead of problematic hacks like creating a
9098      dummy.so file (containing dummy references to all global symbols) the
9099      httpd binary is linked against, we use a clean trick stolen from Perl 5:
9100      Placing the Apache core code itself into a DSO library named libhttpd.so.
9101      This way the global symbols _HAVE_ to be exported and thus are available
9102      to any manually loaded DSO's under runtime. To reduce the impact to the
9103      user to null we go even further and create a stub httpd executable which
9104      automatically keeps track of the DSO library loading itself and thus
9105      hides the complete mechanism from the user. Although the generation of
9106      this DSO library is automatically triggered for platforms which
9107      essentially need it (mostly all SVR4-derivates) it can be also enabled
9108      manually via the Rule SHARED_CORE. This can be interesting in the future
9109      where we perhaps exploit this libhttpd.so mechanism for providing nifty
9110      features like graceful upgrades, or whatever. 
9111      [Ralf S. Engelschall, Martin Kraemer]
9112
9113   *) Build the libraries before building the rest of the tools. [Ben Hyde]
9114
9115   *) Add "distclean" target to src/-Makefiles to provide "make distclean" also
9116      inside the src subtree (i.e. for non-APACI users). Following GNU Makefile
9117      conventions while "clean" removes only stuff created by "all" targets,
9118      "distclean" additionally removes the stuff from the configuration
9119      process. This way "make distclean" (hence the name) provides a fresh
9120      source tree as it was for distribution.
9121      [Ralf S. Engelschall]
9122
9123   *) Allow top-level (APACI) Makefile to break on build errors
9124      the same way the src/ subtree Makefiles breaks on them by replacing the
9125      initial APACI sed-subdir-display-kludge with a more clean
9126      variable-passing-solution: variable SDP can optionally hold the subdir
9127      prefix which is consistently used for displaying the subdir movement.
9128      This way even the top-level Makefile can stop correctly on errors as the
9129      user expects. [Ralf S. Engelschall]
9130
9131   *) Fixed ordering of argument checks for RewriteBase directive.
9132      [Todd Eigenschink <eigenstr mixi.net>] PR#2045
9133
9134   *) Change Win32 IS_MODULE to SHARED_MODULE to match Unix' method of
9135      indicating that a module is being compiled for dynamic loading. Also
9136      remove #define IS_MODULE from modules and add SHARED_MODULE define
9137      to the mak/dsp files. [Alexei Kosut]
9138
9139   *) Reduce logging level of "normal" warning messages to APLOG_INFO,
9140      since we are now logging APLOG_WARNING by default. [Roy Fielding]
9141
9142   *) PORT: OS/2 tweak to deal with multiple .exe targets. [Brian Havard]
9143  
9144   *) Add documentation file and src/Configuration.tmpl entry for the
9145      experimental mod_mmap_static module. Because although it is and marked as
9146      an experimental one it is distributed and thus should be documented and
9147      prepared for configuration the same way as all others modules. 
9148      [Ralf S. Engelschall]
9149
9150   *) Add query (-q) option to apxs support tool to be able to manually query
9151      specific settings from apxs. This is needed for instance when you
9152      manually want to access Apache's header files and you need to assemble
9153      the -I option.  Now you can do -I`apxs -q INCLUDEDIR`.
9154      [Ralf S. Engelschall]
9155
9156   *) Now src/Configure uses a fallback strategy for the shared object support
9157      on platforms where no explicit information is available: If a Perl
9158      installation exists we ask it about its shared object support and if it's
9159      the dlopen-style one we shamelessly guess the compiler and linker flags
9160      for creating shared objects from Perls knowledge. Of course, the user is
9161      warning about what we are doing and informed that he should send us
9162      the guessed flags when they work. [Ralf S. Engelschall]
9163
9164   *) Provide APACI --without-support option to be able to disable the build
9165      and installation of the support tools from the src/support/ area.
9166      Although its useful to have these installed per default we should provide
9167      a way to compile and install without them for backward-compatibility.
9168      [Ralf S. Engelschall]
9169
9170   *) Add of the new APache eXtenSion (apxs) support tool for building and
9171      installing modules into an _already installed_ Apache package through the
9172      dynamic shared object (DSO) mechanism [mod_so.c]. The trick here is that
9173      this approach actually doesn't need the Apache source tree.  The
9174      (APACI-installed) server package is enough, because this now includes the
9175      Apache C header files (PREFIX/include) and the new APXS tool
9176      (SBINDIR/apxs).  The intend is to provide a handy tool for third-party
9177      module authors to build their Apache modules _OUTSIDE_ the Apache source
9178      tree while avoiding them to fiddle around with the totally platform
9179      dependend way of compiling DSO files. The tool supports all ranges of
9180      modules, from trivial ones (single mod_foo.c) to complex ones (like PHP3
9181      which has a mod_php3.c plus a pre-built libmodphp3-so.a) and even can
9182      on-the-fly generate a minimalistic Makefile and sample module for the
9183      first step to provide both a quick success event and to demonstrate the
9184      APXS mechanism to module authors. [Ralf S. Engelschall]
9185
9186   *) Fix core dumps in use of CONNECT in proxy.  
9187      [<Rainer.Scherg rexroth.de>] PR#1326, #1573, #1942
9188
9189   *) Modify the log directives in httpd.conf-dist files to use CustomLog
9190      so that users have examples of how CustomLog can be used.
9191      [Lars Eilebrecht]
9192
9193   *) Add the new Apache Autoconf-style Interface (APACI) for the top-level of
9194      the Apache distribution tree.  Until Apache 1.3 there was no real
9195      out-of-the-box batch-capable build and installation procedure for the
9196      complete Apache package. This is now provided by a top-level "configure"
9197      script and a corresponding top-level "Makefile.tmpl" file.  The goal is
9198      to provide a GNU Autoconf-style frontend which is capable to both drive
9199      the old src/Configure stuff in batch and additionally installs the
9200      package with a GNU-conforming directory layout. Any options from the old
9201      configuration scheme are available plus a lot of new options for flexibly
9202      customizing Apache. [Ralf S. Engelschall]
9203
9204   *) The floating point ap_snprintf code wasn't threadsafe.
9205      Had to remove the HAVE_CVT macro in order to do threadsafe
9206      calling of the ?cvt() floating point routines.  [Dean Gaudet]
9207
9208   *) PORT: Add the SCO_SV port. [Jim Jagielski] PR#1962
9209
9210   *) PORT: IRIX needs the -n32 flag iff using the 'cc' compiler
9211      [Jim Jagielski] PR#1901
9212
9213   *) BUG: Configure was using TCC and CC inconsistently. Make sure
9214      Configure knows which CC we are using. [Jim Jagielski]
9215
9216   *) "Options +Includes" wasn't correctly merged if "+IncludesNoExec"
9217      was defined in a parent directory. [Lars Eilebrecht]
9218
9219   *) API: ap_snprintf() code mutated into ap_vformatter(), which is
9220      a generic printf-style routine that can call arbitrary output
9221      routines.  Use this to replace http_bprintf.c.  Add new routines
9222      psprintf(), pvsprintf() which allocate the exact amount of memory
9223      required for a string from a pool.  Use psprintf() to clean up
9224      various bits of code which used ap_snprintf()/pstrdup().
9225      [Dean Gaudet]
9226
9227   *) PORT: HAVE_SNPRINTF doesn't do anything any longer.  This is because
9228      ap_snprintf() has different semantics and formatting codes than
9229      snprintf().  [Dean Gaudet]
9230
9231   *) SIGXCPU and SIGXFSZ are now reset to SIG_DFL at boot-time.  This
9232      is necessary on at least Solaris where the /etc/rc?.d scripts
9233      are run with these signals ignored, and "SIG_IGN" settings are
9234      maintained across exec().
9235      [Rein Tollevik <reint sys.sol.no>] PR#2009
9236
9237   *) Fix the check for symbolic links in ``RewriteCond ... -l'': stat() was
9238      used instead of lstat() and thus this flag didn't work as expected.
9239      [Rein Tollevik <reint sys.sol.no>] PR#2010
9240
9241   *) Fix the proxy pass-through feature of mod_rewrite for the case of
9242      existing QUERY_STRING now that mod_proxy was recently changed because of
9243      the new URL parsing stuff. [Ralf S. Engelschall]
9244
9245   *) A few changes to scoreboard definitions which helps gcc generate
9246      better code.  [Dean Gaudet]
9247
9248   *) ANSI C doesn't guarantee that "int foo : 2" in a structure will
9249      be a signed bitfield.  So mark a few bitfields as signed to
9250      ensure correct code.  [Dean Gaudet]
9251
9252   *) The default for HostnameLookups was changed to Off, but there
9253      was a problem and it wasn't taking effect. [Dean Gaudet]
9254
9255   *) PORT: Clean up undefined signals on some platforms (SCO, BeOS).
9256      [Dean Gaudet]
9257
9258   *) After a SIGHUP the listening sockets in the parent weren't
9259      properly marked for closure on fork().
9260      [Jürgen Keil <jk tools.de>] PR#2000
9261  
9262   *) Allow %2F in two situations: 1) it is in the query part of the URI,
9263      therefore not exposed to %2F -> '/' translations and 2) the request
9264      is a proxy request, so we're not dealing with a local resource anyway.
9265      Without this, the proxy would fail to work for any URL's with
9266      %2f in them (occurs quite often in
9267      http://.../cgi-bin/...?http%3A%2F%2F... references) [Martin Kraemer]
9268
9269   *) Protect against FD_SETSIZE mismatches.  [Dean Gaudet]
9270
9271   *) Make the shared object compilation command more portable by avoiding
9272      the direct combination of `-c' & `-o' which is not honored by some
9273      compilers like UnixWare's cc. [Ralf S. Engelschall]
9274
9275   *) WIN32: the proxy was creating filenames missing the last four
9276      characters.  While this normally doesn't stop anything from 
9277      working, it can result in extra collisions.  
9278      [Tim Costello <tjcostel socs.uts.edu.au>] PR#1890
9279
9280   *) Now mod_proxy uses the response string (in addition to the response status
9281      code) from the already used FTP SIZE command to setup the Content-Length
9282      header if available. [Ralf S. Engelschall] PR#1183
9283
9284   *) Reanimated the (still undocumented) proxy receive buffer size directive:
9285      Renamed from ReceiveBufferSize to ProxyReceiveBufferSize because the old
9286      name was really too generic, added documentation for this directive to
9287      the mod_proxy.html and corrected the hyperlink to it in the
9288      new_features_1.3.html document.  [Ralf S. Engelschall] PR#1348
9289
9290   *) Fix a bug in the src/helpers/fp2rp script and make it a little bit
9291      faster [Martin Kraemer]
9292   
9293   *) Make Configure die when you give it an unknown command switch.
9294      [Ben Hyde]
9295
9296   *) Add five new and fresh manpages for the support programs: dbmmanage.1,
9297      suexec.8, htdigest.1, rotatelogs.8 and logresolve.8.  Now all up-to-date
9298      and per default compiled support programs have manual pages - just to
9299      document our stuff a little bit more and to be able to do really
9300      Unix-like installations ;-) [Ralf S. Engelschall]
9301
9302   *) Major cleanups to the Configure script to make it and its generated
9303      Makefiles again readable and maintainable: add SRCDIR option, removed
9304      INCLUDES_DEPTH[0-2] kludge, cleanup of TARGET option, cleanup of
9305      generated sections, consequently added Makefile headers with inheritance
9306      information, added subdir movement messages for easier following where
9307      the build process currently stays (more verbose then standard Make, less
9308      verbose than GNU make), same style to comments in the Configure script,
9309      added Apache license header, fixed a few bugs, etc. [Ralf S. Engelschall]
9310      
9311   *) Add the new ApacheBench program "ab" to src/support/: This is derived
9312      from the ZeusBench benchmarking program and can be used to determine the
9313      response performance of an Apache installation. This version is
9314      officially licensed with Zeus Technology, Ltd. See the license agreement
9315      statements in <199803171224.NAA24547 en1.engelschall.com> in apache-core.
9316      [Ralf S. Engelschall]
9317
9318   *) API: Various core functions that are definately not part of the API
9319      have been made static, and a few have been marked API_EXPORT.  Still
9320      more have been marked CORE_EXPORT and are not intended for general
9321      use by modules.  [Doug MacEachern, Dean Gaudet]
9322
9323   *) mod_proxy was not clearing the Proxy-Connection header from
9324      requests; now it does.  This did not violate any spec, however 
9325      causes poor interactions when you are talking to remote proxies.  
9326      [Marc Slemko] PR#1741
9327
9328   *) Various cleanups to the command line interface and manual pages.
9329      [Ralf S. Engelschall]
9330
9331   *) cfg_getline() was not properly handling lines that did not end
9332      with a line termination character.  [Marc Slemko] PR#1869, 1909
9333
9334   *) Performance tweak to mod_log_config.  [Dmitry Khrustalev]
9335
9336   *) Clean up some undocumented behavior of mod_setenvif related to
9337      "merging" two SetEnvIf directives when they match the same header
9338      and regex.  Document that mod_setenvif will perform comparisons in
9339      the order they appear in the config file.  Optimize mod_setenvif by
9340      doing more work at config time rather than at runtime.
9341      [Dean Gaudet]
9342
9343   *) src/include/ap_config.h now wraps it's #define's with #ifndef/#endif's
9344      to allow for modules to overrule them and to reduce redefinition
9345      warnings [Jim Jagielski]
9346
9347   *) [PORT] For A/UX change the OS-#define for -DAUX to -DAUX3.
9348      [Jim Jagielski]
9349
9350   *) Making the hard-coded cross-module function call mime_find_ct() (from
9351      mod_proxy to mod_mime) obsolete by making sure the API hook for MIME type
9352      checking is really called even for proxy requests except for URLs with
9353      HTTP schemes (because there we can optimize by not running the type
9354      checking hooks due to the fact that the proxy gets the MIME Content-type
9355      from the remote host later). This change cleans up mod_mime by removing
9356      the ugly export kludge, makes the one-liner file mod_mime.h obsolete, and
9357      especially unbundles mod_proxy and mod_mime. This way they both now can
9358      be compiled as shared objects and are no longer tied together. 
9359      [Ralf S. Engelschall]
9360
9361   *) util.c cleanup and speedup. [Dean Gaudet]
9362
9363   *) API: Clarification, pstrndup() will always copy n bytes of the source
9364      and NUL terminate at the (n+1)st byte.  [Dean Gaudet]
9365
9366   *) Mark module command_rec and handler_rec structures const so that they
9367      end up in the read-only data section (and are friendlier to systems
9368      that don't do optimistic memory allocation on fork()). [Dean Gaudet]
9369
9370   *) Add check to the "Port" directive to make sure the specified 
9371      port is in the appropriate range.  [Ben Hyde]
9372
9373   *) Performance improvements to invoke_handler().
9374      [Dmitry Khrustalev <dima bog.msu.su>]
9375
9376   *) Added support for building shared objects even for library-style modules
9377      (which are built from more than one object file). This now provides the
9378      ability to build mod_proxy as a shared object module. Additionally
9379      modules like mod_example are now also supported for shared object
9380      building because the generated Makefiles now no longer assume there is at
9381      least one statically linked module. [Ralf S. Engelschall]
9382
9383   *) API: Clarify usage of content_type, handler, content_encoding,
9384      content_language and content_languages fields in request_rec.  They
9385      must always be lowercased; and the strings pointed to shouldn't
9386      be modified (you must copy them to modify them).  Fix a few bugs
9387      related to this.  [Dean Gaudet]
9388
9389   *) API: Clarification: except for RAW_ARGS, all command handlers can
9390      treat the char * parameters as permanent, and modifiable.  There
9391      is no need to pstrdup() them.  Clean up some needless pstrdup().
9392      [Dean Gaudet]
9393
9394   *) Now mod_so keeps track of which module shared objects with which names
9395      are loaded and thus avoids multiple loading and unloading and irritating
9396      error_log messages. [Ralf S. Engelschall]
9397
9398   *) Prior to the existence of mod_setenv it was necessary to tweak the TZ
9399      environment variable in the apache core.  But that tweaking interferes
9400      with mod_setenv.  So don't tweak if the user has specified an explicit
9401      TZ variable.  [Jay Soffian <jay cimedia.com>] PR#1888
9402
9403   *) rputs() did not calculate r->sent_bodyct properly.
9404      [Siegmund Stirnweiss <siegst kat.ina.de>] PR#1900
9405
9406   *) The CGI spec says that REMOTE_HOST should be set to the remote hosts's
9407      name, or left unset if this value is unavailable.  Apache was setting
9408      it to the IP address when unavailable.
9409      [Tony Finch <fanf demon.net>] PR#1925
9410
9411   *) Various improvements to the configuration and build support for compiling
9412      modules as shared objects. Especially Solaris 2.x, SunOS 4.1, IRIX and
9413      OSF1 support with GCC and vendor compilers was added.  This way shared
9414      object support is now provided out-of-the-box for FreeBSD, Linux,
9415      Solaris, SunOS, IRIX and OSF1. In short: On all major platforms!
9416      [Ralf S. Engelschall]
9417
9418   *) Minor cleanup in http_main -- split QNX and OS2 specific "mmap"
9419      scoreboard code into separate #defines -- USE_POSIX_SCOREBOARD
9420      and USE_OS2_SCOREBOARD.  [Dean Gaudet]
9421
9422   *) Fix one more special locking problem for RewriteMap programs in
9423      mod_rewrite: According to the documentation of flock(), "Locks are on
9424      files, not file descriptors.  That is, file descriptors duplicated
9425      through dup(2) or fork(2) do not result in multiple instances of a lock,
9426      but rather multiple references to a single lock. If a process holding a
9427      lock on a file forks and the child explicitly unlocks the file, the
9428      parent will lose its lock.". To overcome this we have to make sure the
9429      RewriteLock file is opened _AFTER_ the childs were spawned which is now
9430      the case by opening it in the child_init instead of the module_init API
9431      hook. [Ralf S. Engelschall] PR#1029
9432
9433   *) Change to Location and LocationMatch semantics.  LocationMatch no
9434      longer lets a single slash match multiple adjacent slashes in the
9435      URL.  This change is for consistency with RewriteRule and
9436      AliasMatch.  Multiple slashes have meaning in URLs that they do
9437      not have in (some) filesystems.  Location on the other hand can
9438      be considered a shorthand for a more complicated regex, and it
9439      does match multiple slashes with a single slash -- which is
9440      also consistent with the Alias directive.
9441      [Dean Gaudet] related PR#1440
9442
9443   *) Fix bug with mod_mime_magic causing certain files, including files
9444      of length 0, to result in no response from the server.
9445      [Dean Gaudet]
9446
9447   *) The Configure script now generates src/include/ap_config.h which
9448      contains the set of defines used when Apache is compiled on a platform.
9449      This file can then be included by external modules before including
9450      any Apache header files in case they are being built separately from
9451      Apache.  Along with this change, a couple of minor changes were
9452      made to make Apache's #defines coexist peacefully with any autoconf
9453      defines an external module might have. [Rasmus Lerdorf]
9454
9455   *) Fix mod_rewrite for the ugly API case where <VirtualHost> sections exist
9456      but without any RewriteXXXXX directives. Here mod_rewrite is given no
9457      chance by the API to initialize its per-server configuration and thus
9458      receives the wrong one from the main server. This is now avoided by
9459      remembering the server together with the config structure while
9460      configuring and later assuming there is no config when we see a
9461      difference between the remembered server and the one calling us. 
9462      [Ralf S. Engelschall] PR#1790
9463
9464   *) Fixed the DBM RewriteMap support for mod_rewrite: First the support now
9465      is automatically disabled under configure time when the dbm_xxx functions
9466      are not available. Second, two heavy source code errors in the DBM
9467      support code were fixed.  This makes DBM RewriteMap's usable again after
9468      a long time of brokenness. [Ralf S. Engelschall] PR#1696
9469
9470   *) Now all configuration files support Unix-style line-continuation via 
9471      the trailing backslash ("\") character. This enables us to write down
9472      complex or just very long directives in a more readable way.  The
9473      backslash character has to be really the last character before the
9474      newline and it has not been prefixed by another (escaping) backslash.
9475      [Ralf S. Engelschall]
9476
9477   *) When using ProxyPass the ?querystring was not passed correctly.
9478      [Joel Truher <truher wired.com>]
9479
9480   *) To deal with modules being compiled and [dynamically] linked
9481      at a different time from the core, the SERVER_VERSION and
9482      SERVER_BUILT symbols have been abstracted through the new
9483      API routines apapi_get_server_version() and apapi_get_server_built().
9484      [Ken Coar]  PR#1448
9485
9486   *) WIN32: Preserve trailing slash in canonical path (and hence
9487      in PATH_INFO). [Paul Sutton, Ben Laurie]
9488
9489   *) PORT: USE_PTHREAD_SERIALIZED_ACCEPT has proven unreliable
9490      depending on the rev of Solaris and what mixture of modules
9491      are in use.  So it has been disabled, and Solaris is back to
9492      using USE_FCNTL_SERIALIZED_ACCEPT.  Users may experiment with
9493      USE_PTHREAD_SERIALIZED_ACCEPT at their own risk, it may speed
9494      up static content only servers.  Or it may fail unpredictably.
9495      [Dean Gaudet] PR#1779, 1854, 1904
9496
9497   *) mod_test_util_uri.c created which tests the logic in util_uri.c.
9498      [Dean Gaudet]
9499
9500   *) API: Rewrite of absoluteURI handling, and in particular how
9501      absoluteURIs match vhosts.  Unless a request is a proxy request, a
9502      "http://host" url is treated as if a similar "Host:" header had been
9503      supplied.  This change was made to support future HTTP/1.x protocols
9504      which may require clients to send absoluteURIs for all requests.
9505
9506      In order to achieve this change subtle changes were made to the API.  In a
9507      request_rec, r->hostlen has been removed.  r->unparsed_uri now exists so
9508      that the unmodified uri can be retrieved easily.  r->proxyreq is not set
9509      by the core, modules must set it during the post_read_request or
9510      translate_names phase.
9511
9512      Plus changes to the virtualhost test suite for absoluteURI testing.
9513
9514      This fixes several bugs with the proxy proxying requests to vhosts
9515      managed by the same httpd.
9516      [Dean Gaudet]
9517
9518   *) API: Cleanup of code in http_vhost.c, and remove vhost matching
9519      code from mod_rewrite.  The vhost matching is now performed by a
9520      globally available function matches_request_vhost().  [Dean Gaudet]
9521
9522   *) Reduce memory usage, and speed up ServerAlias support.  As a
9523      side-effect users can list multiple ServerAlias directives
9524      and they're all considered.
9525      [Chia-liang Kao <clkao cirx.org>] PR#1531
9526
9527   *) The "poly" directive in image maps did not include the borders of the
9528      polygon, whereas the "rect" directive does.  Fix this inconsistency.
9529      [Konstantin Morshnev <moko design.ru>] PR#1771
9530
9531   *) Make \\ behave as expected.  [<Ronald.Tschalaer psi.ch>]
9532
9533   *) Add the `%a' construct to LogFormat and CustomLog to log the client IP
9534      address. [Todd Eigenschink <eigenstr mixi.net>] PR#1885
9535
9536   *) API: A new source module main/util_uri.c; It contains a routine
9537      parse_uri_components() and friends which breaks a URI into its component
9538      parts.  These parts are stored in a uri_components structure called
9539      parsed_uri within each request_rec, and are available to all modules.
9540      Additionally, an unparse routine is supplied which re-assembles the URI
9541      components back to an URI, optionally hiding the username:password@ part
9542      from ftp proxy requests, and other useful routines.  Within the structure,
9543      you find on a ready-for-use basis:
9544         scheme;     /* scheme ("http"/"ftp"/...) */
9545         hostinfo;   /* combined [user[:password]@]host[:port] */
9546         user;       /* user name, as in http://user:passwd@host:port/ */
9547         password;   /* password, as in http://user:passwd@host:port/ */
9548         hostname;   /* hostname from URI (or from Host: header) */
9549         port_str;   /* port string (integer representation is in "port") */
9550         path;       /* the request path (or "/" if only scheme://host was given) */
9551         query;      /* Everything after a '?' in the path, if present */
9552         fragment;   /* Trailing "#fragment" string, if present */
9553      This is meant to serve as the platform for *BIG* savings in
9554      code complexity for the proxy module (and maybe the vhost logic).
9555      [Martin Kraemer]
9556
9557   *) Make all possible meta-construct expansions ($N, %N, %{NAME} and
9558      ${map:key}) available for all location where a string is created in
9559      mod_rewrite rewriting rulesets: 1st arg of RewriteCond, 2nd arg of
9560      RewriteRule and for the [E=NAME:STRING] flag of RewriteRule. This way the
9561      possible expansions are consequently usable at all string creation
9562      locations. [Ralf S. Engelschall]
9563
9564   *) Fix initialization of RewriteLogLevel (default now is 0 as documented 
9565      and not 1) and the per-virtual-server merging of directives. Now all
9566      directives except `RewriteEngine' and `RewriteOption' are either
9567      completely overridden (default) or completely inherited (when
9568      `RewriteOptions inherit') is used. [Ralf S. Engelschall] PR#1325
9569
9570   *) Fix `RewriteMap' program lookup in situations where such maps are
9571      defined but disabled (`RewriteEngine off') in per-server context. 
9572      [Ralf S. Engelschall] PR#1431
9573
9574   *) Fix bug introduced in 1.3b4-dev, config with no Port setting would cause
9575      server to bind to port 0 rather than 80.  [Dean Gaudet]
9576
9577   *) Fix long-standing problem with RewriteMap _programs_ under Unix derivates
9578      (like SunOS and FreeBSD) which don't accept the locking of pipes
9579      directly.  A new directive RewriteLock is introduced which can be used to
9580      setup a separate locking file which then is used for synchronization.
9581      [Ralf S. Engelschall] PR#1029
9582
9583   *) WIN32: The server root is obtained from the registry key
9584      HKLM\SOFTWARE\Apache Group\Apache\<version> (version is currently
9585      "1.3 beta"), unless overridden by the -d command line flag. The
9586      value is stored by running "apache -i -d serverroot". [Paul Sutton]
9587
9588   *) Merged os/win32/mod_dll.c into modules/standard/mod_so.c to support
9589      dynamic loading on Win32 and Unix via the same module. [Paul Sutton]
9590
9591   *) Now mod_rewrite no longer makes problematic assumptions on the characters
9592      a username can contain when trying to expand it via /etc/passwd. 
9593      [Ralf S. Engelschall]
9594
9595   *) The mod_setenvif BrowserMatch backwards compatibility command did not
9596      work properly with spaces in the regex.  [Ronald Tschalaer] PR#1825
9597
9598   *) Add new RewriteMap types: First, `rnd' which is equivalent to the `txt'
9599      type but with a special post-processing for the looked-up value: It
9600      parses it into alternatives according to `|' chars and then only one
9601      particular alternative is chosen randomly (this is an essential
9602      functionality needed for balancing between backend-servers when using
9603      Apache as a Reverse Proxy.  The looked up value here is a list of
9604      servers). Second, `int' with the built-in maps named `tolower' and
9605      `toupper' which can be used to map URL parts to a fixed case (this is an
9606      essential feature to fix the case of server names when doing mass
9607      virtual-hosting with the help of mod_rewrite instead of using
9608      <VirtualHost> sections). [Ralf S. Engelschall, parts based on code from
9609      Jay Soffian <jay cimedia.com>] PR#1631
9610
9611   *) Add a new directive to mod_proxy similar to ProxyPass: `ProxyPassReverse'.
9612      This directive lets Apache adjust the URL in Location-headers on HTTP
9613      redirect responses sent by the remote server. This way the virtually
9614      mapped area is no longer left on redirects and thus by-passed which is
9615      especially essential when running Apache as a reverse proxy.  
9616      [Ralf S. Engelschall]
9617
9618   *) Hide Proxy-Authorization from CGI/SSI/etc just like Authorization is
9619      hidden. [Alvaro Martinez Echevarria]
9620
9621   *) Apache will, when started with the -X (single process) debugging flag,
9622      honor the SIGINT or SIGQUIT signals again now. This capability got lost
9623      a while ago during OS/2 signal handling changes.
9624
9625   *) [PORT] Work around the fact that NeXT runs on more than the
9626      m68k chips in mod_status [Scott Anguish and Timothy Luoma
9627      <luomat peak.org>]
9628
9629   *) [PORT] Recognize FreeBSD versions so we can use the OS regex as well
9630      as handling unsigned-chars for FreeBSD v3 and v2 [Andrey Chernov
9631      <ache nagual.pp.ru> and Jim] PR#1450
9632
9633   *) Use SA_RESETHAND or SA_ONESHOT when installing the coredump handlers.
9634      In particular the handlers could trigger themselves into an infinite
9635      loop if RLimitMem was used with a small amount of memory -- too small
9636      for the signal stack frame to be set up.  [Dean Gaudet]
9637
9638   *) Fix problems with absoluteURIs introduced during 1.3b4.  [Dean Gaudet,
9639      Alvaro Martinez Echevarria <alvaro lander.es>]
9640
9641   *) Fix multiple UserDir problem introduced during 1.3b4-dev.
9642      [Dean Gaudet] PR#1850
9643
9644   *) ap_cpystrn() had an off-by-1 error.
9645      [Charles Fu <ccwf klab.caltech.edu>] PR#1847
9646
9647   *) API: As Ken suggested the check_cmd_context() function and related
9648      defines are non-static now so modules can use 'em.  [Martin Kraemer]
9649
9650   *) mod_info would occasionally produce an unpaired <tt> in its
9651      output. Fixed. [Martin Kraemer]
9652
9653   *) By default AIX binds a process (and it's children) to a single
9654      processor.  httpd children now unbind themselves from that cpu
9655      and re-bind to one selected at random via bindprocessor()
9656      [Doug MacEachern]
9657
9658   *) Linux 2.0 and above implement RLIMIT_AS, RLIMIT_DATA has almost no
9659      effect.  Work around it by using RLIMIT_AS for the RLimitMEM
9660      directive.  [Enrik Berkhan <enrik inka.de>] PR#1816
9661
9662   *) mod_mime_magic error message should indicate the filename when
9663      reads fail.  ["M.D.Parker" <mdpc netcom.com>] PR#1827
9664
9665   *) Previously Apache would permit </Files> to end <FilesMatch> (and
9666      similary for Location and Directory), now this is diagnosed as an
9667      error.  Improve error messages for mismatched sections (<Files>,
9668      <FilesMatch>, <Directory>, <DirectoryMatch>, ...).
9669      [Dean Gaudet, Martin Kraemer]
9670
9671   *) <Files> is not permitted within <Location> (because of the
9672      semantic ordering).  [Dean Gaudet] PR#379
9673
9674   *) <Files> with wildcards was broken by the change in wildcard
9675      semantics (* does not match /).  To fix this, <Files> now
9676      apply only to the basename of the request filename.  This
9677      fixes some other inconsistencies in <Files> semantics
9678      (such as <Files a*b> not working).  [Dean Gaudet] PR#1817
9679
9680   *) Removed bogus "dist.tar" target from Makefile.tmpl and make sure
9681      backup files are removed on "clean" target [Ralf S. Engelschall]
9682
9683   *) PORT: Add -lm to LIBS for HPUX.  [Dean Gaudet] PR#1639
9684
9685   *) Various errors from select() and accept() in child_main() would
9686      result in an infinite loop.  It seems these two tickle kernel
9687      or library bugs occasionally, and result in log spammage and
9688      a generally bad scene.  Now the child exits immediately,
9689      which seems to be a good workaround.
9690      [Dean Gaudet] PR#1747, 1107, 588, 1787, 987, 588
9691
9692   *) Cleaned up some race conditions in unix child_main during
9693      initialization. [Dean Gaudet]
9694
9695   *) SECURITY: "UserDir /abspath" without a * in the path would allow
9696      remote users to access "/~.." and bypass access restrictions
9697      (but note /~../.. was handled properly).
9698      [Lauri Jesmin <jesmin ut.ee>] PR#1701
9699
9700   *) API: os_is_path_absolute() now takes a const char * instead of a char *.
9701      [Dean Gaudet]
9702
9703 Changes with Apache 1.3b5
9704
9705   *) Source file dependencies in Makefile.tmpl files throughout the
9706      source tree were updated to accurately reflect reality.
9707      [Dean Gaudet]
9708
9709   *) Preserve the content encoding given by the AddEncoding directive
9710      when the client doesn't otherwise specify an encoding.
9711      [Ronald Tschalaer <Ronald.Tschalaer psi.ch>]
9712
9713   *) Sort out problems with canonical filename handling happening too late.
9714      [Dean Gaudet, Ben Laurie]
9715
9716 Changes with Apache 1.3b4
9717
9718   *) The module structure was modified to include a *dynamic_load_handle
9719      in the STANDARD_MODULE_STUFF portion, and the MODULE_MAGIC_NUMBER
9720      has been bumped accordingly.  [Paul Sutton]
9721
9722   *) All BrowserMatch directives mentioned in
9723      htdocs/manual/known_client_problems.html are in the default
9724      configuration files.  [Lars Eilebrecht]
9725
9726   *) MiNT port update. [Jan Paul Schmidt]
9727
9728   *) HTTP/1.1 requires x-gzip and gzip encodings be treated
9729      equivalent, similarly for x-compress and compress.  Apache
9730      now ignores a leading x- when comparing encodings.  It also
9731      preserves the encoding the client requests (for example if
9732      it requests x-gzip, then Apache will respond with x-gzip
9733      in the Content-Encoding header).
9734      [Ronald Tschalaer <Ronald.Tschalaer psi.ch>] PR#1772
9735
9736   *) Fix a memory leak on keep-alive connections.  [Igor Tatarinov]
9737
9738   *) Added mod_so module to support dynamic loading of modules on Unix
9739      (like mod_dld for Win32). This replaces mod_dld.c. Use SharedModule
9740      instead of AddModule in Configuration to build shared modules
9741      [Sameer Parekh, Paul Sutton]
9742
9743   *) Minor cleanups to r->finfo handling in some modules.
9744      [Dean Gaudet]
9745
9746   *) Abstract read()/write() to ap_read()/ap_write().
9747      Makes it easier to add other types of IO code such as SFIO.
9748      [Randy Terbush]
9749
9750   *) API: Generalize default_port manipulations to make support of
9751      different protocols easier. [Ben Laurie, Randy Terbush]
9752
9753   *) There are many cases where users do not want Apache to form
9754      self-referential urls using the "canonical" ServerName and Port.
9755      The new UseCanonicalName directive (default on), if set to off
9756      will cause Apache to use the client-supplied hostname and port.
9757      API: Part of this change required a change to the construct_url()
9758      prototype; and the addition of get_server_name() and
9759      get_server_port().
9760      [Michael Douglass <mikedoug texas.net>, Dean Gaudet]
9761      PR#315, 459, 485, 1433
9762
9763   *) Yet another rearrangement of the source tree.. now all the common
9764      header files are in the src/include directory.  The -Imain -Iap
9765      references in Makefiles have been changed to the simpler -Iinclude
9766      instead.  In addition to simplifying the build a little bit, this
9767      also makes it clear when a module is referencing something in a
9768      other than kosher manner (e.g., the proxy including mod_mime.h).
9769      Module-private header files (the proxy, mod_mime, the regex library,
9770      and mod_rewrite) have not been moved to src/include; nor have
9771      the OS-abstraction files.  [Ken Coar]
9772
9773   *) Fix a bug where r->hostname didn't have the :port stripped
9774      from it.  [Dean Gaudet]
9775
9776   *) Tweaked the headers_out table size, and the subprocess_env
9777      table size guess in rename_original_environment().  Added
9778      MAKE_TABLE_PROFILE which can help discover make_table()
9779      calls that use too small an initial guess, see alloc.c.
9780      [Dean Gaudet]
9781
9782   *) Options and AllowOverride weren't properly merging in the main
9783      server setting inside vhosts (only an issue when you have no
9784      <Directory> or other section containing an Options that affects
9785      a request).  Options +foo or -foo in the main_server wouldn't
9786      affect the main_server's lookup defaults.  [Dean Gaudet]
9787
9788   *) Variable 'cwd' was being used pointlessly before being set.
9789      [Ken Coar] PR#1738
9790
9791   *) r->allowed handling cleaned up in the standard modules.
9792      [Dean Gaudet]
9793
9794   *) Some case-sensitivity issues cleaned up to be consistent with
9795      RFC2068.  [Dean Gaudet]
9796
9797   *) SIGURG doesn't exist everywhere.
9798      [Mark Andrew Heinrich <heinrich tinderbox.Stanford.EDU>]
9799
9800   *) mod_unique_id was erroneously generating a second unique id when
9801      an internal redirect occured.  Such redirects occur, for example,
9802      when processing a DirectoryIndex match.  [Dean Gaudet]
9803
9804   *) API: table_add, table_merge, and table_set include implicit pstrdup()
9805      of the key and value.  But in many cases this is not required
9806      because the key/value is a constant, or the value has been built
9807      by pstrcat() or other similar means.  New routines table_addn,
9808      table_mergen, and table_setn have been added to the API, these
9809      routines do not pstrdup() their arguments.  The core code and
9810      standard modules were changed to take advantage of these routines.
9811      The resulting server is up to 20% faster in some situations.
9812
9813      Note that it is easy to get code subtly wrong if you pass a key/value
9814      which is in a pool other than the pool of the table.  The only
9815      safe thing to do is to pass key/values which are in the pool of
9816      the table, or in one of the ancestors of the pool of the table.
9817      i.e. if the table is part of a subrequest, a value from the main
9818      request's pool is OK since the subrequest pool is a sub_pool of the
9819      main request's pool (and therefore has a lifespan at most as long as
9820      the main pool).  There is debugging code which can detect improper
9821      usage, enabled by defining POOL_DEBUG.  See alloc.c for more details.
9822      [Dmitry Khrustalev <dima bog.msu.su>, Dean Gaudet]
9823
9824   *) More mod_mime_magic cleanup:  fewer syscalls; should handle "files"
9825      which don't exist on disk more gracefully; handles vhosts properly.
9826      Update documentation to reflect the code -- if there's no
9827      MimeMagicFile directive then the module is not enabled.
9828      [Dean Gaudet]
9829
9830   *) PORT: Some older *nix dialects cannot automatically start scripts
9831      which begin with a #! interpreter line (the shell starts the scripts
9832      appropriately on these platforms). Apache now supports starting of
9833      "hashbang-scripts" when the NEED_HASHBANG_EMUL define is set.
9834      [Martin Kraemer, with code from Peter Wemm <peter zeus.dialix.oz.au>
9835      taken from tcsh]
9836
9837   *) API: "typedef array_header table" removed from alloc.h, folks should
9838      have been writing to use table as if it were an opaque type, but even
9839      some standard modules got this wrong.  By changing the definition
9840      to "typedef struct table table" module authors will receive compile
9841      time warnings that they're doing the wrong thing.  This change
9842      facilitates future changes with more sophisticated table
9843      structures.  Specifically, module authors should be using table_elts()
9844      to get access to an array_header * for the table. [Dean Gaudet]
9845
9846   *) API: Renamed new_connection() to avoid namespace collision with LDAP
9847      library routines.  [Ken Coar, Rasmus Lerdorf]
9848
9849   *) WIN32: mod_speling is now available on the Win32 platform.
9850      [Marc Slemko]
9851
9852   *) For clarity the following compile time definition was changed:
9853
9854         SAFE_UNSERIALIZED_ACCEPT  ->   SINGLE_LISTEN_UNSERIALIZED_ACCEPT
9855
9856      Also, for example, HAVE_MMAP would mean to use mmap() scoreboards
9857      and not be a general notice that the OS has mmap(). Now the
9858      HAVE_MMAP/SHMGET #defines strictly are informational that the
9859      OS has that method of shared memory; the type to use for
9860      the scoreboard is a seperate #define (USE_MMAP_SCOREBOARD
9861      and USE_SHMGET_SCOREBOARD). This allows outside modules to
9862      determine if shared memory is available and allows Apache
9863      to determine the best method to use for the scoreboard.
9864      [Jim Jagielski]
9865
9866   *) PORT: UnixWare 2.1.2 SMP appears to require USE_FCNTL_SERIALIZED_ACCEPT,
9867      as do various earlier versions.  It should be safe on all versions.
9868      Unixware 1.x appears to have the same SIGHUP bug as solaris does with
9869      the slack code.  A few other cleanups for Unixware.
9870      [Tom Hughes <thh cyberscience.com>] PR#1082, PR#1282, PR#1499, PR#1553
9871
9872   *) PORT: A/UX can handle single-listen accepts without mutex
9873      locking, so we add SINGLE_LISTEN_UNSERIALIZED_ACCEPT. [Jim Jagielski]
9874
9875   *) When die() happens we need to eat any request body if one exists.
9876      Otherwise we can't continue with a keepalive session.  This shows up
9877      as a POST problem with MSIE 4.0, typically against pages which are
9878      authenticated.  [Roy Fielding] PR#1399
9879
9880   *) If you define SECURITY_HOLE_PASS_AUTHORIZATION then the Authorization
9881      header will be passed to CGIs.  This is generally a security hole, so
9882      it's not a default.  [Marc Slemko] PR#549
9883
9884   *) Fix Y2K problem with date printing in suexec log.
9885      [Paul Eggert <eggert twinsun.com>] PR#1343
9886
9887   *) WIN32 deserves a pid file.  [Ben Hyde]
9888
9889   *) suexec errors now include the errno/description.  [Marc Slemko] PR#1543
9890
9891   *) PORT: OSF/1 now uses USE_FLOCK_SERIALIZED_ACCEPT to solve PR#467.
9892      The choice of flock vs. fcntl was made based on timings which showed that
9893      even on non-NFS, non-exported filesystems fcntl() was an order of
9894      magnitude slower.  It also uses SINGLE_LISTEN_UNSERIALIZED_ACCEPT so
9895      that single socket users will see no difference. [Dean Gaudet] PR#467
9896
9897   *) "File does not exist" error message was erroneously including the
9898      errno.  [Marc Slemko]
9899
9900   *) Improve the warning message generated when a client drops the
9901      connection (hits stop button, etc.) during a send.  [Roy Fielding]
9902
9903   *) Defining GPROF will disable profiling in the parent and enable it
9904      in the children.  If you're profiling under Linux this is pretty much
9905      necessary because SIGPROF is lost across a fork(). [Dean Gaudet]
9906
9907   *) htdigest and htpasswd needed slight tweaks to work on OS/2 and WIN32.
9908      [Brian Havard]
9909
9910   *) The NeXT cc (which is gcc hacked up) doesn't appear to support some
9911      gcc functionality.  Work around it.
9912      [Keith Severson <keith sssd.navy.mil>] PR#1613
9913
9914   *) Some linkers complain when .o files contain no functions.
9915      [Keith Severson <keith sssd.navy.mil>] PR#1614
9916
9917   *) Some const declarations in mod_imap.c that were added for debugging
9918      purposes caused some compilers heartburn without adding any
9919      significant value, so they've been removed.  [Ken Coar]
9920
9921   *) The src/main/*.h header files have had #ifndef wrappers added to
9922      insulate them against duplicate calls if they get included through
9923      multiple paths (e.g., in .c files as well as other .h files).
9924      [Ken Coar]
9925
9926   *) The libap routines now have a header file for their prototypes,
9927      src/ap/ap.h, to ease their use in non-httpd applications.  [Ken Coar]
9928
9929   *) mod_autoindex with a plaintext header file would emit the <PRE>
9930      start-tag before the HTML preamble, rather than after the preamble
9931      but before the header file contents.  [John Van Essen <jve gamers.org>]
9932      PR#1667
9933
9934   *) SECURITY: Fix a possible buffer overflow in logresolve.  This is
9935      only an issue on systems without a MAXDNAME define or where
9936      the resolver returns domain names longer than MAXDNAME.  [Marc Slemko]
9937
9938   *) SECURITY: Eliminate possible buffer overflow in cfg_getline, which
9939      is used to read various types of files such as htaccess and
9940      htpasswd files.  [Marc Slemko]
9941
9942   *) SECURITY: Ensure that the buffer returned by ht_time is always
9943      properly null terminated.  [Marc Slemko]
9944
9945   *) The "Connection" header could be sent back with multiple "close"
9946      tokens.  Not an error, but a waste.
9947      [<Ronald.Tschalaer psi.ch>] PR#1683
9948
9949   *) mod_rewrite's RewriteLog should behave like mod_log_config, it
9950      shouldn't force hostname lookups.  [Dean Gaudet] PR#1684
9951
9952   *) "basic" auth needs a case-insensitive comparison.
9953      [<Ronald.Tschalaer psi.ch>] PR#1666
9954
9955   *) For maximum portability, the environment passed to CGIs should
9956      only contain variables whose names match the regex
9957      /[a-zA-Z][a-zA-Z0-9_]*/.  This is now enforced by stamping
9958      underscores over any character outside the regex.  This
9959      affects HTTP_* variables, in a way that should be backward
9960      compatible for all the standard headers; and affects variables
9961      set with SetEnv/BrowserMatch and similar directives.
9962      [Dean Gaudet]
9963
9964   *) mod_speling returned incorrect HREF's when an ambigous match
9965      was found. Noticed by <robinton amtrash.comlink.de> (Soeren Ziehe)
9966      [Soeren Ziehe <robinton amtrash.comlink.de>, Martin Kraemer]
9967
9968   *) PORT: Apache now compiles & runs on an EBCDIC mainframe
9969      (the Siemens BS2000/OSD family) in the POSIX subsystem
9970      [Martin Kraemer]
9971
9972   *) PORT: Fix problem killing children when terminating.  Allow ^C
9973      to shut down the server.  [Brian Havard]
9974
9975   *) pstrdup() is implicit in calls to table_* functions, so there's
9976      no need to do it before calling.  Clean up a few cases.
9977      [Marc Slemko, Dean Gaudet]
9978
9979   *) new -C and -c command line arguments
9980      usage:
9981      -C "directive" : process directive before reading config files
9982      -c "directive" : process directive after reading config files
9983      example:
9984      httpd -C "PerlModule Apache::httpd_conf"
9985      [Doug MacEachern, Martin Kraemer]
9986
9987   *) WIN32: Fix the execution of CGIs that are scripts and called 
9988      with path info that does not have an '=' in.
9989      (eg. http://server/cgi-bin/printenv?foobar)  
9990      [Marc Slemko] PR#1591
9991
9992   *) WIN32: Fix a call to os_canonical_filename so it doesn't try to 
9993      mess with fake filenames.  This fixes proxy caching on 
9994      win32. PR#1265
9995
9996   *) SECURITY: General mod_include cleanup, including fixing several
9997      possible buffer overflows and a possible infinite loop.
9998      [Dean Gaudet, Marc Slemko]
9999
10000   *) SECURITY: Numerous changes to mod_imap in a general cleanup
10001      including fixing a possible buffer overflow.  [Dean Gaudet]
10002
10003   *) WIN32: overhaul of multithreading code. Shutdowns are now graceful
10004      (connections are not dropped). Code can handle graceful restarts
10005      (but there is as yet no way to signal this to Apache). Various
10006      other cleanups. [Paul Sutton]
10007
10008   *) The aplog_error changes specific to 1.3 introduced a buffer
10009      overrun in the (now legacy) log_printf function.  Fixed.
10010      [Dean Gaudet]
10011
10012   *) mod_digest didn't properly deal with proxy authentication.  It
10013      also lacked a case-insensitive comparision of the "Digest"
10014      token.  [Ronald Tschalaer <Ronald.Tschalaer psi.ch>] PR#1599
10015
10016   *) A few cleanups in mod_status for efficiency.  [Dean Gaudet]
10017
10018   *) A few cleanups in mod_info to make it thread-safe, and remove an
10019      off-by-5 bug that could hammer \0 on the stack. [Dean Gaudet]
10020
10021   *) no2slash() was O(n^2) in the length of the input.  Make it O(n).
10022      [Dean Gaudet]
10023
10024   *) API: migration from strncpy() to our "enhanced" version called
10025      ap_cpystrn() for performance and functionality reasons.
10026      Located in libap.a.  [Jim Jagielski]
10027
10028   *) table_set() and table_unset() did not deal correctly with
10029      multiple occurrences of the same key.
10030      [Stephen Scheck <sscheck infonex.net>, Ben Laurie] PR#1604
10031
10032   *) The AuthName must now be enclosed in quotes if it is to contain
10033      spaces.  [Ken Coar] PR#1195
10034
10035   *) API: new function: ap_escape_quotes(). [Ken Coar] PR#1195
10036
10037   *) WIN32: Work around optimiser bug that killed ISAPI in release
10038      versions. [Ben Laurie] PR#1533
10039
10040   *) PORT: Update the MPE port [Mark Bixby, Jim Jagielski]
10041
10042   *) Interim (slow) fix for p->sub_pool critical sections in
10043      alloc.c (affects win32 only).  [Ben Hyde]
10044
10045   *) non-WIN32 was missing destroy_mutex definition.  [Ben Hyde]
10046
10047   *) send_fd_length() did not calculate total_bytes_sent properly.
10048      [Ben Reser <breser regnow.com>] PR#1366
10049
10050   *) The bputc() macro was not properly integrated with the chunking
10051      code; in many cases modules using bputc() could cause completely
10052      bogus chunked output.  (Typically this will show up as problems
10053      with Internet Explorer 4.0 reading a page, but other browsers
10054      having no problem.) [Dean Gaudet]
10055
10056   *) Create LARGE_WRITE_THRESHOLD define which determines how many
10057      bytes have to be supplied to bwrite() before it will consider
10058      doing a writev() to assemble multiple buffers in one system
10059      call.  This is critical for modules such as mod_include,
10060      mod_autoindex, mod_php3 which all use bputc()/bputs() of smaller
10061      strings in some cases.  The result would be extra effort
10062      setting up writev(), and in many cases extra effort building
10063      chunks.  The default is 31, it can be overriden at compile
10064      time. [Dean Gaudet]
10065
10066   *) Move the gid switching code into the child so that log files
10067      and pid files are opened with the root gid.
10068      [Gregory A Lundberg <lundberg vr.net>]
10069
10070   *) WIN32: Check for binaries by looking for the executable header
10071      instead of counting control characters.
10072      [Jim Patterson <Jim.Patterson Cognos.COM>] PR#1340
10073
10074   *) ap_snprintf() moved from main/util_snprintf.c to ap/ap_snprintf.c
10075      so the functionality is available to applications other than the
10076      server itself (like the src/support tools).  [Ken Coar]
10077
10078   *) ap_slack() moved out of main/util.c into ap/ap_slack.c as part of
10079      the libap consolidation work.  [Ken Coar]
10080
10081   *) ap_snprintf() with a len of 0 behaved like sprintf().  This is not
10082      useful, and isn't what the standards require.  Now it returns 0
10083      and writes nothing.  [Dean Gaudet]
10084
10085   *) When an error occurs in fcntl() locking suggest the user look up
10086      the docs for LockFile.  [Dean Gaudet]
10087
10088   *) Eliminate some dead code from writev_it_all().
10089      [Igor Tatarinov <tatarino prairie.NoDak.edu>]
10090
10091   *) mod_autoindex had an fread() without checking the result code.
10092      It also wouldn't handle "AddIconByType (TXT,/icons/text.gif text/*"
10093      (note the missing closing paren) properly.  [Dean Gaudet]
10094
10095   *) It appears the "257th byte" bug (see
10096      htdocs/manual/misc/known_client_problems.html#257th-byte) can happen
10097      at the 256th byte as well.  Fixed.  [Dean Gaudet]
10098
10099   *) PORT: Fix mod_mime_magic under OS/2, no support for block devices.
10100      [Brian Havard]
10101
10102   *) Fix memory corruption caused by allocating auth usernames in the
10103      wrong pool.  [Dean Gaudet] PR#1500
10104
10105   *) Fix an off-by-1, and an unterminated string error in
10106      mod_mime_magic.  [Dean Gaudet]
10107
10108   *) Fix a potential SEGV problem in mod_negotiation when dealing
10109      with type-maps.  [Dean Gaudet]
10110
10111   *) Better glibc support under Linux.  [Dean Gaudet] PR#1542
10112
10113   *) "RedirectMatch gone /" would cause a SIGSEGV. [Dean Gaudet] PR#1319
10114
10115   *) WIN32: avoid overflows during file canonicalisations.
10116      [<malcolm mgdev.demon.co.uk>] PR#1378
10117
10118   *) WIN32: set_file_slot() didn't detect absolute paths. [Ben Laurie]
10119      PR#1511, 1508
10120
10121   *) WIN32: mod_status display header didn't match fields. [Ben Laurie]
10122
10123   *) The pthread_mutex_* functions return an error code, and don't
10124      set errno.  [Igor Tatarinov <tatarino prairie.NoDak.edu>]
10125
10126   *) WIN32: Allow spaces to prefix the interpreter in #! lines.
10127      [Ben Laurie] PR#1101
10128
10129   *) WIN32: Cure file leak in CGIs. [Peter Tillemans <pti net4all.be>] PR#1523
10130
10131   *) proxy_ftp: the directory listings generated by the proxy ftp module
10132      now have a title in which the path components are clickable and allow
10133      quick navigation to the clicked-on directory on the currently listed
10134      ftp server. This also fixes a bug where the ".." directory links would
10135      sometimes refer to the wrong directory.  [Martin Kraemer]
10136
10137   *) WIN32: Allocate the correct amount of memory for the scoreboard.
10138      [Ben Hyde] PR#1387
10139
10140   *) WIN32: Only lowercase the part of the path that is real. [Ben Laurie]
10141      PR#1505
10142
10143   *) Fix problems with timeouts in inetd mode and -X mode.  [Dean Gaudet]
10144
10145   *) Fix the spurious "(0)unknown error: mmap_handler: mmap failed"
10146      error messages. [Ben Hyde]
10147
10148 Changes with Apache 1.3b3
10149
10150   *) WIN32: Work around brain-damaged spawn calls that can't deal
10151      with spaces and slashes.  [Ben Laurie]
10152
10153   *) WIN32: Fix the code so CGIs can use socket calls on Windows.  
10154      The problem was that certain undocumented environment variables
10155      needed for sockets to work under Win32 were not being passed.
10156      [Frank Faubert <frank sane.com>]
10157
10158   *) Add a "-V" command line flag to the httpd binary.  This 
10159      flag shows some of the defines that Apache was compiled with.
10160      It is useful for debugging purposes.  [Martin Kraemer]
10161
10162   *) Start separating the ap_*() routines into their own library, so they
10163      can be used by items in src/support among other things.  
10164      [Ken Coar] PR#512, 905, 1252, 1308 
10165
10166   *) Give a more informative error when no AuthType is set.
10167      [Lars Eilebrecht]
10168
10169   *) Remove strtoul() use from mod_proxy because it isn't available
10170      on all platforms.   [Marc Slemko] PR#1214
10171
10172   *) WIN32: Some Win32 systems terminated all responses after 16 kB. 
10173      This turns out to be a bug in Winsock - select() doesn't always 
10174      return the correct status.  [Ben Laurie]
10175
10176   *) Directives owned by http_core can now use the new check_cmd_context()
10177      routine to ensure that they're not being used within a container
10178      (e.g., <Directory>) where they're invalid.  [Martin Kraemer]
10179
10180   *) PORT: Recent changes made it necessary to add explicit prototype
10181      for fgetc() and fgets() on SunOS 4.x.  [Martin Kraemer, Ben Hyde]
10182
10183   *) It was necessary to distinguish between resources which are
10184      allocated in the parent, for cleanup in the parent, and resources
10185      which are allocated in each child, for cleanup in each child.
10186      A new pool was created which is passed to the module child_init
10187      and child_exit functions; modules are free to register per-child
10188      cleanups there.  This fixes a bug with reliable piped logs.
10189      [Dean Gaudet]
10190
10191   *) mod_autoindex wasn't displaying the ReadmeName file at the bottom
10192      unless it was also doing FancyIndexes, but it displayed the
10193      HeaderName file at the top under all circumstances.  It now shows
10194      the ReadmeName file for simple indices, too, as it should.  
10195      [Ken Coar] PR#1373
10196
10197   *) http_core was mmap()ing even in cases where it wasn't going to
10198      read the file.  [Ben Hyde <bhyde gensym.com>]
10199
10200   *) Complete rewrite ;-) of mod_rewrite's URL rewriting engine:
10201      Now the rewriting engine (the heart of mod_rewrite) is organized more
10202      straight-forward, first time well documented and reduced to the really
10203      essential parts. All redundant cases were stripped off and processing now
10204      is the same for both per-server and per-directory context with only a
10205      minimum difference (the prefix stripping in per-dir context). As a
10206      side-effect some subtle restrictions and two recently discovered problems
10207      are gone: Wrong escaping of QUERY_STRING on redirects in per-directory
10208      context and restrictions on the substitution URL on redirects.
10209      Additionally some minor source cleanups were done. 
10210      [Ralf S. Engelschall] 
10211
10212   *) Lars Eilebrecht wrote a whole new set of Apache Vhost Internals
10213      documentation, examples, explanations and caveats. They live in a new
10214      subdirectory htdocs/manual/vhost/. [Lars Eilebrecht <sfx unix-ag.org>]
10215
10216   *) If ap_slack fails to allocate above the low slack line it's a good
10217      indication that further problems will occur; it's a better indication
10218      than many external libraries give us when we actually run out of
10219      descriptors.  So report it to the user once per restart.
10220      [Dean Gaudet] PR#1181
10221
10222   *) Change mod_include and mod_autoindex to use Y2K-safe date formats
10223      by default.  [Ken Coar]
10224
10225   *) Add a "SuppressColumnSorting" option to the IndexOptions list,
10226      which will keep the column heading from being links for sorting
10227      the display.  [Ken Coar, suggested by Brian Tiemann <btman pacific.net>]
10228      PR #1261
10229
10230   *) PORT: Update the LynxOS port.  [Marius Groeger <mag sysgo.de>]
10231
10232   *) Fix logic error when issuing a mmap() failed message
10233      with a non-zero MMAP_THRESHOLD.
10234      [David Chambers <davidc flosun.salk.edu>] PR#1294
10235
10236   *) Preserve handler value on ProxyPass'ed requests by not
10237      calling find_types on a proxy'd request; fixes problems
10238      where some ProxyPass'ed URLs weren't actually passed
10239      to the proxy.
10240      [Lars Eilebrecht] PR#870
10241
10242   *) Fix a byte ordering problem in mod_access which prevented
10243      the old-style syntax (i.e. "a.b.c." to match a class C)
10244      from working properly. [Dean Gaudet] PR#1248, 1328, 1384
10245
10246   *) Fix problem with USE_FLOCK_SERIALIZED_ACCEPT not working
10247      properly. Each child needs to open the lockfile instead
10248      of using the passed file-descriptor from the parent. 
10249      [Jim Jagielski] PR#1056
10250
10251   *) Fix the error logging in mod_cgi; the recent error log changes
10252      introduced a bug that prevented it from working correctly.
10253      [M.D.Parker] PR#1352
10254
10255   *) Default to USE_FCNTL_SERIALIZED_ACCEPT on HPUX to properly 
10256      handle multiple Listen directives.  [Marc Slemko] PR#872
10257
10258   *) Inherit a bugfix to fnmatch.c from FreeBSD sources.
10259      ["[KOI8-R] áÎÄÒÅÊ þÅÒÎÏ×" <ache nagual.pp.ru>] PR#1311
10260
10261   *) When a configuration parse complained about a bad directive,
10262      the logger would use whatever (unrelated) value was in errno.
10263      errno is now forced to EINVAL first in this case.  [Ken Coar]
10264
10265   *) A sed command in the Configure script pushed the edge of POSIXness,
10266      breaking on some systems.  [Bhaba R.Misra <system vt.edu>] PR#1368
10267
10268   *) Solaris >= 2.5 was totally broken due to a mess up using pthread
10269      mutexes.  [Roy Fielding, Dean Gaudet]
10270
10271   *) OS/2 Port updated; it should be possible to build OS/2 from the same
10272      sources as Unix now.  [Brian Havard <brianh kheldar.apana.org.au>]
10273
10274   *) Fix a year formatting bug in mod_usertrack.
10275      [Paul Eggert <eggert twinsun.com>] PR#1342
10276
10277   *) A mild SIGTERM/SIGALRM race condition was eliminated.
10278      [Dean Gaudet] PR#1211
10279
10280   *) Warn user that default path has changed if /usr/local/etc/httpd
10281      is found on the system.  [Lars Eilebrecht]
10282
10283   *) Various mod_mime_magic bug fixes and cleanups: Uncompression
10284      should work, it should work on WIN32, and a few resource
10285      leaks and abort conditions are fixed.
10286      [Dean Gaudet] PR#1205
10287
10288   *) PORT: On AIX 1.x files can't be named '@', fix the proxy cache
10289      to use '%' instead of '@' in its encodings.
10290      [David Schuler <schuld btv.ibm.com>] PR#1317
10291
10292   *) Improve the warning message generated when the "server is busy".
10293      [Dean Gaudet] PR#1293
10294
10295   *) PORT: All ports which don't otherwise define DEF_WANTHSREGEX will
10296      get Spencer regex by default.  This is to avoid having to
10297      discover bugs in operating system libraries.  [Dean Gaudet]
10298
10299   *) PORT: "Fix" PR#467 by generating warnings on systems which we have
10300      not been able to get working USE_*_SERIALIZED_ACCEPT settings for.
10301      Document this a bit more in src/PORTING.  [Dean Gaudet] PR#467
10302
10303   *) Ensure that one copy of config warnings makes it to the
10304      error_log.  [Dean Gaudet]
10305
10306   *) Invent new structure and associated methods to handle config file
10307      reading. Add "custom" hook to use config file cfg_getline() on
10308      something which is not a FILE*  [Martin Kraemer]
10309
10310   *) Make single-exe Windows install. [Ben Laurie and Eric Esselink]
10311
10312   *) WIN32: Make CGI work under Win95. [Ben Laurie and Paul Sutton]
10313
10314   *) WIN32: Make index.html and friends work under Win95. [Ben Laurie]
10315
10316   *) PORT: Solaris 2.4 needs Spencer regex, the system regex is broken.
10317      [John Line <jml4 cam.ac.uk>] PR#1321
10318
10319   *) Default pathname has been changed everywhere to /usr/local/apache
10320      [Sameer <sameer c2.net>]
10321
10322   *) PORT: AIX now uses USE_FCNTL_SERIALIZED_ACCEPT.
10323      [David Bronder <David-Bronder uiowa.edu>] PR#849
10324
10325   *) PORT: i386 AIX does not have memmove.
10326      [David Schuler <schuld btv.ibm.com>] PR#1267
10327
10328   *) PORT: HPUX now defaults to using Spencer regex.
10329      [Philippe Vanhaesendonck <pvanhaes be.oracle.com>,
10330      Omar Del Rio <al112263 academ01.lag.itesm.mx>] PR#482, 1246
10331
10332   *) PORT: Some versions of NetBSD don't automatically define
10333      __NetBSD__.  Workaround by defining NETBSD.
10334      [Chris Craft <ccraft cncc.cc.co.us>] PR#977
10335
10336   *) PORT: UnixWare 2.x requires -lgen for syslog.
10337      [Hans Snijder <hs meganet.nl>] PR#1249
10338
10339   *) PORT: ULTRIX appears to not have syslog.
10340      [Lars Eilebrecht <Lars.Eilebrecht unix-ag.org>]
10341
10342   *) PORT: Basic Gemini port (treat it like unixware212).
10343      ["Pavel Yakovlev (Paul McHacker)" <hac tomcat.olly.ru>]
10344
10345   *) PORT: All SVR4 systems now use NET_SIZE_T = size_t, and
10346      use USE_SHMGET_SCOREBOARD.
10347      [Martin Kraemer]
10348
10349   *) Various improvements in detecting config file errors (missing closing
10350      directives for <Directory>, <Files> etc. blocks, prohibiting global
10351      server settings in <VirtualHost> blocks, flagging unhandled multiple
10352      arguments to <Directory>, <Files> etc.)
10353      [Martin Kraemer]
10354
10355   *) Add support to suexec wrapper program for mod_unique_id's UNIQUE_ID
10356      variable to provide this one to suexec'd CGIs, too.
10357      [M.D.Parker <mdpc netcom.com>] PR#1284
10358
10359   *) New support tool: src/support/split-logfile, a sample Perl script which
10360      splits up a combined access log into separate files based on the
10361      name of the virtual host (listed first in the log records by "%v").
10362      [Ken Coar]
10363
10364 Changes with Apache 1.3b2 (there is no 1.3b1)
10365
10366   *) TestCompile was not passing $LIBS [Dean Gaudet]
10367
10368   *) Makefile.tmpl was not using $CFLAGS in the link phase. 
10369      [Martin Kraemer]
10370
10371   *) Add debugging code to alloc.c.  Defining ALLOC_DEBUG provides a
10372      rudimentary memory debugger which can be used on live servers with
10373      low impact -- it sets all allocated and freed memory bytes to 0xa5.
10374      Defining ALLOC_USE_MALLOC will cause the alloc code to use malloc()
10375      and free() for each object.  This is far more expensive and should
10376      only be used for testing with tools such as Electric Fence and
10377      Purify.  See main/alloc.c for more details.  [Dean Gaudet]
10378
10379   *) Configure uses a sh trap and didn't set its exitcode properly.
10380      [Dean Gaudet] PR#1159
10381
10382   *) Yet another vhost revamp.  Add the NameVirtualHost directive which
10383      explicitly lists the ip:port pairs that are to be used for name-vhosts.
10384      From a given ip:port, regardless what the Host: header is, you can
10385      only reach the vhosts defined on that ip:port.  The precedence of
10386      vhosts was reversed to match other precedences in the config --
10387      the earlier vhosts override the later vhosts.  All vhost matching was
10388      moved into http_vhost.[ch].  [Dean Gaudet]
10389
10390   *) ap_inline can be used to force inlining.  GNUC __attribute__() can
10391      be used for whatever reason is appropriate (i.e. format() warnings
10392      for printf style functions).  Both are enabled only with
10393      gcc >= 2.7.x (so that we have fewer support issues with older
10394      versions).  [Dean Gaudet]
10395
10396   *) Fix support for Proxy Authentication (we were testing the response
10397      status too early). [Marc Slemko]
10398
10399   *) CoreDumpDirectory directive directs where the core file is
10400      written when a SIGSEGV, SIGBUS, SIGABORT or SIGABRT are
10401      received.  [Marc Slemko, Dean Gaudet]
10402
10403   *) PORT: Support for Atari MINT.
10404      [Jan Paul Schmidt <Jan.P.Schmidt mni.fh-giessen.de>]
10405
10406   *) When booting, apache will now detach itself from stdin, stdout,
10407      and stderr.  stderr will not be detached until after the config
10408      files have been read so you will be able to see initial error
10409      messages.  After that all errors are logged in the error_log.
10410      This makes it more convenient to start apache via rsh, ssh,
10411      or crontabs.  [Dean Gaudet] PR#523
10412
10413   *) mod_proxy was sending HTTP/1.1 responses to ftp requests by mistake.
10414      Also removed the auto-generated link to www.apache.org that was the
10415      source of so many misdirected bug reports.  [Roy Fielding, Marc Slemko]
10416
10417   *) send_fb would not detect aborted connections in some situations.
10418      [Dean Gaudet]
10419
10420   *) mod_include would use uninitialized data when parsing certain
10421      expressions involving && and ||. [Brian Slesinsky] PR#1139
10422
10423   *) mod_imap should only handle GET methods.  [Jay Bloodworth]
10424
10425   *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
10426
10427   *) mod_autoindex improperly counted &escapes; as more than one
10428      character in the description.  It also improperly truncated
10429      descriptions that were exactly the maximum length.
10430      [Martin Kraemer]
10431
10432   *) RedirectMatch was not properly escaping the result (PR#1155).  Also
10433      "RedirectMatch /advertiser/(.*) $1" is now permitted.
10434      [Dean Gaudet]
10435
10436   *) mod_include now uses symbolic names to check for request success
10437      and return HTTP errors, and correctly handles all types of
10438      redirections (previously it only did temporary redirect correctly).
10439      [Ken Coar, Roy Fielding]
10440
10441   *) mod_userdir was modifying r->finfo in cases where it wasn't setting
10442      r->filename.  Since those two are meant to be in sync with each other
10443      this is a bug.  ["Paul B. Henson" <henson intranet.csupomona.edu>]
10444
10445   *) PORT: Support Unisys SVR4, whose uname returns mostly useless data.
10446      ["Kaufman, Steven E" <Steven.Kaufman unisys.com>]
10447
10448   *) Inetd mode (which is buggy) uses timeouts without having setup the
10449      jmpbuffer. [Dean Gaudet] PR#1064
10450
10451   *) Work around problem under Linux where a child will start looping
10452      reporting a select error over and over.
10453      [Rick Franchuk <rickf transpect.net>] PR#1107, 987, 588
10454
10455   *) Fixed error in proxy_util.c when looping through multiple host IP
10456      addresses. [Lars Eilebrecht] PR#974
10457
10458   *) If BUFFERED_LOGS is defined then mod_log_config will do atomic
10459      buffered writes -- that is, it will buffer up to PIPE_BUF (i.e. 4k)
10460      bytes before writing, but it will never split a log entry across a
10461      buffer boundary.  [Dean Gaudet]
10462
10463   *) API: the short_score record has been split into two pieces, one which
10464      the parent writes on, and one which the child writes on.  As part of
10465      this change the get_scoreboard_info() function was removed, and
10466      scoreboard_image was exported.  This change fixes a race condition
10467      in file based scoreboard systems, and speeds up changes involving the
10468      scoreboard in earlier 1.3 development.  [Dean Gaudet]
10469
10470   *) API: New register_other_child() API (see http_main.h) which allows
10471      modules to register children with the parent for maintenance.  It
10472      is disabled by defining NO_OTHER_CHILD.  [Dean Gaudet]
10473
10474   *) API: New piped_log API (see http_log.h) which implements piped logs,
10475      and will use register_other_child to implement reliable piped logs
10476      when it is available.  The reliable piped logs part can be disabled
10477      by defining NO_RELIABLE_PIPED_LOGS.  At the moment reliable piped
10478      logs is only available on Unix. [Dean Gaudet]
10479
10480   *) API: set_last_modified() broken into set_last_modified(), set_etag(), and
10481      meets_conditions().  This allows conditional HTTP selection to be
10482      handled separately from the storing of the header fields, and provides
10483      the ability for CGIs to set their own ETags for conditional checking.
10484      [Ken Coar, Roy Fielding]  PR#895
10485
10486   *) Changes to mod_log_config to allow naming of format strings.
10487      Format nicknames are defined with "LogFormat fmt nickname", and can
10488      be used with "LogFormat nickname" and "CustomLog logtarget nickname".
10489      [Ken Coar]
10490
10491   *) New module, "mod_speling", which can help find files even when 
10492      the URL is slightly misspelled. [Martin Kraemer, Alexei Kosut]
10493
10494   *) API: New function child_terminate() triggers the child process to
10495      exit, while allowing the child finish what it needs to for the
10496      current request first.  
10497      [Doug MacEachern, Alexei Kosut]
10498
10499   *) Windows now defaults to using full status reports with mod_status.
10500      [Alexei Kosut] PR #1094
10501
10502   *) *Really* disable all mod_rewrite operations if the engine is off.
10503      Some things (like RewriteMaps) were checked/performed even if they
10504      weren't supposed to be.  [Ken Coar] PR #991
10505
10506   *) Implement a new timer scheme which eliminates the need to call alarm() all
10507      the time.  Instead a counter in the scoreboard for each child is used to
10508      show when the child has made forward progress.  The parent samples this
10509      counter every scoreboard maintenance cycle, and issues SIGALRM if no
10510      progress has been made in the timeout period.  This reduces the static
10511      request best-case syscall count to 22 from 29.  This scheme is only
10512      used by systems with memory-based scoreboards.  [Dean Gaudet]
10513
10514   *) The proxy now properly handles CONNECT requests which are sent
10515      to proxy servers when using ProxyRemote.  [Marc Slemko] PR#1024
10516
10517   *) A script called apachectl has been added to the support 
10518      directory.  This script allows you to do things such as 
10519      "apachectl start" and "apachectl restart" from the command
10520      line.  [Marc Slemko]
10521
10522   *) Modules and core routines are now put into libraries, which
10523      simplifies the link line tremendously (among other advantages).
10524      [Paul Sutton]
10525
10526   *) Some of the MD5 names defined in Apache have been renamed to have
10527      an `ap_' prefix to avoid conflicts with routines supplied by
10528      external libraries.  [Ken Coar]
10529
10530   *) Removal of mod_auth_msql.c from the distribution. There are many
10531      other options for databases today. Rather than offer one option,
10532      offer none at this time. mod_auth_msql and other SQL database
10533      authentication modules can be found at the Apache Module Registry.
10534      http://modules.apache.org/ It would be nice to offer a generic
10535      mod_auth_sql option in the near future.
10536
10537   *) PORT: BeOS support added [Alexei Kosut]
10538
10539   *) Configure no longer accepts the -make option, since it creates
10540      Makefile on the fly based on Makefile.tmpl and Configuration.
10541
10542   *) Apache now gracefully shuts down when it receives a SIGTERM, instead
10543      of forcibly killing off all its processes and exiting without
10544      cleaning up. [Alexei Kosut]
10545
10546   *) API: A new field in the request_rec, r->mtime, has been added to
10547      avoid gratuitous parsing of date strings.  It is intended to hold
10548      the last-modified date of the resource (if applicable).  An
10549      update_mtime() routine has also been added to advance it if
10550      appropriate.  [Roy Fielding, Ken Coar]
10551
10552   *) SECURITY: If a htaccess file can not be read due to bad permissions,
10553      deny access to the directory with a HTTP_FORBIDDEN.  The previous
10554      behavior was to ignore the htaccess file if it could not be read.
10555      This change may make some setups with unreadable htaccess files
10556      stop working.  [Marc Slemko] PR#817
10557
10558   *) Add aplog_error() providing a mechanism to define levels of
10559      verbosity to the server error logging. This addition also provides
10560      the ability to log errors using syslogd. Error logging is configurable
10561      on a per-server basis using the LogLevel directive. Conversion
10562      of log_*() in progress. [Randy Terbush]
10563
10564   *) Further enhance aplog_error() to not log filename, line number, and
10565      errno information when it isn't applicable. [Ken Coar, Dean Gaudet]
10566
10567   *) WIN32: Canonicalise filenames under Win32. Short filenames are
10568      converted to long ones. Backslashes are converted to forward
10569      slashes. Case is converted to lower. Parts of URLs that do not
10570      correspond to files are left completely alone. [Ben Laurie]
10571
10572   *) PORT: 2 new OSs added to the list of ports:
10573       Encore's UMAX V: Arieh Markel <amarkel encore.com>
10574       Acorn RISCiX: Stephen Borrill <sborrill xemplar.co.uk>
10575
10576   *) Add the server version (SERVER_VERSION macro) to the "server
10577      configured and running" entry in the error_log.  Also build an
10578      object file at link-time that contains the current time
10579      (SERVER_BUILT global const char[]), and include that in the
10580      message.  [Ken Coar]
10581
10582   *) Set r->headers_out when sending responses from the proxy.
10583      This fixes things such as the logging of headers sent from
10584      the proxy.  [Marc Slemko] PR#659
10585
10586   *) support/httpd_monitor is no longer distributed because the 
10587      scoreboard should not be file based if at all possible. Use
10588      mod_status to see current server snapshot.
10589
10590   *) (set_file_slot): New function, allowing auth directives to be
10591      independent of the server root, so the server documents can be
10592      moved to a different directory or machine more easily.
10593      [David J. MacKenzie]
10594
10595   *) If no TransferLog is given explicitly, decline
10596      to log.  This supports coexistence with other logging modules,
10597      such as the custom one that UUNET uses. [David J. MacKenzie]
10598
10599   *) Check for titles in server-parsed HTML files.
10600      Ignore leading newlines and returns in titles.  The old behavior
10601      of replacing a newline after <title> with a space causes the
10602      title to be misaligned in the listing. [David J. MacKenzie]
10603
10604   *) Change mod_cern_meta to be configurable on a per-directory basis.
10605      [David J. MacKenzie]
10606
10607   *) Add 'Include' directive to allow inclusion of configuration
10608      files within configuration files. [Randy Terbush]
10609
10610   *) Proxy errors on connect() are logged to the error_log (nothing
10611      new); now they include the IP address and port that failed
10612      (*that's* new).   [Ken Coar, Marc Slemko] PR#352
10613
10614   *) Various architectures now define USE_MMAP_FILES which causes
10615      the server to use mmap() for static files.  There are two
10616      compile-time tunables MMAP_THRESHOLD (minimum number of bytes
10617      required to use mmap(), default is 0), and MMAP_SEGMENT_SIZE (maximum
10618      number of bytes written in one cycle from a single mmap()d object,
10619      default 32768).  [Dean Gaudet]
10620
10621   *) API: Added post_read_request API phase which is run right after reading
10622      the request from a client, or right after an internal redirect.  It is
10623      useful for modules setting environment variables that depend only on
10624      the headers/contents of the request.  It does not run during subrequests
10625      because subrequests inherit pretty much everything from the main
10626      request. [Dean Gaudet]
10627
10628   *) Added mod_unique_id which is used to generate a unique identifier for
10629      each hit, available in the environment variable UNIQUE_ID.
10630      [Dean Gaudet]
10631
10632   *) init_modules is now called after the error logs have been opened.  This
10633      allows modules to emit information messages into the error logs.
10634      [Dean Gaudet]
10635
10636   *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
10637      information for case where proxy module is not available. [Marc Slemko]
10638
10639   *) PORT: Apache has need for mutexes to serialize its children around
10640      accept.  In prior versions either fcntl file locking or flock file
10641      locking were used.  The method is chosen by the definition of
10642      USE_xxx_SERIALIZED_ACCEPT in conf.h.  xxx is FCNTL for fcntl(),
10643      and FLOCK for flock().  New options have been added:
10644         - SYSVSEM to use System V style semaphores
10645         - PTHREAD to use POSIX threads (appears to work on Solaris only)
10646         - USLOCK to use IRIX uslock
10647      Based on timing various techniques, the following changes were made
10648      to the defaults:
10649         - Linux 2.x uses flock instead of fcntl
10650         - Solaris 2.x uses pthreads
10651         - IRIX uses SysV semaphores -- however multiprocessor IRIX boxes
10652           work far faster if you -DUSE_USLOCK_SERIALIZED_ACCEPT
10653      [Dean Gaudet, Pierre-Yves Kerembellec <Pierre-Yves.Kerembellec vtcom.fr>,
10654      Martijn Koster <m.koster pobox.com>]
10655
10656   *) PORT: The semantics of accept/select make it very desirable to use
10657      mutexes to serialize accept when multiple Listens are in use.  But
10658      in the case where only a single socket is open it is sometimes
10659      redundant to serialize accept().  Not all unixes do a good job with
10660      potentially dozens of children blocked on accept() on the same
10661      socket.  It's now possible to define SINGLE_LISTEN_UNSERIALIZED_ACCEPT and
10662      the server will avoid serialization when listening on only one socket,
10663      and use serialization when listening on multiple sockets.
10664      [Dean Gaudet] PR#467
10665
10666   *) Configure changes: TestLib replaced by TestCompile, which has
10667      some additional capability (such as doing a sanity check of
10668      the compiler and flags selected); the version of Solaris is now
10669      available via the #define value of SOLARIS2; IRIX n32bit libs
10670      now supported and selectable by new Configuration Rule: IRIXN32;
10671      We no longer default to -O2 optimization.  [Jim Jagielski]
10672
10673   *) Updated Configure: Configuration now uses AddModule to specify
10674      module source or binary file location, relative to src directory.
10675      Modules can be dropped into modules/extra, or in their own 
10676      directory, and modules can come with a Makefile or Configure can 
10677      create one.  Modules can add compiler or library information to 
10678      generated Makefiles. [Paul Sutton]
10679
10680   *) Source core re-organisation: distributed modules are now in 
10681      modules/standard. All other source code is in main. OS-specific
10682      code is in os/{unix,emx,win32} directories. [Paul Sutton]
10683
10684   *) mod_browser has been removed, since it's replaced by mod_setenvif.
10685      [Ken Coar]
10686
10687   *) Fix another long-standing bug in sub_req_lookup_file where it would
10688      happily skip past access checks on subdirectories looked up with
10689      relative paths.  (It's used by mod_dir, mod_negotiation,
10690      and mod_include.) [Dean Gaudet]
10691
10692   *) directory_walk optimization to reduce an O(N*M) loop to O(N+M) where
10693      N is the number of <Directory> sections, and M is the number of
10694      components in the filename of an object.
10695
10696      To achieve this optimization the following config changes were made:
10697         - Wildcards (* and ?, not the regex forms) in <Directory>s,
10698           <Files>s, and <Location>s now treat a slash as a special
10699           character.  For example "/home/*/public_html" previously would
10700           match "/home/a/andrew/public_html", now it only matches things
10701           like "/home/bob/public_html".  This mimics /bin/sh behaviour.
10702         - It's possible now to use [] wildcarding in <Directory>, <Files>
10703           or <Location>.
10704         - Regex <Directory>s are applied after all non-regex <Directory>s.
10705
10706     [Dean Gaudet]
10707
10708   *) Fix a bug introduced in 1.3a1 directory_walk regarding .htaccess files
10709      and corrupted paths.  [Dean Gaudet]
10710
10711   *) Enhanced and cleaned up the URL rewriting engine of mod_rewrite:
10712      First the grouped parts of RewriteRule pattern matches (parenthesis!) can
10713      be accessed now via backreferences $1..$9 in RewriteConds test-against
10714      strings in addition to RewriteRules subst string. Second the grouped
10715      parts of RewriteCond pattern matches (parenthesis!) can be accessed now
10716      via backreferences %1..%9 both in following RewriteCond test-against
10717      strings and RewriteRules subst string. This provides maximum flexibility
10718      through the use of backreferences.
10719      Additionally the rewriting engine was cleaned up by putting common
10720      code to the new expand_backrefs_inbuffer() function. 
10721      [Ralf S. Engelschall]
10722
10723   *) When merging the main server's <Directory> and <Location> sections into
10724      a vhost, put the main server's first and the vhost's second.  Otherwise
10725      the vhost can't override the main server.  [Dean Gaudet] PR#717
10726
10727   *) The <Directory> code would merge and re-merge the same section after
10728      a match was found, possibly causing problems with some modules.
10729      [Dean Gaudet]
10730
10731   *) ip-based vhosts are stored and queried using a hashing function, which
10732      has been shown to improve performance on servers with many ip-vhosts.
10733      Some other changes had to be made to accommodate this:
10734         - the * address for vhosts now behaves like _default_
10735         - the matching process now is:
10736             - match an ip-vhost directly via hash (possibly matches main
10737               server)
10738             - if that fails, just pretend it matched the main server
10739             - if so far only the main server has been matched, perform
10740               name-based lookups (ServerName, ServerAlias, ServerPath)
10741               *only on name-based vhosts*
10742             - if they fail, look for _default_ vhosts
10743      [Dean Gaudet, Dave Hankins <dhankins sugarat.net>]
10744
10745   *) dbmmanage overhaul:
10746      - merge dbmmanage and dbmmanage.new functionality, remove dbmmanage.new 
10747      - tie() to AnyDBM_File which will use one of DB_File, NDBM_File or
10748        GDBM_File (-ldb, -lndbm, -lgdbm) (trying each in that order)
10749      - provide better seed for rand
10750      - prompt for password as per getpass(3) (turn off echo, read from
10751        /dev/tty, etc.)
10752      - use "newstyle" crypt based on $Config{osname} ($^O)
10753      - will not add a user if already in database, use new `update' command
10754        instead
10755      - added `check' command to check a users' password
10756      - added `import' command to convert existing password text-files or 
10757        dbm files exported with `view'
10758      - more descriptive usage, general cleanup, 'use strict' clean, etc.
10759      [Doug MacEachern]
10760
10761   *) Added psocket() which is a pool form of socket(), various places within
10762      the proxy weren't properly blocking alarms while registering the cleanup
10763      for its sockets.  bclose() now uses pclose() and pclosesocket().  There
10764      was a bug where the client socket was being close()d twice due a still
10765      registered cleanup.  [Dean Gaudet]
10766
10767   *) A few cleanups were made to reduce time(), getpid(), and signal() calls.
10768      [Dean Gaudet]
10769
10770   *) PORT: AIX >= 4.2 requires -lm due to libc changes.
10771      [Jason Venner <jason idiom.com>] PR#667
10772
10773   *) Enable ``=""'' for RewriteCond directives to match against
10774      the empty string. This is the preferred way instead of ``^$''.
10775      [Ralf S. Engelschall]
10776
10777   *) Fixed an infinite loop in mod_imap for references above the server root
10778      [Dean Gaudet] PR#748
10779
10780   *) mod_proxy now has a ReceiveBufferSize directive, similar to
10781      SendBufferSize, so that the TCP window can be set appropriately
10782      for LFNs. [Phillip A. Prindeville]
10783
10784   *) mod_browser has been replaced by the more general mod_setenvif
10785      (courtesy of Paul Sutton).  BrowserMatch* directives are still
10786      available, but are now joined by SetEnvIf*, UnSetEnvIf*, and
10787      UnSetEnvIfZero directives.  [Ken Coar]
10788
10789   *) "HostnameLookups double" forces double-reverse DNS to succeed in
10790      order for remote_host to be set (for logging, or for the env var
10791      REMOTE_HOST).  The old define MAXIMUM_DNS has been deprecated.
10792      [Dean Gaudet]
10793
10794   *) mod_access overhaul:
10795      - Now understands network/netmask syntax (i.e.  10.1.0.0/255.255.0.0)
10796        and cidr syntax (i.e. 10.1.0.0/16).  PR#762
10797      - Critical path was sped up by pre-computing a few things at config time.
10798      - The undocumented syntax "allow user-agents" was removed,
10799        the replacement is "allow from env=foobar" combined with mod_browser.
10800      - When used with hostnames it now forces a double-reverse lookup
10801        no matter what the directory settings are.  This double-reverse
10802        doesn't affect any of the other routines that use the remote
10803        hostname.  In particular it's still passed to CGIs and the log
10804        without the double-reverse check.  Related PR#860.
10805      [Dean Gaudet]
10806
10807   *) When a large bwrite() occurs (larger than the internal buffer size),
10808      while there is already something in the buffer, apache will combine
10809      the large write and the buffer into a single writev().  (This is
10810      in anticipation of using mmap() for reading files.)
10811      [Dean Gaudet]
10812
10813   *) In obscure cases where a partial socket write occurred while chunking,
10814      Apache would omit the chunk header/footer on the next block.  Cleaned
10815      up other bugs/inconsistencies in error conditions in buff.c.  Fixed
10816      a bug where a long pause in DNS lookups could cause the last packet
10817      of a response to be unduly delayed.  [Roy Fielding, Dean Gaudet]
10818
10819   *) API: Added child_exit function to module structure.  This is called
10820      once per "heavy-weight process" just before a server child exit()'s 
10821      e.g. when max_requests_per_child is reached, etc.
10822      [Doug MacEachern, Dean Gaudet]
10823
10824   *) mod_include cleanup showed that handle_else was being used to handle
10825      endif.  It didn't cause problems, but it was cleaned up too.
10826      [Howard Fear]
10827
10828   *) mod_cern_meta would attempt to find meta files for the directory itself
10829      in some cases, but not in others.  It now avoids it in all cases.
10830      [Dean Gaudet]
10831
10832   *) mod_mime_magic would core dump if there was a decompression error.
10833      [Martin Kraemer <Martin.Kraemer mch.sni.de>] PR#904
10834
10835   *) PORT: some variants of DGUX require -lsocket -lnsl
10836      [Alexander L Jones <alex systems-options.co.uk>] PR#732
10837
10838   *) mod_autoindex now allows sorting of FancyIndexed directory listings
10839      by the various fields (name, size, et cetera), either in ascending
10840      or descending order.  Just click on the column header.  [Ken Coar]
10841
10842   *) PORT: Various tweaks to eliminate pointer-int casting warnings on 64-bit
10843      CPUs like the Alpha.  Apache still stores ints in pointers, but that's
10844      the relatively safe direction.  [Dean Gaudet] PR#344
10845
10846   *) PORT: QNX mmap() support for faster/more reliable scoreboard handling.
10847      [Igor N Kovalenko <infoh mail.wplus.net>] PR#683
10848
10849   *) child_main avoids an unneeded call to select() when there is only one
10850      listening socket.  [Dean Gaudet]
10851
10852   *) In the event that the server is starved for idle servers it will
10853      spawn 1, then 2, then 4, ..., then 32 servers each second,
10854      doubling each second.  It'll also give a warning in the errorlog
10855      since the most common reason for this is a poor StartServers
10856      setting.  The define MAX_SPAWN_RATE can be used to raise/lower
10857      the maximum.  [Dean Gaudet]
10858
10859   *) Apache now provides an effectively unbuffered connection for
10860      CGI scripts.  This means that data will be sent to the client
10861      as soon as the CGI pauses or stops output; previously, Apache would
10862      buffer the output up to a fixed buffer size before sending, which
10863      could result in the user viewing an empty page until the CGI finished
10864      or output a complete buffer.  It is no longer necessary to use an
10865      "nph-" CGI to get unbuffered output.  Given that most CGIs are written
10866      in a language that by default does buffering (e.g. perl) this
10867      shouldn't have a detrimental effect on performance.
10868
10869      "nph-" CGIs, which formerly provided a direct socket to the client
10870      without any server post-processing, were not fully compatible with
10871      HTTP/1.1 or SSL support.  As such they would have had to implement
10872      the transport details, such as encryption or chunking, in order
10873      to work properly in certain situations.  Now, the only difference
10874      between nph and non-nph scripts is "non-parsed headers".
10875      [Dean Gaudet, Sameer Parekh, Roy Fielding]
10876
10877   *) If a BUFF is switched from buffered to unbuffered reading the first
10878      bread() will return whatever remained in the buffer prior to the
10879      switch. [Dean Gaudet]
10880
10881 Changes with Apache 1.3a1
10882
10883   *) Added another Configure helper script: TestLib. It determines
10884      if a specified library exists.  [Jim Jagielski]
10885
10886   *) PORT: Allow for use of n32bit libraries under IRIX 6.x
10887      [derived from patch from Jeff Hayes <jhayes aw.sgi.com>]
10888      PR#721
10889
10890   *) PORT: Some architectures use size_t for various lengths in network
10891      functions such as accept(), and getsockname().  The definition
10892      NET_SIZE_T is used to control this. [Dean Gaudet]
10893
10894   *) PORT: Linux: Attempt to detect glibc based systems and include crypt.h
10895      and -lcrypt.  Test for various db libraries (dbm, ndbm, db) when
10896      mod_auth_dbm or mod_auth_db are included.  [Dean Gaudet]
10897
10898   *) PORT: QNX doesn't have initgroups() which support/suexec.c uses.
10899      [Igor N Kovalenko <infoh mail.wplus.net>]
10900
10901   *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
10902      begin with.  "nokeepalive" now works for HTTP/1.1 clients.  Added
10903      "downgrade-1.0" which causes Apache to pretend it received a 1.0.
10904      [Dean Gaudet] related PR#875
10905
10906   *) API: Correct child_init() slot declaration from int to void, to
10907      match the init() declaration.  Update mod_example to use the new
10908      hook.  [Ken Coar]
10909
10910   *) added transport handle slot (t_handle) to the BUFF structure
10911      [Doug MacEachern]
10912
10913   *) get_client_block() returns wrong length if policy is
10914      REQUEST_CHUNKED_DECHUNK.
10915      [Kenichi Hori <ken d2.bs1.fc.nec.co.jp>] PR#815
10916
10917   *) Support the image map format of FrontPage.  For example:
10918         rect /url.hrm 10 20 30 40
10919      ["Chris O'Byrne" <obyrne iol.ie>] PR#807
10920
10921   *) PORT: -lresolv and -lsocks were in the wrong order for Solaris.
10922      ["Darren O'Shaughnessy" <darren aaii.oz.au>] PR#846
10923
10924   *) AddModuleInfo directive for mod_info which allows you to annotate
10925      the output of mod_info.  ["Lou D. Langholtz" <ldl usi.utah.edu>]
10926
10927   *) Added NoProxy directive to avoid using ProxyRemote for selected
10928      addresses.  Added ProxyDomain directive to cause unqualified
10929      names to be qualified by redirection.
10930      [Martin Kraemer <Martin.Kraemer mch.sni.de>]
10931
10932   *) Support Proxy Authentication, and don't pass the Proxy-Authorize
10933      header to the remote host in the proxy. [Sameer Parekh and
10934      Wallace]
10935
10936   *) Upgraded mod_rewrite from 3.0.6+ to latest officially available version
10937      3.0.9. This upgrade includes: fixed deadlooping on rewriting to same
10938      URLs, fixed rewritelog(), fixed forced response code handling on
10939      redirects from within .htaccess files, disabled pipe locking under
10940      braindead SunOS 4.1.x, allow env variables to be set even on rules with
10941      no substitution, bugfixed situations where HostnameLookups is off, made
10942      mod_rewrite more thread-safe for NT port and fixed problem when creating
10943      an empty query string via "xxx?".
10944          This update also removes the copyright of Ralf S. Engelschall,
10945      i.e. now mod_rewrite no longer has a shared copyright. Instead is is
10946      exclusively copyrighted by the Apache Group now. This happened because
10947      the author now has gifted mod_rewrite exclusively to the Apache Group and 
10948      no longer maintains an external version.
10949      [Ralf S. Engelschall]
10950
10951   *) API: Added child_init function to module structure.  This is called
10952      once per "heavy-weight process" before any requests are handled.
10953      See http_config.h for more details.  [Dean Gaudet]
10954
10955   *) Anonymous_LogEmail was logging on each subrequest.
10956      [Dean Gaudet] PR#421, 868
10957
10958   *) API: Added is_initial_req() which tests if the request being
10959      processed is the initial request, or a subrequest.
10960      [Doug MacEachern]
10961
10962   *) Extended SSI (mod_include) now handles additional relops for
10963      string comparisons (<, >, <=, and >=).  [Bruno Wolff III] PR#41
10964
10965   *) Configure fixed to correctly propagate user-selected options and
10966      settings (such as CC and OPTIM) to Makefiles other than
10967      src/Makefile (notably support/Makefile).  [Ken Coar] PR#666, #834
10968
10969   *) IndexOptions SuppressHTMLPreamble now causes the actual HTML of
10970      directory indices to start with the contents of the HeaderName file
10971      if there is one.  If there isn't one, the behaviour is unchanged.
10972      [Ken Coar, Roy Fielding, Andrey A. Chernov]
10973
10974   *) WIN32: Modules can now be dynamically loaded DLLs using the
10975      LoadModule/LoadFile directives. Note that module DLLs must be
10976      compiled with the multithreaded DLL version of the runtime library.
10977      [Alexei Kosut and Ben Laurie]
10978
10979   *) Automatic indexing removed from mod_dir and placed into mod_autoindex.
10980      This allows the admin to completely remove automatic indexing
10981      from the server, while still supporting the basic functions of
10982      trailing-slash redirects and DirectoryIndex files.  Note that if
10983      you're carrying over an old Configuration file and you use directory
10984      indexing then you'll want to add:
10985
10986      Module autoindex_module    mod_autoindex.o
10987
10988      before mod_dir in your Configuration.  [Dean Gaudet]
10989
10990   *) popendir/pclosedir created to properly protect directory scanning.
10991      [Dean Gaudet] PR#525
10992
10993   *) AliasMatch, ScriptAliasMatch and RedirectMatch directives added,
10994      giving regex support to mod_alias. <DirectoryMatch>, <LocationMatch>
10995      and <FilesMatch> sections added to succeed <DirectoryMatch ~>, etc...
10996      [Alexei Kosut]
10997
10998   *) The AccessFileName directive can now take more than one filename.
10999      ["Lou D. Langholtz" <ldl usi.utah.edu>]
11000
11001   *) The new mod_mime_magic can be used to "magically" determine the type
11002      of a file if the extension is unknown.  Based on the unix file(1)
11003      command.  [Ian Kluft <ikluft cisco.com>]
11004
11005   *) We now determine and display the time spent processing a
11006      request if desired.  [Jim Jagielski]
11007
11008   *) mod_status: PID field of "dead" child slots no longer displays
11009      main httpd process's PID.  [Jim Jagielski]
11010
11011   *) Makefile.nt added - to build all the bits from the command line:
11012         nmake -f Makefile.nt
11013          Doesn't yet work properly. [Ben Laurie]
11014
11015   *) Default text of 404 error is now "Not Found" rather than the
11016      potentially misleading "File Not Found".  [Ken Coar]
11017
11018   *) CONFIG: "HostnameLookups" now defaults to off because it is far better
11019      for the net if we require people that actually need this data to
11020      enable it.  [Linus Torvalds]
11021
11022   *) directory_walk() is an expensive function, keep a little more state to
11023      avoid needless string counting.  Add two new functions make_dirstr_parent
11024      and make_dirstr_prefix which replace all existing uses of make_dirstr.
11025      The new functions are a little less general than make_dirstr, but
11026      work more efficiently (less memory, less string counting).
11027      [Dean Gaudet]
11028
11029   *) EXTRA_LFLAGS was changed to EXTRA_LDFLAGS (and LFLAGS was changed
11030      to LDFLAGS) to avoid complications with lex rules in make files.
11031      [Dean Gaudet] PR#372
11032
11033   *) run_method optimized to avoid needless scanning over NULLs in the
11034      module list.  [Dean Gaudet]
11035
11036   *) Revamp of (unix) scoreboard management code such that it avoids
11037      unnecessary traversals of the scoreboard on each hit.  This is
11038      particularly important for high volume sites with a large
11039      HARD_SERVER_LIMIT.  Some of the previous operations were O(n^2),
11040      and are now O(n).  See also SCOREBOARD_MAINTENANCE_INTERVAL in
11041      httpd.h. [Dean Gaudet]
11042
11043   *) In configurations using multiple Listen statements it was possible for
11044      busy sockets to starve other sockets of service.  [Dean Gaudet]
11045
11046   *) Added hook so standalone_main can be replaced at compile time
11047      (define STANDALONE_MAIN)
11048      [Doug MacEachern]
11049
11050   *) Lowest-level read/write functions in buff.c will be replaced with
11051      the SFIO library calls sfread/sfwrite if B_SFIO is defined at
11052      compile time.  The default sfio discipline will behave as apache
11053      would without sfio compiled in.
11054      [Doug MacEachern]
11055
11056   *) Enhance UserDir directive (mod_userdir) to accept a list of
11057      usernames for the 'disable' keyword, and add 'enable user...' to
11058      selectively *en*able userdirs if they're globally disabled.
11059      [Ken Coar]
11060
11061   *) If NETSCAPE_DBM_COMPAT is defined in EXTRA_CFLAGS then Apache
11062      will work with Netscape dbm files.  (dbmmanage will probably not
11063      work however.) [Alexander Spohr <aspohr netmatic.com>] PR#444
11064
11065   *) Add a ListenBacklog directive to control the backlog parameter
11066      passed to listen().  Also change the default to 511 from 512.
11067      [Marc Slemko]
11068
11069   *) API: A new handler response DONE which informs apache that the
11070      request has been handled and it can finish off quickly, similar to
11071      how it handles errors. [Rob Hartill]
11072
11073   *) Turn off chunked encoding after sending terminating chunk/footer
11074      so that we can't do it twice by accident. [Roy Fielding]
11075
11076   *) mod_expire also issues Cache-Control: max-age headers.
11077      [Rob Hartill]
11078
11079   *) API: Added kill_only_once option for free_proc_chain so that it won't
11080      aggressively try to kill off specific children.  For fastcgi.
11081      [Stanley Gambarin <gambarin OpenMarket.com>]
11082
11083   *) mod_auth deals with extra ':' delimited fields.  [Marc Slemko]
11084
11085   *) Added IconHeight and IconWidth to mod_dir's IndexOptions directive.
11086      When used together, these cause mod_dir to emit HEIGHT and WIDTH
11087      attributes in the FancyIndexing IMG tags.  [Ken Coar]
11088
11089   *) PORT: Sequent and SONY NEWS-OS support added.  [Jim Jagielski]
11090
11091   *) PORT: Added Windows NT support
11092      [Ben Laurie and Ambarish Malpani <ambarish valicert.com>]
11093
11094 Changes with Apache 1.2.6
11095
11096   *) mod_include when using XBitHack Full would send ETags in addition to
11097      sending Last-Modifieds.  This is incorrect HTTP/1.1 behaviour.
11098      [Dean Gaudet] PR#1133
11099
11100   *) SECURITY: When a client connects to a particular port/addr, and
11101      gives a Host: header ensure that the virtual host requested can
11102      actually be reached via that port/addr.  [Ed Korthof <ed organic.com>]
11103
11104   *) Support virtual hosts with wildcard port and/or multiple ports
11105      properly.  [Ed Korthof <ed organic.com>]
11106
11107   *) Fixed some case-sensitivity issues according to RFC2068.
11108      [Dean Gaudet]
11109
11110   *) Set r->allowed properly in mod_asis.c, mod_dir.c, mod_info.c,
11111      and mod_include.c.  [Dean Gaudet]
11112
11113   *) Variable 'cwd' was being used pointlessly before being set.
11114      [Ken Coar] PR#1738
11115
11116   *) SIGURG doesn't exist on all platforms.
11117      [Mark Andrew Heinrich <heinrich tinderbox.Stanford.EDU>]
11118
11119   *) When an error occurs during a POST, or other operation with a
11120      request body, the body has to be read from the net before allowing
11121      a keepalive session to continue.  [Roy Fielding] PR#1399
11122
11123   *) When an error occurs in fcntl() locking suggest the user look up
11124      the docs for LockFile.  [Dean Gaudet]
11125
11126   *) table_set() and table_unset() did not deal correctly with
11127      multiple occurrences of the same key. [Stephen Scheck
11128      <sscheck infonex.net>, Ben Laurie] PR#1604
11129
11130   *) send_fd_length() did not calculate total_bytes_sent properly in error
11131      cases.  [Ben Reser <breser regnow.com>] PR#1366
11132
11133   *) r->connection->user was allocated in the wrong pool causing corruption
11134      in some cases when used with mod_cern_meta.  [Dean Gaudet] PR#1500
11135
11136   *) mod_proxy was sending HTTP/1.1 responses to ftp requests by mistake.
11137      Also removed the auto-generated link to www.apache.org that was the
11138      source of so many misdirected bug reports.  [Roy Fielding, Marc Slemko]
11139
11140   *) Multiple "close" tokens may have been set in the "Connection"
11141      header, not an error, but a waste.
11142      [<Ronald.Tschalaer psi.ch>] PR#1683
11143
11144   *) "basic" and "digest" auth tokens should be tested case-insensitive.
11145      [<Ronald.Tschalaer psi.ch>] PR#1599, PR#1666
11146
11147   *) It appears the "257th byte" bug (see
11148      htdocs/manual/misc/known_client_problems.html#257th-byte) can happen
11149      at the 256th byte as well.  Fixed.  [Dean Gaudet]
11150
11151   *) mod_rewrite would not handle %3f properly in some situations.
11152      [Ralf Engelschall]
11153
11154   *) Apache could generate improperly chunked HTTP/1.1 responses when
11155      the bputc() or rputc() functions were used by modules (such as
11156      mod_include).  [Dean Gaudet]
11157
11158   *) #ifdef wrap a few #defines in httpd.h to make life easier on
11159      some ports.  [Ralf Engelschall]
11160
11161   *) Fix MPE compilation error in mod_usertrack.c.  [Mark Bixby]
11162
11163   *) Quote CC='$(CC)' to improve recurse make calls.  [Martin Kraemer]
11164
11165   *) Avoid B_ERROR redeclaration on sysvr4 systems.  [Martin Kraemer]
11166
11167 Changes with Apache 1.2.5
11168
11169   *) SECURITY: Fix a possible buffer overflow in logresolve.  This is
11170      only an issue on systems without a MAXDNAME define or where 
11171      the resolver returns domain names longer than MAXDNAME.  [Marc Slemko]
11172
11173   *) Fix an improper length in an ap_snprintf call in proxy_date_canon().
11174      [Marc Slemko]
11175
11176   *) Fix core dump in the ftp proxy when reading incorrectly formatted
11177      directory listings.  [Marc Slemko]
11178
11179   *) SECURITY: Fix possible minor buffer overflow in the proxy cache.
11180      [Marc Slemko]
11181
11182   *) SECURITY: Eliminate possible buffer overflow in cfg_getline, which
11183      is used to read various types of files such as htaccess and 
11184      htpasswd files.  [Marc Slemko]
11185
11186   *) SECURITY: Ensure that the buffer returned by ht_time is always
11187      properly null terminated.  [Marc Slemko]
11188
11189   *) SECURITY: General mod_include cleanup, including fixing several
11190      possible buffer overflows and a possible infinite loop.  This cleanup
11191      was done against 1.3 code and then backported to 1.2, the result
11192      is a large difference (due to indentation cleanup in 1.3 code).
11193      Users interested in seeing a smaller set of relevant differences
11194      should consider comparing against src/modules/standard/mod_include.c
11195      from the 1.3b3 release.  Non-indentation changes to mod_include
11196      between 1.2 and 1.3 were minimal.  [Dean Gaudet, Marc Slemko]
11197
11198   *) SECURITY: Numerous changes to mod_imap in a general cleanup
11199      including fixing a possible buffer overflow.  This cleanup also
11200      was done with 1.3 code as a basis, see the the previous note
11201      about mod_include.  [Dean Gaudet]
11202
11203   *) SECURITY: If a htaccess file can not be read due to bad 
11204      permissions, deny access to the directory with a HTTP_FORBIDDEN.  
11205      The previous behavior was to ignore the htaccess file if it could not
11206      be read.  This change may make some setups with unreadable
11207      htaccess files stop working.  PR#817  [Marc Slemko]
11208
11209   *) SECURITY: no2slash() was O(n^2) in the length of the input.  
11210      Make it O(n).  This inefficiency could be used to mount a denial 
11211      of service attack against the Apache server.  Thanks to 
11212      Michal Zalewski <lcamtuf boss.staszic.waw.pl> for reporting
11213      this.  [Dean Gaudet]
11214
11215   *) mod_include used uninitialized data for some uses of && and ||.
11216      [Brian Slesinsky <bslesins wired.com>] PR#1139
11217
11218   *) mod_imap should decline all non-GET methods.
11219      [Jay Bloodworth <jay pathways.sde.state.sc.us>]
11220
11221   *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
11222
11223   *) mod_userdir was modifying r->finfo in cases where it wasn't setting
11224      r->filename.  Since those two are meant to be in sync with each other
11225      this is a bug.  ["Paul B. Henson" <henson intranet.csupomona.edu>]
11226
11227   *) mod_include did not properly handle all possible redirects from sub-
11228      requests.  [Ken Coar]
11229
11230   *) Inetd mode (which is buggy) uses timeouts without having setup the
11231      jmpbuffer. [Dean Gaudet] PR#1064
11232
11233   *) Work around problem under Linux where a child will start looping
11234      reporting a select error over and over.
11235      [Rick Franchuk <rickf transpect.net>] PR#1107
11236
11237 Changes with Apache 1.2.4
11238
11239   *) The ProxyRemote change in 1.2.3 introduced a bug resulting in the proxy
11240      always making requests with the full-URI instead of just the URI path.
11241      [Marc Slemko, Roy Fielding]
11242
11243   *) Add -lm for AIX versions >= 4.2 to allow Apache to link properly
11244      on this platform.  [Marc Slemko]
11245
11246 Changes with Apache 1.2.3
11247
11248   *) The request to a remote proxy was mangled if it was generated as the
11249      result of a ProxyPass directive. URL schemes other than http:// were not
11250      supported when ProxyRemote was used. PR#260, PR#656, PR#699, PR#713,
11251      PR#812 [Lars Eilebrecht]
11252
11253   *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
11254      information for case where proxy module is not available. [Marc Slemko]
11255
11256   *) Force proxy to always respond as HTTP/1.0, which it was failing to
11257      do for errors and cached responses.  [Roy Fielding]
11258
11259   *) PORT: Improved support for ConvexOS 11.  [Jeff Venters]
11260
11261 Changes with Apache 1.2.2 [not released]
11262
11263   *) Fixed another long-standing bug in sub_req_lookup_file where it would
11264      happily skip past access checks on subdirectories looked up with relative
11265      paths.  (It's used by mod_dir, mod_negotiation, and mod_include.)
11266      [Dean Gaudet]
11267
11268   *) Add lockfile name to error message printed out when
11269      USE_FLOCK_SERIALIZED_ACCEPT is defined.
11270      [Marc Slemko]
11271
11272   *) Enhanced the chunking and error handling inside the buffer functions.
11273      [Dean Gaudet, Roy Fielding]
11274
11275   *) When merging the main server's <Directory> and <Location> sections into
11276      a vhost, put the main server's first and the vhost's second.  Otherwise
11277      the vhost can't override the main server.  [Dean Gaudet] PR#717
11278
11279   *) The <Directory> code would merge and re-merge the same section after
11280      a match was found, possibly causing problems with some modules.
11281      [Dean Gaudet]
11282
11283   *) Fixed an infinite loop in mod_imap for references above the server root.
11284      [Dean Gaudet] PR#748
11285
11286   *) mod_include cleanup showed that handle_else was being used to handle
11287      endif.  It didn't cause problems, but it was cleaned up too.
11288      [Howard Fear]
11289
11290   *) Last official synchronization of mod_rewrite with author version (because
11291      mod_rewrite is now directly developed by the author at the Apache Group):
11292      o added diff between mod_rewrite 3.0.6+ and 3.0.9
11293        minus WIN32/NT stuff, but plus copyright removement.
11294        In detail:
11295        - workaround for detecting infinite rewriting loops
11296        - fixed setting of env vars when "-" is used as subst string
11297        - fixed forced response code on redirects (PR#777)
11298        - fixed cases where r->args is ""
11299        - kludge to disable locking on pipes under braindead SunOS
11300        - fix for rewritelog in cases where remote hostname is unknown
11301        - fixed totally damaged request_rec walk-back loop
11302      o remove static from local data and add static to global ones.
11303      o replaced ugly proxy finding stuff by simple
11304        find_linked_module("mod_proxy") call.
11305      o added missing negation char on rewritelog()
11306      o fixed a few comment typos
11307      [Ralf S. Engelschall]
11308
11309   *) Anonymous_LogEmail was logging on each subrequest.
11310      [Dean Gaudet] PR#421, PR#868
11311
11312   *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
11313      begin with.  "nokeepalive" now works for HTTP/1.1 clients.  Added
11314      "downgrade-1.0" which causes Apache to pretend it received a 1.0.
11315      Additionally mod_browser now triggers during translate_name to workaround
11316      a deficiency in the header_parse phase.
11317      [Dean Gaudet] PR#875
11318
11319   *) get_client_block() returns wrong length if policy is 
11320      REQUEST_CHUNKED_DECHUNK.
11321      [Kenichi Hori <ken d2.bs1.fc.nec.co.jp>] PR#815
11322
11323   *) Properly treat <files> container like other containers in mod_info.
11324      [Marc Slemko] PR#848
11325
11326   *) The proxy didn't treat the "Host:" keyword of the host header as case-
11327      insensitive.  The proxy would corrupt the first line of a response from
11328      an HTTP/0.9 server.  [Kenichi Hori <ken d2.bs1.fc.nec.co.jp>] PR#813,814
11329
11330   *) mod_include would log some bogus values occasionally.
11331      [Skip Montanaro <skip calendar.com>, Marc Slemko] PR#797
11332
11333   *) PORT: The slack fd changes in 1.2.1 introduced a problem with SIGHUP
11334      under Solaris 2.x (up through 2.5.1).  It has been fixed.
11335      [Dean Gaudet] PR#832
11336
11337   *) API: In HTTP/1.1, whether or not a request message contains a body
11338      is independent of the request method and based solely on the presence
11339      of a Content-Length or Transfer-Encoding.  Therefore, our default
11340      handlers need to be prepared to read a body even if they don't know
11341      what to do with it; otherwise, the body would be mistaken for the
11342      next request on a persistent connection.  discard_request_body()
11343      has been added to take care of that.  [Roy Fielding] PR#378
11344
11345   *) API: Symbol APACHE_RELEASE provides a numeric form of the Apache
11346      release version number, such that it always increases along the
11347      same lines as our source code branching.  [Roy Fielding]
11348
11349   *) Minor oversight on multiple variants fixed.  [Paul Sutton] PR#94
11350
11351 Changes with Apache 1.2.1
11352
11353   *) SECURITY: Don't serve file system objects unless they are plain files,
11354      symlinks, or directories.  This prevents local users from using pipes
11355      or named sockets to invoke programs for an extremely crude form of
11356      CGI.  [Dean Gaudet]
11357
11358   *) SECURITY: HeaderName and ReadmeName were settable in .htaccess and
11359      could contain "../" allowing a local user to "publish" any file on
11360      the system.  No slashes are allowed now.  [Dean Gaudet]
11361
11362   *) SECURITY: It was possible to violate the symlink Options using mod_dir
11363      (headers, readmes, titles), mod_negotiation (type maps), or
11364      mod_cern_meta (meta files).  [Dean Gaudet]
11365
11366   *) SECURITY: Apache will refuse to run as "User root" unless
11367      BIG_SECURITY_HOLE is defined at compile time.  [Dean Gaudet]
11368
11369   *) CONFIG: If a symlink pointed to a directory then it would be disallowed
11370      if it contained a .htaccess disallowing symlinks.  This is contrary
11371      to the rule that symlink permissions are tested with the symlink
11372      options of the parent directory.  [Dean Gaudet] PR#353
11373
11374   *) CONFIG: The LockFile directive can be used to place the serializing
11375      lockfile in any location.  It previously defaulted to /usr/tmp/htlock.
11376      [Somehow it took four of us: Randy Terbush, Jim Jagielski, Dean Gaudet,
11377      Marc Slemko]
11378
11379   *) Request processing now retains state of whether or not the request
11380      body has been read, so that internal redirects and subrequests will
11381      not try to read it twice (and block). [Roy Fielding]
11382
11383   *) Add a placeholder in modules/Makefile to avoid errors with certain
11384      makes. [Marc Slemko]
11385
11386   *) QUERY_STRING was unescaped in mod_include, it shouldn't be.
11387      [Dean Gaudet] PR#644
11388
11389   *) mod_include was not properly changing the current directory.
11390      [Marc Slemko] PR#742
11391
11392   *) Attempt to work around problems with third party libraries that do not
11393      handle high numbered descriptors (examples include bind, and
11394      solaris libc).  On all systems apache attempts to keep all permanent
11395      descriptors above 15 (called the low slack line).  Solaris users
11396      can also benefit from adding -DHIGH_SLACK_LINE=256 to EXTRA_CFLAGS
11397      which keeps all non-FILE * descriptors above 255.  On all systems
11398      this should make supporting large numbers of vhosts with many open
11399      log files more feasible.  If this causes trouble please report it,
11400      you can disable this workaround by adding -DNO_SLACK to EXTRA_CFLAGS.
11401      [Dean Gaudet] various PRs
11402
11403   *) Related to the last entry, network sockets are now opened before
11404      log files are opened.  The only known case where this can cause
11405      problems is under Solaris with many virtualhosts and many Listen
11406      directives.  But using -DHIGH_SLACK_LINE=256 described above will
11407      work around this problem.  [Dean Gaudet]
11408
11409   *) USE_FLOCK_SERIALIZED_ACCEPT is now default for FreeBSD, A/UX, and
11410      SunOS 4.
11411
11412   *) Improved unix error response logging.  [Marc Slemko]
11413
11414   *) Update mod_rewrite from 3.0.5 to 3.0.6.  New ruleflag
11415      QSA=query_string_append.  Also fixed a nasty bug in per-dir context:
11416      when a URL http://... was used in conjunction with a special
11417      redirect flag, e.g. R=permanent, the permanent status was lost.
11418      [Ronald Tschalaer <Ronald.Tschalaer psi.ch>, Ralf S. Engelschall]
11419
11420   *) If an object has multiple variants that are otherwise equal Apache
11421      would prefer the last listed variant rather than the first.
11422      [Paul Sutton] PR#94
11423
11424   *) "make clean" at the top level now removes *.o.  [Dean Gaudet] PR#752
11425
11426   *) mod_status dumps core in inetd mode.  [Marc Slemko and Roy Fielding]
11427      PR#566
11428
11429   *) pregsub had an off-by-1 in its error checking code. [Alexei Kosut]
11430
11431   *) PORT: fix rlim_t problems with AIX 4.2. [Marc Slemko] PR#333
11432
11433   *) PORT: Update UnixWare support for 2.1.2.
11434      [Lawrence Rosenman <ler lerctr.org>] PR#511
11435
11436   *) PORT: NonStop-UX [Joachim Schmitz <schmitz_joachim tandem.com>] PR#327
11437
11438   *) PORT: Update ConvexOS support for 11.5.
11439      [David DeSimone <fox convex.com>] PR#399
11440
11441   *) PORT: Support for DEC cc compiler under ULTRIX.
11442      ["P. Alejandro Lopez-Valencia" <alejolo ideam.gov.co>] PR#388
11443
11444   *) PORT: Support for Maxion/OS SVR4.2 Real Time Unix. [no name given] PR#383
11445
11446   *) PORT: Workaround for AIX 3.x compiler bug in http_bprintf.c.  
11447      [Marc Slemko] PR#725
11448
11449   *) PORT: fix problem compiling http_bprintf.c with gcc under SCO
11450      [Marc Slemko] PR#695
11451
11452 Changes with Apache 1.2
11453
11454 Changes with Apache 1.2b11
11455
11456   *) Fixed open timestamp fd in proxy_cache.c [Chuck Murcko]
11457
11458   *) Added undocumented perl SSI mechanism for -DUSE_PERL_SSI and mod_perl.
11459      [Doug MacEachern, Rob Hartill]
11460
11461   *) Proxy needs to use hard_timeout instead of soft_timeout when it is
11462      reading from one buffer and writing to another, at least until it has
11463      a custom timeout handler.  [Roy Fielding and Petr Lampa]
11464
11465   *) Fixed problem on IRIX with servers hanging in IdentityCheck,
11466      apparently due to a mismatch between sigaction and setjmp.
11467      [Roy Fielding] PR#502
11468
11469   *) Log correct status code if we timeout before receiving a request (408)
11470      or if we received a request-line that was too long to process (414).
11471      [Ed Korthof and Roy Fielding] PR#601
11472
11473   *) Virtual hosts with the same ServerName, but on different ports, were
11474      not being selected properly.  [Ed Korthof]
11475
11476   *) Added code to return the requested IP address from proxy_host2addr()
11477      if gethostbyaddr() fails due to reverse DNS lookup problems. Original
11478      change submitted by Jozsef Hollosi <hollosi sbcm.com>.
11479      [Chuck Murcko] PR#614
11480
11481   *) If multiple requests on a single connection are used to retrieve
11482      data from different virtual hosts, the virtual host list would be
11483      scanned starting with the most recently used VH instead of the first,
11484      causing most virtual hosts to be ignored.
11485      [Paul Sutton and Martin Mares] PR#610
11486
11487   *) The OS/2 handling of process group was broken by a porting patch for
11488      MPE, so restored prior code for OS/2.  [Roy Fielding and Garey Smiley]
11489
11490   *) Inherit virtual server port from main server if none (or "*") is
11491      given for VirtualHost.  [Dean Gaudet] PR#576
11492
11493   *) If the lookup for a DirectoryIndex name with content negotiation
11494      has found matching variants, but none are acceptable, return the
11495      negotiation result if there are no more DirectoryIndex names to lookup.
11496      [Petr Lampa and Roy Fielding]
11497
11498   *) If a soft_timeout occurs after keepalive is set, then the main child
11499      loop would try to read another request even though the connection
11500      has been aborted.  [Roy Fielding]
11501
11502   *) Configure changes: Allow for whitespace at the start of a
11503      Module declaration. Also, be more understanding about the
11504      CC=/OPTIM= format in Configuration. Finally, fix compiler
11505      flags if using HP-UX's cc compiler. [Jim Jagielski]
11506
11507   *) Subrequests and internal redirects now inherit the_request from the
11508      original request-line. [Roy Fielding]
11509
11510   *) Test for error conditions before creating output header fields, since
11511      we don't want the error message to include those fields.  Likewise,
11512      reset the content_language(s) and content_encoding of the response
11513      before generating or redirecting to an error message, since the new
11514      message will have its own Content-* definitions. [Dean Gaudet]
11515
11516   *) Restored the semantics of headers_out (headers sent only with 200..299
11517      and 304 responses) and err_headers_out (headers sent with all responses).
11518      Avoid the overhead of copying tables if err_headers_out is empty
11519      (the usual case).  [Roy Fielding]
11520
11521   *) Fixed a couple places where a check for the default Content-Type was
11522      not properly checking both the value configured by the DefaultType
11523      directive and the DEFAULT_TYPE symbol in httpd.h.  Changed the value
11524      of DEFAULT_TYPE to match the documented default (text/plain).
11525      [Dean Gaudet] PR#506
11526
11527   *) Escape the HTML-sensitive characters in the Request-URI that is
11528      output for each child by mod_status. [Dean Gaudet and Ken Coar] PR#501
11529
11530   *) Properly initialize the flock structures used by the mutex locking
11531      around accept() when USE_FCNTL_SERIALIZED_ACCEPT is defined.
11532      [Marc Slemko]
11533
11534   *) The method for determining PATH_INFO has been restored to the pre-1.2b
11535      (and NCSA httpd) definition wherein it was the extra path info beyond
11536      the CGI script filename.  The environment variable FILEPATH_INFO has
11537      been removed, and instead we supply the original REQUEST_URI to any
11538      script that wants to be Apache-specific and needs the real URI path.
11539      This solves a problem with existing scripts that use extra path info
11540      in the ScriptAlias directive to pass options to the CGI script.
11541      [Roy Fielding]
11542
11543   *) The _default_ change in 1.2b10 will change the behaviour on configs
11544      that use multiple Listen statements for listening on multiple ports.
11545      But that change is necessary to make _default_ consistent with other
11546      forms of <VirtualHost>.  It requires such configs to be modified
11547      to use <VirtualHost _default_:*>.  The documentation has been
11548      updated.  [Dean Gaudet] PR#530
11549
11550   *) If an ErrorDocument CGI script is used to respond to an error
11551      generated by another CGI script which has already read the message
11552      body of the request, the server would block trying to read the
11553      message body again.  [Rob Hartill]
11554
11555   *) signal() replacement conflicted with a define on QNX (and potentially
11556      other platforms). Fixed. [Ben Laurie] PR#512
11557
11558 Changes with Apache 1.2b10
11559
11560   *) Allow HTTPD_ROOT, SERVER_CONFIG_FILE, DEFAULT_PATH, and SHELL_PATH
11561      to be configured via -D in Configuration.  [Dean Gaudet] PR#449
11562
11563   *) <VirtualHost _default_:portnum> didn't work properly.  [Dean Gaudet]
11564
11565   *) Added prototype for mktemp() for SUNOS4 [Marc Slemko]
11566
11567   *) In mod_proxy.c, check return values for proxy_host2addr() when reading
11568      config, in case the hostent struct returned is trash.
11569      [Chuck Murcko] PR #491
11570
11571   *) Fixed the fix in 1.2b9 for parsing URL query info into args for CGI
11572      scripts.  [Dean Gaudet, Roy Fielding, Marc Slemko]
11573
11574 Changes with Apache 1.2b9  [never announced]
11575
11576   *) Reset the MODULE_MAGIC_NUMBER to account for the unsigned port
11577      changes and in anticipation of 1.2 final release.  [Roy Fielding]
11578
11579   *) Fix problem with scripts not receiving a SIGPIPE when client drops
11580      the connection (e.g., when user presses Stop).  Apache will now stop
11581      trying to send a message body immediately after an error from write.
11582      [Roy Fielding and Nathan Kurz] PR#335
11583
11584   *) Rearrange Configuration.tmpl so that mod_rewrite has higher priority
11585      than mod_alias, and mod_alias has higher priority than mod_proxy;
11586      rearranged other modules to enhance understanding of their purpose
11587      and relative order (and maybe even reduce some overhead).
11588      [Roy Fielding and Sameer Parekh]
11589
11590   *) Fix graceful restart.  Eliminate many signal-related race
11591      conditions in both forms of restart, and in SIGTERM.  See
11592      htdocs/manual/stopping.html for details on stopping and
11593      restarting the parent.  [Dean Gaudet]
11594
11595   *) Fix memory leaks in mod_rewrite, mod_browser, mod_include.  Tune
11596      memory allocator to avoid a behaviour that required extra blocks to
11597      be allocated.  [Dean Gaudet]
11598
11599   *) Allow suexec to access files relative to current directory but not
11600      above.  (Excluding leading / or any .. directory.)  [Ken Coar]
11601      PR#269, 319, 395
11602
11603   *) Fix suexec segfault when group doesn't exist. [Gregory Neil Shapiro]
11604      PR#367, 368, 354, 453
11605
11606   *) Fix the above fix: if suexec is enabled, avoid destroying r->url
11607      while obtaining the /~user and save the username in a separate data
11608      area so that it won't be overwritten by the call to getgrgid(), and
11609      fix some misuse of the pool string allocation functions.  Also fixes
11610      a general problem with parsing URL query info into args for CGI scripts.
11611      [Roy Fielding] PR#339, 367, 354, 453
11612
11613   *) Fix IRIX warning about bzero undefined. [Marc Slemko]
11614
11615   *) Fix problem with <Directory proxy:...>. [Martin Kraemer] PR#271
11616
11617   *) Corrected spelling of "authoritative".  AuthDBAuthoratative became
11618      AuthDBAuthoritative. [Marc Slemko] PR#420
11619
11620   *) MaxClients should be at least 1. [Lars Eilebrecht] PR#375
11621
11622   *) The default handler now logs invalid methods or URIs (i.e. PUT on an
11623      object that can't be PUT, or FOOBAR for some method FOOBAR that
11624      apache doesn't know about at all).  Log 404s that occur in mod_include.
11625      [Paul Sutton, John Van Essen]
11626
11627   *) If a soft timeout (or lingerout) occurs while trying to flush a
11628      buffer or write inside buff.c or fread'ing from a CGI's output,
11629      then the timeout would be ignored. [Roy Fielding] PR#373
11630
11631   *) Work around a bug in Netscape Navigator versions 2.x, 3.x and 4.0b2's
11632      parsing of headers.  If the terminating empty-line CRLF occurs starting
11633      at the 256th or 257th byte of output, then Navigator will think a normal
11634      image is invalid.  We are guessing that this is because their initial
11635      read of a new request uses a 256 byte buffer. We check the bytes written
11636      so far and, if we are about to tickle the bug, we instead insert a
11637      padding header of eminent bogosity. [Roy Fielding and Dean Gaudet] PR#232
11638
11639   *) Fixed SIGSEGV problem when a DirectoryIndex file is also the source
11640      of an external redirection.  [Roy Fielding and Paul Sutton]
11641
11642   *) Configure would create a broken Makefile if the configuration file
11643      contained a commented-out Rule.  [Roy Fielding]
11644
11645   *) Promote per_dir_config and subprocess_env from the subrequest to the
11646      main request in mod_negotiation.  In particular this fixes a bug
11647      where <Files> sections wouldn't properly apply to negotiated content.
11648      [Dean Gaudet]
11649
11650   *) Fix a potential deadlock in mod_cgi script_err handling.
11651      [Ralf S. Engelschall]
11652
11653   *) rotatelogs zero-pads the logfile names to improve alphabetic sorting.
11654      [Mitchell Blank Jr]
11655
11656   *) Updated mod_rewrite to 3.0.4: Fixes HTTP redirects from within
11657      .htaccess files because the RewriteBase was not replaced correctly.
11658      Updated mod_rewrite to 3.0.5: Fixes problem with rewriting inside
11659      <Directory> sections missing a trailing /.  [Ralf S. Engelschall]
11660
11661   *) Clean up Linux settings in conf.h by detecting 2.x versus 1.x.  For
11662      1.x the settings are those of pre-1.2b8.  For 2.x we include
11663      USE_SHMGET_SCOREBOARD (scoreboard in shared memory rather than file) and
11664      HAVE_SYS_RESOURCE_H (enable the RLimit commands).
11665      [Dean Gaudet] PR#336, PR#340
11666
11667   *) Redirect did not preserve ?query_strings when present in the client's
11668      request.  [Dean Gaudet]
11669
11670   *) Configure was finding non-modules on EXTRA_LIBS. [Frank Cringle] PR#380
11671
11672   *) Use /bin/sh5 on ULTRIX.  [P. Alejandro Lopez-Valencia] PR#369
11673
11674   *) Add UnixWare compile/install instructions.  [Chuck Murcko]
11675
11676   *) Add mod_example (illustration of API techniques).  [Ken Coar]
11677
11678   *) Add macro for memmove to conf.h for SUNOS4. [Marc Slemko]
11679
11680   *) Improve handling of directories when filenames have spaces in them.
11681      [Chuck Murcko]
11682
11683   *) For hosts with multiple IP addresses, try all additional addresses if
11684      necessary to get a connect. Fail only if hostent address list is
11685      exhausted. [Chuck Murcko]
11686
11687   *) More signed/unsigned port fixes.  [Dean Gaudet]
11688
11689   *) HARD_SERVER_LIMIT can be defined in the Configuration file now.
11690      [Dean Gaudet]
11691
11692 Changes with Apache 1.2b8
11693
11694   *) suexec.c doesn't close the log file, allowing CGIs to continue writing
11695      to it.  [Marc Slemko]
11696
11697   *) The addition of <Location> and <File> directives made the
11698      sub_req_lookup_simple() function bogus, so we now handle
11699      the special cases directly.  [Dean Gaudet]
11700
11701   *) We now try to log where the server is dumping core when a fatal
11702      signal is received.  [Ken Coar]
11703
11704   *) Improved lingering_close by adding a special timeout, removing the
11705      spurious log messages, removing the nonblocking settings (they
11706      are not needed with the better timeout), and adding commentary
11707      about the NO_LINGCLOSE and USE_SO_LINGER issues.  NO_LINGCLOSE is
11708      now the default for SunOS4, UnixWare, NeXT, and IRIX.  [Roy Fielding]
11709
11710   *) Send error messages about setsockopt failures to the server error
11711      log instead of stderr.  [Roy Fielding]
11712
11713   *) Fix loopholes in proxy cache expiry vis a vis alarms. [Brian Moore]
11714
11715   *) Stopgap solution for CGI 3-second delay with server-side includes: if
11716      processing a subrequest, allocate memory from r->main->pool instead
11717      of r->pool so that we can avoid waiting for free_proc_chain to cleanup
11718      in the middle of an SSI request.  [Dean Gaudet] PR #122
11719
11720   *) Fixed status of response when POST is received for a nonexistent URL
11721      (was sending 405, now 404) and when any method is sent with a
11722      full-URI that doesn't match the server and the server is not acting
11723      as a proxy (was sending 501, now 403).  [Roy Fielding]
11724
11725   *) Host port changed to unsigned short. [Ken Coar] PR #276
11726
11727   *) Fix typo in command definition of AuthAuthoritative. [Ken Coar] PR #246
11728
11729   *) Defined USE_SHMGET_SCOREBOARD for shared memory on Linux.  [Dean Gaudet]
11730
11731   *) Report extra info from errno with many errors that cause httpd to exit.
11732      spawn_child, popenf, and pclosef now have valid errno returns in the
11733      event of an error.  Correct problems where errno was stomped on
11734      before being reported.  [Dean Gaudet]
11735
11736   *) In the proxy, if the cache filesystem was full, garbage_coll() was
11737      never called, and thus the filesystem would remain full indefinitely.
11738      We now also remove incomplete cache files left if the origin server
11739      didn't send a Content-Length header and either the client has aborted
11740      transfer or bwrite() to client has failed. [Petr Lampa]
11741
11742   *) Fixed the handling of module and script-added header fields.
11743      Improved the interface for sending header fields and reduced
11744      the duplication of code between sending okay responses and errors.
11745      We now always send both headers_out and err_headers_out, and
11746      ensure that the server-reserved fields are not being overridden,
11747      while not overriding those that are not reserved.  [Roy Fielding]
11748
11749   *) Moved transparent content negotiation fields to err_headers_out
11750      to reflect above changes.  [Petr Lampa]
11751
11752   *) Fixed the determination of whether or not we should make the
11753      connection persistent for all of the cases where some other part
11754      of the server has already indicated that we should not.  Also
11755      improved the ordering of the test so that chunked encoding will
11756      be set whenever it is desired instead of only when KeepAlive
11757      is enabled. Added persistent connection capability for most error
11758      responses (those that do not indicate a bad input stream) when
11759      accessed by an HTTP/1.1 client. [Roy Fielding]
11760
11761   *) Added missing timeouts for sending header fields, error responses,
11762      and the last chunk of chunked encoding, each of which could have
11763      resulted in a process being stuck in write forever.  Using soft_timeout
11764      requires that the sender check for an aborted connection rather than
11765      continuing after an EINTR.  Timeouts that used to be initiated before
11766      send_http_header (and never killed) are now initiated only within or
11767      around the routines that actually do the sending, and not allowed to
11768      propagate above the caller.  [Roy Fielding]
11769
11770   *) mod_auth_anon required an @ or a . in the email address, not both.
11771      [Dirk vanGulik]
11772
11773   *) per_dir_defaults weren't set correctly until directory_walk for
11774      name-based vhosts.  This fixes an obscure bug with the wrong config
11775      info being used for vhosts that share the same ip as the server.
11776      [Dean Gaudet]
11777
11778   *) Improved generation of modules/Makefile to be more generic for
11779      new module directories. [Ken Coar, Chuck Murcko, Roy Fielding]
11780
11781   *) Generate makefile dependency for Configuration based on the actual
11782      name given when running the Configure process.  [Dean Gaudet]
11783
11784   *) Fixed problem with vhost error log not being set prior to
11785      initializing virtual hosts. [Dean Gaudet]
11786
11787   *) Fixed infinite loop when a trailing slash is included after a type map
11788      file URL (extra path info). [Petr Lampa]
11789
11790   *) Fixed server status updating of per-connection counters. [Roy Fielding]
11791
11792   *) Add documentation for DNS issues (reliability and security), and try
11793      to explain the virtual host matching process.  [Dean Gaudet]
11794
11795   *) Try to continue gracefully by disabling the vhost if a DNS lookup
11796      fails while parsing the configuration file.  [Dean Gaudet]
11797
11798   *) Improved calls to setsockopt.  [Roy Fielding]
11799
11800   *) Negotiation changes: Don't output empty content-type in variant list;
11801      Output charset in variant list; Return sooner from handle_multi() if
11802      no variants found; Add handling of '*' wildcard in Accept-Charset.
11803      [Petr Lampa and Paul Sutton]
11804
11805   *) Fixed overlaying of request/sub-request notes and headers in
11806      mod_negotiation.  [Dean Gaudet]
11807
11808   *) If two variants' charset quality are equal and one is the default
11809      charset (iso-8859-1), then prefer the variant that was specifically
11810      listed in Accept-Charset instead of the default.  [Petr Lampa]
11811
11812   *) Memory allocation problem in push_array() -- it would corrupt memory
11813      when nalloc==0.  [Kai Risku <krisku tf.hut.fi> and Roy Fielding]
11814
11815   *) invoke_handler() doesn't handle mime arguments in content-type
11816      [Petr Lampa] PR#160
11817
11818   *) Reduced IdentityCheck timeout to 30 seconds, as per RFC 1413 minimum.
11819      [Ken Coar]
11820
11821   *) Fixed problem with ErrorDocument not working for virtual hosts
11822      due to one of the performance changes in 1.2b7. [Dean Gaudet]
11823
11824   *) Log an error message if we get a request header that is too long,
11825      since it may indicate a buffer overflow attack. [Marc Slemko]
11826
11827   *) Made is_url() allow "[-.+a-zA-Z0-9]+:" as a valid scheme and
11828      not reject URLs without a double-slash, as per RFC2068 section 3.2.
11829      [Ken Coar] PR #146, #187
11830
11831   *) Added table entry placeholder for new header_parser callback
11832      in all of the distributed modules. [Ken Coar] PR #191
11833
11834   *) Allow for cgi files without the .EXE extension on them under OS/2.
11835      [Garey Smiley] PR #59
11836
11837   *) Fixed error message when resource is not found and URL contains
11838      path info. [Petr Lampa and Dean Gaudet] PR #40
11839
11840   *) Fixed user and server confusion over what should be a virtual host
11841      and what is the main server, resulting in access to something
11842      other than the name defined in the virtualhost directive (but
11843      with the same IP address) failing. [Dean Gaudet]
11844
11845   *) Updated mod_rewrite to version 3.0.2, which: fixes compile error on
11846      AIX; improves the redirection stuff to enable the users to generally
11847      redirect to http, https, gopher and ftp; added TIME variable for
11848      RewriteCond which expands to YYYYMMDDHHMMSS strings and added the
11849      special patterns >STRING, <STRING and =STRING to RewriteCond, which
11850      can be used in conjunction with %{TIME} or other variables to create
11851      time-dependent rewriting rules. [Ralf S. Engelschall]
11852
11853   *) bpushfd() no longer notes cleanups for the file descriptors it is handed.
11854      Module authors may need to adjust their code for proper cleanup to take
11855      place (that is, call note_cleanups_for_fd()). This change fixes problems
11856      with file descriptors being erroneously closed when the proxy module was
11857      in use. [Ben Laurie]
11858
11859   *) Fix bug in suexec reintroduced by changes in 1.2b7 which allows
11860      initgroups() to hose the group information needed for later
11861      comparisons. [Randy Terbush]
11862
11863   *) Remove unnecessary call to va_end() in create_argv() which
11864      caused a SEGV on some systems.
11865
11866   *) Use proper MAXHOSTNAMELEN symbol for limiting length of server name.
11867      [Dean Gaudet]
11868
11869   *) Clear memory allocated for listeners. [Randy Terbush]
11870
11871   *) Improved handling of IP address as a virtualhost address and
11872      introduced "_default_" as a synonym for the default vhost config.
11873      [Dean Gaudet] PR #212
11874
11875 Changes with Apache 1.2b7
11876
11877   *) Port to  UXP/DS(V20) [Toshiaki Nomura <nom yk.fujitsu.co.jp>]
11878
11879   *) unset Content-Length if chunked (RFC-2068) [Petr Lampa]
11880
11881   *) mod_negotiation fixes [Petr Lampa] PR#157, PR#158, PR#159
11882      - replace protocol response numbers with symbols
11883      - save variant-list into main request notes
11884      - free allocated memory from subrequests
11885      - merge notes, headers_out and err_headers_out
11886
11887   *) changed status check mask in proxy_http.c from "HTTP/#.# ### *" to
11888      "HTTP/#.# ###*" to be more lenient about what we accept.
11889      [Chuck Murcko]
11890
11891   *) more proxy FTP bug fixes:
11892      - Changed send_dir() to remove user/passwd from displayed URL.
11893      - Changed login error messages to be more descriptive.
11894      - remove setting of SO_DEBUG socket option
11895      - Make ftp_getrc() more lenient about multiline responses,
11896        specifically, 230 responses which don't have continuation 230-
11897        on each line). These seem to be all NT FTP servers, and while
11898        perhaps questionable, they appear to be legal by RFC 959.
11899      - Add missing kill_timeout() after transfer to user completes.
11900      [Chuck Murcko]
11901
11902   *) Fixed problem where a busy server could hang when restarting
11903      after being sent a SIGHUP due to child processes not exiting.
11904      [Marc Slemko]
11905
11906   *) Modify mod_include escaping so a '\' only signifies an escaped
11907      character if the next character is one that needs
11908      escaping.  [Ben Laurie]
11909
11910   *) Eliminated possible infinite loop in mod_imap when relative URLs are
11911      used with a 'base' directive that does not have a '/' in it.
11912      [Marc Slemko, reported by Onno Witvliet <onno tc.hsa.nl>]
11913
11914   *) Reduced the default timeout from 1200 seconds to 300, and the
11915      one in the sample configfile from 400 to 300.  [Marc Slemko]
11916
11917   *) Stop vbprintf from crashing if given a NULL string pointer;
11918      print (null) instead.  [Ken Coar]
11919
11920   *) Don't disable Nagle algorithm if system doesn't have TCP_NODELAY.
11921      [Marc Slemko and Roy Fielding]
11922
11923   *) Fixed problem with mod_cgi-generated internal redirects trying to
11924      read the request message-body twice. [Archie Cobbs and Roy Fielding]
11925
11926   *) Reduced timeout on lingering close, removed possibility of a blocked
11927      read causing the child to hang, and stopped logging of errors if
11928      the socket is not connected (reset by client).  [Roy Fielding]
11929
11930   *) Rearranged main child loop to remove duplication of code in
11931      select/accept and keep-alive requests, fixed several bugs regarding
11932      checking scoreboard_image for exit indication and failure to
11933      account for all success conditions and trap all error conditions,
11934      prevented multiple flushes before closing the socket; close the entire
11935      socket buffer instead of just one descriptor, prevent logging of
11936      EPROTO and ECONNABORTED on platforms where supported, and generally
11937      improved readability.  [Roy Fielding]
11938
11939   *) Extensive performance improvements. Cleaned up inefficient use of
11940      auto initializers, multiple is_matchexp calls on a static string,
11941      and excessive merging of response_code_strings. [Dean Gaudet]
11942
11943   *) Added double-buffering to mod_include to improve performance on
11944      server-side includes. [Marc Slemko]
11945
11946   *) Several fixes for suexec wrapper. [Randy Terbush]
11947      - Make wrapper work for files on NFS filesystem.
11948      - Fix portability problem of MAXPATHLEN.
11949      - Fix array overrun problem in clean_env().
11950      - Fix allocation of PATH environment variable
11951
11952   *) Removed extraneous blank line is description of mod_status chars.
11953      [Kurt Kohler]
11954
11955   *) Logging of errors from the call_exec routine simply went nowhere,
11956      since the logfile fd has been closed, so now we send them to stderr.
11957      [Harald T. Alvestrand]
11958
11959   *) Fixed core dump when DocumentRoot is a CGI.
11960      [Ben Laurie, reported by <geddis tesserae.com>]
11961
11962   *) Fixed potential file descriptor leak in mod_asis; updated it and
11963      http_core to use pfopen/pfclose instead of fopen/fclose.
11964      [Randy Terbush and Roy Fielding]
11965
11966   *) Fixed handling of unsigned ints in ap_snprintf() on some chips such
11967      as the DEC Alpha which is 64-bit but uses 32-bit ints.
11968      [Dean Gaudet and Ken Coar]
11969
11970   *) Return a 302 response code to the client when sending a redirect
11971      due to a missing trailing '/' on a directory instead of a 301; now
11972      it is cacheable. [Markus Gyger]
11973
11974   *) Fix condition where, if a bad directive occurs in .htaccess, and
11975      sub_request() goes first to this directory, then log_reason() will
11976      SIGSEGV because it doesn't have initialized r->per_dir_config.
11977      [PR#162 from Petr Lampa, fix by Marc Slemko and Dean Gaudet]
11978
11979   *) Fix handling of lang_index in is_variant_better().  This was
11980      causing problems which resulted in the server sending the
11981      wrong language document in some cases. [Petr Lampa]
11982
11983   *) Remove free() from clean_env() in suexec wrapper. This was nuking
11984      the clean environment on some systems.
11985
11986   *) Tweak byteserving code (e.g. serving PDF files) to work around
11987      bugs in Netscape Navigator and Microsoft Internet Explorer.
11988      Emit Content-Length header when sending multipart/byteranges.
11989      [Alexei Kosut]
11990
11991   *) Port to HI-UX/WE2. [Nick Maclaren]
11992
11993   *) Port to HP MPE operating system for HP 3000 machines
11994      [Mark Bixby <markb cccd.edu>]
11995
11996   *) Fixed bug which caused a segmentation fault if only one argument
11997      given to RLimit* directives. [Ed Korthof]
11998
11999   *) Continue persistent connection after 204 or 304 response. [Dean Gaudet]
12000
12001   *) Improved buffered output to the client by delaying the flush decision
12002      until the BUFF code is actually about to read the next request.
12003      This fixes a problem introduced in 1.2b5 with clients that send
12004      an extra CRLF after a POST request. Also improved chunked output
12005      performance by combining writes using writev() and removing as
12006      many bflush() calls as possible.  NOTE: Platforms without writev()
12007      must add -DNO_WRITEV to the compiler CFLAGS, either in Configuration
12008      or Configure, unless we have already done so.  [Dean Gaudet]
12009
12010   *) Fixed mod_rewrite bug which truncated the rewritten URL [Marc Slemko]
12011
12012   *) Fixed mod_info output corruption bug introduced by buffer overflow
12013      fixes. [Dean Gaudet]
12014
12015   *) Fixed http_protocol to correctly output all HTTP/1.1 headers, including
12016      for the special case of a 304 response.  [Paul Sutton]
12017
12018   *) Improved handling of TRACE method by bypassing normal method handling
12019      and header parsing routines; fixed Allow response to always allow TRACE.
12020      [Dean Gaudet]
12021
12022   *) Fixed compiler warnings in the regex library. [Dean Gaudet]
12023
12024   *) Cleaned-up some of the generated HTML. [Ken Coar]
12025
12026 Changes with Apache 1.2b6
12027
12028   *) Allow whitespace in imagemap mapfile coordinates. [Marc Slemko]
12029
12030   *) Fix typo introduced in fix for potential infinite loop around
12031      accept() in child_main(). This change caused the rev to 1.2b6.
12032      1.2b5 was never a public beta.
12033
12034 Changes with Apache 1.2b5
12035
12036   *) Change KeepAlive semantics (On|Off instead of a number), add
12037      MaxKeepAliveRequests directive. [Alexei Kosut]
12038
12039   *) Various NeXT compilation patches, as well as a change in
12040      regex/regcomp.c since that file also used a NEXT define.
12041      [Andreas Koenig]
12042
12043   *) Allow * to terminate the end of a directory match in mod_dir.
12044      Allows /~* to match for both /~joe and /~joe/. [David Bronder]
12045
12046   *) Don't call can_exec() if suexec_enabled. Calling this requires
12047      scripts executed by the suexec wrapper to be world executable, which
12048      defeats one of the advantages of running the wrapper. [Randy Terbush]
12049
12050   *) Portability Fix: IRIX complained with 'make clean' about *pure* (removed)
12051      [Jim Jagielski]
12052
12053   *) Migration from sprintf() to snprintf() to avoid buffer
12054      overflows. [Marc Slemko]
12055
12056   *) Provide portable snprintf() implementation (ap_snprintf)
12057      as well as *cvt family. [Jim Jagielski]
12058
12059   *) Portability Fix: NeXT lacks unistd.h so we wrap it's inclusion
12060      [Jim Jagielski]
12061
12062   *) Remove mod_fastcgi.c from the distribution. This module appears
12063      to be maintained more through the Open Market channels and should
12064      continue to be easily available at http://www.fastcgi.com/
12065
12066   *) Fixed bug in modules/Makefile that wouldn't allow building in more
12067      than one subdirectory (or cleaning, either). [Jeremy Laidman]
12068
12069   *) mod_info assumed that the config files were relative to ServerRoot.
12070      [Ken the Rodent]
12071
12072   *) CGI scripts called as an error document resulting from failed
12073      CGI execution would hang waiting for POST'ed data. [Rob Hartill]
12074
12075   *) Log reason when mod_dir returns access HTTP_FORBIDDEN
12076      [Ken the Rodent]
12077
12078   *) Properly check errno to prevent display of a directory index
12079      when server receives a long enough URL to confuse stat().
12080      [Marc Slemko]
12081
12082   *) Several security enhancements to suexec wrapper. It is _highly_
12083      recommended that previously installed versions of the wrapper
12084      be replaced with this version.  [Randy Terbush, Jason Dour]
12085
12086         - ~user execution now properly restricted to ~user's home
12087           directory and below.
12088         - execution restricted to UID/GID > 100
12089         - restrict passed environment to known variables
12090         - call setgid() before initgroups() (portability fix)
12091         - remove use of setenv() (portability fix)
12092
12093   *) Add HTTP/1.0 response forcing. [Ben Laurie]
12094
12095   *) Add access control via environment variables. [Ben Laurie]
12096
12097   *) Add rflush() function. [Alexei Kosut]
12098
12099   *) remove duplicate pcalloc() call in new_connection().
12100
12101   *) Fix incorrect comparison which could allow number of children =
12102      MaxClients + 1 if less than HARD_SERVER_LIMIT. Also fix potential
12103      problem if StartServers > HARD_SERVER_LIMIT. [Ed Korthof]
12104
12105   *) Updated support for OSes (MachTen, ULTRIX, Paragon, ISC, OpenBSD
12106      AIX PS/2, CONVEXOS. [Jim Jagielski]
12107
12108   *) Replace instances of inet_ntoa() with inet_addr() for ProxyBlock.
12109      It's more portable. [Martin Kraemer]
12110
12111   *) Replace references to make in Makefile.tmpl with $(MAKE).
12112      [Chuck Murcko]
12113
12114   *) Add ProxyBlock directive w/IP address caching. Add IP address
12115      caching to NoCache directive as well. ProxyBlock works with all
12116      handlers; NoCache now also works with FTP for anonymous logins.
12117      Still more code cleanup. [Chuck Murcko]
12118
12119   *) Add "header parse" API hook [Ben Laurie]
12120
12121   *) Fix byte ordering problems for REMOTE_PORT [Chuck Murcko]
12122
12123   *) suEXEC wrapper was freeing memory that had not been malloc'ed.
12124
12125   *) Correctly allow access and auth directives in <Files> sections in
12126      server config files. [Alexei Kosut]
12127
12128   *) Fix bug with ServerPath that could cause certain files to be not
12129      found by the server. [Alexei Kosut]
12130
12131   *) Fix handling of ErrorDocument so that it doesn't remove a trailing
12132      double-quote from text and so that it properly checks for unsupported
12133      status codes using the new index_of_response interface. [Roy Fielding]
12134
12135   *) Multiple fixes to the lingering_close code in order to avoid being
12136      interrupted by a stray timeout, to avoid lingering on a connection
12137      that has already been aborted or never really existed, to ensure that
12138      we stop lingering as soon as any error condition is received, and to
12139      prevent being stuck indefinitely if the read blocks.  Also improves
12140      reporting of error conditions.  [Marc Slemko and Roy Fielding]
12141
12142   *) Fixed initialization of parameter structure for sigaction.
12143      [<mgyger itr.ch>, Adrian Filipi-Martin]
12144
12145   *) Fixed reinitializing the parameters before each call to accept and
12146      select, and removed potential for infinite loop in accept.
12147      [Roy Fielding, after useful PR from <adrian virginia.edu>]
12148
12149   *) Fixed condition where, if a child fails to fork, the scoreboard would
12150      continue to say SERVER_STARTING forever. Eventually, the main process
12151      would refuse to start new children because count_idle_servers() will
12152      count those SERVER_STARTING entries and will always report that there
12153      are enough idle servers. [Phillip Vandry]
12154
12155   *) Fixed bug in bcwrite regarding failure to account for partial writes.
12156      Avoided calling bflush() when the client is pipelining requests.
12157      Removed unnecessary flushes from http_protocol. [Dean Gaudet]
12158
12159   *) Added description of "." mode in server-status [Jim Jagielski]
12160
12161 Changes with Apache 1.2b4
12162
12163   *) Fix possible race condition in accept_mutex_init() that
12164      could leave a small security hole open allowing files to be
12165      overwritten in cases where the server UID has write permissions.
12166      [Marc Slemko]
12167
12168   *) Fix awk compatibilty problem in Configure. [Jim Jagielski]
12169
12170   *) Fix portablity problem in util_script where ARG_MAX may not be
12171      defined for some systems.
12172
12173   *) Add changes to allow compilation on Machten 4.0.3 for PowerPC.
12174      [Randal Schwartz]
12175
12176   *) OS/2 changes to support an MMAP style scoreboard file and UNIX
12177      style magic #! token for better script portability. [Garey Smiley]
12178
12179   *) Fix bug in suexec wrapper introduced in b3 that would cause failed
12180      execution for ~userdir CGI. [Jason Dour]
12181
12182   *) Fix initgroups() business in suexec wrapper. [Jason Dour]
12183
12184   *) Fix month off by one in suexec wrapper logging.
12185
12186 Changes with Apache 1.2b3:
12187
12188   *) Fix error in mod_cgi which could cause resources not to be properly
12189      freed, or worse. [Dean Gaudet]
12190
12191   *) Fix find_string() NULL pointer dereference. [Howard Fear]
12192
12193   *) Add set_flag_slot() at the request of Dirk and others.
12194      [Dirk vanGulik]
12195
12196   *) Sync mod_rewrite with patch level 10. [Ralf Engelschall]
12197
12198   *) Add changes to improve the error message given for invalid
12199      ServerName parameters. [Dirk vanGulik]
12200
12201   *) Add "Authoritative" directive for Auth modules that don't
12202      currently have it. This gives admin control to assign authoritative
12203      control to an authentication scheme and allow "fall through" for
12204      those authentication modules that aren't "Authoritative" thereby
12205      allowing multiple authentication mechanisms to be chained.
12206      [Dirk vanGulik]
12207
12208   *) Remove requirement for ResourceConfig/AccessConfig if not using
12209      the three config file layout. [Randy Terbush]
12210
12211   *) Add PASV mode to mod_proxy FTP handler. [Chuck Murcko]
12212
12213   *) Changes to suexec wrapper to fix the following problems:
12214      1.  symlinked homedirs will kill ~userdirs.
12215      2.  initgroups() on Linux 2.0.x clobbers gr->grid.
12216      3.  CGI command lines paramters problems
12217      4.  pw-pwdir for "docroot check" still the httpd user's pw record.
12218     [Randy Terbush, Jason Dour]
12219
12220   *) Change create_argv() to accept variable arguments. This fixes
12221      a problem where arguments were not getting passed to the CGI via
12222      argv[] when the suexec wrapper was active. [Randy Terbush, Jake Buchholz]
12223
12224   *) Collapse multiple slashes in path URLs to properly apply
12225      handlers defined by <Location>. [Alexei Kosut]
12226
12227   *) Define a sane set of DEFAULT_USER and DEFAULT_GROUP values for AIX.
12228
12229   *) Improve the accuracy of request duration timings by setting
12230      r->request_time in read_request_line() instead of read_request().
12231      [Dean Gaudet]
12232
12233   *) Reset timeout while reading via get_client_block() in mod_cgi.c
12234      Fixes problem with timed out transfers of large files. [Rasmus Lerdorf]
12235
12236   *) Add the ability to pass different Makefile.tmpl files to Configure
12237      using the -make flag. [Rob Hartill]
12238
12239   *) Fix coredump triggered when sending a SIGHUP to the server caused
12240      by an assertion failure, in turn caused by an uninitialised field in a
12241      listen_rec.
12242      [Ben Laurie]
12243
12244   *) Add FILEPATH_INFO variable to CGI environment, which is equal to
12245      PATH_INFO from previous versions of Apache (in certain situations,
12246      Apache 1.2's PATH_INFO will be different than 1.1's). [Alexei Kosut]
12247      [later removed in 1.2b11]
12248
12249   *) Add rwrite() function to API to allow for sending strings of
12250      arbitrary length. [Doug MacEachern]
12251
12252   *) Remove rlim_t typedef for NetBSD. Do older versions need this?
12253
12254   *) Defined rlim_t and WANTHSREGEX=yes and fixed waitpid() substitute for
12255      NeXT. [Jim Jagielski]
12256
12257   *) Removed recent modification to promote the status code on internal
12258      redirects, since the correct fix was to change the default log format
12259      in mod_log_config so that it outputs the original status. [Rob Hartill]
12260
12261 Changes with Apache 1.2b2:
12262
12263   *) Update set_signals() to use sigaction() for setting handlers.
12264      This appears to fix a re-entrant problem in the seg_fault()
12265      bus_error() handlers. [Randy Terbush]
12266
12267   *) Changes to allow mod_status compile for OS/2 [Garey Smiley]
12268
12269   *) changes for DEC AXP running OSF/1 v3.0. [Marc Evans]
12270
12271   *) proxy_http.c bugfixes:  [Chuck Murcko]
12272         1) fixes possible NULL pointer reference w/NoCache
12273         2) fixes NoCache behavior when using ProxyRemote (ProxyRemote
12274            host would cache nothing if it was in the local domain,
12275            and the local domain was in the NoCache list)
12276         3) Adds Host: header when not available
12277         4) Some code cleanup and clarification
12278
12279   *) mod_include.c bugfixes:
12280         1) Fixed an ommission that caused include variables to not
12281            be parsed in config errmsg directives [Howard Fear]
12282         2) Remove HAVE_POSIX_REGEX cruft [Alexei Kosut]
12283         3) Patch to fix compiler warnings [<perrot lal.in2p3.fr>]
12284         4) Allow backslash-escaping to all quoted text
12285            [Ben Yoshino <ben wiliki.eng.hawaii.edu>]
12286         5) Pass variable to command line if not set in XSSI's env
12287            [Howard Fear]
12288
12289   *) Fix infinite loop when processing Content-language lines in
12290      type-map files. [Alexei Kosut]
12291
12292   *) Closed file-globbing hole in test-cgi script. [Brian Behlendorf]
12293
12294   *) Fixed problem in set_[user|group] that prevented CGI execution
12295      for non-virtualhosts when suEXEC was enabled. [Randy Terbush]
12296
12297   *) Added PORTING information file.  [Jim Jagielski]
12298
12299   *) Added definitions for S_IWGRP and S_IWOTH to conf.h [Ben Laurie]
12300
12301   *) Changed default group to "nogroup" instead of "nobody" [Randy Terbush]
12302
12303   *) Fixed define typo of FCNTL_SERIALIZED_ACCEPT where
12304      USE_FCNTL_SERIALIZED_ACCEPT was intended.
12305
12306   *) Fixed additional uses of 0xffffffff where INADDR_NONE was intended,
12307      which caused problems of systems where socket s_addr is >32bits.
12308
12309   *) Added comment to explain (r->chunked = 1) side-effect in
12310      http_protocol.c [Roy Fielding]
12311
12312   *) Replaced use of index() in mod_expires.c with more appropriate
12313      and portable isdigit() test.  [Ben Laurie]
12314
12315   *) Updated Configure for ...
12316         OS/2          (DEF_WANTHSREGEX=yes, other code changes)
12317         *-dg-dgux*    (bad pattern match)
12318         QNX           (DEF_WANTHSREGEX=yes)
12319         *-sunos4*     (DEF_WANTHSREGEX=yes, -DUSEBCOPY)
12320         *-ultrix      (new)
12321         *-unixware211 (new)
12322      and added some user diagnostic info.  [Ben Laurie]
12323
12324   *) In helpers/CutRule, replaced "cut" invocation with "awk" invocation
12325      for better portability. [Jim Jagielski]
12326
12327   *) Updated helpers/GuessOS for ...
12328         SCO 5            (recognize minor releases)
12329         SCO UnixWare     (braindamaged uname, whatever-whatever-unixware2)
12330         SCO UnixWare 2.1.1      (requires a separate set of #defines in conf.h)
12331         IRIX64           (-sgi-irix64)
12332         ULTRIX           (-unknown-ultrix)
12333         SINIX            (-whatever-sysv4)
12334         NCR Unix         (-ncr-sysv4)
12335      and fixed something in helpers/PrintPath  [Ben Laurie]
12336
12337 Changes with Apache 1.2b1
12338
12339   *) Not listed. See <http://www.apache.org/docs/new_features_1_2.html>
12340
12341 Changes with Apache 1.1.1
12342
12343   *) Fixed bug where Cookie module would make two entries in the
12344      logfile for each access [Mark Cox]
12345
12346   *) Fixed bug where Redirect in .htaccess files would cause memory
12347      leak. [Nathan Neulinger]
12348
12349   *) MultiViews now works correctly with AddHandler [Alexei Kosut]
12350
12351   *) Problems with mod_auth_msql fixed [Dirk vanGulik]
12352
12353   *) Fix misspelling of "Anonymous_Authorative" directive in mod_auth_anon.
12354
12355 Changes with Apache 1.1.0
12356
12357   *) Bring NeXT support up to date. [Takaaki Matsumoto]
12358
12359   *) Bring QNX support up to date. [Ben Laurie]
12360
12361   *) Make virtual hosts default to main server keepalive parameters.
12362      [Alexei Kosut, Ben Laurie]
12363
12364   *) Allow ScanHTMLTitles to work with lowercase <title> tags. [Alexei Kosut]
12365
12366   *) Fix missing address family for connect, also remove unreachable statement
12367      in mod_proxy. [Ben Laurie]
12368
12369   *) mod_env now turned on by default in Configuration.tmpl.
12370
12371   *) Bugs which were fixed:
12372         a) yet more mod_proxy bugs [Ben Laurie]
12373         b) CGI works again with inetd [Alexei Kosut]
12374         c) Leading colons were stripped from passwords [<osm interguide.com>]
12375         d) Another fix to multi-method Limit problem [<jk tools.de>]
12376
12377 Changes with Apache 1.1b4
12378
12379   *) r->bytes_sent variable restored. [Robert Thau]
12380
12381   *) Previously broken multi-method <Limit> parsing fixed. [Robert Thau]
12382
12383   *) More possibly unsecure programs removed from the support directory.
12384
12385   *) More mod_auth_msql authentication improvements.
12386
12387   *) VirtualHosts based on Host: headers no longer conflict with the
12388      Listen directive.
12389
12390   *) OS/2 compatibility enhancements. [Gary Smiley]
12391
12392   *) POST now allowed to directory index CGI scripts.
12393
12394   *) Actions now work with files of the default type.
12395
12396   *) Bugs which were fixed:
12397         a) more mod_proxy bugs
12398         b) early termination of inetd requests
12399         c) compile warnings on several systems
12400         d) problems when scripts stop reading output early
12401
12402 Changes with Apache 1.1b3
12403
12404   *) Much of cgi-bin and all of cgi-src has been removed, due to
12405      various security holes found and that we could no longer support
12406      them.
12407
12408   *) The "Set-Cookie" header is now special-cased to not merge multiple
12409      instances, since certain popular browsers can not handle multiple
12410      Set-Cookie instructions in a single header. [Paul Sutton]
12411
12412   *) rprintf() added to buffer code, occurrences of sprintf removed.
12413      [Ben Laurie]
12414
12415   *) CONNECT method for proxy module, which means tunneling SSL should work.
12416      (No crypto needed)  Also a NoCache config directive.
12417
12418   *) Several API additions: pstrndup(), table_unset() and get_token()
12419      functions now available to modules.
12420
12421   *) mod_imap fixups, in particular Location: headers are now complete
12422      URL's.
12423
12424   *) New "info" module which reports on installed module set through a
12425      special URL, a la mod_status.
12426
12427   *) "ServerPath" directive added - allows for graceful transition
12428      for Host:-header-based virtual hosts.
12429
12430   *) Anonymous authentication module improvements.
12431
12432   *) MSQL authentication module improvements.
12433
12434   *) Status module design improved - output now table-based. [Ben Laurie]
12435
12436   *) htdigest utility included for use with digest authentication
12437      module.
12438
12439   *) mod_negotiation: Accept values with wildcards to be treated with
12440      less priority than those without wildcards at the same quality
12441      value. [Alexei Kosut]
12442
12443   *) Bugs which were fixed:
12444         a) numerous mod_proxy bugs
12445         b) CGI early-termination bug [Ben Laurie]
12446         c) Keepalives not working with virtual hosts
12447         d) RefererIgnore problems
12448         e) closing fd's twice in mod_include (causing core dumps on
12449            Linux and elsewhere).
12450
12451 Changes with Apache 1.1b2
12452
12453   *) Bugfixes:
12454         a) core dumps in mod_digest
12455         b) truncated hostnames/ip address in the logs
12456         c) relative URL's in mod_imap map files
12457
12458 Changes with Apache 1.1b1
12459
12460   *) Not listed. See <http://www.apache.org/docs/new_features_1_1.html>
12461
12462 Changes with Apache 1.0.3
12463
12464   *) Internal redirects which occur in mod_dir.c now preserve the
12465      query portion of a request (the bit after the question mark).
12466      [Adam Sussman]
12467
12468   *) Escape active characters '<', '>' and '&' in html output in
12469      directory listings, error messages and redirection links.
12470      [David Robinson]
12471
12472   *) Apache will now work with LynxOS 2.3 and later [Steven Watt]
12473
12474   *) Fix for POSIX compliance in waiting for processes in alloc.c.
12475      [Nick Williams]
12476
12477   *) setsockopt no longer takes a const declared argument [Martijn Koster]
12478
12479   *) Reset timeout timer after each successful fwrite() to the network.
12480      This patch adds a reset_timeout() procedure that is called by
12481      send_fd() to reset the timeout ever time data is written to the net.
12482      [Nathan Schrenk]
12483
12484   *) timeout() signal handler now checks for SIGPIPE and reports
12485      lost connections in a more user friendly way. [Rob Hartill]
12486
12487   *) Location of the "scoreboard" file which used to live in /tmp is
12488      now configurable (for OSes that can't use mmap) via ScoreBoardFile
12489      which works similar to PidFile (in httpd.conf) [Rob Hartill]
12490
12491   *) Include sys/resource.h in the correct place for SunOS4 [Sameer Parekh]
12492
12493   *) the pstrcat call in mod_cookies.c didn't have an ending NULL,
12494      which caused a SEGV with cookies enabled
12495
12496   *) Output warning when MinSpareServers is set to <= 0 and change it to 1
12497      [Rob Hartill]
12498
12499   *) Log the UNIX textual error returned by some system calls, in
12500      particular errors from accept() [David Robinson]
12501
12502   *) Add strerror function to util.c for SunOS4 [Randy Terbush]
12503
12504 Changes with Apache 1.0.2
12505
12506   *) patch to get Apache compiled on UnixWare 2.x, recommended as
12507      a temporary measure, pending rewrite of rfc931.c. [Chuck Murcko]
12508
12509   *) Fix get_basic_auth_pw() to set the auth_type of the request.
12510      [David Robinson]
12511
12512   *) past changes to http_config.c to only use the
12513      setrlimit function on systems defining RLIMIT_NOFILE
12514      broke the feature on SUNOS4. Now defines HAVE_RESOURCE
12515      for SUNOS and prototypes the needed functions.
12516
12517   *) Remove uses of MAX_STRING_LEN/HUGE_STRING_LEN from several routines.
12518      [David Robinson]
12519
12520   *) Fix use of pointer to scratch memory. [Cliff Skolnick]
12521
12522   *) Merge multiple headers from CGI scripts instead of taking last
12523      one. [David Robinson]
12524
12525   *) Add support for SCO 5. [Ben Laurie]
12526
12527 Changes with Apache 1.0.1
12528
12529   *) Silence mod_log_referer and mod_log_agent if not configured
12530      [Randy Terbush]
12531
12532   *) Recursive includes can occur if the client supplies PATH_INFO data
12533      and the server provider uses relative links; as file.html
12534      relative to /doc.shtml/pathinfo is /doc.shtml/file.html. [David Robinson]
12535
12536   *) The replacement for initgroups() did not call {set,end}grent(). This
12537      had two implications: if anything else used getgrent(), then
12538      initgroups() would fail, and it was consuming a file descriptor.
12539      [Ben Laurie]
12540
12541   *) On heavily loaded servers it was possible for the scoreboard to get
12542      out of sync with reality, as a result of a race condition.
12543      The observed symptoms are far more Apaches running than should
12544      be, and heavy system loads, generally followed by catastrophic
12545      system failure. [Ben Laurie]
12546
12547   *) Fix typo in license. [David Robinson]
12548
12549 Changes with Apache 1.0.0                                        23 Nov 1995
12550
12551   *) Not listed. See <http://www.apache.org/docs/new_features_1_0.html>
12552
12553 Changes with Apache 0.8.16                                       05 Nov 1995
12554
12555   *) New man page for 'httpd' added to support directory [David Robinson]
12556
12557   *) .htgroup files can have more than one line giving members for a
12558      given group (each must have the group name in front), for NCSA
12559      back-compatibility [Robert Thau]
12560
12561   *) Mutual exclusion around accept() is on by default for SVR4 systems
12562      generally, since they generally can't handle multiple processes in
12563      accept() on the same socket.  This should cure flaky behavior on
12564      a lot of those systems.  [David Robinson]
12565
12566   *) AddType, AddEncoding, and AddLanguage directives take multiple
12567      extensions on a single command line [David Robinson]
12568
12569   *) UserDir can be disabled for a given virtual host by saying
12570      "UserDir disabled" in the <VirtualHost> section --- it was a bug
12571      that this didn't work.  [David Robinson]
12572
12573   *) Compiles on QNX [Ben Laurie]
12574
12575   *) Corrected parsing of ctime time format [David Robinson]
12576
12577   *) httpd does a perror() before exiting if it can't log its pid
12578      to the PidFile, to make diagnosing the error a bit easier.
12579      [David Robinson]
12580
12581   *) <!--#include file="..."--> can no longer include files in the
12582      parent directory, for NCSA back-compatibility.  [David Robinson]
12583
12584   *) '~' is *not* escaped in URIs generated for directory listings
12585      [Roy Fielding]
12586
12587   *) Eliminated compiler warning in the imagemap module [Randy Terbush]
12588
12589   *) Fixed bug involving handling URIs with escaped %-characters
12590      in redirects [David Robinson]
12591
12592 Changes with Apache 0.8.15                                       14 Oct 1995
12593
12594   *) Switched to new, simpler license
12595
12596   *) Eliminated core dumps with improperly formatted DBM group files [Mark Cox]
12597
12598   *) Don't allow requests for ordinary files to have PATH_INFO [Ben Laurie]
12599
12600   *) Reject paths containing %-escaped '%' or null characters [David Robinson]
12601
12602   *) Correctly handles internal redirects to files with names containing '%'
12603      [David Robinson]
12604
12605   *) Repunctuated some error messages [Aram Mirzadeh, Andrew Wilson]
12606
12607   *) Use geteuid() rather than getuid() to see if we have root privilege,
12608      so that server correctly resets privilege if run setuid root.  [Andrew
12609      Wilson]
12610
12611   *) Handle ftp: and telnet: URLs correctly in imagemaps (built-in module)
12612      [Randy Terbush]
12613
12614   *) Fix relative URLs in imagemap files [Randy Terbush]
12615
12616   *) Somewhat better fix for the old "Alias /foo/ /bar/" business
12617      [David Robinson]
12618
12619   *) Don't repeatedly open the ErrorLog if a bunch of <VirtualHost>
12620      entries all name the same one. [David Robinson]
12621
12622   *) Fix directory listings with filenames containing unusual characters
12623      [David Robinson]
12624
12625   *) Better URI-escaping for generated URIs in directories with filenames
12626      containing unusual characters [Ben Laurie]
12627
12628   *) Fixed potential FILE* leak in http_main.c [Ben Laurie]
12629
12630   *) Unblock alarms on error return from spawn_child() [David Robinson]
12631
12632   *) Sample Config files have extra note for SCO users [Ben Laurie]
12633
12634   *) Configuration has note for HP-UX users [Rob Hartill]
12635
12636   *) Eliminated some bogus Linux-only #defines in conf.h [Aram Mirzadeh]
12637
12638   *) Nuked bogus #define in httpd.h [David Robinson]
12639
12640   *) Better test for whether a system has setrlimit() [David Robinson]
12641
12642   *) Calls update_child_status() after reopen_scoreboard() [David Robinson]
12643
12644   *) Doesn't send itself SIGHUP on startup when run in the -X debug-only mode
12645      [Ben Laurie]
12646
12647 Changes with Apache 0.8.14                                       19 Sep 1995
12648
12649   *) Compiles on SCO ODT 3.0 [Ben Laurie]
12650
12651   *) AddDescription works (better) [Ben Laurie]
12652
12653   *) Leaves an intelligible error diagnostic when it can't set group
12654      privileges on standalone startup [Andrew Wilson]
12655
12656   *) Compiles on NeXT again --- the 0.8.13 RLIMIT patch was failing on
12657      that machine, which claims to be BSD but does not support RLIMIT.
12658      [Randy Terbush]
12659
12660   *) gcc -Wall no longer complains about an unused variable when util.c
12661      is compiled with -DMINIMAL_DNS [Andrew Wilson]
12662
12663   *) Nuked another compiler warning for -Wall on Linux [Aram Mirzadeh]
12664
12665 Changes with Apache 0.8.13                                       07 Sep 1995
12666
12667   *) Make IndexIgnore *work* (ooops) [Jarkko Torppa]
12668
12669   *) Have built-in imagemap code recognize & honor Point directive [James
12670      Cloos]
12671
12672   *) Generate cleaner directory listings in directories with a mix of
12673      long and short filenames [Rob Hartill]
12674
12675   *) Properly initialize dynamically loaded modules [Royston Shufflebotham]
12676
12677   *) Properly default ServerName for virtual servers [Robert Thau]
12678
12679   *) Rationalize handling of BSD in conf.h and elsewhere [Randy Terbush,
12680      Paul Richards and a cast of thousands...]
12681
12682   *) On self-identified BSD systems (we don't try to guess any more),
12683      allocate a few extra file descriptors per virtual host with setrlimit,
12684      if we can, to avoid running out. [Randy Terbush]
12685
12686   *) Write 22-character lock file name into buffer with enough space
12687      on startup [Konstantin Olchanski]
12688
12689   *) Use archaic setpgrp() interface on NeXT, which requires it [Brian
12690      Pinkerton]
12691
12692   *) Suppress -Wall warning by casting const away in util.c [Aram Mirzadeh]
12693
12694   *) Suppress -Wall warning by initializing variable in negotiation code
12695      [Tobias Weingartner]
12696
12697 Changes with Apache 0.8.12                                       31 Aug 1995
12698
12699   *) Doesn't pause three seconds after including a CGI script which is
12700      too slow to die off (this is done by not even trying to kill off
12701      subprocesses, including the SIGTERM/pause/SIGKILL routine, until
12702      after the entire document has been processed).  [Robert Thau]
12703
12704   *) Doesn't do SSI if Options Includes is off.  (Ooops).  [David Robinson]
12705
12706   *) Options IncludesNoExec allows inclusion of at least text/* [Roy Fielding]
12707
12708   *) Allows .htaccess files to override <Directory> sections naming the
12709      same directory [David Robinson]
12710
12711   *) Removed an efficiency hack in sub_req_lookup_uri which was
12712      causing certain extremely marginal cases (e.g., ScriptAlias of a
12713      *particular* index.html file) to fail.  [David Robinson]
12714
12715   *) Doesn't log an error when the requested URI requires
12716      authentication, but no auth header line was supplied by the
12717      client; this is a normal condition (the client doesn't no auth is
12718      needed here yet).  [Robert Thau]
12719
12720   *) Behaves more sanely when the name server loses its mind [Sean Welch]
12721
12722   *) RFC931 code compiles cleanly on old BSDI releases [Randy Terbush]
12723
12724   *) RFC931 code no longer passes out name of prior clients on current
12725      requests if the current request came from a server that doesn't
12726      do RFC931.  [David Robinson]
12727
12728   *) Configuration script accepts "Module" lines with trailing whitespace.
12729      [Robert Thau]
12730
12731   *) Cleaned up compiler warning from mod_access.c [Robert Thau]
12732
12733   *) Cleaned up comments in mod_cgi.c [Robert Thau]
12734
12735 Changes with Apache 0.8.11                                       24 Aug 1995
12736
12737   *) Wildcard <Directory> specifications work.  [Robert Thau]
12738
12739   *) Doesn't loop for buggy CGI on Solaris [Cliff Skolnick]
12740
12741   *) Symlink checks (FollowSymLinks off, or SymLinkIfOwnerMatch) always check
12742      the file being requested itself, in addition to the directories leading
12743      up to it. [Robert Thau]
12744
12745   *) Logs access failures due to symlink checks or invalid client address
12746      in the error log [Roy Fielding, Robert Thau]
12747
12748   *) Symlink checks deal correctly with systems where lstat of
12749      "/path/to/some/link/" follows the link.  [Thau, Fielding]
12750
12751   *) Doesn't reset DirectoryIndex to 'index.html' when
12752      other directory options are set in a .htaccess file.  [Robert Thau]
12753
12754   *) Clarified init code and nuked bogus warning in mod_access.c
12755      [Florent Guillaume]
12756
12757   *) Corrected several directives in sample srm.conf
12758      --- includes corrections to directory indexing icon-related directives
12759      (using unknown.gif rather than unknown.xbm as the DefaultIcon, doing
12760      icons for encodings right, and turning on AddEncoding by default).
12761      [Roy Fielding]
12762
12763   *) Corrected descriptions of args to AddIcon and AddAlt in command table
12764      [James Cloos]
12765
12766   *) INSTALL & README mention "contributed modules" directory [Brian
12767      Behlendorf]
12768
12769   *) Fixed English in the license language...  "for for" --> "for".
12770      [Roy Fielding]
12771
12772   *) Fixed ScriptAlias/Alias interaction by moving ScriptAlias handling to
12773      mod_alias.c, merging it almost completely with handling of Alias, and
12774      adding a 'notes' field to the request_rec which allows the CGI module
12775      to discover whether the Alias module has put this request through
12776      ScriptAlias (which it needs to know for back-compatibility, as the old
12777      NCSA code did not check Options ExecCGI in ScriptAlias directories).
12778      [Robert Thau]
12779
12780 Changes with Apache 0.8.10                                       18 Aug 1995
12781
12782   *) AllowOverride applies to the named directory, and not just
12783      subdirectories.  [David Robinson]
12784
12785   *) Do locking for accept() exclusion (on systems that need it)
12786      using a special file created for the purpose in /usr/tmp, and
12787      not the error log; using the error log causes real problems
12788      if it's NFS-mounted; this is known to be the cause of a whole
12789      lot of "server hang" problems with Solaris.  [David Robinson;
12790      thanks to Merten Schumann for help diagnosing the problem].
12791
12792 Changes with Apache 0.8.9                                        12 Aug 1995
12793
12794   *) Compiles with -DMAXIMUM_DNS ---- ooops! [Henrik Mortensen]
12795
12796   *) Nested includes see environment variables of the including document,
12797      for NCSA bug-compatibility (some sites have standard footer includes
12798      which try to print out the last-modified date).  [Eric Hagberg/Robert
12799      Thau]
12800
12801   *) <!--exec cgi="/some/uri/here"--> always treats the item named by the
12802      URI as a CGI script, even if it would have been treated as something
12803      else if requested directly, for NCSA back-compatibility.  (Note that
12804      this means that people who know the name of the script can see the
12805      code just by asking for it).  [Robert Thau]
12806
12807   *) New version of dbmmanage script included in support directory as
12808      dbmmanage.new.
12809
12810   *) Check if scoreboard file couldn't be opened, and say so, rather
12811      then going insane [David Robinson]
12812
12813   *) POST to CGI works on A/UX [Jim Jagielski]
12814
12815   *) AddIcon and AddAlt commands work properly [Rob Hartill]
12816
12817   *) NCSA server push works properly --- the Arena bug compatibility
12818      workaround, which broke it, is gone (use -DARENA_BUG_WORKAROUND
12819      if you still want the workaround).  [Rob Hartill]
12820
12821   *) If client didn't submit any Accept-encodings, ignore encodings in
12822      content negotiation.  (NB this will all have to be reworked anyway
12823      for the new HTTP draft).  [Florent Guillaume]
12824
12825   *) Don't dump core when trying to log timed-out requests [Jim Jagielski]
12826
12827   *) Really honor CacheNegotiatedDocs [Florent Guillaume]
12828
12829   *) Give Redirect priority over Alias, for NCSA bug compatibility
12830      [David Robinson]
12831
12832   *) Correctly set PATH_TRANSLATED in all cases from <!--#exec cmd=""-->,
12833      paralleling earlier bug fix for CGI [David Robinson]
12834
12835   *) If DBM auth is improperly configured, report a server error and don't
12836      dump core.
12837
12838   *) Deleted FCNTL_SERIALIZED_ACCEPTS from conf.h entry for A/UX;
12839      it seems to work well enough without it (even in a 10 hits/sec
12840      workout), and the overhead for the locking under A/UX is
12841      alarmingly high (though it is very low on other systems).
12842      [Eric Hagberg, Jim Jagielski]
12843
12844   *) Fixed portability problems with mod_cookies.c [Cliff Skolnick]
12845
12846   *) Further de-Berklize mod_cookies.c; change the bogus #include.  [Brian
12847      Behlendorf/Eric Hagberg]
12848
12849   *) More improvements to default Configuration for A/UX [Jim Jagielski]
12850
12851   *) Compiles clean on NEXT [Rob Hartill]
12852
12853   *) Compiles clean on SGI [Robert Thau]
12854
12855 Changes with Apache 0.8.8                                        08 Aug 1995
12856
12857   *) SunOS library prototypes now never included unless explicitly
12858      requested in the configuration (via -DSUNOS_LIB_PROTOTYPES);
12859      people using GNU libc on SunOS are screwed by prototypes for the
12860      standard library.
12861
12862      (Those who wish to compile clean with gcc -Wall on a standard
12863      SunOS setup need the prototypes, and may obtain them using
12864      -DSUNOS_LIB_PROTOTYPES.  Those wishing to use -Wall on a system
12865      with nonstandard libraries are presumably competent to make their
12866      own arrangements).
12867
12868   *) Strips trailing '/' characters off both args to the Alias command,
12869      to make 'Alias /foo/ /bar/' work.
12870
12871 Changes with Apache 0.8.7                                        03 Aug 1995
12872
12873   *) Don't hang when restarting with a child from 'TransferLog "|..."' running
12874      [reported by David Robinson]
12875
12876   *) Compiles clean on OSF/1 [David Robinson]
12877
12878   *) Added some of the more recent significant changes (AddLanguage stuff,
12879      experimental LogFormat support) to CHANGES file in distribution root
12880      directory
12881
12882 Changes with Apache 0.8.6                                        02 Aug 1995
12883
12884   *) Deleted Netscape reload workaround --- it's in violation of HTTP specs.
12885      (If you actually wanted a conditional GET which bypassed the cache, you
12886      couldn't get it). [Reported by Roy Fielding]
12887
12888   *) Properly terminate headers on '304 Not Modified' replies to conditional
12889      GETs --- no browser we can find cares much, but the CERN proxy chokes.
12890      [Reported by Cliff Skolnick; fix discovered independently by Rob Hartill]
12891
12892   *) httpd -v doesn't call itself "Shambhala".  [Reported by Chuck Murcko]
12893
12894   *) SunOS lib-function prototypes in conf.h conditionalized on __GNUC__,
12895      not __SUNPRO_C (they're needed to quiet gcc -Wall, but acc chokes on 'em,
12896      and older versions don't set the __SUNPRO_C preprocessor variable).  On
12897      all other systems, these are never used anyway.  [Reported by Mark Cox].
12898
12899   *) Scoreboard file (/tmp/htstatus.*) no longer publically writable.
12900
12901 Changes with Apache 0.8.5                                        01 Aug 1995
12902
12903   *) Added last-minute configurable log experiment, as optional module
12904
12905   *) Correctly set r->bytes_sent for HTTP/0.9 requests, so they get logged
12906      properly.  (One-line fix to http_protocol.c).
12907
12908   *) Work around bogus behavior when reloading from Netscape.
12909      It's Netscape's bug --- for some reason they expect a request with
12910      If-modified-since: to not function as a conditional GET if it also
12911      comes with Pragma: no-cache, which is way out of line with the HTTP
12912      spec (according to Roy Fielding, the redactor).
12913
12914   *) Added parameter to set maximum number of server processes.
12915
12916   *) Added patches to make it work on A/UX.  A/UX is *weird*.  [Eric Hagberg,
12917      Jim Jagielski]
12918
12919   *) IdentityCheck bugfix [Chuck Murcko].
12920
12921   *) Corrected cgi-src/Makefile entry for new imagemap script.  [Alexei Kosut]
12922
12923   *) More sample config file corrections; add extension to AddType for
12924      *.asis, move AddType generic description to its proper place, and
12925      fix miscellaneous typos. [ Alexei Kosut ]
12926
12927   *) Deleted the *other* reference to the regents from the Berkeley
12928      legal disclaimer (everyplace).
12929
12930   *) Nuked Shambhala name from src/README; had already cleaned it out
12931      of everywhere else.
12932
12933 Changes with Apache 0.8.4
12934
12935   *) Changes to server-pool management parms --- renamed current
12936      StartServers to MinSpareServers, created separate StartServers
12937      parameter which means what it says, and renamed MaxServers to
12938      MaxSpareServers (though the old name still works, for NCSA 1.4
12939      back-compatibility).  The old names were generally regarded as
12940      too confusing.  Also altered "docs" in sample config files.
12941
12942   *) More improvements to default config files ---
12943      sample directives (commented out) for XBitHack, BindAddress,
12944      CacheNegotiatedDocs, VirtualHost; decent set of AddLanguage
12945      defaults, AddTypes for send-as-is and imagemap magic types, and
12946      improvements to samples for DirectoryIndex [Alexei Kosut]
12947
12948   *) Yet more improvements to default config files --- changes to
12949      Alexei's sample AddLanguage directives, and sample LanguagePriority
12950      [ Florent Guillaume ]
12951
12952   *) Set config file locations properly if not set in httpd.conf
12953      [ David Robinson ]
12954
12955   *) Don't escape URIs in internal redirects multiple times; don't
12956      do that when translating PATH_INFO to PATH_TRANSLATED either.
12957      [ David Robinson ]
12958
12959   *) Corrected spelling of "Required" in 401 error reports [Andrew Wilson]
12960
12961 Changes with Apache 0.8.3
12962
12963   *) Edited distribution README to *briefly* summarize installation
12964      procedures, and give a pointer to the INSTALL file in the src/
12965      directory.
12966
12967   *) Upgraded imagemap script in cgi-bin to 1.8 version from more
12968      recent NCSA distributions.
12969
12970   *) Bug fix to previous bug fix --- if .htaccess file and <Directory>
12971      exist for the same directory, use both and don't segfault.  [Reported
12972      by David Robinson]
12973
12974   *) Proper makefile dependencies [David Robinson]
12975
12976   *) Note (re)starts in error log --- reported by Rob Hartill.
12977
12978   *) Only call no2slash() after get_path_info() has been done, to
12979      preserve multiple slashes in the PATH_INFO [NCSA compatibility,
12980      reported by Andrew Wilson, though this one is probably a real bug]
12981
12982   *) Fixed mod_imap.c --- relative paths with base_uri referer don't
12983      dump core when Referer is not supplied. [Randy Terbush]
12984
12985   *) Lightly edited sample config files to refer people to our documentation
12986      instead of NCSA's, and to list Rob McCool as *original* author (also
12987      deleted his old, and no doubt non-functional email address).  Would be
12988      nice to have examples of new features...
12989
12990 Changes with Apache 0.8.2                                        19 Jul 1995
12991
12992   *) Added AddLanuage code [Florent Guillaume]
12993
12994   *) Don't say "access forbidden" when a CGI script is not found.  [Mark Cox]
12995
12996   *) All sorts of problems when MultiViews finds a directory.  It would
12997      be nice if mod_dir.c was robust enough to handle that, but for now,
12998      just punt.  [reported by Brian Behlendorf]
12999
13000   *) Wait for all children on restart, to make sure that the old socket
13001      is gone and we can reopen it.  [reported by Randy Terbush]
13002
13003   *) Imagemap module is enabled in default Configuration
13004
13005   *) RefererLog and UserAgentLog modules properly default the logfile
13006      [Randy Terbush]
13007
13008   *) Mark Cox's mod_cookies added to the distribution as an optional
13009      module (commented out in the default Configuration, and noted as
13010      an experiment, along with mod_dld). [Mark Cox]
13011
13012   *) Compiles on ULTRIX (a continuing battle...). [Robert Thau]
13013
13014   *) Fixed nasty bug in SIGTERM handling [reported by Randy Terbush]
13015
13016   *) Changed "Shambhala" to "Apache" in API docs. [Robert Thau]
13017
13018   *) Added new, toothier legal disclaimer. [Robert Thau; copied from BSD
13019      license]
13020
13021 Changes with Apache 0.8.1
13022
13023   *) New imagemap module [Randy Terbush]
13024
13025   *) Replacement referer log module with NCSA-compatible RefererIgnore
13026      [Matthew Gray again]
13027
13028   *) Don't mung directory listings with very long filenames.
13029      [Florent Guillaume]
13030
13031 Changes with Apache 0.8.0 (nee Shambhala 0.6.2)                  16 Jul 1995
13032
13033   *) New config script.  See INSTALL for info.  [Robert Thau]
13034
13035   *) Scoreboard mechanism for regulating the number of extant server
13036      processes.  MaxServers and StartServers defaults are the same as
13037      for NCSA, but the meanings are slightly different.  (Actually,
13038      I should probably lower the MaxServers default to 10).
13039
13040      Before asking for a new connection, each server process checks
13041      the number of other servers which are also waiting for a
13042      connection.  If there are more than MaxServers, it quietly dies
13043      off.  Conversely, every second, the root, or caretaker, process
13044      looks to see how many servers are waiting for a new connection;
13045      if there are fewer than StartServers, it starts a new one.  This
13046      does not depend on the number of server processes already extant.
13047      The accounting is arranged through a "scoreboard" file, named
13048      /tmp/htstatus.*, on which each process has an independent file
13049      descriptor (they need to seek without interference).
13050
13051      The end effect is that MaxServers is the maximum number of
13052      servers on an *inactive* server machine, but more will be forked
13053      off to handle unusually heavy loads (or unusually slow clients);
13054      these will die off when they are no longer needed --- without
13055      reverting to the overhead of full forking operation.  There is a
13056      hard maximum of 150 server processes compiled in, largely to
13057      avoid forking out of control and dragging the machine down.
13058      (This is arguably too high).
13059
13060      In my server endurance tests, this mechanism did not appear to
13061      impose any significant overhead, even after I forced it to put the
13062      scoreboard file on a normal filesystem (which might have more
13063      overhead than tmpfs).  [Robert Thau]
13064
13065   *) Set HTTP_FOO variables for SSI <!--#exec cmd-->s, not just CGI scripts.
13066      [Cliff Skolnick]
13067
13068   *) Read .htaccess files even in directory with <Directory> section.
13069      (Former incompatibility noted on mailing list, now fixed). [Robert
13070      Thau]
13071
13072   *) "HEAD /" gives the client a "Bad Request" error message, rather
13073      than trying to send no body *and* no headers.  [Cliff Skolnick].
13074
13075   *) Don't produce double error reports for some very obscure cases
13076      mainly involving auth configuration (the "all modules decline to
13077      handle" case which is a sure sign of a server bug in most cases,
13078      but also happens when authentication is badly misconfigured).
13079      [Robert Thau]
13080
13081   *) Moved FCNTL_SERIALIZED_ACCEPT defines into conf.h (that's what
13082      it's *for*, and this sort of thing really shouldn't be cluttering
13083      up the Makefile). [Robert Thau]
13084
13085   *) Incidental code cleanups in http_main.c --- stop dragging
13086      sa_client around; just declare it where used.  [Robert Thau]
13087
13088   *) Another acc-related fix.  (It doesn't like const char
13089      in some places...). [Mark Cox]
13090
13091 Changes with Shambhala 0.6.1                                     13 Jul 1995
13092
13093   *) Fixed auth_name-related typos in http_core.c [Brian Behlendorf]
13094      Also, fixed auth typo in http_protocol.c unmasked by this fix.
13095
13096   *) Compiles clean with acc on SunOS [Paul Sutton]
13097
13098   *) Reordered modules in modules.c so that Redirect takes priority
13099      over ScriptAlias, for NCSA bug-compatibility [Rob Hartill] ---
13100      believe it or not, he has an actual site with a ScriptAlias and
13101      a Redirect declared for the *exact same directory*.  Even *my*
13102      compatibility fetish wouldn't motivate me to fix this if the fix
13103      required any effort, but it doesn't, so what the hey.
13104
13105   *) Fixed to properly default several server_rec fields for virtual
13106      servers from the corresponding fields in the main server_rec.
13107      [Cliff Skolnick --- 'port' was a particular irritant].
13108
13109   *) No longer kills off nph- child processes before they are
13110      finished sending output. [Matthew Gray]
13111
13112 Changes with Shambhala 0.6.0                                     10 Jul 1995
13113
13114   *) Two styles of timeout --- hard and soft.  soft_timeout()s just put
13115      the connection to the client in an "aborted" state, but otherwise
13116      allow whatever handlers are running to clean up.  hard_timeout()s
13117      abort the request in progress completely; anything not tied to some
13118      resource pool cleanup will leak.  They're still around because I
13119      haven't yet come up with a more elegant way of handling
13120      timeouts when talking to something that isn't the client.  The
13121      default_handler and the dir_handler now use soft timeouts, largely
13122      so I can test the feature.  [Robert Thau]
13123
13124   *) TransferLog "| my_postprocessor ..." seems to be there.  Note that
13125      the case of log handlers dying prematurely is probably handled VERY
13126      gracelessly at this point, and if the logger stops reading input,
13127      the server will hang.  (It is known to correctly restart the
13128      logging process on server restart; this is (should be!) going through
13129      the same SIGTERM/pause/SIGKILL routine used to ding an errant CGI
13130      script).  [Robert Thau]
13131
13132   *) asis files supported (new module).  [Robert Thau]
13133
13134   *) IdentityCheck code is compiled in, but has not been tested.  (I
13135      don't know anyone who runs identd). [Robert Thau]
13136
13137   *) PATH_INFO and PATH_TRANSLATED are not set unless some real PATH_INFO
13138      came in with the request, for NCSA bug-compatibility. [Robert Thau]
13139
13140   *) Don't leak the DIR * on HEAD request for a directory. [Robert Thau]
13141
13142   *) Deleted the block_alarms() stuff from dbm_auth; no longer necessary,
13143      as timeouts are not in scope. [Robert Thau]
13144
13145   *) quoted-string args in config files now handled correctly (doesn't drop
13146      the last character). [Robert Thau; reported by Randy Terbush]
13147
13148   *) Fixed silly typo in http_main.c which was suddenly fatal in HP-UX.
13149      How the hell did it ever work? [Robert Thau; reported by Rob Hartill]
13150
13151   *) mod_core.c --- default_type returns DEFAULT_TYPE (the compile-time
13152      default default type); the former default default behavior when all
13153      type-checkers defaulted had been a core dump.  [Paul Sutton]
13154
13155   *) Copy filenames out of the struct dirent when indexing
13156      directories.  (On Linux, readdir() returns a pointer to the same
13157      memory area every time).  Fix is in mod_dir.c.  [Paul Sutton]
13158
13159 Changes with Shambhala 0.5.3 [not released]
13160
13161   *) Default response handler notes "file not found" in the error log,
13162      if the file was not found.  [Cliff Skolnick].
13163
13164   *) Another Cliff bug --- "GET /~user" now properly redirects (the userdir
13165      code no longer sets up bogus PATH_INFO which fakes out the directory
13166      handler). [Cliff Skolnick]
13167
13168 Changes with Shambhala 0.5.2                                     06 Jul 1995
13169
13170   *) Changes to http_main.c --- root server no longer plays silly
13171      games with SIGCHLD, and so now detects and replaces dying
13172      children.  Child processes just die on SIGTERM, without taking
13173      the whole process group with them.  Potential problem --- if any
13174      child process refuses to die, we hang in restart.
13175      MaxRequestsPerChild may still not work, but it certainly works
13176      better than it did before this!  [Robert Thau]
13177
13178   *) mod_dir.c bug fixes: ReadmeName and HeaderName
13179      work (or work better, at least); over-long description lines
13180      properly terminated. [Mark Cox]
13181
13182   *) http_request.c now calls unescape_url() more places where it
13183      should [Paul Sutton].
13184
13185   *) More directory handling bugs (reported by Cox)
13186      Parent Directory link is now set correctly. [Robert Thau]
13187
13188 Changes with Shambhala 0.5.1                                     04 Jul 1995
13189
13190   *) Generalized cleanup interface in alloc.c --- any function can be
13191      registered with alloc.c as a cleanup for a resource pool;
13192      tracking of files and file descriptors has been reimplemented in
13193      terms of this interface, so I can give it some sort of a test.
13194      [Robert Thau]
13195
13196   *) More changes in alloc.c --- new cleanup_for_exec() function,
13197      which tracks down and closes all file descriptors which have been
13198      registered with the alloc.c machinery before the server exec()s a
13199      child process for CGI or <!--#exec-->.  CGI children now get
13200      started with exactly three file descriptors open.  Hopefully,
13201      this cures the problem Rob H. was having with overly persistent
13202      CGI connections. [Robert Thau]
13203
13204   *) Mutual exclusion around the accept() in child_main() --- this is
13205      required on at least SGI, Solaris and Linux, and is #ifdef'ed in
13206      by default on those systems only (-DFCNTL_SERIALIZED_ACCEPT).
13207      This uses fcntl(F_SETLK,...) on the error log descriptor because
13208      flock() on that descriptor won't work on systems which have BSD
13209      flock() semantics, including (I think) Linux 1.3 and Solaris.
13210
13211      This does work on SunOS (when the server is idle, only one
13212      process in the pool is waiting on accept()); it *ought* to work
13213      on the other systems. [Robert Thau]
13214
13215   *) FreeBSD and BSDI portability tweaks [Chuck Murcko]
13216
13217   *) sizeof(*sa_client) bugfix from [Rob Hartill]
13218
13219   *) pstrdup(..., NULL) returns NULL, [Randy Terbush]
13220
13221   *) block_alarms() to avoid leaking the DBM* in dbm auth (this should
13222      be unnecessary if I go to the revised timeout-handling scheme).
13223      [Robert Thau]
13224
13225   *) For NCSA bug-compatibility, set QUERY_STRING env var (to a null
13226      string) even if none came in with the request.  [Robert Thau]
13227
13228   *) CHANGES file added to distribution ;-).
13229
13230 Changes with Shambhala 0.4.5
13231
13232   *) mod_dld --- early dynamic loading support [rst]
13233   *) Add wildcard content handlers for XBITHACK; default_hander now
13234      invoked with that mechanism (as a handler hanging off mod_core) [rst]
13235   *) XBITHACK supported as a wildcard content-handler, and 
13236      configurable at run-time (not just at compile time, as in the
13237      "patchy server" releases) [rst]
13238
13239 Changes with Shambhala 0.4.4                                     30 Jun 1995
13240
13241   *) Fixed basic thinkos in mod_dbm_auth.c [rst, reported by Mark Cox]
13242   *) Handle Addtype x/y .z [rst, reported by Cox]
13243
13244 Changes with Shambhala 0.4.3
13245
13246   *) Fixed very dumb bug in mod_alias; "Alias" and "Redirect" are not
13247      synonymous [rst, terbush]
13248
13249 Changes with Shambhala 0.4.1                                     28 Jun 1995
13250
13251   *) First-cut virtual host implementation; some refit in the config
13252      reading code, and log management, was necessary to support this [rst]
13253   *) Sub-pool machinery, originally added to avoid excessive storage
13254      allocation on listings of large directories (which turned out to
13255      be the problem that the 0.3 storage accounting was added to
13256      find).  Subrequests and mod_dir changed to use subpools.  [rst]
13257   *) More memory debugging --- free list consistency checks. [rst]
13258   *) Added err_headers to request_rec, with support elsewhere [rst]
13259   *) Other fixes to minor bugs in mod_dir and mod_includes [rst, terbush]
13260
13261 Changes with Shambhala 0.3                                       19 Jun 1995
13262
13263   *) Switch ONE_PROCESS to a runtime command-line option (-X)
13264   *) Don't compile in mod_ai_backcompat by default
13265   *) Switch name of server from Apache to Shambhala in Makefile
13266   *) Add some accounting routines to track memory usage in the pools,
13267      for debugging
13268
13269 Changes with Shambhala 0.2
13270
13271   *) Set DOCUMENT_ROOT CGI variable
13272   *) Add single-process debugging, as a compile-time option (ONE_PROCESS)
13273   *) Add critical section protection to handling of cleanup structures 
13274      in alloc.c [rst]
13275   *) Significant code reorg within the server core to group related
13276      functions together [rst]
13277   *) Correctly handle clients that hang up before sending any request
13278      [rst]
13279   *) Replace dying child processes. [rst]
13280
13281 Changes with Shambhala 0.1                                       12 Jun 1995
13282
13283    Major rewrite of the pre-existing "patchy server" codebase, by
13284    Robert Thau (rst).  Significant portions of the server code, such
13285    as configuration-file handling and HTTP authentication support,
13286    were ripped out and rewritten from scratch.  Code that was not
13287    completely rewritten was significantly altered.
13288
13289    Major changes with this release include:
13290
13291    *) Introduction of the module API; in request handling, the central 
13292       machinery just dispatches to various modules, which actually do
13293       most of the work.  Configuration handling is similar --- modules
13294       declare their own commands, and the central machinery just
13295       dispatches to them.  
13296
13297       API features from shambhala/0.1 were substantially unchanged in
13298       Apache 1.0 and 1.1.  (1.0 API features not yet present in this
13299       release, such as wildcard handlers and subpools, were added in
13300       subsequent Shambhala releases, and were also generally rst's
13301       work). 
13302
13303    *) This release included the following modules:
13304
13305       mod_access      (access control --- allow and deny directives),
13306       mod_alias       (Alias and Redirect commands),
13307       mod_auth        (straight HTTP authentication, based on flat-files)
13308       mod_auth_dbm    (same, with dbm files)
13309       mod_cgi         (CGI scripts and, in this release, ScriptAlias)
13310       mod_common_log  (CLF access logs; later renamed mod_log_common)
13311       mod_dir         (directory indexing)
13312       mod_include     (server-side includes)
13313       mod_mime        (AddType directives)
13314       mod_negotiation (content negotiation)
13315       mod_userdir     (support for users' public_html directories)
13316
13317       It also included a mod_ai_backcompat, which was a private hack
13318       for back-compatibility with rst's own AI-lab servers.
13319
13320       All of these modules were substantially complete, and functional 
13321       or nearly so (a few, which implemented features not in use at
13322       Thau's site, required patches of a few lines).
13323
13324    *) sub-request machinery, to allow modules to determine how other
13325       modules would assign MIME types to a given file, or optionally
13326       serve its content (this is heavily used by mod_dir, mod_include
13327       and mod_negotiation).
13328
13329    *) Resource pool system for keeping track of memory allocated and
13330       files opened in service of a particular request.  Much of the
13331       code in the modules (when they weren't rewrites) was adjusted to 
13332       replace a pervasive convention of using fixed-size buffers on
13333       the stack with an equally pervasive convention of using memory
13334       allocated with palloc().
13335
13336    *) Reorganization of data structures associated with a given
13337       request to eliminate use of global variables and the troublesome 
13338       unmunge_name function (used in NCSA and early Apache releases to 
13339       attempt to determine the URI which mapped to a given filename
13340       --- a difficult proposition, given that it is easy to produce
13341       setups in which multiple URIs map to the same file).
13342
13343    *) Source files renamed and rearranged
13344
13345    *) Very simple pre-forking behavior --- parent process forked off a 
13346       fixed number of children, and then just waited for SIGHUP.
13347
13348    *) Other more minor changes too numerous to list.
13349
13350    This release included modified versions of a lot of code from the
13351    Apache 0.6.4 public release, plus an early pre-forking patch
13352    codeveloped by Robert Thau and Rob Hartill.
13353
13354 Changes with Apache 0.7.3                                        20 Jun 1995
13355
13356    *) There were a bunch of changes between Apache 0.6.4 and 0.7.3 that
13357       were incorporated by Rob Hartill on the main branch while Robert Thau
13358       worked on the Shambhala rewrite above.  Most were merged into the
13359       Shambala architecture after Apache 0.8.0.
13360
13361 Changes with Apache 0.6.4                                        13 May 1995
13362
13363    *) Patches by Rob Hartill, Cliff Skolnick, Randy Terbush, Robert Thau,
13364       and others.
13365
13366 Changes with Apache 0.5.1                                        10 Apr 1995
13367
13368 Changes with Apache 0.4                                          02 Apr 1995
13369
13370   *) Patches by Brian Behlendorf, Andrew Wilson, Robert Thau,
13371      and Rob Hartill.
13372
13373 Changes with Apache 0.3                                          24 Mar 1995
13374
13375   *) Patches by Robert Thau, David Robinson, Rob Hartill, and
13376      Carlos Varela.
13377
13378 Changes with Apache 0.2                                          18 Mar 1995
13379
13380   *) Based on NCSA httpd 1.3 by Rob McCool and patches by CERT,
13381      Roy Fielding, Robert Thau, Nicolas Pioch, David Robinson,
13382      Brian Behlendorf, Rob Hartill, and Cliff Skolnick.