]> granicus.if.org Git - apache/blob - CHANGES
If I forgot anyone, please holler.
[apache] / CHANGES
1 Changes with Apache 2.0.23-dev
2
3   *) Solve many mod_ssl porting issues [far too many to detail.]
4      [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>, 
5       Doug MacEachern, William Rowe, Cliff Wooley, Ralf S. Engelschall]
6
7   *) More stall fixes for the threaded & worker mpm's.
8      Make mod_status output more accurate.  Don't
9      count workers in processes which aren't actively
10      serving requests. [Greg Ames]
11      
12   *) Win32: Get SSI exec cgi tag working. [Bill Stoddard]
13
14   *) Add a single listener/multiple worker MPM.  This MPM is
15      definately not fully correct, but it allows us to solve many
16      of the problems that exist in the threaded MPM.  This is a 
17      modified version of the threaded MPM.  [Ryan Bloom]
18
19   *) Improve content generation throughout Apache, providing closer
20      compliance with HTML 3.2, HTML 4.01 Transitional and XHTML 1.0
21      Transitional specifications.  [William Rowe]
22
23 Changes with Apache 2.0.22
24   
25   *) Fix a problem where the threaded MPM stalls after restarts or
26      segfaults.  Also prevent multiple active processes from using
27      the same scoreboard slot.  [Greg Ames]
28
29   *) Apache/Win32 now fills in the service description with Apache's
30      server version string, including loaded and advertised modules.
31      [William Rowe]
32
33   *) Improved support for the Win32 build, to recover gracefully from
34      missing apr or apr-util directories or the awk interpreter, 
35      create the proper cgi-bin examples, including a test-cgi.bat, and 
36      fix the perl shebang line for printenv.pl, when installing from 
37      the build environment.  [William Rowe]
38
39   *) Fix a segfault in threaded.c caused by passing uninitialized
40      apr_thread_t * to apr_thread_join().  [Jeff Trawick]
41
42   *) Use new APR number conversion functions to reduce CPU consumption 
43      when setting the content length, and in mod_log_config.
44      [Brian Pane]
45      
46   *) Fix problem reported by Taketo Kabe <kabe@sra-tohoku.co.jp>
47      where HEAD response headers were being repeated twice for
48      files greater than 32K bytes (4*AP_MIN_BYTES_TO_WRITE). This
49      problem in the http_header filter was exposed by the recent rewrite
50      of the content_length filter. [Taketo Kabe, Bill Stoddard]
51
52   *) Fix seg faults in mod_status with ExtendedStatus enabled, after
53      restarts.  A garbage pointer to a vhost's server_rec from the
54      previous generation was being left around under certain
55      conditions. [Greg Ames]
56
57   *) Fix a cosmetic problem with mod_include.  Non-existant SSI vars
58      used to appear as '(none', without the closing paren.
59      [Günter Knauf <eflash@gmx.net>]
60
61   *) Improve the exports generating awk script.  In the past, we had
62      work around problems in the awk script by avoiding some #if and
63      #ifdefs.  This has bitten us many times in generating the exports.c
64      file.  This improvement allows corrects the header file parsing.
65      [Sander Striker <striker@apache.org>]
66
67 Changes with Apache 2.0.21
68
69   *) Resolve the Win32 htpasswd bug, where a file that existed would be
70      overwritten, regardless of the -c flag.
71      [William Rowe, Mladen Turk <mladen.turk@mail.inet.hr>]
72
73   *) Introduce connection sub-pools into ab.  Truncating the lifetime
74      of these allocations means that ab no longer perpetually grows
75      its working set, running out of memory on large request attempts.
76      [William Rowe]
77
78   *) Make scoreboard creation a hook.  This allows management
79      modules to have access to the scoreboard at the time that it is
80      created, and at every restart request.  
81      [Cody Sherr <csherr@covalent.net>]
82
83   *) Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
84      added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest
85      daemon index actually used in the scoreboard. I also
86      updated the pertinent calls. [Paul J. Reder]
87
88   *) Win32: Prevent listening sockets from being inherited by
89      the Apache child process, CGI scripts, rotatelog process
90      etc.  If the Apache child process segfaults, any processes 
91      that the child started are not reaped. Prior to this fix,
92      these processes inherited the listening sockets which sometimes
93      prevented the restarted Apache child process from accepting
94      connections (ie, the server would hang). 
95      [Bill Stoddard]
96
97   *) Provide vhost and request strings when ExtendedStatus is on.
98      [Greg Ames]
99
100   *) Fix some issues with the pod and prefork: check the pod *after*
101      processing a connection so that a server processing a time-
102      consuming request bails out as soon as practical; when the
103      parent process wakes up a server process via connect(), use an
104      APR timeout on the connect() so that we don't hang for a long
105      time if there aren't server processes around to do accept().
106      [Jeff Trawick, Greg Ames]
107
108   *) Performance improvement to mod_mime.c. find_ct() in mod_mime, 
109      spends a lot of time in apr_table_get calls.  Using the default 
110      httpd.conf, the tables for languages and charsets are somewhat
111      large, so the time spent scanning them on each request is
112      significant. Replacing the tables with hash tables provides
113      a nice speedup. [Brian Pane <bpane@pacbell.net>]
114
115   *) Add two functions to allow modules to access random parts of the
116      scoreboard.  This allows modules compiled for one MPM to access the
117      scoreboard, even if it the server was compiled for another MPM.
118      [Harrie Hazewinkel <harrie@covalent.net>]
119
120 Changes with Apache 2.0.20
121
122   *) Fix problem in content-length filter where the filter would
123      buffer all the output from a CGI before sending any bytes
124      down the filter stack to the network. This problem would cause
125      significant memory consumption if the CGIs generated
126      lots of bytes. [Bill Stoddard]
127   
128   *) Get non-blocking CGI pipe reads working with the bucket brigades.
129      [Bill Stoddard]
130
131   *) Fix seg fault on Windows when serving files cached with mod_file_cache.
132      [Bill Stoddard]
133
134   *) Fix a bug in the threaded MPM that would cause it to kill off all
135      workers immediately after starting if the number of workers started
136      was above a certain threshold.  [Ryan Bloom, Bill Stoddard]
137
138 Changes with Apache 2.0.19
139
140   *) Fix problem with threaded MPM.  The problem was that if each child
141      process was busy serving a single long-lived request and the server
142      was sent a graceful restart signal, the server would stop serving
143      requests.  This would happen because each child process would wait to
144      die until the last thread was done, and the parent wouldn't spawn any
145      new children until a process died.  Now, the parent looks at the fact
146      that the children are dying gracefully, and starts new children.
147      Those new children only start enough threads to compliment the number
148      of threads in the other child process that shares the same spot in
149      the scoreboard.  In this way, we make sure to never go over
150      MaxClients.  [Ryan Bloom]
151
152   *) modified mod_negotiation and mod_autoindex to speed up by almost a
153      factor of two on apr_dir_read()-enhanced platforms, such as Win32
154      and OS2, by calling ap_sub_request_lookup_dirent() with the results
155      already provided by apr_dir_read().  [William Rowe]
156
157   *) mod_file_cache is now more robust to filtering and serves requests
158      slightly more efficiently.  [Cliff Woolley]
159
160   *) Fix problem handling FLUSH bucket in the chunked encoding filter.
161      Module was calling ap_rwrite() followed by ap_rflush() but the 
162      served content was not being displayed in the browser. Inspection
163      of the output stream revealed that the first data chunk was
164      missing the trailing CRLF required by the RFC.  [Bill Stoddard]
165
166   *) apxs no longer generates ap_send_http_header() in the example handler
167
168   *) Fix an ab problem which could cause a divide-by-zero exception
169      with certain invocations (e.g., ab -k -c 6 -n 100 localhost/).
170      [Ian Holsman <ianh@cnet.com>]
171
172   *) Solve case-insensitive platforms' confusion about negotiated
173      filenames, allowing files of differnt case to match in choosing
174      the document to serve.  [William Rowe]
175
176   *) Fix brokenness when ThreadsPerChild is higher than the built-in
177      limit.  We left ap_threads_per_child at the higher value which
178      led to segfaults when doing certain scoreboard operations.
179      [Jeff Trawick]
180
181   *) Fix seg faults and/or missing output from mod_include.  The
182      default_handler was using the subrequest pool for files and
183      MMAPs, even though the associated APR structures typically 
184      live longer than the subrequest. [Greg Ames]
185   
186   *) Extend mod_setenvif to support specifying regular expressions
187      on the SetEnvIf (and SetEnvIfNoCase) directive attribute field.
188      Example:  SetEnvIf ^TS*  [a-z].* HAVE_TS 
189      will cause HAVE_TS to be set if any of the request headers begins 
190      with "TS" and has a value that begins with any character in the
191      set [a-z]. [Bill Stoddard]
192
193   *) httpd children now re-bind themselves to a random CPU on
194      multiprocessor systems on AIX via bindprocessor() in 2.0.
195      [Victor J. Orlikowski]
196
197   *) Fix htdigest. It would go into a loop in getline when adding 
198      a second user. [Bill Stoddard]
199
200   *) Win32 platforms now fully support mod_userdir options.  [Will Rowe]
201
202   *) Automatically generate httpd.exp for AIX.
203      DSOs now work again on AIX in 2.0
204      [Victor J. Orlikowski]
205
206   *) Add a new request hook, error_log.  This phase allows modules
207      to act on the error log string _after_ it has been written
208      to the error log.  The goal for this hook is to allow monitoring
209      modules to send the error string to the monitoring agent.
210      [Ryan Bloom]
211
212   *) Modify mod_echo to make it use filters for input and output.
213      [Ryan Morgan <rmorgan@covalent.net>]
214
215   *) Extend mod_headers to support conditional driven Header 
216      add, append and set. Use SetEnvIf to set an envar and conditionally
217      add/append/set headers based on this envar thusly:
218
219      SetEnvIf TSMyHeader value HAVE_TSMyHeader
220      Header add MyHeader "%t %D" env=HAVE_TSMyHeader
221
222      If the request contains header "TSMyHeader: value" then header
223      MyHeader: "t=xxxxxxxxxx D=yyyy" will be sent on the response.
224      [Bill Stoddard]
225
226   *) Extend mod_headers to support using format specifiers on Header
227      add, append and set header values. Two format specifiers are supported:
228
229      %t - reports, in UTC microseconds since the epoch, when the
230           request was received.
231
232      %D - reports the time, in microseconds, between when the request was 
233           received and the response sent. 
234
235      Examples:
236      Header add MyHeader "This request served in %D microseconds. %t"
237
238      results in a header being added to the response that looks like this:
239      
240      MyHeader: This request served in D=5438 microseconds. t=991424704447256
241
242      [Bill Stoddard]
243
244   *) Fix reset_filter().  We need to be careful how we remove filters.
245      If we set r->output_filters to NULL, we also have to reset the
246      connection's filters.  [John Sterling]
247
248   *) Optimise reset_filter() in http_protocol.c. [Greg Stein]
249
250   *) Add a check to ap_die() to make sure the filter stack is sane and
251      contains the correct basic filters when an error occurs. This fixes
252      a problem where headers are not being sent on error. [John Sterling]
253
254   *) New Header directive 'echo' option. "Header echo regex" will
255      cause any headers received on the request that match regex to be
256      echoed to (included in) the response headers.
257      [Bill Stoddard]
258
259   *) include/ap_compat.h tested and set APR_COMPAT_H instead of AP_COMPAT_H.
260      This prevented the inclusion of apr_compat.h.  PR #7773
261      [Oleg Broytmann <phd@phd.pp.ru>]
262
263   *) Moved util_uri to the apr-util library.  This required a bunch of
264      apr_name changes for the uri utility functions.  [Justin Erenkrantz]
265
266   *) Move the addition of default AP_HTTP_HTTP_HEADER filters to the
267      insert_filter phase so that other filters are not bypassed by default.
268      [Graham Leggett]
269
270   *) Reimplement mod_headers as an output filter. mod_headers can now
271      add custom headers to inbound requests using the RequestHeader directive
272      and to responses using the same old Header directive.  [Graham Leggett]
273
274 Changes with Apache 2.0.18
275
276   *) Fix command-line processing so that if a bad argument is specified
277      Apache will exit.  [Jeff Trawick]
278
279   *) Change the make targets and rules to be consistent in all of the
280      Apache-owned source trees.  [Roy Fielding]
281      
282   *) Fix processing of the TRACE method.  Previously we passed bogus
283      parms to form_header_field() and it overlaid some vhost structures,
284      resulting in a segfault in check_hostalias(). 
285      [Greg Ames, Jeff Trawick]
286
287   *) Win32: Add support for reliable piped logs. If the logging process
288      goes down, Apache will automatically restart it. This function has 
289      been part of Apache on Unix/Linux/BSD since the early v1.3 releases.
290      [Bill Stoddard]
291
292   *) Do not start piped log processes during the config file 
293      preflight.  This change also circumvents a problem on 
294      Windows where the rotatelog processes created during preflight
295      was not getting cleaned up properly.
296      [Bill Stoddard]
297
298   *) add "Request Phase Participation" info to mod_info
299      [Doug MacEachern]
300
301   *) Make first phase changes to the scoreboard data structures in
302      preparation for the rewriting of the scoreboard per my posted
303      design notes. [Paul J. Reder]
304
305   *) Fix httpd's definition of LTFLAGS to be consistent with that of apr
306      and apr-util, allow it to be overridden by the configure command-line
307      (default="--silent") and introduce LT_LDFLAGS to replace what we were
308      formerly abusing as LTFLAGS.  [Roy Fielding]
309
310   *) Clean up the reporting of incorrect closing container tags.
311      [Barrie Slaymaker <barries@slaysys.com>]
312
313   *) Simplify the configure process by moving all libtool stuff to APR
314      and moving hints.m4 inline.  [Roy Fielding]
315
316   *) Add the AP_DECLARE()/AP_CORE_DECLARE macros on the return types
317      of functions used by mod_proxy for export in the DLL 
318      [Ian Holsman <IanH@cnet.com>]
319
320   *) Prevent a hang when a cgi handled by mod_cgid tries to read a
321      request body from its stdin but no reqest body is being written to 
322      the cgi.  [Jeff Trawick]
323
324   *) mod_log_config: %c connection status incorrectly logged
325      as "-" (non-keepalive) when MaxKeepAliveRequests is set to 0.
326      [Bill Stoddard]
327
328   *) Get mod_cern_meta working under Windows
329      [Bill Stoddard]
330
331   *) Create Files, and thus MMAPs, out of the request pool, not the
332      connection pool.  This solves a small resource leak that had us
333      not closing files until a connection was closed.  In order to do
334      this, at the end of the core_output_filter, we loop through the
335      brigade and convert any data we have into a single HEAP bucket
336      that we know will survive clearing the request_rec.
337      [Ryan Bloom, Justin Erenkrantz <jerenkrantz@ebuilt.com>,
338       Cliff Woolley]
339
340   *) Completely revamp configure so that it preserves the standard make
341      variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving
342      the configure additions to EXTRA_* variables.  Also, allow the user
343      to specify NOTEST_* values for all of the above, which eliminates the
344      need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM.  Fix the setting
345      of INCLUDES and EXTRA_INCLUDES.  Check flags as they are added to
346      avoid pointless duplications.  Fix the order in which flags are given
347      on the compile and link lines.  Remove obsolete macros APR_DOEXTRA,
348      AC_ADD_LIBRARY, AC_CHECK_DEFINE, APACHE_PASSTHRU, and APACHE_ONCE.
349      Added APR_SAVE_THE_ENVIRONMENT and APR_RESTORE_THE_ENVIRONMENT macros.
350      Renamed AC_TYPE_RLIM_T macro to APACHE_TYPE_RLIM_T.  [Roy Fielding]
351
352   *) Get mod_tls to compile/work better on Windows.  PR #7612
353      [Bernhard Schrenk <b.schrenk@improx.com>]
354
355   *) Fix shutdown/restart hangs in the threaded MPM.
356      [Jeff Trawick, Greg Ames, Ryan Bloom]
357   
358   *) Removed the keptalive boolean from conn_rec because it is now only
359      used by a single routine and can be replaced by a local variable.
360      [Greg Stein, Ryan Bloom, Roy Fielding]
361
362   *) Patch prefork to put enough of the signal processing back in so that
363      signals are all handled properly now. The previous patch fixed the
364      deadlock race condition, but broke the user directed signal handling.
365      This fixes it to work the way it did before my previous prefork patch
366      (primarily, SIGTERM is now working).
367  
368   *) Change how input filters decide how much data is returned to the
369      higher filter.  We used to use a field in the conn_rec, with this
370      change, we use an argument to ap_get_brigade to determine how much
371      data is retrieved. [Ryan Bloom]
372
373   *) Fix seg fault at start-up introduced by Ryan's change to enable
374      modules to specify their own logging tags. mod_log_config
375      registers an optional function, ap_register_log_handler().
376      ap_register_log_handler() was being called by http_core before
377      the directive hash table was created. This patch creates the
378      directive hash table before ap_register_log_handler() is
379      registered as an optional function.
380      [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
381
382   *) Add ap_set_int_slot() function
383      [John K. Sterling <sterling@covalent.net>]
384
385   *) Under certain circumstances, Apache did not supply the
386      right response headers when requiring authentication.
387      [Gertjan van Wingerde <Gertjan.van.Wingerde@cmg.nl>] PR#7114
388      (This is a port of the change that went into Apache 1.3.19.)
389
390   *) Allow modules to specify their own logging tags.  This basically
391      allows a module to tell mod_log_config that when %x is encountered
392      a specific function should be called.  Currently, x can be any single
393      character.  It may be more useful to make this a string at some point.
394      [Ryan Bloom]
395
396 Changes with Apache 2.0.17
397
398   *) If a higher-level filter handles the the byterange aspects of a
399      request, then the byterange filter should not try to redo the
400      work.  The most common case of this happening, is a byterange
401      request going through the proxy, and the origin server handles
402      the byterange request.  The proxy should ignore it.
403      [Graham Leggett <minfrin@sharp.fm>]
404
405   *) Changed the threaded mpm to have child_main join to each of the
406      worker threads to make sure the kids are all gone before child_main
407      exits after a signal (cleanup from perform_idle_server_maintenance).
408      This is an extension of Ryans recent commit to make the child_main
409      the signal thread.
410
411   *) Add more options to the ap_mpm_query function.  This also allows MPMs to
412      report if their threads are dynamic or static.  Finally, this also
413      implements a new API, ap_show_mpm, which returns the MPM that was
414      required into the core. [Harrie Hazewinkel <harrie@covalent.net>]
415
416   *) Do not install the binaries from the support directory twice.
417      [jun-ichiro hagino <itojun@iijlab.net>]
418
419   *) The ap_f* functions should flush data to the filter that is passed
420      in, not the the filter after the one passed in.
421      [Ryan Morgan <rmorgan@covalent.net>]
422
423   *) Make ab work again by changing its native types to apr types and formats.
424      [Justin Erenkrantz <jerenkrantz@ebuilt.com>]
425
426   *) Move the byterange filter and all of the supporting functions back
427      to the HTTP module.  The byterange filter turned out to be very
428      HTTP specific, and it belongs in the HTTP module.  [Greg Stein]
429
430   *) Make clean, distclean, and extraclean consistently according to the
431      Gnu makefile guidelines.  [Justin Erenkrantz <jerenkrantz@ebuilt.com>]
432
433   *) Fix errors in the renaming of the apr_threadattr_detach_xxx functions.
434      This may have been causing problems stopping processes in the threaded
435      mpm's. [Greg Ames]
436
437   *) Fix content-length in mod_negotiation to a long int representation.
438      [William Rowe]
439
440   *) Remove BindAddress from the default config file.
441      [giles@nemeton.com.au]
442
443   *) Allow module authors to add a module to their Apache build using
444      --with-module, without re-running buildconf.  The syntax is:
445         --with-module=module_type:/path/to/module.c
446      The configure script will copy the module.c file to 
447      modules/module_type, and it will be added to the relevant Makefiles.
448      currently, this only works for static modules.  [Ryan Bloom]
449
450   *) Changes required to make prefork clean up idle children properly.
451      There was a window during which a starting worker deadlocks when
452      an idle cleanup arrives before it completes init. Apache then keeps
453      trying to cleanup the same deadlocked worker forever (until higher
454      pids come along, but it still will never reduce below the deadlocked
455      pid). Thus the number of children would not reduce to the correct
456      idle level. [Paul J. Reder]
457
458 Changes with Apache 2.0.16
459
460   *) Change the default installation directory to /usr/local/apache2,
461      as now defined by the "Apache" layout in config.layout. [Marc Slemko]
462
463   *) OS/2: Added support for building loadable modules as OS/2 DLLs. 
464      [Brian Havard]
465
466   *) Get MaxRequestsPerChild working with the Windows MPM.
467      [Bill Stoddard]
468
469   *) Make generic hooks to work, with mod_generic_hook_import/export
470      experimental modules.  [Ben Laurie, Will Rowe]
471
472   *) Fix segfaults for configuration file syntax errors such as
473      "<Directory>" followed by "</Directory" and
474      "<Directory>" followed by "</Directoryz>".  [Jeff Trawick]
475
476   *) Cleanup the --enable-layout option of configure.  This makes
477      us use a consistent location for the config.layout file, and it
478      makes configure more portable.
479      [jun-ichiro hagino <itojun@iijlab.net>]
480
481   *) Changes to 'ab'; fixed int overrun's, added statistics, output in
482      csv/gnuplot format, rudimentary ssl support and various other tweaks
483      to make results more true to what is measured. The upshot of this it
484      turns out that 'ab' has often underreported the true performance of
485      apache. Often by a order of magnitude :-) See talk/paper of Sander 
486      Temme <sctemme@covalent.net> at April ApacheCon 2001 for details.
487      [Dirk-Willem van Gulik]
488
489   *) Clean up mod_cgid's temporary request pool.  Besides fixing a
490      storage leak this ensures that some unnecessary pipes are closed.
491      [Jeff Trawick]
492
493   *) Performance: Add quick_handler hook. This hook is called at the
494      very beginning of the request processing before location_walk,
495      translate_name, etc.  This hook is useful for URI keyed content
496      caches like Mike Abbott's Quick Shortcut Cache.
497      [Bill Stoddard]
498
499   *) top_module global variable renamed to ap_top_module [Perl]
500
501   *) Move ap_set_last_modified to the core.  This is a potentially 
502      controversial change, because this is kind of HTTP specific.  However
503      many protocols should be able to take advantage of this kind of
504      information.  I expect that headers will need one more layer of
505      indirection for multi-protocol work, but this is a small step in
506      the right direction.  [Ryan Bloom]
507
508   *) Enable mod_status by default.  This matches what Apache 1.3 does.
509      [Ed Korthof]
510
511   *) Add a ScriptSock directive to the default config file.  This is
512      only enabled when mod_cgid is used.  
513      [Taketo Kabe <kabe@sra-tohoku.co.jp>]
514
515 Changes with Apache 2.0.15
516
517   *) Untangled the buildconf script and eliminated the need for build's
518      aclocal.m4, generated_lists, build.mk, build2.mk, and a host of other
519      libtool muck that is now under srclib/apr/build.  [Roy Fielding]
520
521   *) Win32: Don't accept more connections than we have worker threads
522      to handle.
523      [Bill Stoddard]
524
525   *) Fix bug in the Unix threaded.c MPM that allowed child processes
526      to fork() new child processes. 
527      [Bill Stoddard]
528
529   *) Fix a major security problem with double-reverse lookup checking.  
530      Previously, a client connecting over IPv4 would not be matched 
531      properly when the server had an IPv6 listening socket.  PR #7407
532      [Taketo Kabe <kiabe@sra-tohoku.co.jp>]
533
534   *) Change the way the beos MPM handles polling to allow it to stop and
535      restart.  Problem was the sockets being polled were being reset by
536      the select call, so once it had accepted a connection it was no
537      longer listening on the UDP socket we use for shutdown instructions.
538      APR needs to be altered, patch on it's way. [David Reid]
539
540   *) Empty out the brigade shared by ap_getline()/ap_get_client_block()
541      on error exit from ap_getline().  Some other code got upset because
542      the wrong data was in the brigade.  [Greg Ames, Jeff Trawick]
543
544   *) Handle ap_discard_request_body() being called more than once.
545      [Greg Ames, Jeff Trawick]
546
547   *) Get rid of an inadvertent close of file descriptor 2 in
548      mod_mime_magic.  [Greg Ames, Jeff Trawick]
549
550   *) Add a hook, create_request.  This hook allows modules to modify
551      a request while it is being created.  This hook is called for all
552      request_rec's, main request, sub request, and internal redirect.
553      When this hook is called, the the r->main, r->prev, r->next
554      pointers have been set, so modules can determine what kind of
555      request this is.  [Ryan Bloom]
556
557   *) Cleanup the build process a bit more.  The Apache configure
558      script no longer creates its own helper scripts, it just
559      uses APR's.  
560      [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
561
562   *) Stop the forced downgrade of the connection to HTTP/1.0 for
563      proxy requests.  [Graham Leggett]
564
565   *) Avoid using sscanf to determine the HTTP protocol number in
566      the common case because sscanf is a performance hog. From
567      Mike Abbot's Accelerating Apache patch number 6.
568      [Mike Abbot <mja@trudge.engr.sgi.com>, Bill Stoddard]
569
570   *) Fix a security exposure in mod_access.  Previously when IPv6 
571      listening sockets were used, allow/deny-from-IPv4-address rules 
572      were not evaluated properly (PR #7407).  Also, add the ability to 
573      specify IPv6 address strings with optional prefix length on Allow 
574      and Deny.  [Jeff Trawick]
575
576   *) Enhance rotatelogs so that a UTC offset can be specified, and
577      the logfile name can be formatted using strftime(3).  (Brought
578      forward from 1.3.)  [Ken Coar]
579
580   *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling 
581      DuplicateHandle on an IOCompletionPort (a practice which
582      MS "discourages"). The new model does not rely on associating
583      the completion port with the listening sockets, thus the
584      completion port can be completely managed within the child 
585      process.  A dedicated thread accepts connections off the network,
586      then calls PostQueuedCompletionStatus() to wake up worker
587      threads blocked on the completion port.
588      [Bill Stoddard]
589
590   *) Bring forward the --suexec-umask option which allows the
591      builder to preset the umask for suexec processes.  [Ken Coar]
592
593   *) Add a -V flag to suexec, which causes it to display the
594      compile-time settings with which it was built.  (Only
595      usable by root or the AP_HTTPD_USER username.)  [Ken Coar]
596
597   *) Mod_include should always unset the content-length if the file is
598      going to be passed through send_parsed_content.  There is no to
599      determine if the content will change before actually scanning the
600      entire content.  It is far safer to just remove the C-L as long
601      as we are scanning it.  [Ryan Bloom]
602
603   *) Make sure Apache sends WWW-Authenticate during a reverse proxy
604      request and not Proxy-Authenticate.
605      [Graham Leggett <minfrin@sharp.fm>]
606
607 Changes with Apache 2.0.14
608
609   *) Fix content-length computation.  We ONLY compute a content-length if
610      We are not in a 1.1 request and we cannot chunk, and this is a keepalive
611      or we already have all the data.  [Ryan Bloom]
612
613   *) Report unbounded containers in the config file.  Previously, a typo
614      in the </container> directive could result in the rest of the config
615      file being silently ignored, with undesired defaults used.
616      [Jeff Trawick]
617
618   *) Make the old_write filter use the ap_f* functions for the buffering.
619      [Ryan Bloom]
620
621   *) Move more code from the http module into the core server.  This
622      is core code, basically the default handler, the default input
623      and output filters, and all of the core configuration directives.
624      All of this code is required in order for the server to work, with or
625      without HTTP.  The server is closer to working without the HTTP
626      module, although there is still more to do.  [Ryan Bloom]
627
628   *) Fix a number of SGI compile warnings throughout the server.  Fix some
629      bad parameters to apr_bucket_read().  Fix a bad statement in 
630      ap_method_in_list().  For the mod_rewrite cache use apr_time_t 
631      consistently; we were mixing apr_time_t and time_t in invalid ways 
632      before.  In load_file(), call apr_dso_error() instead of 
633      apr_strerror() so that we get a more specific string on some platforms.
634      PR #6980  [Jeff Trawick]
635
636   *) Allow modules to query the MPM about it's execution profile.  This
637      query API can and should be extended in the future, but for now,
638      max_daemons, and threading or forking is a very good start.
639      [Jon Travis <jtravis@covalent.net>]
640
641   *) Modify mod_include to send blocks of data no larger than 9k.
642      Without this, mod_include will wait until the whole file is parsed,
643      or the first tag is found to send any data to the client.
644      [Paul J. Reder <rederpj@raleigh.ibm.com>]
645
646   *) Fix mod_info, so that <Directory> and <Location> directives are
647      not displayed twice when displaying the current configuration.
648      [Ryan Morgan <rmorgan@covalent.net>]
649
650   *) Add config directives to override DEFAULT_ERROR_MSG and
651      DEFAULT_TIME_FORMAT.  This was sent in as PR 6193.
652      [Dan Rench <drench@xnet.com>]
653
654   *) Get mod_info building and loading on Win32.  [William Rowe]
655
656   *) Begin to move protocol independant functions out of mod_http.  The goal
657      is to have only functions that are HTTP specific in the http directory.
658      [Ryan Bloom]
659
660 Changes with Apache 2.0.13
661
662   *) Don't assume that there will always be multiple calls to the byterange 
663      filter.  It is possible that we will need to do byteranges with only
664      one call to the filter.  [Ryan Morgan <rmorgan@covalent.net>]
665
666   *) Move the error_bucket definition from the http module to the
667      core server.  Every protocol will need this ability, not just
668      HTTP.  [Ryan Bloom]
669
670 Changes with Apache 2.0.12
671
672   *) Modify mod_file_cache to save pre-formatted strings for 
673      content-length and last-modified headers for performance. 
674      [Mike Abbot <mja@trudge.engr.sgi.com>]
675
676   *) Namespace protect IOBUFSIZ since it is exposed in the API.
677      [Jon Travis <jtravis@covalent.net>]
678
679   *) Use "Basic" authentication instead of "basic" in ab, as the spec
680      says we should.  [Andre Breiler <andre.breiler@rd.bbc.co.uk>]
681
682   *) Fix a seg fault in mod_userdir.c.  We used to use the pw structure
683      without ever filling it out.  This fixes PR 7271.
684      [Taketo Kabe <kabe@sra-tohoku.co.jp> and 
685       Cliff Woolley <cliffwoolley@yahoo.com>]
686
687   *) Add a couple of GCC attribute tags to printf style functions.
688      [Jon Travis <jtravis@covalent.net>]
689
690   *) Add the correct language tag for interoperation with the Taiwanese
691      versions of MSIE and Netscape. [Clive Lin <clive@CirX.ORG>] PR#7142
692
693   *) Migrate the perchild MPM to use the new apr signal child, and 
694      APR thread functions.  [Ryan Bloom]
695
696   *) Close one copy of the CGI's stdout before creating the new process.
697      The CGI will still have stdout, because we have already dup'ed it.
698      This keeps Apache from waiting forever to send the results of a CGI
699      process that has forked a long-lived child process.
700      [Taketo Kabe <kabe@sra-tohoku.co.jp>]
701
702   *) Remove the rest of the pthreads functions from the threaded MPM.
703      This requires the APR support for a signal thread that was just
704      added.  [Ryan Bloom]
705
706   *) Make mod_dir use a fixup for sending a redirect to the browser.
707      Before this, we were using a handler, which doesn't make much
708      sense, because the handler wasn't generating any data, it would
709      either return a redirect error code, or DECLINED.  This fits the
710      current hooks better.  [Ryan Morgan <rmorgan@covalent.net>]
711
712   *) Make the threaded MPM use APR threads instead of pthreads.
713      [Ryan Bloom]
714
715   *) Get mod_tls to the point where it actually appears to work in all cases.
716      [Ben Laurie]
717
718   *) implement --enable-modules and --enable-mods-shared for "all" and
719      "most".  [Greg Stein]
720
721   *) Move the threaded MPM to use APR locks instead of pthread locks.
722      [Ryan Bloom]
723
724   *) Rename mpmt_pthread to threaded.  This is more in line with the
725      fact that mpmt_pthread shouldn't be using pthreads directly, and
726      it is a smaller name that doesn't tie into anything.
727      [Ryan Bloom]
728
729   *) Rename the module structures so that the exported symbol matches
730      the file name, and it is easier to automate the installation
731      process (generating LoadModule directives from the module filenames).
732      [Martin Kraemer]
733
734   *) Remove the coalesce filter.  With the ap_f* functions, this filter
735      is no longer needed. [Ryan Bloom]
736
737 Changes with Apache 2.0.11
738
739   *) Remove the dexter MPM.  Perchild is the same basic idea, but it has the
740      added feature of allowing a uid/gid per child process.  If no
741      uid/gid is specified, then Perchild behaves exactly like dexter.
742      [Ryan Bloom]
743
744   *) Get perchild building again. [Ryan Bloom]
745
746   *) Don't disable threads just because we are using the prefork MPM.
747      If somebody wants to compile without threads, they must now add
748      --disable-threads to the configure command line.  [Ryan Bloom]
749
750   *) Begin to move the calls to update_child_status into common code, so
751      that each individual MPM does not need to update the scoreboard itself.
752      [Ryan Bloom]
753
754   *) Allow mod_tls to compile under Unix boxes where openssl has been
755      installed to the system include files.
756      [Gomez Henri <new-httpd@slib.fr>]
757
758   *) Cleanup the mod_tls configure process.  This should remove any need
759      to hand-edit any files.  We require OpenSSL 0.9.6 or later, but 
760      configure doesn't check that yet.  [Ryan Bloom]
761
762   *) Add a very early prototype of SSL support (in mod_tls.c). It is
763      vital that you read modules/tls/README before attempting to build
764      it. [Ben Laurie]
765
766   *) Fix a potential seg fault on all platforms.  David Reid fixed this
767      on BEOS, but the problem could happen anywhere, so we don't want
768      to #ifdef it. [Cliff Woolley <cliffwoolley@yahoo.com>]
769  
770   *) Add new LogFormat directive, %D, to log time it takes to serve a
771      request in microseconds. [Bill Stoddard]
772
773   *) Change AddInputFilter and AddOutputFilter to SetInputFilter and
774      SetOutputFilter.  This corresponds nicely with the other Set 
775      directives, which operate on containers while the Add* directives
776      tend to work directly on extensions.  [Ryan Bloom]
777
778   *) Cleanup the header handling a bit.  This uses the apr_brigade_*
779      functions for the buffering so that we don't need to compute
780      the length of the headers before we actually create the header
781      buffer.  [Ryan Bloom]
782
783   *) Allow filters to buffer data using the ap_f* functions.  These have
784      become macros that resolve directly to apr_brigade_*.  
785      [Ryan Bloom]
786
787   *) Get the Unix MPM's to do a graceful restart again.  If we are going
788      to register a cleanup with ap_cleanup_scoreboard, then we have to
789      kill the cleanup with the same function,  and that function can't be
790      static.  [Ryan Bloom]
791
792   *) Install all required header files.  Without these, it was not
793      possible to compile some modules outside of the server.
794      [Ryan Bloom]
795
796   *) Fix the AliasMatch directive in Apache 2.0.  When we brought a patch
797      forward from 1.3 to 2.0, we missed a single line, which broke regex
798      aliases.  [Ryan Bloom]
799
800   *) We have a poor abstraction in the protocol.  This is a temporary
801      hack to fix the bug, but it will need to be fixed for real.  If
802      we find an error while sending out a custom error response, we back
803      up to the first non-OK request and send the data.  Then, when we send
804      the EOS from finalize_request_protocol, we go to the last request,
805      to ensure that we aren't sending an EOS to a request that has already
806      received one.  Because the data is sent on a different request than
807      the EOS, the error text never gets sent down the filter stack.  This
808      fixes the problem by finding the last request, and sending the data
809      with that request.  [Ryan Bloom]
810
811   *) Make the server status page show the correct restart time, and
812      thus the proper uptime. [Ryan Bloom]
813
814   *) Move the CGI creation logic from mod_include to mod_cgi(d).  This
815      should reduce the amount of duplicate code that is required to
816      create CGI processes.
817      [Paul J. Reder <rederpj@raleigh.ibm.com>]
818
819   *) ap_new_connection() closes the socket and returns NULL if a socket
820      call fails.  Usually this is due to a connection which has been 
821      reset.  [Jeff Trawick]
822
823   *) Move the Apache version information out of httpd.h and into release.h.
824      This is in preparation for the first tag with the new tag and release
825      system.  [Ryan Bloom]
826
827   *) Begin restructuring scoreboard code to enable adding back in
828      the ability to use IPC other than shared memory.
829      Get mod_status working on Windows again. [Bill Stoddard]
830
831   *) Make mod_status work with 2.0.  This will work for prefork,
832      mpmt_pthread, and dexter.  [Ryan Bloom]
833
834   *) Correct a typo in httpd.conf.
835      [Kunihiro Tanaka <tanaka@apache.or.jp>] PR#7154 
836
837   *) Really fix mod_rewrite map lookups this time. [Tony Finch]
838
839   *) Get the correct IP address if ServerName isn't set and we can't
840      find a fully-qualified domain name at startup.
841      PR#7170 [Danek Duvall <dduvall@eng.sun.com>]
842
843   *) Make mod_cgid work with SuExec.  [Ryan Bloom]
844
845   *) Adopt apr user/group name features for mod_rewrite.  Eliminates some
846      'extra' stat's for user/group since they should never occur, and now
847      resolves the SCRIPT_USER and SCRIPT_GROUP, including on WinNT NTFS
848      volumes.  [William Rowe]
849
850   *) Adopt apr features to simplify mod_includes.  This changes the
851      behavior of the USER_NAME variable, unknown uid's are now reported
852      as USER_NAME="<unknown>" rather than the old user#000 result.
853      WinNT now resolves USER_NAME on NTFS volumes.  [William Rowe]
854
855   *) Adopt apr features for simplifing mod_userdir, and accept the new
856      Win32/OS2 exceptions without hiccuping.  [William Rowe]
857
858   *) Replace configure --with-optim option by using and saving the
859      environment variable OPTIM instead.  This is needed because configure
860      options do not support multiple flags separated by spaces.
861      [Roy Fielding]
862
863   *) Fix some byterange handling.  If we get a byte range that looks like
864      "-999999" where that is past the end of the file, we should return 
865      a PARTIAL CONTENT status code, and return the whole file as one big
866      byterange.  This matches the 1.3 handling now.  [Ryan Bloom]
867
868   *) Make the error bucket a real meta-data bucket.  This means that the
869      bucket length is 0, and a read returns NULL data.  If one of these
870      buckets is passed down after the headers are sent, this data will
871      just be ignored.  [Greg Stein]
872
873   *) The prefork MPM wasn't killing child processes correctly if a restart
874      signal was received while the process was serving a request.  The child
875      process would become the equivalent of a second parent process.  If
876      we break out of the accept loop, then we need to do die after cleaning
877      up after ourselves.  [Ryan Bloom]
878
879   *) Change the Prefork MPM to use SIGWINCH instead of SIGUSR1 for graceful
880      restarts.  [Ryan Bloom]
881
882   *) Modify the apr_stat/lstat/getfileinfo calls within apache to use
883      the most optimal APR_FINFO_wanted bits.  This spares Win32 from
884      performing very expensive owner, group and permission lookups
885      and allows the server to function until these apr_finfo_t fields
886      are implemented under Win32.  [William Rowe]
887
888   *) Support for typedsafe optional functions - that is functions exported by
889      optional modules, which, therefore, may or may not be present, depending
890      on configuration. See the experimental modules mod_optional_fn_{ex,im}port
891      for sample code. [Ben Laurie]
892
893   *) filters can now report an HTTP error to the server.  This is done
894      by sending a brigade where the first bucket is an error_bucket.
895      This bucket is a simple bucket that stores an HTTP error and
896      a string.  Currently the string is not used, but it may be needed
897      to output an error log.  The http_header_filter will find this
898      bucket, and output the error text, and then return 
899      AP_FILTER_ERROR, which informs the server that the error web page
900      has already been sent.  [Ryan Bloom]
901
902   *) If we get an error, then we should remove all filters except for
903      those critical to serving a web page.  This fixes a bug, where
904      error pages were going through the byterange filter, even though
905      that made no sense.  [Ryan Bloom]
906
907   *) Relax the syntax checking of Host: headers in order to support
908      iDNS. PR#6635 [Tony Finch]
909
910   *) Cleanup the byterange filter to use the apr_brigade_partition
911      and apr_bucket_copy functions.  This removes a lot of very messy
912      code, and hopefully makes this filter more stable.
913      [Ryan Bloom]
914
915   *) Remove AddModule and ClearModuleList directives.  Both of these
916      directives were used to ensure that modules could be enabled
917      in the correct order.  That requirement is now gone, because
918      we use hooks to ensure that modules are in the correct order.
919      [Ryan Bloom]
920
921   *) When SuExec is specified, we need to add it to the list of
922      targets to be built.  If we don't, then any changes to the
923      configuration won't affect SuExec, unless 'make suexec' is
924      specifically run.  [Ryan Bloom]
925
926   *) Cleaned out open_file from mod_file_cache, as apr now accepts
927      the APR_XTHREAD argument to open a file for consumption by
928      parallel threads on win32.  [William Rowe]
929
930   *) Correct a bug in determining when we follow symlinks.  The code
931      expected a stat -1 result, not an apr_status_t positive error.
932      Also check if the APR_FINFO_USER fields are valid before we
933      follow the link.  [William Rowe]
934
935   *) Move initgroupgs, ap_uname2id and ap_gname2id from util.c to
936      mpm_common.c.  These functions are only valid on some platforms,
937      so they should not be in the main-line code. [Ryan Bloom]
938
939   *) Remove ap_chdir_file().  This function is not thread-safe,
940      and nobody is currently using it.  [Ryan Bloom]
941
942   *) Do not try to run make depend if there are no .c files in the
943      current directory, doing so makes `make depend` fail.
944      [Ryan Bloom]
945
946    *) Update highperformance.conf to work with either prefork or
947       pthreads mpms.  [Greg Ames] 
948
949   *) Stop checking to see if this is a pipelined request if we know
950      for a fact that it isn't.  Basically, if r->connection->keepalive == 0.
951      This keeps us from making an extra read call when serving a 1.0
952      request.  [Ryan Bloom and Greg Stein]
953
954   *) Fix the handling of variable expansion look-ahead in mod_rewrite,
955      i.e. syntax like %{LA-U:REMOTE_USER}, and also fix the parsing of
956      more complicated nested RewriteMap lookups. PR#7087 [Tony Finch]
957
958   *) Fix the RFC number mentioned when complaining about a missing
959      Host: header. PR#7079 [Alexey Toptygin <alexeyt@wam.umd.edu>]
960
961   *) Fix an endless loop in ab which occurred when ab was posting
962      and the server dropped the connection unexpectedly.
963      [Jeff Trawick]
964
965   *) Fix a segfault while handling request bodies in ap_http_filter().  
966      This problem has been seen with mod_dav usage as well as with 
967      requests where the body was just being discarded.  [Jeff Trawick]
968
969   *) Some adjustment on the handling and automatic setting (via
970      hints.m4) of various compilation flags (eg: CFLAGS). Also,
971      add the capability to specify flags (NOTEST_CFLAGS and
972      NOTEST_LDFLAGS) which are used to compile Apache, but
973      not used during the configuration process. Useful for
974      flags like "-Werror". [Jim Jagielski]
975
976   *) Stop using environment variables to force debug mode or
977      no detach.  We now use the -D command line argument to 
978      specify the correct mode.  -DONE_PROCESS and -DNO_DETACH.
979      [Greg Stein, Ryan Bloom]
980
981   *) Change handlers to use hooks. [Ben Laurie]
982
983   *) Stop returning copies of filenames from both apr_file_t and
984      apr_dir_t.  We pstrdup the filenames that we store in the
985      actual structures, so we don't need to pstrdup the strings again.
986      [Ryan Bloom]
987
988   *) mod_cgi: Fix some problems where the wrong error value was being
989      traced.  [Jeff Trawick]
990
991   *) EBCDIC: Fix some missing ASCII conversion on some protocol data.
992      [Jeff Trawick]
993
994   *) Add generic hooks. [Ben Laurie]
995
996   *) Use a real pool to dup the error log descriptor.  [Ryan Bloom]
997
998   *) Fix a segfault caused by mod_ext_filter when the external filter 
999      program does not exist. [Jeff Trawick]
1000
1001   *) Fix an output truncation error when on an HTTP >= 1.0 request an
1002      object of size between DEFAULT_BUCKET_SIZE and AP_MIN_BYTES_TO_WRITE 
1003      was served through mod_charset_lite (or anything else that would
1004      create a transient bucket in this size range).  ap_bucket_make_heap()
1005      silently failed (fixed), transient_setaside() discovered it, but
1006      ap_save_brigade() ignored it (fixed). [Jeff Trawick]
1007      
1008   *) Ignore \r\n or \n when using PEEK mode for input filters.  The problem
1009      is that some browsers send extra lines at the end of POST requests, and
1010      we don't want to delay sending data back to the user just because the
1011      browser isn't well behaved. [Ryan Bloom]
1012
1013   *) Get SuEXEC working again.  We can't send absolute paths to suExec
1014      because it refuses to execute those programs.  SuEXEC also wasn't
1015      always recognizing configuration changes made using the autoconf
1016      setup.  [Ryan Bloom]
1017
1018   *) Allow the buildconf process to find the config.m4 files in the correct
1019      order.  Basically, we can now name config.m4 files as config\d\d.m4,
1020      and we will sort them correctly when inserting them into the build
1021      process.  [Ryan Bloom]
1022
1023   *) Get mod_cgid to use apr calls for creating the actual CGI process.
1024      This also allows mod_cgid to use ap_os_create_priviledged_process,
1025      thus allowing for SuExec execution from mod_cgid.  Currently, we do
1026      not support everything that standard SuExec supports, but at least
1027      it works minimally now. [Ryan Bloom]
1028
1029   *) Allow SuExec to be configured from the ./configure command line.
1030      [Ryan Bloom]
1031
1032   *) Update some of the docs in README and INSTALL to reflect some of
1033      the changes in Apache 2.0 [Cliff Woolley <cliffwoolley@yahoo.com>]
1034
1035   *) If we get EAGAIN returned from the call to apr_sendfile, then we
1036      need to call sendfile again.  This gets us serving large files
1037      such as apache_2.0a9.tar.gz on FreeBSD again. [Ryan Bloom]
1038
1039   *) Get the support programs building cleanly again.
1040      [Cliff Woolley <cliffwoolley@yahoo.com>]
1041
1042   *) The Apache/Win32 Apache.exe and dll's now live in bin.  The 
1043      current directory logic now backs up over bin/ to determine the
1044      server root from the Apache.exe path.
1045
1046   *) Apache/Win32 now follows the standard conventions of mod_foo.so
1047      loadable modules, dynamic libs are all named libfoo.dll, and the
1048      makefile.win populates the include, lib and libexec directories.
1049
1050   *) Apache is now IPv6-capable.  On systems where APR supports IPv6,
1051      Apache gets IPv6 listening sockets by default.  Additionally, the
1052      Listen, NameVirtualHost, and <VirtualHost> directives support IPv6
1053      numeric address strings (e.g., "Listen [fe80::1]:8080").
1054      [Jeff Trawick]
1055
1056   *) Modify the install directory layout.  Modules are now installed in
1057      modules/.  Shared libraries should be installed in libraries/, but
1058      we don't have any of those on Unix yet.  All install directories
1059      are modifyable at configure time. [Ryan Bloom]
1060
1061   *) Install all header files in the same directory on Unix. [Ryan Bloom]
1062
1063   *) Get the functions in server/linked into the server, regardless of
1064      which modules linked into the server.  This uses the same hack 
1065      for Apache that we use for APR and apr-util to ensure all of the
1066      necessary functions are linked.  As a part of thise, the CHARSET_EBCDIC
1067      was renamed to AP_CHARSET_EBCDIC for namespace protection, and to make
1068      the scripts a bit easier.
1069      [Ryan Bloom]
1070
1071   *) Rework the RFC1413 handling to make it thread-safe, use a timeout
1072      on the query, and remove IPv4 dependencies.  [Jeff Trawick]
1073
1074   *) Get all of the auth modules to the point that they will install and
1075      be loadable into the server.  Our new build/install mechanism expects
1076      that all modules will have a common name format.  The auth modules 
1077      didn't use that format, so we didn't install them properly.
1078      [Ryan Bloom]
1079
1080   *) API routines ap_pgethostbyname() and ap_pduphostent() are no longer
1081      available.  Use apr_getaddrinfo() instead.  [Jeff Trawick]
1082
1083   *) Get "NameVirtualHost *" working in 2.0.  [Ryan Bloom]
1084
1085   *) Return HTTP_RANGE_NOT_SATISFIABLE if the every range requested starts
1086      after the end of the response. [Ryan Bloom]
1087
1088   *) Get byterange requests working with responses that do not have a
1089      content-length.  Because of the way byterange requests work, we have to
1090      have all of the data before we can actually do the byterange, so we
1091      can compute the content-length in the byterange filter.
1092      [Ryan Bloom]
1093
1094   *) Get exe CGI's working again on Windows.
1095      [Allan Edwards]
1096
1097   *) Get mod_cgid and mod_rewrite to work as DSOs by changing the way
1098      they keep track of whether or not their  post config hook has been
1099      called before.  Instead of a static variable (which is replaced when 
1100      the DSO is loaded a second time), use userdata in the process pool.
1101      [Jeff Trawick]
1102
1103 Changes with Apache 2.0a9
1104
1105   *) Win32 now requires perl to complete the final install step for users
1106      to build + install on Win32.  Makefile.win now rewrites @@ServerRoot@
1107      and installs the conf, htdocs and htdocs/manual directories.
1108      [William Rowe]
1109
1110   *) Make mod_include use a hash table to associate directive tags with
1111      functions.  This allows modules to implement their own SSI tags easily.
1112      The idea is simple enough, a module can insert it's own tag and function
1113      combination into a hash table provided by mod_include.  While mod_include
1114      parses an SSI file, when it encounters a tag in the file, it does a
1115      hash lookup to find the function that implements that tag, and passes
1116      all of the relevant data to the function.  That function is then
1117      responsible for processing the tag and handing the remaining data back
1118      to mod_include for further processing.
1119      [Paul J. Reder <rederpj@raleigh.ibm.com>]
1120
1121   *) Get rid of ap_new_apr_connection().  ap_new_connection() now has 
1122      fewer parameters: the local and remote socket addresses were removed
1123      from the parameter list because all required information is available
1124      via the APR socket.  [Jeff Trawick]
1125
1126   *) Distribution directory structure reorganized to reflect a
1127      normal source distribution with external install targets.
1128      [Roy Fielding]
1129
1130   *) The MPMs that need multiple segments of shared memory now create
1131      two apr_shmem_t variables, one for each shared memory allocation.
1132      the problem is that we can't determine how much memory will be required
1133      for shared memory allocations once we try to allocate more than one
1134      variable.  The MM code automatically aligns the shared memory allocations,
1135      so we end up needing to pad the amount of shared memory we want based
1136      on how many variables will be allocated out of the shared memory segment.
1137      It is just easier to create a second apr_shmem_t variable, and two
1138      shmem memory blocks.
1139      [Ryan Bloom]
1140
1141   *) Cleanup the export list a bit.  This creates a single unified list of
1142      functions exported by APR.  The export list is generated at configure
1143      time, and that list is then used to generate the exports.c file.
1144      Because of the way the export list is generated, we only export those
1145      functions that are valid on the platform we are building on.
1146      [Ryan Bloom]
1147
1148   *) Enable logging the cookie with mod_log_config
1149      [Sander van Zoest <sander@covalent.net>]
1150
1151   *) Fix a segfault in mod_info when it reaches the end of the configuration.
1152      [Jeff Trawick]
1153
1154   *) Added lib/aputil/ as a placeholder for utility functions which are not
1155      specific to the Apache HTTP Server (but do not make sense with APR).
1156      The first utility is "apu_dbm": a set of functions to work with DBM
1157      files. This first version can be compiled for SDBM or GDBM databases.
1158      [Greg Stein]
1159
1160   *) Complete re-write of mod_include.  This makes mod_include a filter that
1161      uses buckets directly.  This has now served the FAQ correctly.
1162      [Paul Reder <rederpj@raleigh.ibm.com>]
1163
1164   *) Allow modules to specify the first filter in a sub_request when
1165      making the sub_request.  This keeps modules from having to change the
1166      output_filter immediately after creating the sub-request, and therefore
1167      skip the sub_req_output_filter.  [Ryan Bloom]
1168
1169   *) Update ab to accept URLs with IPv6 literal address strings (in the
1170      format described in RFC 2732), and to build Host header fields in
1171      the same format.  This allows IPv6 literal address strings to be
1172      used with ab.  This support has been tested against Apache 1.3 with 
1173      the KAME patch, but Apache 2.0 does not yet work with this format
1174      of the Host header field.  [Jeff Trawick]
1175
1176   *) Accomodate an out-of-space condition in the piped logs and the
1177      rotatelogs.c code, and no longer churn log processes for this
1178      condition.  [Victor J. Orlikowski]
1179
1180   *) Add support for partial writes with apr_sendfile() to core_output_filter.
1181      [Greg Ames] 
1182
1183 Changes with Apache 2.0a8
1184
1185   *) Add a directive to mod_mime so that filters can be associated with
1186      a given mime-type.
1187      [Ryan Bloom]
1188
1189   *) Get multi-views working again.  We were setting the path_info
1190      field incorrectly if we couldn't find the specified file.
1191      [Ryan Bloom]
1192
1193   *) Fix 304 processing.  The core should never try to send the headers
1194      down the filter stack.  Always, just setup the table in the request
1195      record, and let the header filter convert it to data that is ready
1196      for the network.
1197      [Ryan Bloom]
1198
1199   *) More fixes for the proxy.  There are still bugs in the proxy code,
1200      but this has now proxied www.yahoo.com and www.ntrnet.net (my ISP)
1201      successfully.
1202      [Ryan Bloom]
1203
1204   *) Fix params for apr_getaddrinfo() call in connect proxy handler.
1205      [Chuck Murcko]
1206
1207   *) APR: Add new apr_getopt_long function to handle long options.
1208      [B. W. Fitzpatrick <fitz@red-bean.com>]
1209
1210   *) APR: Change apr_connect() to take apr_sockaddr_t instead of hostname.
1211      Add generic apr_create_socket().  Add apr_getaddrinfo() for doing
1212      hostname resolution/address string parsing and building
1213      apr_sockaddr_t.  Add apr_get_sockaddr() for getting the address
1214      of one of the apr_sockaddr_t structures for a socket.  Change
1215      apr_bind() to take apr_sockaddr_t.  [David Reid and Jeff Trawick]
1216
1217   *) Remove the BUFF from the HTTP proxy.  This is still a bit ugly, but
1218      I have proxied pages with it, cleanup will commence soon.
1219      [Ryan Bloom]
1220
1221   *) Make the proxy work with filters.  This isn't perfect, because we
1222      aren't dealing with the headers properly.  [Ryan Bloom]
1223
1224   *) Do not send a content-length iff the C-L is 0 and this is a head
1225      request.  [Ryan Bloom]
1226
1227   *) Make cgi-bin work as a regular directory when using mod_vhost_alias
1228      with no VirtualScriptAlias directives. PR#6829 [Tony Finch]
1229
1230   *) Remove BUFF from the PROXY connect handling. [Ryan Bloom]
1231
1232   *) Get the default_handler to stop trying to deal with HEAD requests.
1233      The idea is to let the content-length filter compute the C-L before
1234      we try to send the data.  If we can get the C-L correctly, then we
1235      should send it in the HEAD response.
1236      [Ryan Bloom]
1237      
1238   *) The Header filter can now determine if a body should be sent based
1239      on r->header_only.  The general idea of this is that if we delay
1240      deciding to send the body, then we might be able to compute the
1241      content-length correctly, which will help caching proxies to cache
1242      our data better.  Any handler that doesn't want to try to compute
1243      the content-length can just send an EOS bucket without data and
1244      everything will just work.
1245      [Ryan Bloom]
1246
1247   *) Add the referer to the error log if one is available.
1248      [Markus Gyger <mgyger@itr.ch>]
1249
1250   *) Mod_info.c has now been ported to Apache 2.0.  As a part of this
1251      change, the root of the configuration tree has been exposed to modules
1252      as ap_conftree.
1253      [Ryan Morgan <rmorgan@covalent.net>]
1254
1255   *) Get the core_output_filter to use the bucket interface directly.
1256      This keeps us from calling the content-length filter multiple times
1257      for a simple static request.
1258      [Ryan Bloom]
1259
1260   *) We are sending the content-type correctly now.
1261      [Ryan Bloom and Will Rowe]
1262
1263   *) APR on FreeBSD: Fix a bug in apr_sendfile() which caused us to report
1264      a bogus bytes-sent value when the only thing being sent was trailers
1265      and writev() returned an error (or EAGAIN).  [Jeff Trawick]
1266
1267   *) Get SINGLE_LISTEN_UNSERIALIZED_ACCEPT working again.  This uses the
1268      hints file to determine which platforms define 
1269      SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
1270      [Ryan Bloom]
1271
1272   *) APR: add apr_get_home_directory()  [Jeff Trawick]
1273
1274   *) Initial import of 1.3-current mod_proxy. [Chuck Murcko]
1275
1276   *) Not all platforms have INADDR_NONE defined by default.  Apache
1277      used to make this check and define INADDR_NONE if appropriate,
1278      but APR needs the check too, and I suspect other applications will
1279      as well.  APR now defines APR_INADDR_NONE, which is always a valid
1280      value on all platforms.
1281      [Branko Èibej <brane@xbc.nu>]
1282
1283   *) Destroy the pthread mutex in lock_intra_cleanup() for PR#6824.
1284      [Shuichi Kitaguchi <ki@hh.iij4u.or.jp>] 
1285
1286   *) Relax the syntax checking of Host: headers in order to support
1287      iDNS. PR#6635 [Tony Finch]
1288
1289   *) When reading from file buckets we convert to an MMAP if it makes
1290      sense.  This also simplifies the default handler because the
1291      default handler no longer needs to try to create MMAPs.
1292      [Ryan Bloom]
1293
1294   *) BUFF has been removed from the main server.  The BUFF code will remain
1295      in the code until it has been purged from the proxy module as well.
1296      [Ryan Bloom]
1297
1298   *) Byteranges have been completely re-written to be a filter.  This
1299      has been tested, and I believe it is working correctly, but it could
1300      doesn't work for the Adobe Acrobat plug-in.  The output almost matches
1301      the output from 1.3, the only difference being that 1.3 includes
1302      a content-length in the response, and this does not.
1303      [Ryan Bloom]
1304
1305   *) APR read/write functions and bucket read functions now operate
1306      on unsigned integers, instead of signed ones.  It doesn't make
1307      any sense to use signed ints, because we return the error codes,
1308      so if we have an error we should report 0 bytes read or written.
1309      [Ryan Bloom]
1310
1311   *) Always compute the content length, whether it is sent or not.
1312      The reason for this, is that it allows us to correctly report
1313      the bytes_sent when logging the request.  This also simplifies
1314      content-length filter a bit, and fixes the actual byte-reporing
1315      code in mod_log_config.c
1316      [Ryan Bloom]
1317
1318   *) Remove AP_END_OF_BRIGADE definition.  This does not signify what
1319      it says, because it was only used by EOS and FLUSH buckets.  Since
1320      neither of those are required at the end of a brigade, this was
1321      really signifying FLUSH_THE_DATA, but that can be determined better
1322      by checking AP_BUCKET_IS_EOS() or AP_BUCKET_IS_FLUSH.  EOS and FLUSH
1323      buckets now return a length of 0, which is actually the amount of data
1324      read, so they make more sense.
1325      [Ryan Bloom]
1326
1327   *) Allow the core_output_filter to save some data past the end of a
1328      request.  If we get an EOS bucket, we only send the data if it 
1329      makes sense to send it.  This allows us to pipeline request
1330      responses.  As a part of this, we also need to allocate mmap
1331      buckets out of the connection pool, not the request pool.  This
1332      allows the mmap to outlive the request.
1333      [Ryan Bloom]
1334
1335   *) Make blocking and non-blocking bucket reads work correctly for
1336      sockets and pipes.  These are the only bucket types that should
1337      have non-blocking reads, because the other bucket types should
1338      ALWAYS be able to return something immediately.
1339      [Ryan Bloom]
1340
1341   *) In the Apache/Win32 console window, accept Ctrl+C to stop the 
1342      server, but use Ctrl+Break to initiate a graceful restart 
1343      instead of duplicating behavior. [John Sterling]
1344
1345   *) Patch mod_autoindex to set the Last-Modified header based on
1346      the directory's mtime, and add the ETag header.  [William Rowe]
1347
1348   *) Merge the 1.3 patch to add support for logging query string in 
1349      such a way that "%m %U%q %H" is the same as "%r".
1350      [Bill Stoddard]
1351
1352   *) Port three log methods from mod_log_config 1.3 to 2.0: 
1353      CLF compliant '-' byte count, method and protocol.
1354      [Bill Stoddard]
1355
1356   *) Add a new LogFormat directive, %c, that will log connection
1357      status at the end of the response as follows:
1358      'X' - connection aborted before the response completed.
1359      '+' - connection may be kept-alive by the server.
1360      '-' - connection will be closed by the server.
1361      [Bill Stoddard]
1362
1363   *) Expand APR for WinNT to fully accept and return utf-8 encoded
1364      Unicode file names and paths for Win32, and tag the Content-Type 
1365      from mod_autoindex to reflect that charset if the the feature
1366      macro APR_HAS_UNICODE_FS is true.  [William Rowe]
1367
1368   *) Compute the content length (and add appropriate header field) for
1369      the response when no content length is available and we can't use 
1370      chunked encoding.  [Jeff Trawick]
1371
1372   *) Changed ap_discard_request_body() to use REQUEST_CHUNKED_DECHUNK,
1373      so that content input filters get dechunked data when using
1374      the default handler. Also removed REQUEST_CHUNKED_PASS.
1375      [Sascha Schumann]
1376      
1377   *) Add mod_ext_filter as an experimental module.  This module allows
1378      the administrator to use external programs as filters.  Currently,
1379      only filtering of output is supported.  [Jeff Trawick]
1380
1381   *) Most Apache functions work on EBCDIC machines again, as protocol
1382      data is now translated (again).  [Jeff Trawick]
1383
1384   *) Introduce ap_xlate_proto_{to|from}_ascii() to clean up some of
1385      the EBCDIC support.  They are noops on ASCII machines, so this
1386      type of translation doesn't have to be surrounded by #ifdef
1387      CHARSET_EBCDIC.  [Jeff Trawick]
1388
1389   *) Fix mod_include.  tag commands work again, and the server will
1390      send the FAQ again.  This also allows mod_include to set aside
1391      buckets that include partial buckets.
1392      [Ryan Bloom and David Reid]
1393
1394   *) Add suexec support back.  [Manoj Kasichainula]
1395
1396   *) Lingering close now uses the socket directly instead of using
1397      BUFF.  This has been tested, but since all we can tell is that it
1398      doesn't fail, this needs to be really hacked on.
1399      [Ryan Bloom]
1400
1401   *) Allow filters to modify headers and have those headers be sent to
1402      the client.  The idea is that we have an http_header filter that
1403      actually sends the headers to the network.  This removes the need
1404      for the BUFF to send headers.
1405      [Ryan Bloom]
1406
1407   *) Charset translation: mod_charset_lite handles translation of
1408      request bodies.  Get rid of the xlate version of ap_md5_digest()
1409      since we don't compute digests of filtered (e.g., translated) 
1410      response bodies this way anymore.  (Note that we don't do it at
1411      all at the present; somebody needs to write a filter to do so.)
1412      [Jeff Trawick]
1413
1414   *) Input filters and ap_get_brigade() now have a input mode parameter 
1415      (blocking, non-blocking, peek) instead of a length parameter.
1416      [hackathon]
1417
1418   *) Update the mime.types file to the registered media types as
1419      of 2000-10-19. PR#6613 [Carsten Klapp <carsten.klapp@home.net>,
1420      Tony Finch]
1421
1422   *) Namespace protect some macros declared in ap_config.h
1423      [Ryan Bloom]
1424
1425   *) Support HTTP header line folding with input filtering.
1426      [Greg Ames]
1427
1428   *) Mod_include works again.  This should still be re-written, but at
1429      least now we can serve an SHTML page again.
1430      [Ryan Bloom]
1431
1432   *) Begin to remove BUFF from the core.  Currently, we keep a pointer
1433      to both the BUFF and the socket in the conn_rec.  Functions that
1434      want to use the BUFF can, functions that want to use the socket,
1435      can.  They point to the same place.
1436      [Ryan Bloom]
1437
1438   *) apr_psprintf doesn't understand %lld as a format.  Make it %ld.
1439      [Tomas "Ögren" <stric@ing.umu.se>]
1440
1441   *) APR pipes on Unix and Win32 are now cleaned up automatically when the 
1442      associated pool goes away.  (APR pipes on OS/2 were already had this
1443      logic.)  This resolvs a fatal file descriptor leak with CGIs.  
1444      [Jeff Trawick]
1445
1446   *) The final line of the config file was not being read if there was
1447      no \n at the end of it.  This was caused by apr_fgets returning 
1448      APR_EOF even though we had read valid data.  This is solved by
1449      making cfg_getline check the buff that was returned from apr_fgets.
1450      If apr_fgets return APR_EOF, but there was data in the buf, then we
1451      return the buf, otherwise we return NULL.
1452      [Ryan Bloom]
1453
1454   *) Piped logs work again in the 2.0 series.
1455      [Ryan Bloom]
1456
1457   *) Restore functionality broken by the mod_rewrite security fix:
1458      rewrite map lookup keys and default values are now expanded
1459      so that the lookup can depend on the requested URI etc.
1460      PR #6671 [Tony Finch]
1461
1462   *) Tighten up the syntax checking of Host: headers to fix a
1463      security bug in some mass virtual hosting configurations
1464      that can allow a remote attacker to retrieve some files
1465      on the system that should be inaccessible. [Tony Finch]
1466
1467   *) Add a pool bucket type.  This bucket is used for data allocated out
1468      of a pool.  If the pool is cleaned before the bucket is destroyed, then
1469      the data is converted to a heap bucket, allowing it to survive the
1470      death of the pool.
1471      [Ryan Bloom]
1472
1473   *) Add a flush bucket.  This allows modules to signal that the filters
1474      should all flush whatever data they currently have.  There is no way
1475      to actually force them to do this, so if a filter ignores this bucket,
1476      that's life, but at least we can try with this.
1477      [Ryan Bloom]
1478
1479   *) Add an output filter for sub-requests.  This filter just strips the
1480      EOS bucket so that we don't confuse the main request's core output
1481      filter by sending multiple EOS buckets.  This change also makes sub
1482      requests start to send EOS buckets when they are finished.
1483      [Ryan Bloom]
1484
1485   *) Make ap_bucket_(read|destroy|split|setaside) into macros.  Also
1486      makes ap_bucket_destroy a return void, which is okay because it
1487      used to always return APR_SUCCESS, and nobody ever checked its
1488      return value anyway.
1489      [Cliff Woolley <cliffwoolley@yahoo.com>]
1490
1491   *) Remove the index into the bucket-type table from the buckets
1492      structure.  This has now been replaced with a pointer to the
1493      bucket_type.  Also add some macros to test the bucket-type.
1494      [Ryan Bloom]
1495
1496   *) Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
1497      for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
1498      and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
1499      All _VAR_ flavors changes to _DATA to be absolutely clear.
1500      [William Rowe]
1501
1502   *) Add support for /, //, //servername and //server/sharename 
1503      parsing of <Directory> blocks under Win32 and OS2.
1504      [Tim Costello, William Rowe, Brian Harvard]
1505
1506   *) Remove the function pointers from the ap_bucket type.  They have been
1507      replaced with a global table.  Modules are allowed to register bucket
1508      types and use then use those buckets.
1509      [Ryan Bloom]
1510
1511   *) mod_cgid: In the handler, shut down the Unix socket (only for write) 
1512      once we finish writing the request body to the cgi child process; 
1513      otherwise, the client doesn't hit EOF on stdin.  Small request bodies 
1514      worked without this change (for reasons I don't understand), but large 
1515      ones didn't.  [Jeff Trawick]
1516
1517   *) Remove file bucket specific information from the ap_bucket type.
1518      This has been moved to a file_bucket specific type that hangs off
1519      the data pointer in the ap_bucket type.
1520      [Ryan Bloom]
1521
1522   *) Input filtering now has a third argument.  This is the amount of data
1523      to read from lower filters.  This argument can be -1, 0, or a positive
1524      number.  -1 means give me all the data you have, I'll deal with it and
1525      let you know if I need more.  0 means give me one line and one line
1526      only.  A positive number means I want no more than this much data.
1527
1528      Currently, only 0 and a positive number are implemented.  This allows
1529      us to remove the remaining field from the conn_rec structure, which
1530      has also been done.
1531      [Ryan Bloom] 
1532     
1533   *) Big cleanup of the input filtering.  The goal is that http_filter
1534      understands two conditions, headers and body.  It knows where it is
1535      based on c->remaining.  If c->remaining is 0, then we are in headers,
1536      and http_filter returns a line at a time.  If it is not 0, then we are
1537      in body, and http_filter returns raw data, but only up to c->remaining
1538      bytes.  It can return less, but never more.
1539      [Greg Ames, Ryan Bloom, Jeff Trawick]
1540
1541   *) mod_cgi: Write all of the request body to the child, not just what
1542      the kernel would accept on the first write.  [Jeff Trawick]
1543
1544   *) Back out the change that moved the brigade from the core_output_filters
1545      ctx to the conn_rec.  Since all requests over a given connection
1546      go through the same core_output_filter, the ctx pointer has the
1547      correct lifetime.
1548      [Ryan Bloom]
1549
1550   *) Fix another bug in the send_the_file() read/write loop. A partial
1551      send by apr_send would cause unsent data in the read buffer to
1552      get clobbered. Complete making send_the_file handle partial
1553      writes to the network.
1554      [Bill Stoddard]
1555
1556   *) Fix a couple of type fixes to allow compilation on AIX again
1557      [Victor J. Orlikowski <v.j.orlikowski@gte.net>]
1558
1559   *) Fix bug in send_the_file() which causes offset to be ignored
1560      if there are no headers to send.
1561      [Bill Stoddard]
1562
1563   *) Handle APR_ENOTIMPL returned from apr_sendfile in the core
1564      filter. Useful for supporting Windows 9* with a binary
1565      compiled on Windows NT.
1566      [Bill Stoddard]
1567
1568 Changes with Apache 2.0a7
1569
1570   *) Reimplement core_output_filter to buffer/save bucket brigades
1571      across multiple calls to the core_filter. The brigade will be
1572      sent when either MIN_BYTES_TO_SEND or MAX_IOVEC_TO_WRITE
1573      thresholds are hit or the EOS bucket is received.
1574      [Bill Stoddard]
1575
1576   *) Create experimental filter (buffer_filter) that coalesces bytes 
1577      into one large buffer before invoking the next filter in the
1578      chain. This filter is particularly useful with the current 
1579      implementation of mod_autoindex when it inserted above the
1580      chunk_filter. mod_autoindex generates a lot of brigades that
1581      containing buckets holding just a few bytes each. The
1582      buffer_filter coalesces these buckets into a single large bucket.
1583      [Bill Stoddard]
1584
1585   *) Add apr_sendfile() support into the core_output_filter.
1586      [Bill Stoddard]
1587
1588   *) Add apr_sendv() support into the core_output_filter.
1589      [Bill Stoddard]
1590
1591   *) Fix mod_log_config so that it compiles cleanly with BUFFERED_LOGS
1592      [Mike Abbott <mja@sgi.com>]
1593
1594   *) Remove ap_send_fb.  This is no longer used in Apache, and it doesn't
1595      make much sense, because Apache uses buckets instead of BUFFs now.
1596      [Ryan Bloom]
1597
1598   *) send_the_file now falls back to a read/write loop on platforms that
1599      do not have sendfile.
1600      [Ryan Bloom and Brian Havard]
1601
1602   *) Install apachectl correctly, and substitute the proper values so
1603      that it works again.  [Ryan Bloom]
1604
1605   *) Better(??) handle platforms that lack sendfile().
1606      [Jim Jagielski]
1607
1608   *) APR now has UUID generation/formatting/parsing support.
1609      [Greg Stein]
1610
1611   *) Begin the http_filter.  This is an input filter that understands
1612      the absolute basic amount required to parse an HTTP Request.  The
1613      goal is to be able to split headers from request body before passing
1614      the data back to the other filters.
1615      [Ryan Bloom]
1616
1617   *) Bring forward from 1.3.13 the config directory implementation
1618      [Jim Jagielski]
1619
1620   *) install apxs if it is created
1621      [Ryan Bloom]
1622
1623   *) Added APR_IS_STATUS_condition test macros to eliminate canonical error
1624      conversions.  [William Rowe]
1625
1626   *) Now that we have ap_add_input_filter(), rename ap_add_filter() to 
1627      ap_add_output_filter().  [Jeff Trawick]
1628
1629   *) Multiple build and configuration fixes
1630     Build process:
1631
1632       -add datadir and localstatedir substitutions
1633       -fix layout name
1634       -fix logfilename misspelling
1635       -fix evaluation of installation dir variables and
1636       -replace $foobar by $(foobar) to be usefull in the makefile
1637     
1638     Cross compile:
1639     
1640       -add rules for cross-compiling in rules.mk. Okay, rule to check for
1641        $CC_FOR_BUILD is still missing
1642       -use CHECK_TOOL instead of CHECK_PROG for ranlib
1643       -add missing "AR=@AR@" to severaly Makefile.in's
1644       -cache result for "struct rlimit"
1645       -compile all helper programs with native and cross compiler
1646        and use the native version to generate header file
1647      ["Rüdiger" Kuhlmann <Tadu@gmx.de>]
1648
1649   *) Prepare our autoconf setup for autoconf 2.14a and for cross-
1650      compiling.
1651      ["Rüdiger" Kuhlmann <Tadu@gmx.de>]
1652
1653   *) Fix a bug where a client which only sends \n to delimit header
1654      lines (netcat) gets a strange looking HTTP_NOT_IMPLEMENTED 
1655      message.  Start working on ebcdic co-existance with input 
1656      filtering.
1657      [William Rowe, Greg Ames]
1658
1659   *) If mod_so is enabled in the server always create libexec, even
1660      if there are no modules installed in this directory.  This is a
1661      requirement for APXS to work correctly.
1662      [Ryan Bloom]
1663
1664   *) Connection oriented output filters are now stored in the 
1665      conn_rec instead of the request_rec.  This allows us to add the
1666      output filter in the pre-connection phase instead of the
1667      post_read_request phase, which keeps us from trying to write an
1668      error page before we have a filter to write to the network.
1669      [Ryan Bloom, Jeff Trawick, and Greg Ames]
1670
1671   *) Cleaning up an mmap bucket no longer deletes the mmap.  An
1672      mmap can be used across multiple buckets (default_handler with
1673      byte ranges, mod_file_cache, mod_mmap_static), so cleanup of
1674      the mmap itself can't be associated with the bucket.
1675      [Jeff Trawick]
1676
1677   *) Add .dll caching directive ISAPICacheFile to mod_isapi.
1678      [William Rowe]
1679
1680   *) Radical surgery to improve mod_isapi support under Win32.
1681      Includes a number of newer ServerSupportFunction calls, support
1682      for ReadClient (in order to retrieve POSTs greater than 48KB),
1683      and general bug fixes to more reliably load ISAPI .dll's and
1684      prevent leaking handle resources.  Note: There are still 
1685      discrepancies between IIS's and Apache's ServerVariables, and
1686      async calls are still not supported.  Additional warnings are
1687      logged to facilitate debugging of unsupported ISAPI calls.
1688      [William Rowe]
1689
1690   *) Add input filtering to Apache.  The basic idea for the input
1691      filters is the same as the ideas for output filters.  The biggest
1692      difference is that instead of calling ap_pass_brigade, ap_get_brigade
1693      should be called, and the order of execution for the filter itself is
1694      different.  When writing an output filter, a brigade is passed in,
1695      and filters operate directly on that brigade, when done, they call
1696      ap_pass_brigade.  Input filters are the exact opposite.  Because input
1697      is not a push operation, filters first call ap_get_brigade.  When this
1698      function returns, the input filter will be left with a valid brigade.
1699      The input filter should then operate on the brigade, and return.
1700      [Ryan Bloom]
1701
1702   *) Fix building on BSD/OS using its native make. The build system
1703      falls back to the BSD .include directive on that host platform.
1704      [Sascha Schumann]
1705
1706   *) Expand dbmmanage to allow -d -m -s -p options for Crypt, MD5,
1707      SHA1 and plaintext password encodings.  Make feature tests a
1708      bit more flexible.  [William Rowe]
1709
1710   *) Charset translation: mod_charset_lite handles output content 
1711      translation in a filter.  mod_charset_lite no longer ignores 
1712      subrequests.  A bunch of cruft related to BUFF's support for
1713      translating request and response bodies was removed.  
1714      [Jeff Trawick]
1715
1716   *) Move the addition of the CORE filter to the post_read_request
1717      hook in http_core.c.  This removes the need to add the filter in
1718      multiple places and allows for an SSL module to be added much
1719      simpler. [Ryan Bloom]
1720
1721   *) Fix a security problem that affects certain configurations of
1722      mod_rewrite. If the result of a RewriteRule is a filename that
1723      contains expansion specifiers, especially regexp backreferences
1724      $0..$9 and %0..%9, then it may be possible for an attacker to
1725      access any file on the web server. [Tony Finch]
1726
1727   *) Fix a bug where errors that are detected during early request parsing
1728      don't produce visible HTTP error messages at the browser, because
1729      the core_filter wasn't present.  [Greg Ames]
1730
1731   *) Provide apr_socklen_t as a portability aid. 
1732      [Victor  J. Orlikowski]
1733
1734   *) Overhaul of dbmmanage to allow a groups arg (as in Apache 1.2)
1735      as well as a comment arg to the add, adduser and update cmds.
1736      update allows the user to clear or preserve pw/groups/comment.
1737      Fixed a bug in dbmmanage that prevented the check option from 
1738      parsing a password followed by :group... text.  Corrected the
1739      seed calcualation for Win32 systems, and added -lsdbm support.
1740      [William Rowe]
1741
1742   *) Configured mod_auth_dbm to compile with sdbmlib under Win32.
1743      [William Rowe]
1744
1745   *) Avoid a segfault when parsing .htaccess files.  An 
1746      uninitialized tree pointer was passed to ap_build_config().
1747      [Jeff Trawick]
1748
1749   *) Change the way that inet_addr & inet_network are checked for
1750      in APR's configure process to allow BeOS BONE to correctly
1751      find them. With this change BeOS BONE now builds from source
1752      with no problems.  [David Reid]
1753
1754   *) Fix a bug in apr_create_process() for Unix.  The NULL signifying
1755      the end of the parameters to execve() was stored in the wrong
1756      location, overlaying the storage beyond the newargs[] array and 
1757      also passing uninitialized storage to execve(), which would 
1758      sometimes fail with EFAULT.  [Jeff Trawick]
1759
1760   *) Fix a bug parsing configuration file containers.  With a sequence
1761      like this in the config file
1762
1763        <IfModule mod_kilroy.c>
1764        any stuff
1765        </IfModule>
1766        <IfModule mod_lovejoy.c>
1767        (blank line)
1768        any stuff
1769        </IfModule>
1770
1771      the second container would be terminated at the blank line due to
1772      sediment in the buffer from reading the prior </IfModule> and an 
1773      error message would be generated for the real </IfModule> for the
1774      second container.  Also due to this problem, any two characters 
1775      could be used for "</" in the close of a container.  
1776      [Jeff Trawick]
1777
1778   *) ap_add_filter prototype changed to remove the ctx pointer.  The
1779      pointer still remains in the filter structure, but it can not be
1780      a part of the ap_add_filter prototype.  The reason is that when
1781      the core uses AddFilter to add a filter to the stack it doesn't
1782      know how to allocate the ctx pointer, or even how much memory should
1783      be allocated.  The filters will have to be responsible for allocating
1784      the ctx memory when they need it.
1785      [Ryan Bloom]
1786
1787   *) Add an AddFilter directive.  This directive takes a list of filters
1788      that should be activated for the requested resource.
1789      [Ryan Bloom]
1790
1791   *) apr_snprintf(): Get quad format strings working on OS/390 (and perhaps
1792      some other platforms).  [Jeff Trawick]
1793
1794   *) Modify mod_include to be a filter.  Currently, it has only been tested
1795      on actual files, but it should work for CGI scripts too.
1796      [Ryan Bloom]
1797
1798   *) apr_putc(), apr_puts() for Unix: handle buffered files and interrupted
1799      writes.  apr_flush() for Unix: handle interrupted writes.
1800      [Jeff Trawick]
1801
1802   *) NameVirtualHost can now take "*" as an argument instead of
1803      an IP address. This allows you to create a purely name-based
1804      virtual hosting server that does not have any IP addresses in
1805      the configuration file and which ignores the local address
1806      of any connections. PR #5595, PR #4455 [Tony Finch]
1807
1808   *) Fix some compile warnings in mod_mmap_static.c
1809      [Mike Abbott <mja@sgi.com>]
1810
1811   *) Fix chunking problem with CGI scripts.  The general problem was that
1812      the CGI modules were adding an EOS bucket and then the core added an
1813      EOS bucket.  The chunking filter finalizes the chunked response when it
1814      encounters an EOS bucket.  Because two EOS buckets were sent, we
1815      finalized the response twice.  The fix is to make sure we only send one
1816      EOS, by utilizing a flag in the request_rec.
1817      [Ryan Bloom]
1818
1819   *) apr_put_os_file() now sets up the unget byte appropriately on Unix
1820      and Win32.  Previously, the first read from an apr_file_t set up via
1821      apr_put_os_file() would return a '\0'.  [Jeff Trawick]
1822
1823   *) Mod_cgid now creates a single element bucket brigade, with a pipe
1824      bucket, instead of using BUFF's and ap_r*.
1825      [Ryan Bloom]
1826
1827   *) APRVARS.in no longer overwrites the EXTRA_LIBS variable.
1828      [Mike Abbott <mja@sgi.com>]
1829
1830   *) Remove ap_bopenf from buff code.  This required modifying the file_cache
1831      code to use APR file's directly instead of going through BUFFs.
1832      [Ryan Bloom]
1833
1834   *) Fix compile break on some platforms for mod_mime_magic.c
1835      [John K. Sterling <sterling@covalent.net>]
1836
1837   *) Fix merging of AddDefaultCharset directive.
1838      PR #5872 (1.3) [Jun Kuriyama <kuriyama@imgsrc.co.jp>]
1839
1840   *) Minor revamp of the rlimit sections of code. We now test
1841      explicitly for setrlimit and getrlimit. Also, unixd_set_rlimit()
1842      is now "available" even if the platform doesn't support
1843      the rlimit family (it's just a noop though). [Jim Jagielski]
1844
1845   *) Migrate the pre-selection of which MPM to use for specific
1846      platforms to hints.m4, which contains (or should contain)
1847      all platform specific "hints". [Jim Jagielski]
1848
1849   *) Remove IOLs from Apache.  With filtering, IOLs are no longer necessary
1850      [Ryan Bloom]
1851
1852   *) Add tables with non-string/binary values to APR.
1853      [Ken Coar]
1854
1855   *) Fix some bad calls to ap_log_rerror() in mod_rewrite. 
1856      [Jeff Trawick]
1857
1858   *) Update PCRE to version 3.2.  [Ryan Bloom]
1859
1860   *) Change the way buckets' destroy functions are called so that
1861      they can be more directly used when changing the type of a
1862      bucket in place. [Tony Finch]
1863
1864   *) Add generic support for reference-counting the resources used by
1865      buckets, and alter the HEAP and MMAP buckets to use it. Change
1866      the way buckets are initialised to support changing the type of
1867      buckets in place, and use it when setting aside TRANSIENT buckets.
1868      Change the implementation of TRANSIENT buckets so that it can be
1869      mostly shared with IMMORTAL buckets, which are now implemented.
1870      [Tony Finch]
1871
1872 Changes with Apache 2.0a6
1873
1874   *) Add support to Apache and APR for dsos on OS/390.  [Greg Ames]
1875
1876   *) Add a chunking filter to Apache.  This brings us one step closer
1877      to removing BUFF. [Ryan Bloom]
1878
1879   *) ap_add_filter now adds filters in a LIFO fashion.  The first filter
1880      added to the stack is the last filter to be called.  [Ryan Bloom]
1881
1882   *) Apache 2.0 has been completely documented using Scandoc.  The
1883      docs can be generated by running 'make docs'.  [Ryan Bloom]
1884
1885   *) Add filtered I/O to Apache.  This is based on bucket brigades,
1886      Currently the buckets still use BUFF under the covers, but that
1887      should change quickly.  The only currently written filter is the
1888      core filter which just calls ap_bwrite.  [The Apache Group]
1889
1890   *) APR locks on Unix: Let APR_LOCKALL locks work when APR isn't
1891      built with thread support.  [Jeff Trawick]
1892
1893   *) Abort configuration if --with-layout was specified and there's
1894      no layout definition file.  [Ken Coar]
1895
1896   *) Add support for '--with-port=n' option to configure.  [Ken Coar]
1897
1898   *) Add support for extension methods for the Allow response header
1899      field, and an API routine for accessing r->allowed and the
1900      list of extension methods in a unified manner.  [Ken Coar]
1901
1902   *) mod_cern_meta: fix broken file reading loop in scan_meta_file().
1903      [Rob Simonson <simo@us.ibm.com>]
1904
1905   *) Get xlate builds working again.  The apr renaming in 2.0a5 broke
1906      APACHE_XLATE builds.  [Jeff Trawick]
1907
1908   *) A configuration file parsing problem was fixed.  When the 
1909      configuration file started with an IfModule/IfDefine container, 
1910      only the last statement in the container would be retained.  
1911      [Jeff Trawick]
1912
1913 Changes with Apache 2.0a5
1914
1915   *) Perchild is serving pages after passing them to different child
1916      processes.  There are still a lot of bugs, but this does work.  I
1917      have made requests against the same installation of Apache, and had
1918      different servers use different user IDs to serve the responses.
1919      This change moves to using socketpair instead of an AF_UNIX socket.
1920      [Ryan Bloom]
1921
1922   *) Perchild MPM still doesn't work perfectly, but it is serving pages.
1923      It can't seem to pass between child processes yet, but I think we
1924      are closer now than before.  This moves us back to using Unix
1925      Domain Sockets.  [Ryan Bloom]
1926
1927   *) libapr functions and types renamed with apr_ prefix.
1928      #include "apr_compat.h" for 1.3.x backwards compat
1929      [Perl]
1930
1931   *) Fix problems with APR sockaddr handling on Win32.  It didn't always
1932      return the right information on the local socket address.
1933      [Gregory Nicholls <gnicholls@level8.com>]
1934
1935   *) ap_recv() on Win32: Set bytes-read to 0 on error.  
1936      [Gregory Nicholls <gnicholls@level8.com>]
1937
1938   *) Add an option to not detach from the controlling terminal without
1939      going into single process mode.  This allows for much easier
1940      debugging of the process startup code. [Ryan Bloom]
1941
1942   *) ab: don't use perror() to report the failure of an APR function.
1943      [Jeff Trawick]
1944
1945   *) Make dexter, mpmt_pthread, and perchild MPMs not destroy the
1946      scoreboard on graceful restarts.
1947      [Ryan Bloom]
1948
1949   *) Fix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
1950      An invalid ap_proc_t was passed to ap_create_process().
1951      [Jeff Trawick]
1952
1953   *) Allow modules to register filters.  Those filters are still
1954      never called, but this is a step in the right direction.
1955      [Ryan Bloom and Greg Stein]
1956
1957   *) Register the mod_cgid daemon process for cleanup so that it is
1958      killed at termination if it does not die when the parent gets
1959      SIGTERM.  This change is to fix occasional problems where the
1960      process stays around.  Bugs in similar logic in mod_rewrite and
1961      mod_include were also fixed.  [Jeff Trawick]
1962
1963   *) Fix a bug in the time handling.  Basically, we were imploding a time
1964      in ap_parseHTTPdate, but it had bogus data in the exploded time format.
1965      Namely, tm_usec and tm_gmtoff were not filled out.  ap_implode_time
1966      uses those two fields to adjust the time value.  Because of the HTTP
1967      spec, both of those values can be zero'ed out safely.  This fixes
1968      the bug correctly.  [Ryan Bloom]
1969
1970   *) Fix a couple of place in the Windows code where the wrong error
1971      code was being returned. [Gregory Nicholls <gnicholls@level8.com>]
1972
1973   *) Fix POOL_DEBUG (at least for prefork mpm). [Dean Gaudet]
1974
1975   *) Added the APR_EOL_STR macro for platform dependent differences in 
1976      logfiles and other raw text (such as all APR files).  Fixes logfiles
1977      not terminated with cr/lf sequences in Win32.  [William Rowe]
1978
1979   *) Move all strings functions in APR to src/lib/apr/strings and create
1980      apr_strings.h for the prototypes. [Ryan Bloom]
1981
1982   *) APR lock fixes: when using SysV sems, flock(), or fcntl(), be sure
1983      to repeat the syscall until we stop getting EINTR.  I noticed a
1984      related problem at termination (SIGTERM) on FreeBSD when using
1985      fcntl().  Apache 1.3 had these new loops too.  Also, make the flock() 
1986      implementation work properly with child init.  Previously, ap_lock()
1987      was essentially a no-op because all children were using different
1988      locks and thus nobody ever blocked.  [Jeff Trawick]
1989
1990   *) The htdocs/ tree has been moved out of the CVS source tree into
1991      a separate area for easier development.  This has NO EFFECT on
1992      end-users or Apache installations.  [Ken Coar]
1993
1994   *) Integrate the mod_dav module for WebDAV protocol handling. This
1995      adds the dav and dav_fs modules, the SDBM library, and additional
1996      XML handling utilities. [Greg Stein]
1997
1998   *) Clean out obsolete names (from httpd.h) for the HTTP Status Codes
1999      [Greg Stein]
2000
2001   *) Update the lib/expat-lite/ library (bring forward changes from
2002      the Apache 1.3 repository). [Greg Stein]
2003
2004   *) If sizeof(long long) == sizeof(long), then prefer long in APR
2005      configure.in.  [Dave Hill <ddhill@zk3.dec.com>]
2006
2007   *) Add ap_sendfile for Tru64 Unix.  Also, add an error message for
2008      machines where sendfile is detected, but nobody has written ap_sendfile.
2009      [Dave Hill <ddhill@zk3.dec.com>]
2010
2011   *) Compile fixes in mod_mmap_static.  [Victor J. Orlikowski]
2012
2013   *) ab would start up more connections than needed, then quit when the
2014      desired number were finished. Also fixed a logic error involving
2015      ab keepalives.  [Victor J. Orlikowski]
2016
2017   *) WinNT: Implement non-blocking pipes with timeouts to communicate
2018      with CGIs. Apache 2.0a4 had non-blocking pipes but without 
2019      timeouts (i.e, if a timeout was specified, the pipe reverted to
2020      a full blocking pipe). Now the behaviour is more in line with
2021      Unix non-blocking pipes.
2022      [Bill Stoddard]
2023
2024   *) WinNT: Implement accept socket reuse. Using mod_file_cache to
2025      cache open file handles along with accept socket reuse enables
2026      Apache 2.0 to serve non-keepalive requests for static files at
2027      3x the rate of Apache 1.3.(e.g, Apache 1.3 will serve 400 rps
2028      and Apache 2.0 will serve almost 1200 rps on my system).
2029      [Bill Stoddard]
2030
2031   *) Merge mod_mmap_static function into mod_file_cache. mod_file_cache
2032      supports two config directives, mmapfile (same behavious as
2033      mod_mmap_static) and cachefile. Use the cachefile directive
2034      to cache open file handles. This directive only works on systems
2035      that have implemented the ap_sendfile API. cachefile works today
2036      on Windows NT, but has not been tested on any flavors of Unix.
2037      [Bill Stoddard]
2038
2039   *) Cleanup the configuration.  With the last few changes the
2040      configuration process automatically:
2041          inherits information about how to build from APR.  Allowing
2042          APR to inform Apache that it should or should not use -ldl
2043         
2044          Detects which mod_cgi should be used mod_cgi or mod_cgid,
2045          based on the threading model
2046
2047          Apache calls APR's configure process before finishing it's
2048          configuration processing, allowing for more information flow
2049          between the two.
2050      [Ryan Bloom]
2051          
2052
2053   *) Change Unix and Win32 ap_setsockopt() so that APR_SO_NONBLOCK
2054      with non-zero argument makes the socket non-blocking.  BeOS and
2055      OS/2 already worked this way.  [Jeff Trawick]
2056
2057   *) ap_close() now calls ap_flush() for buffered files, so write
2058      operations work a whole lot better on buffered files.
2059      [Jeff Trawick]
2060
2061   *) Fix error messages issued from MPMs which explain where to change
2062      compiled-in limits (e.g., ThreadsPerChild, MaxClients, StartTreads).
2063      [Greg Ames]
2064
2065   *) ap_create_pipe() now leaves pipes in blocking state.  (This helps 
2066      reduce the number of syscalls on Unix.)  ap_set_pipe_timeout() is
2067      now the way that the blocking state of a pipe is manipulated.
2068      ap_block_pipe() is gone.  [Jeff Trawick]
2069
2070   *) Correct the problem where the only local host name that the IP stack
2071      can discover are 'undotted' private names.  If no fully qualified
2072      domain name can be identified, the default ServerName will be set to
2073      the machine's IP address string. A warning is always provided if the
2074      ServerName not specified, but assumed.  Solves PR6215 [William Rowe]
2075
2076   *) Repair problems with config file processing which caused segfault
2077      at init when virtual hosts were defined and which caused ServerName to
2078      be ignored when there was no valid DNS setup.  [Jeff Trawick]
2079
2080   *) Removed pointless ap_is_aborted macro function. [Roy Fielding]
2081
2082   *) Add ap_sendfile implementation for AIX
2083      [Victor J. Orlikowski]
2084
2085   *) Repair C++ compatibility in ap_config.h, apr_file_io.h, 
2086      apr_network_io.h, and apr_thread_proc.h.  
2087      [Tyler J. Brooks <tylerjbrooks@home.com>, Jeff Trawick]
2088
2089   *) Bring the allocation and pool debugging code back into a working
2090      state.  This will need to be tested as so far it's only been used on
2091      BeOS. [David Reid]
2092
2093   *) Change configuration command setup to be properly typesafe when in
2094      maintainer mode. Note that this requires a compiler that can initialise
2095      unions. [Ben Laurie]
2096
2097   *) Turn on buffering for config file reads.  Part of this was to
2098      repair buffered I/O support in Unix and implement buffered
2099      ap_fgets() for all platforms.  [Brian Havard, Jeff Trawick]
2100
2101   *) Win32: Fix problem where UTC offset was not being set correctly
2102      in the access log. Problem reported on news group by Jerry Baker.
2103      [Bill Stoddard]
2104
2105   *) Fix segfault when reporting this type of syntax error:
2106      "</container> without matching <container> section", where
2107      container is VirtualHost or Directory or whatever.
2108      [Jeff Trawick]
2109
2110   *) Prevent the source code for CGIs from being revealed when using
2111      mod_vhost_alias and the CGI directory is under the document root
2112      and a user makes a request like http://www.example.com//cgi-bin/cgi
2113      as reported in <news:960999105.344321@ernani.logica.co.uk>
2114      [Tony Finch]
2115
2116   *) Add support for the new Beos NetwOrking Environment (BONE)
2117      [David Reid]
2118
2119   *) xlate: ap_xlate_conv_buffer() now tells the caller when the
2120      final input char is incomplete; ap_bwrite_xlate() now handles
2121      incomplete final input chars.  [Jeff Trawick]
2122
2123   *) Yet another update to saferead/halfduplex stuff -- need to ensure
2124      that a bhalfduplex call occurs before logging or else DNS and
2125      such can delay the last packet of the response.  [Dean Gaudet]
2126
2127   *) Some syscall reduction in APR on unix -- don't seek when setting
2128      up an mmap; and don't fcntl() more than once per socket.
2129      [Dean Gaudet]
2130
2131   *) When mod_cgid is started as root, the cgi daemon now switches 
2132      to the configured User/Group (like other httpd processes) 
2133      instead of continuing as root.  [Jeff Trawick]
2134
2135   *) The prefork MPM now uses an APR lock for the accept() mutex.
2136      It has not been getting a lock at all recently.  httpd -V now 
2137      displays APR's selection of the lock mechanism instead of the 
2138      symbols previously respected by prefork.  [Jeff Trawick]
2139
2140   *) Change the mmap() feature test to check only for existence.
2141      The previous check required features not used by Apache.
2142      [Greg Ames]
2143
2144   *) Fix a couple of bugs in mod_cgid:  The cgi arguments were
2145      sometimes mangled.  The len parm to accept() was not 
2146      initialized, leading sometimes to an endless loop of failed
2147      accept() calls on OS/390 and anywhere else that failed the call
2148      if the len was negative.  Use <sys/un.h> for struct sockaddr_un
2149      instead of declaring it ourselves to fix a compilation problem
2150      on Solaris.  [Jeff Trawick]
2151
2152   *) Add Resource limiting code back into Apache 2.0. [Ryan Bloom]
2153
2154   *) Fix zombie process problem with mod_cgi.  [Jeff Trawick]
2155
2156   *) Port mod_mmap_static to 2.0.  Make it go faster.  [Greg Ames]
2157
2158   *) Fix storage overlay when loading dsos.  Symptom: Apache dies at
2159      initialization if ALLOC_DEBUG is defined; no known symptom 
2160      otherwise.  [Jeff Trawick]
2161
2162   *) Fix typo in configure script when checking for mod_so.  bash
2163      doesn't seem to have a problem but /bin/sh on Solaris does.
2164      Symptom: "./configure: test: unknown operator =="
2165      [Jeff Trawick]
2166    
2167   *) Rebind the Win32 NT and 9x services control into the MPM.  
2168      All console, WinNT SCM and Win9x pseudo-service control code is
2169      now wrapped within the WinNT MPM.
2170      [William Rowe]
2171
2172   *) Make a copy of getenv("PATH") before storing for later use.  Some
2173      getenv() implementations use the same storage for successive calls.
2174      CGIs on OS/390 had a bad PATH due to this.  [Jeff Trawick]
2175
2176   *) Server Tokens work in 2.0 again.  This also propogates the change
2177      to allow just the product name in the server string using
2178      PRODUCT_ONLY.
2179      [Ryan Bloom]
2180
2181 Changes with Apache 2.0a4
2182
2183   *) EBCDIC: Rearrange calls to ap_checkconv() so that most handlers
2184      won't need to call it.  [Greg Ames, Jeff Trawick]
2185
2186   *) Move pre_config hook call to between configuration read and config
2187      tree walk.  This allows all modules to implement pre_config hooks
2188      and know that they will be called at an appropriate time.
2189      [Ryan Bloom] 
2190
2191   *) mod_cgi, mod_cgid: Make ScriptLog directive work again.  
2192      [Jeff Trawick]
2193
2194   *) Add pre-config hooks back to all modules.
2195      [Ryan Bloom]
2196
2197   *) Fix a SIGSEGV in ap_md5digest(), which is used when you have
2198      ContentDigest enabled and we can't/don't mmap the file. 
2199      [Jeff Trawick]
2200
2201   *) We now report the correct line number for syntax errors in config
2202      files.  [Ryan Bloom, Greg Stein, Jeff Trawick]
2203
2204   *) Brought mod_auth_digest up to synch with 1.3, fixed ap_time_t-
2205      related bugs, and changed shmem/locking to use apr API. Shared-mem
2206      is currently disabled, however, because of problems with graceful
2207      restarts. [Ronald Tschalär]
2208
2209   *) Fix corruption of IFS variable in --with-module= handling.  
2210      Depending on the user's shell or customization thereof, there 
2211      would be errors generating ap_config_auto.h later in the configure
2212      procedure.  [Jeff Trawick]
2213
2214   *) mod_cgi: Restore logging of stderr from child process when ScriptLog 
2215      isn't used (as in 1.3), except that on Unix it is now logged via 
2216      ap_log_rerror() instead of by the child having STDERR_FILENO refer
2217      to the error log.  [Greg Ames, Jeff Trawick]
2218
2219   *) Add '-D' argument processing for run time configuration defines.
2220      [William Rowe]
2221
2222   *) Organize http_main.c as independent code, such that no code or
2223      global data is exported from it.  WIN32 will dynamically link it
2224      to the server core, so this will prevent mutual dependency.
2225      [William Rowe]
2226
2227   *) Add separate dynamic linkage tags APR_EXPORT(), APR_EXPORT_NONSTD()
2228      and APR_VAR_EXPORT to correctly resolve apr functions and globals.
2229      [William Rowe]
2230
2231   *) Add Win9x service execution and Ctrl+C/Ctrl+Break/Shutdown handlers.
2232      [William Rowe, Jan Just Keijser <KEIJSERJJ@logica.com>]
2233
2234   *) Add mod_charset_lite for configuring character set translation.
2235      [Jeff Trawick]
2236
2237   *) Add '-n' option to htpasswd to make it print its user:pw record
2238      on stdout rather than having to frob a text file.  [Ken Coar]
2239
2240   *) Fix saferead.  Basically, we flush the output buffer if a read on the
2241      input will block.
2242      [Ryan Bloom]
2243  
2244   *) APR: Add ap_xlate_get_sb() so that an app can find out whether or not
2245      a conversion is single-byte only. [Jeff Trawick]
2246
2247   *) BEOS: ap_shutdown should return APR_SUCCESS or errno. Note that
2248      the BeOS 5.0 documentation says that shutdown doesn't work yet.
2249      [Roy Fielding]
2250
2251   *) Fix some minor errors where pid was being manipulated as an int
2252      instead of the portable pid_t.  [Roy Fielding]
2253
2254   *) Fix some error log prints that were printing the pointer to a
2255      structure rather than the pid within the structure.
2256      [Jeff Trawick, Roy Fielding]
2257
2258   *) ab: Fix a command-line processing bug; track bad headers in 
2259      err_response; support reading headers up to 2K. 
2260      [Ask Bjoern Hansen <ask@valueclick.com>]
2261
2262   *) Fix ap_resolve_env() so that it handles new function added in a prior
2263      alpha (see "Added the capability to do ${ENVVAR} constructs in the
2264      config file.") as well as the constructs used by mod_rewrite.
2265      [Paul Reder <rederpj@raleigh.ibm.com>]
2266
2267   *) Apache 2.0 builds and runs on OS/390. [Jeff Trawick, Greg Ames]
2268
2269   *) Change the EBCDIC support in functions for MD5, SHA1, and base 64 to use
2270      APR to perform translation, instead of accessing the hard-coded tables
2271      in 1.3's ebcdic.c. [Jeff Trawick]
2272
2273   *) Fix some bugs (mostly lost 1.3 code) in ab's command-line processing. 
2274      [Jeff Trawick]
2275
2276   *) Add the ability to hook into the config file reading phase.  Basically
2277      if a directive is specified EXEC_ON_READ, then when that directive is
2278      read from the config file, the assocaited function is executed.  This
2279      should only be used for those directives that must muck with HOW the
2280      server INTERPRETS the config.  This should not be used for directives
2281      that re-order or replace items in the config tree.  Those changes should
2282      be made in the pre-config step.
2283      [Ryan Bloom]
2284
2285   *) Add mod_example to the build system.
2286      [Tony Finch]
2287
2288   *) APR: Add ap_xlate_conv_byte() to convert one char between single-
2289      byte character sets. [Jeff Trawick]
2290
2291   *) Pick up various EBCDIC fixes from 1.3 (from Martin
2292      Kraemer and Oliver Reh originally according to the change log).
2293      [Jeff Trawick]
2294
2295   *) Fix a couple of problems in RFC1413 support (controlled by the
2296      IdentityCheck directive).  Apache did not build the request string
2297      properly and more importantly Apache would loop forever if the 
2298      would-be ident server dropped the connection before sending a
2299      properly terminated response. [Jeff Trawick]
2300
2301   *) apxs works in 2.0.
2302      [Ryan Bloom]
2303
2304   *) Reliable piped logs work in 2.0.
2305      [Ryan Bloom]
2306
2307   *) Introduce a hash table implementation into APR to be used for
2308      replacing tables and other random data structures in Apache.
2309      [Tony Finch]
2310
2311   *) Add some more error reporting to htpasswd in the case of problems
2312      generating or accessing the temporary file.  Also, pass in a
2313      buffer if the implementation knows how to use it (i.e., if L_tmpnam
2314      is defined).  [Ken Coar]
2315
2316   *) Configure creates config.nice now containing your configure
2317      options. Syntax: ./config.nice [--more-options]
2318      [Sascha Schumann]
2319
2320   *) Fix various return code problems in APR on Win32.  For most of
2321      these, APR was returning APR_EEXIST instead of GetLastError()/
2322      WSAGetLastError().  [Jeff Trawick]
2323
2324   *) Make piped logs work again in version 2.0
2325      [Ryan Bloom]
2326
2327   *) Add VPATH support to UNIX build system of Apache and APR.
2328      [Sascha Schumann]
2329
2330   *) Fix ap_tokenize_to_argv to respect the const arguments that are
2331      passed to it.
2332      [Ryan Bloom]
2333
2334   *) Fix mm's memcpy/memset macros, pointer arithmetic was broken.
2335      Patch submitted to author.
2336      [Sascha Schumann]
2337
2338   *) Fix mm configuration on Solaris 8 x86 and OS/390.  Don't require
2339      /sbin in PATH on FreeBSD (all submitted to rse previously) 
2340      [Jeff Trawick]
2341
2342   *) Fix building Pthread-based MPMs on OpenBSD
2343      [Sascha Schumann] PR#26
2344
2345   *) Fix ap_readdir() problem on systems where d_name[] field in
2346      struct dirent is declared with only one byte.  (This problem only 
2347      affected multithreaded builds.)  This caused a segfault during
2348      pool cleanup with mod_autoindex on Solaris (Solaris 8 x86, at 
2349      least). [Jeff Trawick]
2350
2351   *) Fix some make-portability problems on at least Tru64, Irix
2352      and UnixWare.
2353      [Sascha Schumann] PR#18, PR#39
2354
2355   *) Add ap_sigwait() to support old-style sigwait() on systems
2356      like OS/390 and UnixWare.
2357      [Sascha Schumann] 
2358
2359   *) Add POSIX-thread flags for more platforms.
2360      [Sascha Schumann]
2361
2362   *) Fix some minor bugs in ap_strerror().  Teach ap_strerror()
2363      (on Unix, at least) to handle resolver errors.  Fix a bug in
2364      the definition of APR_ENOMEM so that ap_strerror() can spit
2365      out the correct error message for it.
2366      [Jeff Trawick]
2367
2368 Changes with Apache 2.0a3
2369
2370   *) mod_so reports ap_os_dso_error() if ap_dso_load() fails
2371      [Doug MacEachern]
2372
2373   *) API: *HOOK* macros now have an AP_ prefix
2374      [Doug MacEachern]
2375
2376   *) Win32: Eliminate redundant calls to initialize winsock.
2377      [Tim Costello <timcostello@ozemail.com.au>]
2378
2379   *) Fix bugs initializing ungetchar for pipes. 
2380      [Chia-liang Kao <clkao@CirX.ORG>]
2381
2382   *) The ab program in the src/support directory is now portable using
2383      APR.
2384      [Ryan Bloom]
2385
2386   *) Support directory is being compiled when the server is built
2387      [Ryan Bloom]
2388
2389   *) The configure option --with-program-name has been added to allow
2390      developers to rename the executable at configure time.  This also
2391      changes the name of the config files to match the executable's name.
2392      [Ryan Bloom]
2393
2394   *) mod_autoindex: Add `IndexOptions +VersionSort', to nicely sort filenames
2395      containing version numbers. [Martin Pool]
2396
2397   *) ap_open(..,APR_OS_DEFAULT,..) uses perms 0666 instead of 0777 on
2398      Unix; access_log and error_log now created with these perms; non-
2399      Unix is unaffected [Jeff Trawick]
2400      
2401   *) Finished move of ap_md5 routines to apr_md5.  Removed ap_md5.h.
2402      Replaced more magic numbers with MD5_DIGESTSIZE.
2403      [William Rowe, Roy Fielding]
2404
2405   *) Win32: Get mod_auth_digest compiling and added to the Windows
2406      build environment. Not tested and I'd be suprised if it 
2407      actually works. [Bill Stoddard]
2408
2409   *) Revamp the Win32 make environment. Makefiles have been removed and
2410      Apache.dsw created to bring together all the pieces. Create new file
2411      os/win32/BaseAddr.ref to define module base addresses (to prevent
2412      dll relocation at start-up).
2413      [William Rowe, Greg Marr, Tim Costello, Bill Stoddard]
2414
2415   *) [EBCDIC] Port Paul Gilmartin's CRLF patch from 1.3.  This replaces most
2416      of the \015, \012, and \015\012 constants with macros.
2417      [Greg Ames <gregames@us.ibm.com>]
2418      
2419   *) Add ap_xlate_open() et al for translation of text between different 
2420      character sets.  The initial implementation requires iconv().
2421      [Jeff Trawick]
2422
2423   *) More FAQs and answers from comp.infosystems.www.servers.unix.
2424      [Joshua Slive <slive@finance.commerce.ubc.ca>]
2425
2426   *) CGI output is being timed out now.
2427      [Ryan Bloom]
2428
2429   *) Fix the problem with dieing quietly.  dupfile now takes a pool which
2430      is used by the new apr file.  There is no reason to create a new file
2431      with the same lifetime as the original file.
2432      [Ryan Bloom] 
2433
2434   *) Win32: Attempt to eliminate dll relocation at start-up by specifying
2435      module base addresses. This will help shooting seg faults
2436      in the field. [William Rowe <wrowe@lnd.com>]
2437
2438   *) Update Apache on Windows documentation. Add new document
2439      describing how to compile Apache on Windows.
2440      [William Rowe <wrowe@lnd.com>]
2441
2442   *) ap_set_pipe_timeout(), ap_poll(), and APR_SO_TIMEOUT now take 
2443      microseconds instead of seconds.  Some storage leaks and other
2444      minor bugs in related code were fixed.  [Jeff Trawick]
2445
2446   *) Win32: First cut at getting mod_isapi working under 2.0
2447      [William Rowe <wrowe@lnd.com>]
2448
2449   *) First stab at getting mod_auth_digest working under 2.0
2450      quick change summary:
2451      - moved the random byte generation (ap_generate_random_bytes) into APR
2452      - now uses ap_time_t
2453      - compiles and runs on linux
2454      - tested with amaya
2455      [Brian Martin <bmartin@penguincomputing.com>]
2456
2457   *) Win32: Move the space stripping of physical service names
2458      fix up from Apache 1.3. #include'ing "ap_mpm.h" fixes up an
2459      unresolved symbol. Add dependency checking to the
2460      CreateService call to ensure TCPIP and AFP (winsock) is started
2461      before Apache.
2462      [William Rowe <wrowe@lnd.com>]
2463
2464   *) Win32: Add code to perform latebinding on functions that may
2465      not exist on all levels of Windows where Apache runs. This
2466      is needed to allow Apache to start-up on Win95/98. All calls
2467      to non portable functions should be protected with
2468      ap_oslevel checks to prevent runtime segfaults. 
2469      [William Rowe <wrowe@lnd.com>]
2470
2471   *) Fix fallback default values for SHM_R and SHM_W [Martin Kraemer]
2472
2473   *) Get lingering_close() working again. [Dean Gaudet, Jeff Trawick]
2474
2475   *) Win32: Get non-blocking CGI pipe reads working under Windows NT.
2476      This addresses PR 1623. Still need to address timing out runaway
2477      CGI scripts. [Bill Stoddard]
2478  
2479   *) Win32: Make ap_stat Windows 95/98 friendly
2480      [William Rowe <wrowe@lnd.com>]                                            
2481
2482   *) Win32: Fix a bug in ap_get_oslevel which causes GetVersionEx() to 
2483      always fail. Need to initialise the dwOSVersionInfoSize member of the 
2484      OSVERSIONINFO struct before calling GetVersionEx, so GetVersionEx 
2485      always fails. 
2486
2487      The patch also enhances ap_get_oslevel (and the associated enum) to 
2488      handle selected service packs for NT4, and adds recognition for 
2489      Windows 2000. This is useful, eg. if we can recognise NT4 SP2 then 
2490      we can use ReadFileScatter and WriteFileGather in readwrite.c. 
2491      [Tim Costello <Tim.Costello@BTFinancialgroup.com>]
2492
2493   *) Get mod_rewrite building and running, and mod_status building for Win NT
2494      [Allan Edwards <ake@raleigh.ibm.com>]
2495
2496   *) Patch to port mod_auth_db to the 2.0 api and also to support 
2497      Berlekey DB 3.0. It works for me with both Berkeley DB 3.0.55 and 
2498      2.7.7.  It should work with version 1 as well but I haven't tested it.  
2499      [Brian Martin <bmartin@penguincomputing.com>]
2500
2501   *) Get APR DSO code working under Windows. Includes cross platform
2502      fixes to mod_so.c.
2503      [Tim.Costello@BTFinancialgroup.com]
2504
2505   *) Fix some of the Windows APR time functions.
2506      [William Rowe]
2507
2508   *) FAQ changes related to tidying up historical documents on the web site.
2509      [Joshua Slive <slive@finance.commerce.ubc.ca>]
2510
2511   *) Move Windows DSO code into APR.
2512      [Bill Stoddard]
2513
2514   *) Eliminate apr_win.h and apr_winconfig.h (and the ugly #ifdefs they cause).
2515      Now, apr.h and apr_config.h are generated from apr.hw and apr_config.hw
2516      at build time. At this point, the server will not compile on Windows because
2517      of the recent DSO commits. Fixing those next.
2518      [Bill Rowe & Bill Stoddard]
2519
2520   *) Added error checking for file I/O APR routines.
2521      [Jon Travis <jtravis@covalent.net>]
2522
2523   *) APR: Don't use the values of resolver error codes for the 
2524      corresponding APR error codes.  On Unix and Win32, return the 
2525      proper APR error code after a resolver error. [Jeff Trawick]
2526
2527 Changes with Apache 2.0a2
2528
2529   *) Renamed the executable back to httpd on all platforms other 
2530      than Win32
2531      [Ryan Bloom]
2532
2533   *) Allow BeOS to survive restarts, log properly and a few
2534      small things it had problems with due to the way it setup
2535      users and groups. [David Reid]
2536
2537   *) Get mod_rewrite working with APR locks
2538      [Paul Reder <rederpj@raleigh.ibm.com>]
2539
2540   *) Actually remove the sempahore when the lock cleanup routine
2541      is called on BeOS. [David Reid]
2542
2543   *) Clear hook registrations between reads of the config file.
2544      When DSOs are unloaded and re-loaded the old hook pointers may
2545      no longer be valid. This fix eliminates potential segfaults.
2546      [Allan Edwards <ake@raleigh.ibm.com>]
2547
2548   *) Fix a problem with Sigfunc not being defined or bypassed
2549      if sigaction() wasn't found. [Jim Jagielski]
2550
2551   *) Fix the locking mechanism on BSD variants.  They now use fcntl
2552      locks.  This allows the server to start and serve pages.
2553      [Ryan Bloom]
2554
2555   *) First cut at getting the Win32 installer to work
2556      [William Rowe <wrowe@lnd.com>]
2557
2558   *) Get htpasswd compiling under Windows
2559      [William Rowe <wrowe@lnd.com>]
2560
2561   *) Change the log message for a bind() failure to show the
2562      interface and port number. [Jeff Trawick]
2563
2564   *) Import the documentation from 1.3.12 and bring parts of it
2565      up-to-date with respect to the changes that have occurred
2566      in 2.0.
2567      [Tony Finch]
2568
2569   *) BeOS MPM updated.  CGI bug on BeOS fixed.  IP addresses
2570      now logged correctly on BeOS.
2571      [David Reid]
2572
2573   *) Create one makefile for all Win32 distributions (NT/2000/95/98).
2574      Makefile.win includes the same user interface as the old 
2575      Makefile.nt 
2576      [William Rowe <wrowe@lnd.com>, Jeff Trawick <trawick@us.ibm.com>]
2577
2578   *) Win32 exec now uses COMSPEC environment string for command 
2579      shell path resolution.
2580      [William Rowe <wrowe@lnd.com>] PR#3715
2581
2582   *) Win32: ap_connect() was not returning correct error condition
2583      PR5866
2584      [Allen Prescott <allen@clanprescott.com>]
2585
2586   *) Win32: ap_open() was broken on Win9x because an NT-specific
2587      flag was passed to CreateFile.  ap_puts() added an unnecessary
2588      '\n'.
2589      [Jeff Trawick <trawick@us.ibm.com>]
2590
2591   *) Put in Korean and Norwegian index.html pages (2.0 and 1.3)
2592      which where donated by Lee Kuk Hyun and Lorant Czaran. 'Fixed'
2593      confusing ee/et name and made all extensions language/dialect
2594      rather than country reflecting. Changed example files to
2595      explicit reflect the ISO charset and added a few common 
2596      ones to the example config [dirkx]
2597
2598   *) Extend external module capability.  To use this, you call
2599      configure with --with-module=path/to/mod1,path/to/mod2,etc.
2600      [Ryan Bloom]
2601
2602   *) Backported the various "default charset" fixes from 1.3.12,
2603      including the AddDefaultCharset directive. [Jim Jagielski]
2604
2605   *) Added the capability to do ${ENVVAR} constructs in the
2606      config file. E.g. 'ServerAdmin ${POSTMASTER}'. As commited
2607      it does this on a line by line basis; i.e. if the envvar
2608      expands to something with spaces you have to protect it
2609      by adding quotes around it (Unless of course you expect it
2610      to contains more than one argument. Alternatively you
2611      can compile it on a per token basis; which is what people
2612      usually expect by setting RESOLVE_ENV_PER_TOKEN. But this
2613      hampers fancier hacks.
2614      [Dirk-Willem van Gulik]
2615
2616   *) Changed the 'ErrorDocument' syntax in that it NO longer
2617      supports the asymetric
2618
2619                 ErrorDocument 301 "Some message
2620
2621      Note the opening " quote, without a closing quote. It now
2622      has either the following syntaxes
2623
2624                 ErrorDocument XXX /local/uri
2625                 ErrorDocument XXX http://valid/url
2626                 ErrorDocument XXX "Some Message"
2627
2628      The recognition heuristic is: if it has a space it
2629      is a message. If it has no spaces and starts with a /
2630      or is a valid URL then treat it that way. Otherwise it
2631      is assumed to be a message.
2632
2633      This breaks backward compatibility but makes live a hell
2634      of a lot easier for GUI's and config file parsers.
2635      [Dirk-Willem van Gulik]
2636
2637   *) Changed 'CacheNegotiatedDocs' from its present/not-present
2638      syntax into a 'on' or 'off' syntax. As it currently is the
2639      only non nesting token which uses NO_ARGS and thus is an
2640      absolute pain for any config interface automation. This
2641      breaks backward compatibility. [Dirk-Willem van Gulik]
2642
2643   *) Add ability to add external modules to the build process.  This is
2644      done with --with-module=/path/to/module.  Modules can only be added
2645      as static modules at this point.
2646      [Ryan Bloom]
2647
2648 Changes with Apache 2.0a1
2649
2650   *) Fix FreeBSD 3.3 core dump.
2651      Basically, ap_initialize() needs to get called before 
2652      create_process(), since create_process() passes op_on structure
2653      to semop() to get a lock, but op_on isn't initialized until 
2654      ap_initialize() calls setup_lock().  Here is a slight
2655      rearrangement to main() which calls ap_initialize() earlier...
2656      [Jeff Trawick <trawick@us.ibm.com>]
2657
2658   *) Enable Apache to use sendfile/TransmitFile API
2659      [Bill Stoddard, David Reid, Paul Reder]
2660
2661   *) Re-Implement Win32 APR network I/O APIs and most of the file I/O
2662      APIs.
2663      [Bill Stoddard]
2664
2665   *) Make file I/O and network I/O writev/sendv APIs consistent.
2666      Eliminate use of ap_iovec_t and use Posix struct iovec.
2667      Use seperate variable on ap_writev to set the number of iovecs
2668      passed in and number of bytes written.
2669      [Bill Stoddard]
2670
2671   *) Adapt file iol to use APR functions. Replaced ap_open_file() 
2672      with ap_create_file_iol(). ap_create_file_iol() requires that 
2673      the file be opened prior to the call using ap_open().
2674      [Bill Stoddard]
2675
2676   *) Port mod_include and mod_cgi to 2.0
2677      [Paul Reder, Bill Stoddard]
2678
2679   *) ap_send{,v}, ap_recv, ap_sendfile API clarification --
2680      bytes_read/bytes_written is always valid (never -1).  Plus
2681      some fixes to buff.c to correct problems introduced by the
2682      errno => ap_status_t changes a while back.  Plus a fix to
2683      chunked encoding introduced right at the beginning of 2.0.
2684      [Dean Gaudet]
2685
2686   *) Revamped UNIX build system to use autoconf and libtool.
2687      [Manoj Kasichainula, Sascha Schumann]
2688
2689   *) port mod_rewrite to 2.0. [Paul J. Reder <rederpj@raleigh.ibm.com>]
2690
2691   *) More rigorous checking of Host: headers to fix security problems
2692      with mass name-based virtual hosting (whether using mod_rewrite
2693      or mod_vhost_alias).
2694      [Ben Hyde, Tony Finch]
2695   
2696   *) Add back support for UseCanonicalName in <Directory> containers.
2697      [Manoj Kasichainula]
2698
2699   *) Added APLOG_STARTUP log type.  This allows us to write an error
2700      message without any of the date and time information.  As a part
2701      of this change, I also removed all of the calls to fprintf(stderr
2702      and replaced them with calls to ap_log_error using APLOG_STARTUP
2703      writing to stderr is no longer portable, because we don't direct 
2704      stderr to the error log on all platforms.
2705      [Ryan Bloom] 
2706  
2707   *) Convert error logging functions to take errno as an argument.
2708      This makes our error logs more portable, because some Windows API's 
2709      don't set errno.  This change allows us to still output a valid
2710      message on all of our platforms.
2711      [Ryan Bloom]
2712
2713   *) mod_mime_magic runs in 2.0-dev now.
2714      [Paul Reder <rederpj@raleigh.ibm.com>]
2715
2716   *) sendfile has been added to APR.
2717      [John Zedlewski <zedlwski@Princeton.EDU>]
2718
2719   *) buff.c has been converted to no longer use errno.
2720      [Manoj Kasichainula]
2721
2722   *) mod_speling runs in 2.0-dev now: a bug in readdir_r handling and
2723      interface adaption to APR functions did it. [Martin Kraemer]
2724
2725   *) Support DSOs properly on 32-bit HP-UX 11.0
2726      [Dilip Khandekar <dilip@cup.hp.com>]
2727
2728   *) Updated MM in APR source tree from version 1.0.8 to 1.0.11
2729      [Ralf S. Engelschall]
2730
2731   *) Cleaned APR build environment integration and bootstrap APR 
2732      automatically for developers from src/Configure.
2733      [Ralf S. Engelschall]
2734
2735   *) Fixed building of src/support/htpasswd.c
2736      [Ralf S. Engelschall]
2737
2738   *) When generating the Location: header, mod_speling forgot
2739      to escape the spelling-fixed uri. (Forw-Port from 1.3)
2740      [Martin Kraemer]
2741
2742   *) Moved mod_auth_digest.c from experimental to standard. [Roy Fielding]
2743
2744   *) Change all pools to APR contexts.  This is the first step to
2745      incorporating APR into Apache. [Ryan Bloom]
2746
2747   *) Move "handler not found" warning message to below the check
2748      for a wildcard handler.  [Dirk <dirkm@teleport.com>, Roy Fielding]
2749      PR#2584, PR#2751, PR#3349, PR#3436, PR#3548, PR#4384, PR#4795, PR#4807
2750
2751   *) Support line-continuation feature in config.option file and
2752      allow the loading of multiple option sections at once via
2753      ``--with-option=<section1>,<section2>,...''
2754      [Ralf S. Engelschall]
2755
2756   *) Rebuilt CVS repository with Apache 1.3.9 as basis.  [Roy Fielding]
2757
2758 Changes with Apache MPM
2759
2760   *) Use asynchronous AcceptEx() and a completion port to accept and
2761      dispatch connections to threads in Windows NT/2000. 
2762      [Bill Stoddard]
2763
2764   *) Implement WINNT Win32 MPM from original Win32 code in http_main.c
2765      [Bill Stoddard]  
2766
2767   *) Implement the APACI --with-option facility 
2768      (per default used the config.option file).
2769      [Ralf S. Engelschall]
2770
2771   *) MPM BEOS port.  [David Reid <abb37@dial.pipex.com>]
2772
2773   *) Start to implement module-defined hooks that are a) fast and b) typesafe.
2774      Replace pre_connection module call with a register_hook call and
2775      implement pre_connection as a hook. The intent is that these hooks will
2776      be extended to allow Apache to be multi-protocol, and also to allow the
2777      calling order to be specified on a per-hook/per-module basis.
2778      [Ben Laurie]
2779
2780   *) Implement mpm_* methods as "modules". Each method gets its own
2781      subdir in src/modules (eg: src/modules/prefork). Selection
2782      of method uses Rule MPM_METHOD.  [Jim Jagielski]
2783
2784   *) Port the hybrid server from the apache-apr repository as
2785      mpm_mpmt_pthread.  [Manoj Kasichainula]
2786
2787   *) os/unix/unixd.[ch]: detach, setuid, setgid, stuff which will be common
2788      amongst the unix MPMs.
2789
2790   *) mpm_prefork: throw away all the alarm/timeout crud; and clean up the
2791      signal handling for the new world order.  [Dean Gaudet]
2792
2793   *) Crude ap_thread_mutex abstraction so that we get the pthread stuff out
2794      of alloc.c for now.  [Dean Gaudet]
2795
2796   *) Handle partial large writes correctly.  [Ben Laurie]
2797
2798   *) Eliminate conn_rec's pointer to server. All it knows is the base server
2799      based on IP/port.  [Ben Laurie]
2800
2801   *) Port a bunch of modules to the new module structure.
2802      ["Michael H. Voase" <mvoase@midcoast.com.au>]
2803
2804   *) I/O layering and BUFF revamp.  See docs/buff.txt.  [Dean Gaudet]
2805
2806   *) Basic restructuring to introduce the MPM concept; includes various
2807      changes to the module API... better described by
2808      docs/initial_blurb.txt.  [Dean Gaudet]
2809
2810 Changes with Apache pthreads
2811
2812   *) New buff option added: BO_TIMEOUT. It describes the timeout for
2813      buff operations (generally over a network).
2814      [Dean Gaudet, Ryan Bloom, Manoj Kasichainula]
2815
2816   *) Created http_accept abstraction. Added 4 new functions (not exported):
2817      init_accept(), begin_accepting_requests(), get_request(), 
2818      stop_accepting_requests() [Bill Stoddard]
2819
2820   *) Fix to ap_rprintf call that allows mod_info to work properly.
2821      [James Morris <jmorris@intercode.com.au>]
2822
2823   *) user and ap_auth_type fields were moved from connection_rec to 
2824      request_rec. [Ryan Bloom] 
2825
2826   *) Removed the ap_block_alarms and ap_unblock_alarm calls.  These aren't
2827      needed in a threaded server.
2828
2829   *) Initial pthread implementation from from Dean's apache-nspr code.
2830      [Bill Stoddard, Ryan Bloom]
2831
2832
2833 Changes with Apache 1.3.9
2834
2835   *) Remove bogus error message when a redirect doesn't set Location.
2836      Instead, use an empty string to avoid coredump if the error message
2837      was supposed to include a location.  [Roy Fielding]
2838
2839   *) Don't allow configure to include mod_auth_digest unless it is
2840      explicitly requested, even if the user asked for all modules.
2841      [Roy Fielding]
2842
2843   *) Translate module names to dll names for OS/2 so that they are no more
2844      than 8 characters long and have an extension of "dll" instead of "so".
2845      [Brian Havard]
2846
2847   *) Print out pointer to Rule DEV_RANDOM when truerand lib not found.
2848      Fix test-compile check to check for randbyte instead of trand32.
2849      Use ap_base64encode_binary/decode instead of copy in mod_auth_digest.c
2850      and tweak to make Amaya happier.  [Ronald Tschalär]
2851
2852   *) Ensure that the installed expat include files are world readable,
2853      just like the other header files.  [Martin Kraemer]
2854
2855   *) Fixed generated AddModule adjustments in APACI's `configure' script
2856      in order to allow (new) modules like mod_vhost_alias to be handled
2857      correctly (which was touched by the adjustments for mod_alias).
2858      [Ralf S. Engelschall]
2859
2860   *) For binary builds, add -R flag to apachectl to work around the lack of
2861      an absolute path to the ./libexec directory where the libhttp.ep file
2862      is needed for SHARED_CORE architectures.  [Randy Terbush]
2863
2864   *) WIN32: Create the CGI script process as DETACHED.  This may solve the
2865      problem observed by some Win95/98 users where they get CGI script
2866      output sent to the console.  [Bill Stoddard]
2867
2868   *) Fix (re)naming in the uuencode/decode section. The ap/ap_
2869      routines are now called ap_base64* and are 'plain' (i.e., no 
2870      pool access or anything clever). Inside util.c the routines acting
2871      like pstrdup are called ap_pbase64encode() and ap_pbase64decode().
2872      The oddly named ap_uuencode(), ap_uudecode() are kept around for
2873      now but deprecated.  [dirkx]
2874
2875   *) Clean up the base64 and SHA1 additions and make sure they are
2876      represented in the ApacheCore.def, ApacheCoreOS2.def, and httpd.exp
2877      files.  [Roy Fielding]
2878
2879   *) WIN32: Migrate to InstallShield 5.5 and provide a bit more error
2880      checking.  Allow compiling on VS 6.0.  [Randy Terbush]
2881
2882   *) Fixed assumption of absolute paths in binbuild.sh.  [Tony Finch]
2883
2884   *) Use TestCompile to search for the truerand library (rather than blindly
2885      assuming its existence). If it is not found, complain (but do not
2886      exit - yet).  [Martin Kraemer]
2887
2888   *) We forgot to add the new exported function names to
2889      src/support/httpd.exp.  [Bill Stoddard, Randy Terbush]
2890
2891   *) Add description of -T command-line option to usage().
2892      [Ralf S. Engelschall]
2893
2894   *) For "some" platforms (notably, EBCDIC based ones), libos needs to be
2895      searched only AFTER libap has been searched, because libap needs
2896      some symbols from libos.  [Martin Kraemer]
2897
2898   *) Fix conflict with original mod_digest related to the symbol of the
2899      module dispatch list (which has to be unique for DSO and follow the
2900      usual conventions for the installation procedure).
2901      [Ralf S. Engelschall]
2902
2903   *) Add a dbm-library check for the "usual places" (-ldbm, -lndbm, -ldb)
2904      for other platforms as well.  [Martin Kraemer]
2905
2906   *) Make ap_sha1.c compile for EBCDIC platforms: replace remaining LONG
2907      types by AP_LONG and replace reference to renamed variable 'ubuf'
2908      by 'buffer'.  [Martin Kraemer]
2909
2910 Changes with Apache 1.3.8 [not released]
2911
2912   *) Flush the output buffer immediately after sending an error or redirect
2913      response, since the result may be needed by the client to abort a
2914      long data transfer or restart a series of pipelined requests.
2915      [Tom Vaughan <tvaughan@aventail.com>, Roy Fielding]
2916
2917   *) PORT: Improved compilation and DSO support on Sequent DYNIX/ptx.
2918      [Ian Turner <iant@sequent.com>] PR#4735
2919
2920   *) Local struct mmap in http_core.c conflicted with system structure
2921      name on DYNIX -- changed to mmap_rec.  [Roy Fielding] PR#4735
2922
2923   *) Added updated mod_digest as modules/experimental/mod_auth_digest.
2924      [Ronald Tschalär <ronald@innovation.ch>]
2925
2926   *) Fix a memory leak where the module counts were getting messed
2927      up across restarts.  [David Harris <dharris@drh.net>]
2928
2929   *) CIDR addresses such as a.b.c.d/24 where d != 0 weren't handled
2930      properly in mod_access.
2931      ["Paul J. Reder" <rederpj@raleigh.ibm.com>] PR#4770
2932
2933   *) RewriteLock/RewriteMap didn't work properly with virtual hosts.
2934      [Dmitry Khrustalev <dima@bog.msu.su>] PR#3874
2935
2936   *) PORT: Support for compaq/tandem/com.
2937      [Michael Ottati <michael.ottati@compaq.com>, dirkx]
2938
2939   *) Added SHA1 password encryption support to easy migration from 
2940      Netscape servers. See support/SHA1 for more information.
2941      Caused the separation of ap_md5.c into md5, sha1 and a general
2942      ap_checkpass.c with just a validate_passwd routine. Added a
2943      couple of flags to support/htpasswd. Some reuse of the to64()
2944      function; hence renamed to ap_to64().
2945      [Dirk-Willem van Gulik, Clinton Wong <clintdw@netcom.com>]
2946
2947   *) Change for EBCDIC platforms (TPF and BS2000) to correctly deal
2948      with ASCII/EBCDIC conversions in "ident" query.
2949      [David McCreedy <McCreedy@us.ibm.com>]
2950
2951   *) Get rid of redefinition warning on MAC_OS_X_SERVER platform.
2952      Change "Power Macintosh" to Power* so if uname prints "Power Book"
2953      we're still happy on Rhapsody platforms.  [Wilfredo Sanchez]
2954
2955   *) Fix SIGSEGV on some systems because the Vary fix below included
2956      a call to table_do with a variable argument list that was not
2957      NULL terminated.  Replaced with better implementation. [Roy Fielding]
2958
2959 Changes with Apache 1.3.7 [not released]
2960
2961   *) The "Vary" response header field is now sanitised right before
2962      the header is sent back to the client.  Multiple "Vary" fields
2963      are combined, and duplicate tokens (e.g., "Vary: host, host" or
2964      "Vary: host, negotiate, host, accept-language") are reduced to
2965      single instances.  This is a better solution than the force-no-vary
2966      one (which is still valid for clients that can't cope with Vary
2967      at all).  PR#3118 [Dean Gaudet, Roy Fielding, Ken Coar]
2968
2969   *) Portability changes for BeOS. [David Reid abb37@dial.pipex.com]
2970
2971   *) Link DSO's with "gcc -shared" instead of "ld -Bshareable" at 
2972      least on Linux and FreeBSD for now.  
2973      [Rasmus Lerdorf]
2974
2975   *) Win32: More apache -k restart work. Restarts are now honored
2976      immediately and connections in the listen queue are -not- lost.
2977      This is made possible by the use of the WSADuplicateSocket()
2978      call.  The listeners are opened in the parent, duplicated, then
2979      the duplicates are passed to the child. The original listen sockets 
2980      are not closed by the parent across a restart, thus the listen queue 
2981      is preserved.
2982      [Bill Stoddard <stoddard@raleigh.ibm.com>]
2983
2984   *) Fix handling of case when a client has sent "Expect: 100-continue"
2985      and we are going to respond with an error, but get stuck waiting to
2986      discard the body in the pointless hope of preserving the connection.
2987      [Roy Fielding, Joe Orton <jeo101@york.ac.uk>] PR#4499, PR#3806
2988
2989   *) Fix 'configure' to work correctly with SysV-based versions of
2990      'tr' (consistent with Configure's use as well). [Jim Jagielski]
2991
2992   *) apxs: Add "-S var=val" option which allows for override of CFG_*
2993      built-in values. Add "-e" option which works like -i but doesn't
2994      install the DSO; useful for editing httpd.conf with apxs. Fix
2995      editing code so that multiple invocations of apxs -a will not
2996      create duplicate LoadModule/AddModule entries; apxs can now be
2997      used to re- enable/disable a module.  [Wilfredo Sanchez]
2998
2999   *) Win32: Update the server to use Winsock 2. Specifically, link with
3000      ws2_32.lib rather than wsock32.lib.  This gives us access to 
3001      WSADuplcateSocket() in addition to some other enhanced comm APIs.
3002      Win 95 users may need to update their TCP/IP stack to pick up
3003      Winsock 2. (See http://www.microsoft.com/windows95/downloads/)
3004      [Bill Stoddard stoddard@raleigh.ibm.com]
3005
3006   *) Win32: Redirect CGI script stderr (script debug info) into the 
3007      error.log when CGI scripts fail. This makes Apache on Win32 
3008      behave more like Unix.      
3009      [Bill Stoddard stoddard@raleigh.ibm.com]
3010
3011   *) Fixed `httpd' usage display: -D was missing.
3012      [Ralf S. Engelschall] PR#4614
3013
3014   *) Fix `make r' test procedure in src/regex/: ap_isprint was not found.
3015      [Ralf S. Engelschall] PR#4561, PR#4562
3016
3017   *) OS/2: Fix problem with accept lock semaphores where server would die with
3018      "OS2SEM: Error 105 getting accept lock. Exiting!" 
3019      [Brian Havard] PR#4505
3020
3021   *) Add DSO support for DGUX 4.x using gcc. Tested on x86 platforms.
3022      [Randy Terbush <randy@covalent.net>]
3023  
3024   *) Add the new mass-vhost module (mod_vhost_alias.c) developed and
3025      used by Demon Internet, Ltd. [Tony Finch <fanf@demon.net>]
3026
3027   *) Better GCC detection for DSO flags under Solaris 2 where the `cc' 
3028      command potentially _is_ GCC. [Ralf S. Engelschall]
3029
3030   *) Fix apxs build issues on AIX 
3031      [Rasmus Lerdorf <rasmus@raleigh.ibm.com>]
3032
3033   *) DocumentRoot Checking: Under previous versions, when Apache
3034      first started up, it used to do a stat of each DocumentRoot to
3035      see if it existed and was a directory. If not, then an error
3036      message was printed. THIS HAS BEEN DISABLED. If DocumentRoot
3037      does not exist, you will get error messages in error_log. If
3038      the '-t' command line option is used (to check the configuration)
3039      the check of DocumentRoot IS performed. An additional command
3040      line option, '-T', has been added if you want to avoid the
3041      DocumentRoot check even when checking the configuration.
3042      [Jim Jagielski]
3043
3044   *) Win32: The query switch "apache -S" didn't exit after showing the
3045      vhost settings. That was inconsistent with the other query functions.
3046      [Bill Stoddard - Fixed by Martin on Unix in 1.3.4]
3047
3048   *) Win32: Changed behaviour of apache -k restart. 
3049      Previously, the server would drain all connections in the stack's
3050      listen queue before honoring the restart. On a busy server, this
3051      could take hours.  Now, a restart is honored almost immediately. 
3052      All connections in Apache's queues are handled but connections in 
3053      the stack's listen queue are discarded. Restart triggered by 
3054      MaxRequestPerChild is unchanged.
3055      [Bill Stoddard <stoddard@raleigh.ibm.com>]
3056
3057   *) Win32: Eliminated unnecessary call to wait_for_multiple_objects in
3058      the accept loop. Good for a 5% performance boost. Cleaned up 
3059      parent/child process management code. 
3060      [Bill Stoddard <stoddard@raleigh.ibm.com>]
3061
3062   *) Added ceiling on file size for memory mapped files.
3063      [John Giannandrea <jg@meer.net>] PR#4122
3064
3065   *) Fix ndbm.h include problems with brain-dead glibc >= 2.1 which 
3066      has ndbm.h in a non-standard db1/ subdir. PR#4431, PR#4528
3067      [Henri Gomez <gomez@slib.fr>, Ralf S. Engelschall] 
3068
3069   *) Determine AP_BYTE_ORDER for ap_config_auto.h and already
3070      use this at least for Expat. [Ralf S. Engelschall]
3071
3072   *) Allow .module files to specify libraries with Lib:.
3073      [Ben Laurie]
3074
3075   *) Allow SetEnvIf[NoCase] to test environment variables as well
3076      as header fields and request attributes.  [Ken Coar]
3077
3078   *) Fix mod_autoindex's handling of ScanHTMLTitles when file
3079      content-types are "text/html;parameters".  PR#4524  [Ken Coar]
3080
3081   *) Remove "mxb" support from mod_negotiation -- it was a draft feature
3082      never accepted into any standard, and it opens up certain DoS
3083      attacks.  [Koen Holtman <Koen.Holtman@cern.ch>]
3084
3085   *) TestCompile updated. We can now run programs and output the
3086      results during the Configure process. [ Jim Jagielski]
3087
3088   *) The source is now quad (long long) aware as needed. Specifically,
3089      the Configure process determines the correct size of off_t and
3090      *void. When the OS/platform/compiler supports quads, ap_snprintf()
3091      provides for the 'q' format qualifier (if quads are not available,
3092      'q' is silently "demoted" to long). [Jim Jagielski]
3093
3094   *) When the username or password fed to htpasswd is too long, include the
3095      size limit in the error message.  Also report illegal characters
3096      (currently only ':') in the username.  Add the size restrictions
3097      to the man page.  [Ken Coar]
3098
3099   *) Fixed the configure --without-support option so it doesn't result in
3100      an infinite loop.  [Marc Slemko]
3101
3102   *) Piped error logs could cause a segfault if an error occured
3103      during configuration after a restart.
3104      [Aidan Cully <aidan@panix.com>] PR#4456
3105
3106   *) If a "Location" field was stored in r->err_headers_out rather
3107      than r->headers_out, redirect processing wouldn't find it and
3108      the server would core dump on ap_escape_html(NULL).  Check both
3109      tables and raise HTTP_INTERNAL_SERVER_ERROR with a log message
3110      if Location isn't set.  [Doug MacEachern, Ken Coar]
3111
3112   *) Add RULE_EXPAT, the src/lib/ directory structure, and a modified copy
3113      of the Expat 1.0.2 distribution. [Greg Stein]
3114
3115   *) Replace regexec() calls with calls to a new API stub function
3116      ap_regexec().  This solves problems with DSO modules which use the regex
3117      library. [Jens-Uwe Mager <jum@helios.de>, Ralf S. Engelschall]
3118
3119   *) Add 'Request_Protocol' special keyword to mod_setenvif so that
3120      environment variables can be set according to the protocol version
3121      (e.g., HTTP/0.9 or HTTP/1.1) of the request.  [Ken Coar]
3122
3123   *) Add DSO support for OpenStep (Mach 4.2) platform.
3124      [Ralf S. Engelschall, Rex Dieter <rdieter@math.unl.edu>] PR#3997
3125
3126   *) Fix sed regex for generating ap_config_auto.h in src/Configure.
3127      [Jan Gallo <gallo@pvt.sk>] PR#3690, PR#4373
3128  
3129   *) Switch to /bin/sh5 in APACI on Ultrix and friends to avoid problems with
3130      their brain-dead /bin/sh. [Ralf S. Engelschall] PR#4372
3131
3132   *) Better DSO flags recognition on NetBSD platforms using ELF.
3133      [Todd Vierling <tv@pobox.com>] PR#4310
3134
3135   *) Always log months in english format for %t in mod_log_config.
3136      [Petr Lampa <lampa@fee.vutbr.cz>] PR#4366, 679
3137
3138   *) Support for server-parsed and multiview-determined ReadmeName and
3139      HeaderName files in mod_autoindex. Removed the restriction on
3140      "/"s in ReadmeName and HeaderName directives since the *sub_req*
3141      routines will deal with the access issues. (It's now possible to
3142      have {site|group|project|customer|...} wide readmes and headers.)
3143      [Raymond S Brand <rsbx@rsbx.net>, Ken Coar] PR#1574, 3026, 3529,
3144      3569, 4256
3145
3146   *) When stat() fails, don't assume anything about the contents of
3147      the struct stat.  [Ed Korthof <ed@bitmechanic.com>]
3148
3149   *) It's OK for a semop to return EINTR, just loop around and try
3150      again.  [Dean Gaudet]
3151
3152   *) Fix configuration engine re-entrant hangups, which solve a
3153      handful of problems seen with mod_perl <Perl> configuration sections
3154      [Salvador Ortiz Garcia <sog@msg.com.mx>]
3155
3156   *) Mac OS and Mac OS X Server now use the appropriate custom layout
3157      by default when building with APACI; allow for platform-specific
3158      variable defaults in configure. [Wilfredo Sanchez]
3159
3160   *) Do setgid() before initgroups() in http_main; some platforms
3161      zap the grouplist when setgid() is called.  This was fixed in
3162      suexec earlier, but the main httpd code missed the change.
3163      [Rob Saccoccio <robs@InfiniteTechnology.com>]  PR#2579
3164
3165   *) Add recognition of .tgz as a gzipped tarchive.
3166      [Bertrand de Singly <bertrand.de-singly@polytechnique.fr>]  PR#2364
3167
3168   *) mod_include's fsize/flastmod should allow only relative paths, just
3169      like "include file".  [Jaroslav Benkovsky <benkovsk@pha.pvt.cz>]
3170
3171   *) OS/2: Add support for building loadable modules using DLLs.
3172      [Brian Havard]
3173
3174   *) Add iconsdir, htdocsdir, and cgidir to config.layout.
3175      [Wilfredo Sanchez]
3176
3177   *) Fix minor but annoying bug with the test for Configuration.tmpl
3178      being newer than Configuration so that it is less likely to fail
3179      when using APACI and shadow sources. [Wilfredo Sanchez]
3180
3181   *) PORT: Add initial support for Mac OS (versions 10.0 and
3182      greater). Use Mac OS X Server layout for now. Clean up dyld code
3183      in unix/os.c, and don't install the dyld error handlers, which
3184      are no longer needed in Mac OS. [Wilfredo Sanchez]
3185
3186   *) Rename Rhapsody layout to "Mac OS X Server". Change install
3187      locations to appropriate ones for user-built (as opposed to
3188      system) installs. [Wilfredo Sanchez]
3189
3190   *) Modify mod_autoindex's handling of AddDescription so that the
3191      behaviour matches the documentation.  [Ken Coar] PR#1898, 3072.
3192
3193   *) Add functionality to the install-bindist.sh script created by
3194      binbuild.sh to use tar when copying distribution files to the
3195      serverroot. This allows upgrading an existing installation
3196      without nesting the new distribution in the old.
3197
3198      install-bindist.sh now detects the local perl5 path to install
3199      apxs and dbmmanage with proper path to perl interpreter.
3200
3201      Add an install-binsupport target which copies the source files
3202      for apxs and dbmmanage to bindist to allow these scripts to
3203      be properly installed relative to the destination serverroot.
3204      [Randy Terbush, Covalent Technologies, randy@covalent.net]
3205
3206   *) Fix intermittent SEGV in ap_proxy_cache_error() in
3207      src/modules/proxy_util.c where a NULL filepointer and
3208      temporary filename were closed and unlinked.
3209      [Graham Leggett <minfrin@sharp.fm>,
3210      Tim Costello <tjcostel@socs.uts.edu.au>] PR#3178
3211
3212   *) Fix inconsistent error messages reported by mod_proxy.
3213      [Graham Leggett <minfrin@sharp.fm>]
3214
3215   *) OS/2: Fix terminating CGIs that aren't compiled by EMX GCC when a 
3216      connection is aborted.  [Brian Havard]
3217
3218   *) Force the LANG envariable to the known state of "C" so that we
3219      have assurance about how string manipulators (e.g., tr) will
3220      function.  [Ken Coar]  PR#1630
3221
3222   *) Add a directive to allow customising of the tracking cookie name.
3223      [Ken Coar]  PR#2921, 4303
3224
3225   *) Add "force-no-vary" envariable to allow servers to work around
3226      clients that choke on "Vary" fields in the response header.
3227      [Ken Coar, Dmitry Khrustalev <dima@zippy.machaon.ru>]  PR#4118
3228
3229   *) Fixed a bug in mod_dir that causes a child process will infinitely
3230      recurse when it attemps to handle a request for a directory wnd the
3231      value of the DirectoryIndex directive is a single dot. Also likely
3232      to happen for anyother values of DirectoryIndex that will map back
3233      to the same directory. The handler now only considers regular files
3234      as being index candidates. No PR#s found.
3235      [Raymond S Brand <rsbx@rsbx.net>]
3236
3237   *) Ease configuration debugging by making TestCompile fall back to
3238      using "make" if the $MAKE variable is unset [Martin Kraemer]
3239
3240   *) Fixed the ServerSignature directive to work as documented.
3241      [Raymond S Brand <rsbx@rsbx.net>] PR#4248
3242
3243   *) Add "opt" (SysV-style) layout to config.layout. [Raymond S Brand
3244      <rsbx@rsbx.net>]
3245
3246   *) Add APACI --without-execstrip option which can be used to disable the
3247      stripping of executables on installation.  This is very important for DSO
3248      and debugging situations. [Ralf S. Engelschall]
3249
3250   *) Add support for OS/2 (case insenstive filesystem, .exe suffix, etc)
3251      to APACI files and related scripts. 
3252      [Yitzchak Scott-Thoennes <sthoenna@efn.org>, Ralf S. Engelschall] PR#4269
3253
3254   *) Add support for standalone mode in TPF
3255      [Joe Moenich <moenich@us.ibm.com>]
3256
3257   *) Fix number of bytes copied by read_connection() in src/support/ab.c
3258      [Jim Cox <jc@superlink.net>] PR#4271
3259
3260   *) Fix special RewriteCond "-s" pattern matching.
3261      [Bob Finch <bob@nas.com>]
3262
3263   *) Fix value quoting in src/Configure script for ap_config_auto.h 
3264      [Paul Sutton <paul@awe.com>]
3265
3266   *) Make sure RewriteLock can be used only in the global context, (i.e.
3267      outside of any <VirtualHost> sections) because it's a global facility of
3268      the rewrite engine. [Ralf S. Engelschall]
3269
3270   *) Fix the ownership delegation for proxy directory under `make install'.
3271      [Ralf S. Engelschall]
3272
3273   *) APACI would not correctly build suexec. [Maria Verina
3274      <mariav@icgeb.trieste.it>] PR#4260
3275
3276   *) mod_mime_magic passed only the first 4k of a file to
3277      uncompress/gzip, but those tools sometimes do not produce
3278      any output unless a sufficient portion of the compressed
3279      file is input.  Change to pass the entire file -- but
3280      only read 4k of output.
3281      [Marcin Cieslak <saper@system.pl>] PR#4097
3282
3283   *) "IndexOptions None" generated extra spaces at the end of each
3284      line.  [inkling@firstnethou.com] PR#3770
3285
3286   *) The "100 Continue" response wasn't being sent after internal
3287      redirects. [Jose KAHAN <kahan@w3.org>] PR#3910, 3806, 3575
3288
3289   *) When padding the name with spaces for display, mod_autoindex would
3290      count &, <, and > in their escaped width, messing up the display.
3291      [Dean Gaudet] PR#4075, 3758
3292
3293   *) PORT: fixed a compilation problem on NEXT.
3294      [Jacques Distler <distler@golem.ph.utexas.edu>] PR#4130
3295
3296   *) r->request_time wasn't being set properly in certain error conditions.
3297      [Dean Gaudet] PR#4156
3298
3299   *) PORT: deal with UTS compiler error in http_protocol.c
3300      [Dave Dykstra <dwd@bell-labs.com>] PR#4189
3301
3302   *) Add ap_vrprintf() function.  [John Tobey <jtobey@banta-im.com>] PR#4246
3303
3304   *) Fix the mod_mime hash table to work properly with locales other
3305      than C.  [Dean Gaudet] PR#3427
3306
3307   *) Fix a memory leak which is exacerbated by certain configurations.
3308      [Dean Gaudet] PR#4225
3309
3310   *) Prevent clobbering saved IFS values in APACI. [Jim Jagielski]
3311
3312   *) Fix buffer overflows in ap_uuencode and ap_uudecode pointed out
3313      by "Peter 'Luna' Altberg <peter@altberg.nu>" and PR#3422
3314      [Peter 'Luna' Altberg <peter@altberg.nu>, Ronald Tschalär]
3315
3316   *) Make {Set,Unset,Pass}Env per-directory instead of per-server.
3317      [Ben Laurie]
3318
3319   *) Correct an apparent typo: on the Windows and MPE platforms, the
3320      htpasswd utility was limiting passwords to only 8 characters.
3321      [Ken Coar]
3322
3323   *) EBCDIC platforms: David submitted patches for two bugs in the
3324      MD5 digest port for EBCDIC machines:
3325      a) the htdigest utility overwrote the old contents of the digest file
3326      b) the Content-MD5 header value (ContentDigest directive) was wrong
3327      when the returned file was not converted from EBCDIC, but was a
3328      binary (e.g., image file) in the first place.
3329      [David McCreedy <mccreedy@us.ibm.com>]
3330
3331   *) support/htpasswd now permits the password to be specified on the
3332      command line with the '-b' switch.  This is useful when passwords
3333      need to be maintained by scripts -- particularly in the Win32
3334      environment.  [Ken Coar]
3335
3336   *) Win32: Win32 multiple services patch. Added capability to install and
3337      run multiple copies of apache as individual services.
3338
3339      Example 1:
3340      apache -n apache1 -i -f c:/httpd.conf
3341         Installs apache as service 'apache1' and associates c:/httpd.conf
3342         with that service.
3343      net start apache1
3344         Starts apache1 service.
3345      net stop apache1
3346         Stops apache1 service
3347
3348      Example 2:
3349      apache -n apache2 -i
3350         Installs apache as service 'apache2'. httpd.conf is located under
3351         the default server root (/apache/conf/httpd.conf).
3352      net start apache2
3353         Starts apache2 service.
3354
3355      Example 3:
3356      apache -n apache3 -i -d c:/program files/apache
3357         Install apache as service 'apache3' and sets server root to
3358         c:/program files/apache.
3359
3360      Example 4:
3361      apache -n apache2 -k restart
3362         Restart apache2 service 
3363
3364      [Keith Wannamaker, Ken Parzygnat, Bill Stoddard]
3365
3366   *) Correct the signed/unsigned character handling for the MD5 routines;
3367      mismatches were causing compilation problems with gcc -pedantic and
3368      in the TPF cross-compilation.  [Ken Coar]
3369
3370   *) OS/2: Rework CGI handling to use spawn*() instead of fork/exec, achieving
3371      a roughly 5 fold speed up. [Brian Havard]
3372
3373   *) proxy ftp: instead of using the hardwired string "text/plain" as
3374      a fallback type for files served by the ftp proxy, use the
3375      ap_default_type() function to determine the configured type.
3376      This allows for special configurations like
3377         <Directory proxy:ftp://some.host>
3378         DefaultType gargle/blurb
3379         </Directory>
3380      Additionally, add the Content-Encoding: header to FTP proxy replies
3381      when the encoding is defined (by the AddEncoding directive).
3382      Because it was missing, it was almost impossible to browse compressed
3383      files using the FTP proxy (works now perfectly in Communicator).
3384      The ftp proxy now also returns the Date: and Server: header lines (if not
3385      much else... This code is "somewhat" broken) like normal requests do.
3386      [Martin Kraemer]
3387
3388   *) Be more smart in APACI's configure script when determining the UID/GID
3389      for User/Group directives and use the determined UID/GID to initialize
3390      the permissions on the proxycachedir.
3391      [Dirk-Willem van Gulik, Ralf S. Engelschall]
3392
3393   *) Changed the forking-prior-to-cleanup in the proxy module to first
3394      check wether it actually needs to collect garbage. This reduces 
3395      the number of fork()s from one/request to just the odd one an hour.
3396      [Dirk-Willem van Gulik]
3397
3398   *) Added proxy, auth and header support to src/support/ab.c. Added a
3399      README file to src/support/
3400      [Dirk-Willem van Gulik]
3401
3402   *) Don't hard-code the path to AWK in --shadow bootstrapping Makefile.
3403      [Ralf S. Engelschall] PR#4050
3404
3405   *) Add support for DSO module compilation on BSD/OS 3.x.
3406      [Randy Terbush, Covalent Technologies]
3407
3408   *) Fix sed-substitutions in `make install': path elements like `httpd/conf'
3409      (for instance from an APACI configure --sysconfdir=/etc/httpd/conf
3410      option) were substituted with $(TARGET).conf, etc. Same for other strings
3411      with dots where the dot wasn't matched as plain text. 
3412      [Ralf S. Engelschall]
3413
3414   *) PORT: Add support for FreeBSD 4.x [Ralf S. Engelschall]
3415
3416   *) Fix verbose output of APACI configure (option -v) 
3417      [Martin Kraemer, Ralf S. Engelschall]
3418
3419 Changes with Apache 1.3.6
3420
3421   *) Removed new PassAllEnv code due to DSO problems. [Lars Eilebrecht]
3422
3423 Changes with Apache 1.3.5 [not released]
3424
3425   *) M_INVALID needed a value within the scope of METHODS so that unknown
3426      methods can be access controlled.  [Roy Fielding] PR#3821
3427
3428   *) Added PassAllEnv; makes server's entire environment available
3429      to CGIs and SSIs executed within directive's scope.  [Ken Coar]
3430
3431   *) ap_uuencode() always added two trailing '='s and encoding of
3432      8 bit characters on a machine with signed char may produced
3433      incorrect results. Additionally ap_uuencode() should now
3434      work correctly on EBCDIC platforms.
3435      [Ronald Tschalär <ronald@innovation.ch>] PR#3411
3436
3437   *) WIN32: Binary installer now runs the configuration DLL before
3438      the reboot prompt (which is only given if MSVCRT.DLL system
3439      DLL is new or updated). This should avoid the configuration
3440      directory being empty after installation. [Paul Sutton]
3441      PR#3767, 3800, 3827, 3850, 3900, 3953, 3988
3442
3443   *) WIN32: Binary installer now creates Start menu options to start
3444      and stop Apache as a console application and to uninstall
3445      the Apache service on NT. [Paul Sutton] PR#3741
3446
3447   *) WIN32: Apache.exe now contains an icon. [Paul Sutton]
3448
3449   *) PORT: Switch back to using fcntl() locking on Linux -- instabilities
3450      have been reported with flock() locking (probably related to kernel
3451      version).  [Dean Gaudet] PR#2723, 3531
3452
3453   *) Using APACI, the main config file (usually httpd.conf) was
3454      not being adjusted as $(TARGET).conf. [Wilfredo Sanchez
3455      <wsanchez@apple.com>]
3456
3457   *) PORT: AIX does not require the SHARED_CODE "hack"
3458      [Ryan Bloom <rbb@raleigh.ibm.com>]
3459
3460   *) Set-Cookie headers were being doubled up for some CGIs by the O(n^2)
3461      avoidance code added in 1.3.3.
3462      [Dean Gaudet, Jeff Lewis <lewis@stanford.edu>] PR#3872
3463
3464   *) ap_isxdigit was somehow neglected when adding the ap_isfoo() macros
3465      for 8-bit safeness.  [Dean Gaudet]
3466
3467   *) PORT: Use -fPIC instead of -fpic on Solaris and SunOS for compiling DSOs
3468      because SPARCs have a small machine-specific maximum size for the Global
3469      Offset Table which is often exceeded when compiling one of the larger
3470      third-party modules with Apache. [Peter Urban <Peter.Urban@epfl.ch>] PR#3977
3471
3472   *) Move the directive `ExtendedStatus' in httpd.conf-dist-win _after_ the
3473      DSO/DLL section because it's a directive from mod_status and isn't
3474      available before the DLL of mod_status is loaded.
3475      [Martin POESCHL <mpoeschl@gmx.net>] PR#3936
3476
3477   *) SECURITY: Fix a bug in the calculation of the buffer size for the line 
3478      continuation facility in Apache's configuration files which could 
3479      lead to a buffer overflow situation.
3480      [Thomas Devanneaux <Thomas.Devanneaux@enst.fr>] PR#3617
3481
3482   *) Make documentation and error messages of APACI's --activate-module=FILE 
3483      option more clear. [Jan Wolter <janc@wwnet.net>] PR#3995
3484
3485   *) Fix the gcc version check (for enabling the `inline' facility) to 
3486      really support all future gcc versions >= 2.7 until we know more.
3487      [John Tobey <jtobey@banta-im.com>] PR#3983
3488
3489   *) Let APACI's configure script correctly complain for unknown --enable-XXX
3490      and --disable-XXX options. [Ralf S. Engelschall] PR#3958
3491
3492   *) Link the shared core bootstrap program (``Rule SHARED_CORE=yes'') also
3493      against libap.a and use its ap_snprintf() instead of sprintf() to avoid
3494      possible buffer overflows. [Ralf S. Engelschall]
3495
3496   *) Remove no longer used non-API function ap_single_module_init().
3497      [Ralf S. Engelschall]
3498
3499   *) Add Apple's Mac OS X Server Layout "Rhapsody" to config.layout.
3500      [Wilfredo Sanchez]
3501
3502   *) Add cgidir, htdocsdir, iconsdir variables to Makefile.tmpl in order
3503      to make platform installations easier.  [Wilfredo Sanchez]
3504
3505   *) In configure, do not append the target name to the directory path if
3506      the path already contains "apache".  [Ralf S. Engelschall]
3507
3508   *) SIGPIPE is now ignored by the server core.  The request write routines
3509      (ap_rputc, ap_rputs, ap_rvputs, ap_rwrite, ap_rprintf, ap_rflush) now
3510      correctly check for output errors and mark the connection as aborted.
3511      Replaced many direct (unchecked) calls to ap_b* routines with the
3512      analogous ap_r* calls.  [Roy Fielding]
3513
3514   *) Enhanced mod_rewrite's mapfile handling: The in-core cache for text and
3515      DBM format mapfiles now uses a 4-way hash table with LRU functionality.
3516      Furthermore map lookups for non-existent keys are now cached as well.
3517      Additionally "txt" maps are now parsed with simple string functions
3518      instead of using ap_pregcomp(). As a side effect a bug that prevented
3519      the usage of keys containing the "," character was fixed.
3520      The changes drastically improve the performance when large rewrite maps
3521      are in use.
3522      [Michael van Elst <mlelstv@serpens.swb.de>, Lars Eilebrecht] PR#3160
3523
3524   *) Added ap_sub_req_method_uri() for doing a subrequest with a method
3525      other than GET, and const'd the definition of method in request_rec.
3526      [Greg Stein]
3527
3528   *) Use proper pid_t type for saving PIDs in alloc.c.  [John Bley]
3529
3530   *) Replaced use of WIN32 define with HAVE_DRIVE_LETTERS to indicate
3531      when the OS allows a DOS drive letter within pathnames.  [Brian Havard]
3532
3533   *) Add %V to mod_log_config, this logs the hostname according to the
3534      UseCanonicalName setting (this is the pre-1.3.4 behaviour of
3535      %v).  Useful for mass vhosting.  [Tony Finch <dot@dotat.at>]
3536
3537   *) Add support for \n and \t to mod_log_config, can be used to produce
3538      more reliable logs with multiline entries.  [Tony Finch <dot@dotat.at>]
3539
3540   *) Fixed a few compiler nits.  [John Bley <jbb6@acpub.duke.edu>]
3541
3542   *) Added informative error messages for failed munmap() and fseek() calls
3543      in http_core.c. [John Bley, Roy Fielding]
3544
3545   *) Added some informative error messages for some failed malloc()
3546      calls. [John Bley <jbb6@acpub.duke.edu>, Jim Jagielski]
3547
3548   *) OS/2 ap_os_canonical_filename()'s behaviour is improved: ap_assert()
3549      is removed. This allows <Directory proxy:*> directives to work and
3550      prevents invalid requests from killing the process.
3551      [Brian Havard <brianh@kheldar.apana.org.au>]
3552
3553   *) Reorganised FAQ document.
3554      [Joshua Slive <slive@finance.commerce.ubc.ca>] PR#2497
3555
3556   *) src/support/: The ApacheBench benchmark program was overhauled by
3557      David N. Welton: you can now have it generate an HTML TABLE, presumably
3558      for integration into other HTML sources. David updated the ab man page
3559      as well and added some missing descriptions. Thanks!
3560      [David N. Welton <davidw@prosa.it>]
3561
3562   *) Win32: The filename validity checker now allows filenames containing
3563      characters in the range 0x80 to 0xff (for example accented characters).
3564      [Paul Sutton] PR#3890
3565
3566   *) Added conditional logging based upon environment variables to
3567      mod_log_config.  mod_log_referer and mod_log_agent
3568      are now deprecated.  [Ken Coar]
3569
3570   *) Allow apache acting as a proxy server to relay the real
3571      reason of a failure to a client rather than the "internal
3572      server error" it does currently. The general exposure mechanism
3573      can be triggered by any module by setting the "verbose-error-to"
3574      note to "*"; this allows more than just proxy errors to be exposed.
3575      [Cliff Skolnick, Roy Fielding, Martin Kraemer] Related to PR#3455, 4086
3576
3577   *) Moved man pages for ab and apachectrl to section 8.
3578      [Wilfredo Sanchez, Roy Fielding]
3579
3580   *) Added -S option to install.sh so that options can be passed to
3581      strip on some platforms. [Ralf S. Engelschall, Wilfredo Sanchez]
3582
3583   *) Tweak modules Makefile generated by Configure so that it handles
3584      the test case of no modules being selected. [chaz@reliant.com]
3585
3586   *) Added a <LimitExcept method ...> sectioning directive that allows
3587      the user to assign authentication control to any HTTP method that
3588      is *not* given in the argument list; i.e., the logical negation
3589      of the <Limit> directive.  This is particularly useful for controlling
3590      access on methods unknown to the Apache core, but perhaps known by
3591      some module or CGI script. [Roy Fielding, Tony Finch]
3592
3593   *) Prevent apachectl from complaining if the PIDFILE exists but
3594      does not contain a process id, as might occur if the server is
3595      being rapidly restarted. [Wilfredo Sanchez]
3596
3597   *) Win32: Add global symbols missing from ApacheCore.def. [Carl Olsen]
3598
3599   *) Entity tag comparisons for If-Match and If-None-Match were not being
3600      performed correctly -- weak tags might cause false positives.  Also,
3601      strong comparison wasn't properly enforced in all cases.
3602      [Roy Fielding, Ken Coar, Dean Gaudet] PR#2065, 3657
3603
3604   *) OS/2: Supply OS/2 error code instead of errno on semaphore errors.
3605      [Brian Havard]
3606
3607   *) Work around a bug in Lynx regarding its sending "Negotiate: trans"
3608      even though it doesn't understand TCN.  [Koen Holtman, Roy Fielding]
3609
3610   *) Added ap_size_list_item(), ap_get_list_item(), and ap_find_list_item()
3611      to util.c for parsing an HTTP header field value to extract the next
3612      list item, taking into account the possible presence of nested comments,
3613      quoted-pairs, and quoted-strings. ap_get_list_item() also removes
3614      insignificant whitespace and lowercases non-quoted tokens.
3615      [Roy Fielding] PR#2065
3616
3617   *) proxy: The various calls to ap_proxyerror() can return HTTP/1.1 status
3618      code different from 500. This allows the proxy to, e.g., return
3619      "403 Forbidden" for ProxyBlock'ed URL's. [Martin Kraemer] Related to PR#3455
3620
3621   *) Fix ordering of language variants for the case where the traditional
3622      negotiation algorithm is being used with multiple language variants
3623      and no Accept-Language. [James Treacy <treacy@debian.org>] PR#3299, 3688
3624
3625   *) Do not round the TCN quality calculation to 5 decimal places,
3626      unlike RFC 2296, because the calculation might need 12 decimal places
3627      to get the right result.  [Roy Fielding]
3628
3629   *) Remove unused code to disable transparent negotiation when
3630      negotiating on encoding only, as we now handle encoding too
3631      (though this is nonstandard for TCN), remove charset=ISO-8859-1
3632      fiddle from the fiddle-averse RVSA comparison, and fix bugs in
3633      some debugging statements within mod_negotiation. [Koen Holtman]
3634
3635   *) Fixed a rare memory corruption possibility in mod_dir if the index
3636      file is negotiable and no acceptable variant can be found.
3637      [Dean Gaudet, Roy Fielding, Martin Kraemer]
3638
3639   *) Win32: Add new config directive, ScriptInterpreterSource, to enable
3640      searching the Win32 registry for script interpreters.
3641      [Bill Stoddard]
3642
3643   *) Win32: The compiled-in default filename for the error log is now
3644      error.log, which matches the default in the distributed httpd.conf.
3645      [Paul Sutton]
3646
3647   *) Win32: Any error messages from -i or -u command line options are now
3648      displayed on the console output rather than sent to the error log.
3649      Also the "Running Apache..." message is not output unless Apache is
3650      going to serve requests. [Paul Sutton]
3651
3652   *) Rework the MD5 authentication scheme to use FreeBSD's algorithm,
3653      and use a private significator ('$apr1$') to mark passwords as
3654      being smashed with our own algorithm.  Also abstract the password
3655      checking into a new ap_validate_password() routine.  [Ken Coar]
3656
3657   *) Win32: The filename validity checker now allows "COM" but refuses 
3658      access to "COM1" through "COM4". This allows filenames such
3659      as "com.name" to be served. [Paul Sutton] PR#3769.
3660
3661   *) BS2000: Adapt to the new ufork() system call interface which will
3662      make subtasking easier on the OSD/POSIX mainframe environment.
3663      [Martin Kraemer]
3664
3665   *) Add a compatibility define for escape_uri() -> ap_escape_uri() to
3666      ap_compat.h. [David White <david@persimmon.com>] PR#3725
3667
3668   *) Make NDBM file suffix determination for mod_rewrite more accurate, i.e.
3669      use `.db' instead of `.pag' not only for FreeBSD, but also when
3670      the NDBM library looks like Berkeley-DB based.
3671      [Ralf S. Engelschall] PR#3773
3672
3673   *) Add ability to handle DES or MD5 authentication passwords.
3674      [Ryan Bloom <rbb@Raleigh.IBM.Com>]
3675
3676   *) Fix O(n^2) memory consumption in mod_speling.  [Dean Gaudet]
3677
3678   *) SECURITY: Avoid some buffer overflow problems when escaping
3679      quoted strings.  (This overflow was on the heap and we believe
3680      impossible to exploit.)  [Rick Perry <perry@ece.vill.edu>]
3681
3682   *) Let src/Configure be aware of CFLAGS options starting with plus
3683      signs as it's the case for the HP/UX compiler.
3684      [Doug Yatcilla <yatcilda@umdnj.edu>] PR#3681
3685
3686   *) Remove the hard-wire of TAR=tar (we now check for gtar and gnutar first)
3687      and check to see if the tar we wind up with supports '-h'.
3688      [Jim Jagielski] PR#3671
3689
3690   *) A consistent and conservative style for all shell scripts has been
3691      implemented. Basically, all shell string tests use the traditional
3692      hack of 'if [ "x$var" != "x" ]' or 'if [ "x$var" = "xstring" ]'
3693      to protect against bare null variable strings (ie: wrapping both
3694      sides with double quotes and prepending 'x'). 'x' was chosen
3695      because it's more universal and hopefully easier for old shell
3696      prgrammers, as well as being easier to search for in 'vi' (/x\$) :)
3697      [Jim Jagielski]
3698
3699   *) The status module now prints out both the main server generation as
3700      well as the generation of each process. Also, the vhost info is
3701      printed with '?notable'. [Jim Jagielski]
3702
3703   *) Move src/main/md5c.c to src/ap/ap_md5c.c; it's httpd-neutral
3704      and this makes its functions available to things in src/support.
3705      [Ken Coar]
3706
3707 Changes with Apache 1.3.4
3708
3709   *) Renamed macros status_drops_connection to ap_status_drops_connection
3710      and vestigial scan_script_header to ap_scan_script_header_err,
3711      mostly for aesthetic reasons. [Roy Fielding]
3712
3713   *) The query switch "httpd -S" didn't exit after showing the
3714      vhost settings. That was inconsistent with the other query functions.
3715      [Martin Kraemer]
3716
3717   *) Moved the MODULE_MAGIC_COOKIE from before the versions and
3718      filename to the end of the STANDARD_MODULE_STUFF.  Its
3719      presence at the beginning prevented reporting of the filename
3720      for modules compiled before 1 January 1999.  [Ken Coar]
3721
3722   *) SECURITY: ap_os_is_filename_valid() has been added to Win32
3723      to detect and prevent access to special DOS device file names.
3724      [Paul Sutton, Ken Parzygnat]
3725      
3726   *) WIN32: Created new makefiles Makefile_win32.txt (normal build)
3727      and Makefile_win32_debug.txt (debug build) that work on Win95.
3728      Run each of the following from the src directory:
3729         nmake /f Makefile_win32.txt           # compiles normal build
3730         nmake /f Makefile_win32.txt install   # compiles and installs
3731         nmake /f Makefile_win32.txt clean     # removes compiled junk
3732         nmake /f Makefile_win32_debug.txt     # compiles debug build
3733         nmake /f Makefile_win32_debug.txt install
3734         nmake /f Makefile_win32_debug.txt clean
3735      [Roy Fielding]
3736
3737   *) Added binbuild.sh and findprg.sh helpers to make it easier for us
3738      to build binary distributions. [Lars Eilebrecht]
3739
3740   *) IndexOptions SuppressColumnSorting only turned off making
3741      the column headers anchors; you could still change the display
3742      order by manually adding a '?N=A' or similar query string to the
3743      URL.  Now SuppressColumnSorting locks in the sort order so
3744      it can't be overridden this way.  [Ken Coar]
3745
3746   *) Added IndexOrderDefault directive to supply a default sort order
3747      for FancyIndexed directory listings.  [Ken Coar] PR#1699
3748
3749   *) Change the ap_assert macro to a variant that works on all platforms.
3750      [Richard Prinz <richard.prinz@cso.net>] PR#2575
3751
3752   *) Make sure under ELF-based NetBSD (now) and OpenBSD (future) we don't
3753      search for an underscore on dlsym() (as it's already the case
3754      for FreeBSD 3.0). [Todd Vierling <tv@pobox.com>] PR#2462
3755   
3756   *) Small fix for mod_env.html: The module was documented as to be _not_
3757      compiled into Apache per default, although it _IS_ compiled into 
3758      Apache per default. [Sim Harbert <sim@mindspring.com>] PR#3572
3759
3760   *) Instead of fixing a bug in the generation procedure for config.status (a
3761      backslash was missing) we remove the bug together with it's complete
3762      context because the special cases of the past can now no longer occur
3763      because of the recent magic for the --with-layout default.
3764      [Ralf S. Engelschall] PR#3590
3765  
3766   *) Make top-level Makefile aware of a parallel build procedures (make -j) by
3767      making sure the src/support/ tools are _forced_ to be build last (they
3768      depend on other libraries).
3769      [Markus Theissinger <markus.theissinger@gmx.de>]
3770
3771   *) Fix installation procedure: Now that os-inline.c is actually used (a
3772      recently fixed bug prevented this) we need to also install os-include.c
3773      in addition to os.h into the PREFIX/include/ location or building of
3774      module DSOs with APXS fails. [Ralf S. Engelschall] PR#3527
3775
3776   *) Added MODULE_MAGIC_COOKIE as the first field in a module structure to
3777      allow us to distinguish between a garbled DSO (or even a file which isn't
3778      an Apache module DSO at all) and a DSO which doesn't match the current
3779      Apache API. [Ralf S. Engelschall] PR#3152
3780  
3781   *) Two minor enhancements to mod_rewrite: First RewriteRule now also
3782      supports the ``nocase|NC'' flag (as RewriteCond already does for ages) to
3783      match case insensitive (this especially avoids nasty patterns like
3784      `[tT][eE][sS][tT]'). Second two additional internal map functions
3785      `escape' and `unescape' were added which can be used to escape/unescape
3786      to/from hex-encodings in URLs parts (this is especially useful in
3787      combination with map lookups). 
3788      [Magnus Bodin, Ian Kallen, Ralf S. Engelschall]
3789
3790   *) Renamed the macro escape_uri() to ap_escape_uri() which was
3791      forgotten (because it was a macro) in the symbol renaming process.
3792      [Ralf S. Engelschall]
3793
3794   *) Fix some inconsistencies related to the scopes of directives. The only
3795      user visible change is that the directives `UseCanonicalName' and
3796      `ContentDigest' now use the (more correct) `Options' scope instead of
3797      (less correct) `AuthConfig' scope.  [Ralf S. Engelschall]
3798
3799   *) Using DSO, the Server token was being mangled. Specifically, the
3800      module's token was being added first before the Apache token. This
3801      has been fixed. [Jim Jagielski]
3802
3803   *) Major overhaul of mod_negotiation.c, part 2.
3804      - properly handle "identity" within Accept-Encoding.
3805      - allow encoded variants in RVSA negotiation and let them appear in
3806        the Alternates field using the non-standard "encoding" tag-list.
3807      - fixed both negotiation algorithms so that an explicitly accepted
3808        encoding is preferred over no encoding if "identity" is not
3809        included within Accept-Encoding.
3810      - added ap_array_pstrcat() to alloc.c for efficient concatenation
3811        of large substring sequences.
3812      - replaced O(n^2) memory hogs in mod_negotiation with ap_array_pstrcat.
3813      [Roy Fielding]
3814
3815   *) Major overhaul of mod_negotiation.c, part 1.
3816      - cleanups to mod_negotiation comments and code structure
3817      - made compliant with HTTP/1.1 proposed standard (rfc2068) and added
3818        support for everything in the upcoming HTTP/1.1
3819        revision (draft-ietf-http-v11-spec-rev-06.txt).
3820          - language tag matching also handles tags with more than 2
3821            levels like x-y-z
3822          - empty Accept, Accept-Language, Accept-Charset headers are
3823            processed correctly; previously an empty header would make all
3824            values acceptable instead of unacceptable.
3825          - allowed for q values in Accept-Encoding
3826      - added support for transparent content negotiation (rfc2295 and
3827        rfc2296) (though we do not implement all features in these drafts,
3828        e.g. no feature negotiation).  Removed old experimental version.
3829      - implemented 'structured entity tags' for better cache correctness
3830        (structured entity tags ensure that caches which can deal with Vary
3831        will (eventually) be updated if the set of variants on the server
3832        is changed)
3833          - this involved adding a vlist_validator element to request_rec
3834          - this involved adding the ap_make_etag() function to the global API
3835      - modified guessing of charsets used by Apache negotiation algorithm 
3836        to guess 'no charset' if the variant is not a text/* type
3837      - added code to sort multiviews variants into a canonical order so that
3838        negotiation results are consistent across backup/restores and mirrors
3839      - removed possibility of a type map file resolving to another type map
3840        file as its best variant
3841      [Koen Holtman, Roy Fielding, Lars Eilebrecht] PR#3451, 3299, 1987
3842
3843   *) RFC2396 allows the syntax http://host:/path (with no port number)
3844      but the proxy disallowed it (ap_proxy_canon_netloc()).
3845      [David Kristol <dmk@bell-labs.com>] PR#3530
3846
3847   *) When modules update/modify the file name in the configfile_t structure,
3848      syntax errors will report the updated name, not the original one.
3849      [Fabien Coelho <coelho@cri.ensmp.fr>] PR#3573
3850
3851   *) Correct some filename case assumptions from WIN32 to
3852      CASE_BLIND_FILESYSTEM.  [Brian Havard <brianh@kheldar.apana.org.au>]
3853
3854   *) For %v log ServerName regardless of the UseCanonicalName
3855      setting (similarly for %p).  [Dean Gaudet]
3856
3857   *) Configure was initializing the variables $OSDIR, $INCDIR and $SHELL
3858      rather late (too late for some invocations of TestCompile).
3859      This improves the make environment available to TestCompile and
3860      the *.module scripts. [Martin Kraemer]
3861
3862   *) The hashbang emulation code in ap_execve.c would interpret
3863      #!/hashbang/scripts correctly, but failed to fall back to a
3864      standard shell for scripts which did NOT start with #!
3865      Now SHELL_PATH is started in these cases. [Martin Kraemer]
3866
3867   *) PORT: Added the Cyberguard V2 port [Richard Stagg <stagg@lentil.org>]
3868      PR#3336
3869
3870   *) Update APXS manual page: some -q option arguments were missing
3871      and another was incorrect. [Mark Anderson <mda@discerning.com>] PR#3553
3872
3873   *) Cleanup the command line options: `-?' was documented to show
3874      the usage list but does it with an error because `?' is not a valid
3875      command. OTOH a lot of users expect `-h' to print such a usage list and
3876      instead are annoyed for ages by our huge unreadable list of directives.
3877      So we now changed the command line options this way:
3878      1. `-L' => `-R' 
3879         Intent: we need `-L' to be free, and `-R' for the DSO run-time path is
3880         very similar to the popular linker option.
3881      2. `-h' => `-L'
3882         Intent: while -l gives the small list of modules, -L now gives the
3883         large list of directives implemented by these modules.  This is also
3884         consistent with -v (short version info) and -V (large version info).
3885      3. `-?' => `-h' 
3886         Intent: it's now the expected option ;-)
3887      The manual page was adjusted accordingly. 
3888      [Ralf S. Engelschall] PR#2714
3889
3890   *) Fixed problem of fclose() on an unopened file in suexec if LOG_EXEC
3891      wasn't defined.  [Rick Franchuk <rickf@transpect.net>]
3892
3893   *) Removed recently introduced bugs and disfigurements in APACI:
3894      o fixed argument line processing: using $args was broken: It was not
3895        initialized and using args="$args $apc_option" and even args="$args
3896        \"$apc_option\"" fails in the second processing round for any arguments
3897        containing whitespaces. The only correct way is to use the construct
3898        "$@" (but not possible here) or iterate _both_ times over the implicit
3899        argument line (no argument to for-loop) which is what we now use.
3900      o make --with-layout=Apache the default without creating
3901        redundancy (copying the --with-layout block in the argument parsing
3902        loop).  We achieve this by using the "$@" construct together with the
3903        `set' command to prepend --with-layout=Apache to the command line in
3904        case --with-layout is not used.
3905      o fixed auto-suffix handling now that config.layout exists.
3906        Paths which are auto-suffixed are marked with a trailing plus sign in
3907        config.layout and every path now can be marked this way (not only the
3908        four paths for which we do it currently).  Additionally the suffix is
3909        no longer a static one. Instead it's now `/<target>' where <target> is
3910        the argument of the --target option or per default `httpd'.
3911      o allow also tabs (and only spaces) where we match whitespaces
3912      o various fixes and cleanups related to used shell coding style
3913      o made Jim happy by replacing `Written by' with `Initially written by' ;-)
3914      o trimmed output of --help to fit into 80 columns
3915      [Ralf S. Engelschall]
3916
3917   *) Added two new core API functions, ap_single_module_configure() and
3918      ap_single_module_init(), which are now used by mod_so to configure a module
3919      after loading. [Ralf S. Engelschall]
3920
3921   *) PORT: Add defines for USE_FLOCK_SERIALIZED_ACCEPT and
3922      SINGLE_LISTEN_UNSERIALIZED_ACCEPT to NetBSD/OpenBSD section
3923      of ap_config.h to allow serialized accept for multiport listens.
3924      [Roy Fielding, Curt Sampson] PR#3120
3925
3926   *) PORT: Fixed a misplaced #endif for NetBSD/OpenBSD section
3927      of ap_config.h that would skip several defines if DEFAULT_GROUP
3928      was overridden. [Roy Fielding]
3929
3930   *) PORT: The I86 version of DGUX has support for strncasecmp and 
3931      strcasecmp, so allow it in ap_config.h. [Amiel Lee Yee] PR#3247
3932
3933   *) Fix ordering of definitions in ap_config.h so that ap_inline is
3934      defined before it might be used. [Victor Khimenko]
3935
3936   *) PORT: Add Dynamic Shared Object (DSO) support for BSDI (v4.0).
3937      [Tom Serkowski <tks@bsdi.com>] PR#3453
3938
3939   *) Make generation of src/Configuration.apaci more robust: It failed to
3940      differenciate between modules when one module name was a postfix of
3941      another (e.g. cgi vs. fastcgi). We now check for mod_XXX, libXXX and even
3942      just XXX (think about totally non-standard names like "apache_ssl", too).
3943      [Ralf S. Engelschall] PR#3380
3944
3945   *) In src/Configure remove the SERVER_SUBVERSION support (already deprecated
3946      since 1.3b7) and make whitespace handling more robust (it failed horrible
3947      when whitespaces were present in the arguments of -D options).
3948      [Ralf S. Engelschall] PR#3240
3949
3950   *) Add APACI --shadow=DIR variant (in addition to --shadow). This now first
3951      creates an external package shadow tree in DIR before the local build
3952      shadow tree is generated under DIR. This way one can have the extracted
3953      Apache distribution tree read-only on NFS or CDROM and still build Apache
3954      from these sources. An automatically triggered VPATH-like mechanism is
3955      provided through the TOP variable, too.
3956      [Ralf S. Engelschall, Wilfredo Sanchez <wsanchez@apple.com>]
3957
3958   *) Fix negotiation so that a Vary response header is correctly 
3959      generated when, for a particular dimension, variants only vary
3960      in having or not having a value for that dimension. [Paul Sutton]
3961
3962   *) Fix negotiation so that we prefer an encoded variant over an
3963      unencoded variant if the user-agent explicitly says it can
3964      accept that encoding. Previously we always preferred the unencoded
3965      variant.
3966      [Paul Ausbeck <paula@alumni.cse.ucsc.edu>, Paul Sutton] PR#3447
3967  
3968   *) Fix APXS tool: query variables LIBS_SHLIB and TARGET were not recognized
3969      and the usage page was inconsistent with the functionality and manpage.
3970      [Ralf S. Engelschall]
3971
3972   *) Allow special options -Wc,xxx and -Wl,xxx on APXS compile/link command.
3973      They can occur multiple times and their arguments (`xxx') are passed AS
3974      IS to the compiler/linker command.  [Ralf S. Engelschall]
3975
3976   *) Fixed possible (but harmless in practice) bug in the DBM lookup
3977      procedure of mod_rewrite: very long keys were truncated.
3978      [Ralf S. Engelschall]
3979
3980   *) Added a generic --with-layout=[FILE:]ID option. ID here is a layout
3981      identifier, currently "Apache" and "GNU" are pre-defined in the file
3982      config.layout.  Custom layouts are possible by using FILE:ID as the
3983      argument where the layout ID is taken from FILE.
3984
3985      The config.layout file consists of <Layout ID>..</Layout> sections
3986      where inside those sections "path_variable: path_value" pairs can be
3987      specified. These lines are converted to path_variable='path_value'.
3988
3989   *) Add a DefaultLanguage directive so that files missing a language
3990      extension (e.g., .fr, .de) can be labelled as being some other
3991      default language. DefaultLanguage can appear in <Directory> and 
3992      <Files> containers as well as .htaccess files.  [Paul Sutton]
3993      PR#1180
3994
3995   *) Fix TARGET configuration when configuring and installing using
3996      APACI configure. TARGET now defines the basename of the configuration
3997      file, startup script, manual page, etc. log_error_core() now reports
3998      the server binary name given by argv[0]. TARGET can now also be defined
3999      with --target=TARGET parameter passed to APACI configure.
4000      [Ralf Engelschall, Randy Terbush]
4001
4002   *) mod_include.c:handle_perl() now properly tests for OPT_INCNOEXEC
4003      rather than OPT_INCLUDES [Rainer Schoepf <schoepf@uni-mainz.de>]
4004
4005   *) ap_md5_binary() was using sprintf() rather than a table lookup
4006      to convert binary bytes to hex digits.
4007      [Ronald Tschalär <ronald@innovation.ch>] PR#3409
4008
4009   *) Fix SEGV in TCN negotiation if no variants are acceptable.
4010      [Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>] PR#1987
4011
4012   *) API: ap_exists_config_define() function is now "public" [Doug MacEachern]
4013
4014   *) Fix documentation of `Action' directive: It can activate a CGI script
4015      when either a handler or a MIME content type is triggered by the request.
4016      [Andrew Pimlott <pimlott@math.harvard.edu>] PR#3340
4017
4018   *) Document the `add' command of `dbmmanage' in `dbmmanage.1' manpage.
4019      [David MacKenzie <djm@uu.net>] PR#3394
4020
4021   *) Ignore a "ErrorDocument 401" directive with a full URL and write a
4022      notice to the error log. It is not possible to send a 401 response
4023      and a redirect at the same time.  [Lars Eilebrecht]
4024
4025   *) Fallback to native compilers for IRIX-32 platform. It seems that
4026      a gcc 2.8.1 compiled apache is logging client addresses with all
4027      bits set (255.255.255.255). This is the second such problem caused
4028      by gcc 2.8.1 compiler. The first being broken semaphore locking.
4029      [Randy Terbush]
4030
4031   *) Updated mime.types to reflect current Internet media types
4032      and include a URL to the registry.
4033      [Manoj Kasichainula, Roy Fielding] PR#2380, 2286, 2246
4034
4035   *) SECURITY: Do a more complete check in mod_include to avoid 
4036      an infinite loop of recursive SSI includes.  [Marc Slemko] PR#3323
4037
4038   *) Add APACI --suexec-docroot and --suexec-logfile options which can be
4039      used to set the document root directory (DOC_ROOT) and the suexec
4040      logfile (LOG_EXEC), respectively. Additionally the --layout option
4041      was changed to show more information about the suEXEC setup.
4042      [Lars Eilebrecht] PR#3316, 3357, 3361
4043
4044   *) Added the last two WebDAV status codes of 424 (Failed Dependency)
4045      and 507 (Insufficient Storage) for use by third-party modules.
4046      [Roy Fielding]
4047
4048   *) Enabled all of the WebDAV method names for use by third-party
4049      modules, Limit, and Script directives.  That includes PATCH,
4050      PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, and UNLOCK.
4051      Improved mod_actions.c so that it can use any of the methods
4052      defined in httpd.h.  Added ap_method_number_of(method) for
4053      getting the internal method number.  [Roy Fielding]
4054
4055   *) PORT: Add a port to the TPF OS. [Joe Moenich <moenich@us.ibm.com> and
4056      others at IBM]
4057
4058   *) Fix problems with handling of UNC names (e.g., \\host\path)
4059      on Win32.  [Ken Parzygnat <kparz@us.ibm.com>]
4060
4061   *) Rework os_canonical_*() on Win32 so it's simpler, more
4062      robust, and works.  [Ken Parzygnat <kparz@us.ibm.com>]
4063      PR#2555, 2915, 3064, 3232
4064
4065   *) Work around incomplete implementation of strftime on Win32.
4066      [Manoj Kasichainula, Ken Parzygnat <kparz@us.ibm.com>]
4067
4068   *) Move a typedef to fix compile problems on Linux with 1.x kernels.
4069      [Manoj Kasichainula] PR#3177
4070
4071   *) PORT: Add a port to the Concurrent PowerMAX OS. [Tom Horsley
4072      <Tom.Horsley@mail.ccur.com>]
4073
4074   *) WIN32: Log more explicit error messages if spawning an interpreted 
4075      script failed, including the command line used to attempt to execute 
4076      the interpreter and the Win32 error code returned.  [Marc Slemko]
4077
4078   *) Disable sending of error-notes on a 500 (Internal Server Error) response
4079      since it often includes file path info.  Enable sending of error-notes
4080      on a 501 (Method Not Implemented).  [Roy Fielding] PR#3173
4081
4082   *) http_config.c would respond with 501 (Method Not Implemented) if a
4083      content type handler was specified but could not be found, which
4084      should have been a 500 response.  Likewise, mod_proxy.c would responsd
4085      with a 501 if the URI scheme is unrecognized instead of the correct
4086      response of 403 (Forbidden).  [Roy Fielding]
4087
4088   *) SECURITY: Eliminate DoS attack when a bad URI path contains what
4089      looks like a printf format escape.  [Marc Slemko, Studenten Net Twente]
4090
4091   *) Fix in mod_autoindex: for files where the last modified time stamp was
4092      unavailable, an empty string was printed which was 2 bytes short.
4093      The size and description columns were therefore not aligned correctly.
4094      [Martin Kraemer] (no PR#)
4095
4096   *) Update BS2000 OS code to work with recent versions. Starting with
4097      release A17, the child fork() must be replaced by a _rfork().
4098      (BS2000 only) [Martin Kraemer]
4099
4100   *) Add the actual server_rec structure of the specific Vhost to the
4101      scoreboard file and avoid a string copy (as well as allow some
4102      further future enhancements). [Harrie Hazewinkel
4103      <harrie.hazewinkel@jrc.it>]
4104
4105   *) Add APACI --permute-module=foo:bar option which can be used to
4106      on-the-fly/batch permute the order of two modules (mod_foo and mod_bar)
4107      in the Configuration[.apaci] file. Two special and important variants are
4108      supported for the option argument: first BEGIN:foo which permutes module
4109      mod_foo with the begin of the module list, i.e. it `moves' the module to
4110      the begin of the list (gives it lowest priority).  And second foo:END
4111      which permutes mod_foo with the end of the module list, i.e. it `moves'
4112      the module to the end of the list (gives it highest priority). 
4113      [Ralf S. Engelschall]
4114
4115   *) Fix problem with 'apache -k shutdown' and startup event
4116      synchronisation (Win32).  [Ken Parzygnat <kparz@raleigh.ibm.com>]
4117      PR#3255
4118
4119   *) The config parser wasn't correctly noticing a missing '>'
4120      on container start lines (e.g., it wouldn't spot
4121      "<Directory /" as a syntax error).  [Ryan Bloom <rbbloom@us.ibm.com>]
4122      PR#3279
4123
4124   *) Add a 'RemoveHandler' directive which will selectively remove
4125      all handler associations for the specified file extensions.
4126      [Ryan Bloom <rbbloom@us.ibm.com>] PR#1799.
4127
4128   *) Properly handle & allow "nul" and ".*/null" in AccessConfig and
4129      ResourceConfig directives on Win32.  Also add a note to the effect
4130      of 'useless User directive ignored on Win32' to the errorlog if
4131      a User directive is encountered on Win32.
4132      [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2078, 2303.
4133
4134   *) Fix multiple whitespace handling in imagemaps for mod_imap which was
4135      broken since Apache 1.3.1 where we took out compressing of multiple
4136      spaces in ap_cfg_getline().
4137      [Ivan Richwalski <ivan@seppuku.net>] PR#3249
4138
4139   *) Fix Berkeley-DB/2.x support in mod_auth_db: The data structures were not
4140      initialized correctly and the db_open() call used an invalid mode
4141      parameter. [Ron Klatchko <ron@ckm.ucsf.edu>] PR#3171
4142
4143   *) PORT: DSO support for UnixWare 7
4144      [Ralf S. Engelschall, Ron Record <rr@sco.com>]
4145
4146   *) Merge the contents of the {srm,access}.conf-dist* files into the
4147      httpd.conf-dist* files.  The srm and access files now contain
4148      only comments, and httpd.conf has all the combined contents in
4149      a rational order.  [Ken Coar]
4150
4151   *) PORT: DSO/ELF support for FreeBSD 3.0.
4152      [Ralf S. Engelschall, Dirk Froemberg <ibex@physik.TU-Berlin.DE>]
4153   
4154   *) Add a "default-handler" handler that calls the default_hander()
4155      function which is normally called for static content.  This allows
4156      you to override a specific handler.  [Marc Slemko]
4157
4158   *) Further simplify checking for absolute paths by replacing an
4159      hard-coded syntax check with a call to a routine we already created to
4160      do this.  [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2976, 3074
4161
4162   *) Log an error if we encounter a malformed "require" directive 
4163      in mod_auth if we know that we know that no other module can
4164      deal with it.  [Marc Slemko]
4165
4166   *) Remove ap_private_extern method of hiding conflicting symbols
4167      on the NEXT platform because it is not correct for all versions,
4168      and the versions for which it is correct are unknown.
4169      [Wilfredo Sanchez <wsanchez@apple.com>]
4170
4171   *) Fix inheritance of IndexOptions NameWidth and remove unintended
4172      restriction on +NameWidth, +IconHeight, and +IconWidth.  [Ken Coar]
4173
4174   *) Fix per-directory config merging for cases in which a 500 error
4175      is encountered in an .htaccess file somewhere down the tree.
4176      [Ken Coar]  PR#2409
4177
4178   *) Minor performance improvement to ap_escape_html(). [Roy Fielding]
4179
4180   *) Fixed a segmentation violation in mod_proxy when a response is
4181      non-cachable.  [Roy Fielding, traced by Doug Bloebaum]. PR#2950, 3056
4182
4183 Changes with Apache 1.3.3
4184
4185   *) Added a complete implementation of the Expect header field as
4186      specified in rev-05 of HTTP/1.1.  Disabled the 100 Continue
4187      response when we already know the final status, which is mighty
4188      useful for PUT responses that result in 302 or 401. [Roy Fielding]
4189
4190   *) Remove extra trailing whitespace from the getline results as part
4191      of the protocol processing, which is extra nice because it works
4192      between continuation lines, is almost no cost in the normal case
4193      of no extra whitespace, and saves memory. [Roy Fielding]
4194
4195   *) Added new HTTP status codes and default response bodies from the
4196      revised HTTP/1.1 (307, 416, 417), WebDAV (102, 207, 422, 423), and 
4197      HTTP Extension Framework (510) specifications.  Did not add the
4198      WebDAV 424 and 425 codes because they are bogus.  We don't use any
4199      of these codes yet, but they are now available to 3rd-party modules.
4200      [Roy Fielding]
4201
4202   *) Fix a possible race condition between timed-out requests and the
4203      ap_bhalfduplex select that might result in an infinite loop on
4204      platforms that do not validate the descriptor. [Roy Fielding]
4205
4206   *) WIN32: Add "-k shutdown" and "-k restart" options to signal a
4207      running Apache server [Paul Sutton]
4208
4209   *) Fix mod_autoindex bug where directories got a size of "0k" instead
4210      of "-".  [Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>, Marc Slemko]
4211      PR#3130
4212
4213   *) PORT: DRS 6000 machine. [Paul Debleecker <pdebleecker@jetair.be>]
4214
4215   *) Add the server signature text (from the core ServerSignature directive)
4216      to the list of envariables available to scripts, SSI, and the like.
4217      [Ken Coar]
4218
4219   *) PORT: Fix sys/resource.h handling for SCO 3.x platform.
4220      [M. Laak <maert@proinv.ee>] PR#3108
4221  
4222   *) Fallback from sysconf-based to plain HZ-based `ticks per second'
4223      calculation in mod_status for all systems which don't have POSIX
4224      sysconf() (like UTS 2.1) and not only for the NEXT platform.
4225      [Dave Dykstra <dwd@bell-labs.com>] PR#3055
4226
4227   *) Fix `require ...' directive parsing in mod_auth, mod_auth_dbm and
4228      mod_auth_db by using ap_getword_white() (which uses ap_isspace()) 
4229      instead of ap_getword(..., ' ') (which parses only according to spaces 
4230      but not tabs).  [James Morris <jmorris@intercode.com.au>, 
4231      Ralf S. Engelschall] PR#3105
4232
4233   *) Fix the SERVER_NAME variable under sub-request situations (where
4234      `UseCanonicalName off' is used) like CGI's called from SSI pages or
4235      RewriteCond variables by adopting r->hostname to sub-requests.
4236      [James Grinter <jrg@blodwen.demon.co.uk>] PR#3111
4237
4238   *) Fix stderr redirection under syslog-based error logging situation.
4239      [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#3095
4240
4241   *) Document `ErrorLog syslog:facility' variant of error logging.
4242      [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#3096
4243
4244   *) Fix http://localhost/ hints in top-level INSTALL document.
4245      [Rob Jenson <robjen@spotch.com>, Ralf S. Engelschall] PR#3088
4246
4247   *) Quote paths in default configuration files.  [Wilfredo Sanchez]
4248
4249   *) PORT: Remove extra HAVE_SYS_RESOURCE_H define for RHAPSODY since
4250      it is now taken care of properly by the header file tests.
4251      [Wilfredo Sanchez <wsanchez@apple.com>]
4252
4253   *) Fix problem with scripts and filehandle inheritance on Win32.
4254      [Ken Parzygnat <kparz@raleigh.ibm.com>]  PR#2884, 2910
4255
4256   *) Win32 name canonicalisation could end up using the server's
4257      working directory to fill in some blanks.  [Ken Parzygnat
4258      <kparz@raleigh.ibm.com>] PR#3001
4259
4260   *) Correct invalid assumption by ap_sub_req_lookup_file() that all
4261      absolute paths begin with "/" -- because they don't on Win32.
4262      [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2976, 3074
4263
4264   *) Add [REDIRECT_]VARIANTS environment variable to mod_speling
4265      so that ErrorDocument 300 processors can reformat the list
4266      if desired.  [Ken Coar] PR#2859
4267
4268   *) Add +/- incremental prefixes to IndexOptions keywords, and
4269      enable merging of multiple IndexOptions directives.  [Ken Coar]
4270
4271   *) PORT: Allow GuessOS to recognize Unixware 7.0.1 [Steve Cameron
4272      <steve.cameron@compaq.com>]
4273
4274   *) Reconstructed the loop through multiple htaccess file names so
4275      that missing files are not confused with unreadable files.
4276      [Roy Fielding]
4277
4278   *) The ap_pfopen and ap_pfdopen routines were failing to protect the
4279      errno on an error, which leads to one error being mistaken for
4280      another when reading non-existent .htaccess files.
4281      [Jim Jagielski]
4282
4283   *) OS/2: The new header tests get things right, need to update
4284      ap_config.h.  [Brian Havard]
4285
4286   *) The Perl %ENV hash will now be setup by default when using the
4287      mod_include `perl' command [Doug MacEachern]
4288
4289   *) PORT: Add Pyramid DC/OSx support to configuration mechanism.
4290      [Earle Ake <akee@wpdiss1.wpafb.af.mil>]
4291
4292   *) PORT: Fix sys/resource.h handling for Amdahl's UTS 2.1
4293      [Dave Dykstra <dwd@bell-labs.com>] PR#3054
4294
4295   *) Correct comment in mod_log_config.c about its internals.
4296      [Elf Sternberg <elf@halcyon.com>]
4297
4298   *) Avoid possible line overflow in Configure: Use an awkfile to
4299      handle the creation of modules.c [Jim Jagielski]
4300
4301 Changes with Apache 1.3.2
4302
4303   *) Fix bug in ap_remove_module(), which caused problems for dso's 
4304      who were the top_module.  [Doug MacEachern]
4305
4306   *) Add support for Berkeley-DB/2.x (in addition to Berkeley-DB/1.x) to
4307      mod_auth_db to both be friendly to users who wants to use this version
4308      and to avoid problems under platforms where only version 2.x is present.
4309      [Dan Jacobowitz <drow@false.org>, Ralf S. Engelschall]
4310
4311   *) When using ap_log_rerror(), make the error message available to the
4312      *ERROR_NOTES envariables by default.  [Ken Coar]
4313
4314   *) BS2000 platform only: get rid of the nasty BS2000AuthFile.
4315      You now must define a BS2000Account name for the server User.
4316      This has fewer security implications than the old approach.
4317      [Martin Kraemer]
4318
4319   *) Fix SHARED_CORE feature for HPUX platform: We now use extension `.sl'
4320      instead of `.so' and `SHLIB_PATH' instead of `LD_LIBRARY_PATH' on this
4321      platform to make the braindead HPUX linker happy. Notice, for the module
4322      DSOs we don't have to use this, because these are loaded manually (and
4323      not via HPUX' dld). [Ralf S. Engelschall] PR#2905, PR#2968
4324
4325   *) Remove 64 thread limit on Win32.
4326      [Bill Stoddard <stoddard@raleigh.ibm.com>]
4327
4328   *) Remove redundant substitutions in top-level Makefile.tmpl.
4329      [Ralf S. Engelschall]
4330
4331   *) Fix APACI's `Group' configuration adjustment - especially for Linux
4332      platforms where `nogroup' exists in /etc/group. [Ralf S. Engelschall]
4333  
4334   *) Make PrintPath work generically instead of having one version
4335      strictly for OS/2. [Jim Jagielski, Brian Havard]
4336
4337   *) Fix the recently introduced C header file checking: We now use the C
4338      pre-processor pass only (and no longer the complete compiler pass) to
4339      determine whether a C header file exists or not. Because only this way
4340      we're safe against inter-header dependencies (which caused horrible
4341      portability problems). The only drawback is that we now have a CPP
4342      configuration variable which has to be determined first (we do a similar
4343      approach as GNU Autoconf does here). When all fails the user still has
4344      the possibility to override it manually via APACI or src/Configuration.
4345      As a fallback for the header check itself we can directly check the
4346      existance of the file under /usr/include, too.
4347      [Ralf S. Engelschall] PR#2777
4348
4349   *) PORT: Added RHAPSODY (Mac OS X Server) support. MAP_TMPFILE defined
4350      as an alternate mechanism for mmap'd shared memory for RHAPSODY.
4351      ap_private_extern defined to hide symbols that conflict with loaded
4352      dynamic libraries on the NEXT and RHAPSODY platforms.
4353      [Wilfredo Sanchez <wsanchez@apple.com>]
4354
4355   *) Delete PID file on clean shutdowns.
4356      [Charles Randall <crandall@matchlogic.com>] PR#2947
4357
4358   *) Fix mod_auth_*.html documents: NSCA -> NCSA
4359      [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#2991
4360
4361   *) Fix INSTALL document: www.gnu.ai.mit.edu -> www.gnu.org
4362      [Karl Berry <karl@gnu.org>] PR#2994
4363
4364   *) Fix dbmmanage.1 manual page.
4365      [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#2992
4366      
4367   *) Fix possible buffer overflow situation in suexec.c.
4368      [Jeff Stewart <jws@purdue.edu>] PR#2790
4369
4370   *) Add some more LIBS for the SCO5 platform which are needed for the already
4371      used -lprot. It's actually a bug in SCO5, of course.
4372      [Ronald Record <rr@sco.com>] PR#2533
4373
4374   *) Fix documentation of ProxyPass/ProxyPassReverse according to the
4375      trailing slash problem. [Jon Drukman <jsd@gamespot.com>] PR#2933
4376   
4377   *) Remove `-msym' option from LDFLAGS_SHLIB for the Digital UNIX (OSF/1)
4378      platform, because it's only supported under version 4.0 and higher. But
4379      because our GuessOS is still unaware of Digital UNIX versions and the
4380      -msym is just to optimize the DSO statup time a little bit it's safe and
4381      best when we leave it out now.  [Ralf S. Engelschall] PR#2969
4382
4383   *) Fix the ap_log_error_old(), ap_log_unixerr() and ap_log_printf()
4384      functions: First all three functions no longer fail on strings containing
4385      "%" chars and second ap_log_printf() no longer does a double-formatting
4386      (instead it directly passes through the message to be formatted to the
4387      real internal formatting function). [Ralf S. Engelschall] PR#2941
4388
4389   *) Allow "Include" directives anywhere in the server config
4390      files (but not .htaccess files).  [Ken Coar] PR#2727
4391
4392   *) The proxy was refusing to serve CONNECT requests except to
4393      port 443 (https://) and 563 (snews://). The new AllowCONNECT
4394      directive allows the configuration of the ports to which a
4395      CONNECT is allowed.  [Sameer Parekh, Martin Kraemer]
4396
4397   *) mod_expires will now act on content that is not sent from a file
4398      on disk.  Previously it would never add an Expires: header to
4399      any response that did not come from a file on disk; the only
4400      case where it still doesn't (and can't) add one for that type of 
4401      content is if you are using a modification date based setting.  
4402      [Marc Slemko, Paul Phillips <paulp@go2net.com>]
4403
4404   *) Problems encountered during .htaccess parsing or CGI execution
4405      that lead to a "500 Server Error" condition now provide explanatory
4406      text (in the *ERROR_NOTES envariable) to ErrorDocument 500 scripts.
4407      [Ken Coar] PR#1291
4408
4409   *) Add NameWidth keyword to IndexOptions directive so that the
4410      width of the filename column is customisable.  [Ken Coar, Dean Gaudet]
4411      PR#1949, 2324.
4412
4413   *) Recognize lowercase _and_ uppercase `uname' results under
4414      SCO OpenServer. [David Coelho <drc@ppt.com>]
4415
4416   *) As duplicate "HTTP/1.0 200 OK" lines within the header seem to be
4417      a common problem of (mis-administrated?) IIS servers, make the apache
4418      proxy immune to these errors (and ignore the duplicates, but log
4419      the fact to error_log). [Martin Kraemer], after the proposal in PR#2914 
4420      
4421   *) The <IfModule and <IfDefine block starting directives now only
4422      allow exactly one argument. Previously, the optional negation
4423      character '!' could be separated by whitespace without a syntax
4424      error being reported, albeit defeating the IfModule functionality
4425      (enclosed directives would ALWAYS be executed). By using the
4426      stricter syntax, these hard-to-track errors can be avoided.
4427      [Martin Kraemer]
4428
4429   *) Simplify handling of IndexOptions in mod_autoindex -- and BTW
4430      cause the standalone FancyIndexing directive to logically OR
4431      into any existing IndexOptions settings rather than wiping
4432      them out.  [Ken Coar]
4433
4434   *) Changes in ftp proxy: make URL parsing simpler by using the
4435      parsed_uri stuff.
4436      + Add display of the "current directory" in cases where it's
4437      different from the supplied path (e.g., ftp://user@host/ lives
4438      in /home/user, not in /, therefore clicking on "../" in the
4439      starting directory might send us to /home/).
4440      + When ftp login fails, (esp. when a user name was part of the
4441      URL already), we now return [401 Unauthorized ] to allow the
4442      browser to pop up an authorization dialog. This makes passwords
4443      slightly less visible (they don't appear in the regular log files)
4444      and implements a functionality that other www proxy servers
4445      already offered.
4446      [Martin Kraemer]
4447
4448   *) Triggered by the recent "Via:" header changes, the proxy module would
4449      dump core for replies with invalid headers (e.g., duplicate
4450      "HTTP/1.0 200 OK" lines). These errors are now logged and the
4451      core dump is avoided. Also, broken replies are not cached.
4452      [Martin Kraemer] PR#2914
4453
4454   *) new `GprofDir' directive when compiled with -DGPROF, where gprof can
4455      plop gmon.out profile data for each child [Doug MacEachern]
4456    
4457   *) Use the construct ``"$@"'' instead of ``$*'' in the generated
4458      config.status script to be immune against arguments with whitespaces.
4459      [Yves Arrouye <yves@apple.com>] PR#2866
4460
4461   *) Replace the inlined information grabbing stuff for the configuration
4462      adjustment feature (no --without-confadjust) with calls to a new helper
4463      script `buildinfo.sh' which is both more flexible and already proofed to
4464      be more robust against platform differences. This mainly fixes the
4465      recently occured ``sed: command garbled: ...'' problems.
4466      [Ralf S. Engelschall] PR#2776, PR#2848
4467
4468   *) Make ab.c again pass ``gcc -Wall -Wshadow -Wpointer-arith -Wcast-align
4469      -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''
4470      without complains after we recently added the POST feature.
4471      [Ralf S. Engelschall]
4472
4473   *) Renamed is_HTTP_xxx() macros to ap_is_HTTP_xxx() name. They are used inside
4474      modules as API functions and we forgot them at the big symbol renaming.
4475      [Ralf S. Engelschall]
4476
4477   *) Remove bad reference to non-existing SERVER_VERSION in mod_rewrite.html
4478      [Youichirou Koga <y-koga@jp.FreeBSD.ORG>] PR#2895
4479
4480   *) Dynamically size the filename column of mod_autoindex output.
4481      [Dean Gaudet]
4482
4483   *) Add the ability to do POST requests to the ab benchmarking tool.
4484      [Kurt Sussman <kls@best.com>] PR#2871
4485
4486   *) Bump up MAX_ENV_FLAGS in mod_rewrite.h from the too conservatice limit of
4487      5 to 10 because there are some users out there who always have 5 to 8
4488      variables in one RewriteRule and had to patch mod_rewrite.h for every
4489      release. So 15 should be now more than enough, even for them. (I never
4490      needed more than 4 in my RewriteRules ;-)
4491      [Ralf S. Engelschall]
4492
4493   *) Make the proxy generate and understand Via: headers
4494      [Martin Kraemer]
4495
4496   *) Change the proxy to use tables instead of array_headers for
4497      the header lines. [Martin Kraemer]
4498
4499   *) Make sure the config.status file is not overridden when just
4500      ``configure --help'' is used. [Ralf S. Engelschall] PR#2844
4501
4502   *) Split MODULE_MAGIC_NUMBER into _MAJOR/_MINOR numbers. This should
4503      provide a way to trace API changes that add functionality but do
4504      not create a compatibility issue for precompiled modules, etc.
4505      See include/ap_mmn.h for more details.  [Randy Terbush]
4506
4507   *) Fix suexec installation under `make install root=xxx' situation.
4508      [Ralf S. Engelschall]
4509
4510   *) Extend the output of the -V switch to include the paths of all
4511      compiled-in configuration files, if they were overridden at
4512      compile time, for least astonishment of the user.
4513      [Martin Kraemer]
4514
4515   *) When READing a request in ExtendedStatus mode, the "old"
4516      vhost, request and client information is not displayed.
4517      [Jim Jagielski]
4518
4519   *) STATUS is no longer available. Full status information now
4520      run-time configurable using the ExtendedStatus directive.
4521      [Jim Jagielski]
4522
4523   *) SECURITY: Eliminate O(n^2) space DoS attacks (and other O(n^2)
4524      cpu time attacks) in header parsing.  Add ap_overlap_tables(),
4525      a function which can be used to perform bulk update operations
4526      on tables in a more efficient manner.  [Dean Gaudet]
4527
4528   *) SECURITY: Added compile-time and configurable limits for
4529      various aspects of reading a client request to avoid some simple
4530      denial of service attacks, including limits on maximum request-line
4531      size (LimitRequestLine), number of header fields (LimitRequestFields),
4532      and size of any one header field (LimitRequestFieldsize).  Also added
4533      a configurable directive LimitRequestBody for limiting the size of the
4534      request message body.  [Roy Fielding]
4535
4536   *) Make status module aware of DNS and logging states, even if
4537      STATUS not defined.  [Jim Jagielski]
4538
4539   *) Fix a problem with the new OS/2 mutexes.  [Brian Havard]
4540
4541   *) Enhance mod_speling so that CheckSpelling can be used in
4542      <Directory> containers and .htaccess files.  [Ken Coar]
4543
4544   *) API: new ap_custom_response() function for hooking into the
4545      ErrorDocument mechanism at runtime [Doug MacEachern]
4546
4547   *) API: new ap_uuencode() function [Doug MacEachern]
4548
4549   *) API: scan_script_header_err_core() now "public" and renamed
4550      ap_scan_script_header_err_core() [Doug MacEachern]
4551
4552   *) The 'status' module will now show the process pid's and their
4553      state even without full STATUS accounting. [Jim Jagielski]
4554
4555   *) Restore the client IP address to the error log messages, this
4556      was lost during the transition from 1.2 to 1.3.  Add a new
4557      function ap_log_rerror() which takes a request_rec * and
4558      formats it appropriately.  [Dean Gaudet] PR#2661
4559
4560   *) Cure ap_cfg_getline() of its nasty habit of compressing internal
4561      whitespace in input lines -- including within quoted strings.
4562      [Ken Coar]
4563      but leading and trailing whitespace should continue to be
4564      stripped [Martin Kraemer]
4565
4566   *) Cleanup of the PrintPath/PrintPathOS2 helper functions. Avoid
4567      the ugly use of an env. variable and use command-line args for
4568      alternate $PATH. Make more like advanced 'type's as well.
4569      [Jim Jagielski]
4570
4571   *) The IRIXN32 Rule was being ignored. Configure now correctly adds
4572      -n32 only if IRIXN32 says to. [Jim Jagielski, Alain St-Denis
4573      <alain.st-denis@ec.gc.ca>] PR#2736
4574
4575   *) Clean up a warning in mod_proxy. [Ralf S. Engelschall]
4576
4577   *) Renamed __EMX__ (internal define of the gcc port under OS/2) to OS2
4578      following the same idea as "MSVC vs WIN32". Additionally the src/os/emx/
4579      directory was renamed to src/os/os2/ for consistency.
4580      [Brian Havard, Ralf S. Engelschall]
4581
4582   *) Add new Rule SHARED_CHAIN which can be used to enable linking of DSO
4583      files (here modules) against other DSO files (here shared libraries).
4584      This is done by determining a subset of LIBS which can be safely used for
4585      linking the DSOs, i.e. PIC libs and shared libs.  Currently the rule is
4586      disabled for all platforms to avoid problems with this (experimental)
4587      rule. But we provide it now for those people how ran into problems and
4588      want to came out by forcing linking against DSOs.
4589      [Ralf S. Engelschall] PR#2587
4590
4591   *) Fix suEXEC start message: Has to be of `notice' level to really get
4592      printed together with the standard startup message because the `notice'
4593      level is handled special inside ap_log_error() for startup messages.
4594      [Ralf S. Engelschall] PR#2761 PR#2761 PR#2765
4595
4596   *) Add correct `model' MIME types from RFC2077 to mime.types file.
4597      [Ralf S. Engelschall] PR#2732
4598
4599   *) Fixed examples in mod_rewrite.html document. 
4600      [Youichirou Koga <y-koga@jp.FreeBSD.org>, Ralf S. Engelschall] PR#2756
4601
4602   *) Allow ap_read_request errors to propagate through the normal request
4603      handling loop so that the connection can be properly closed with
4604      lingering_close, thus avoiding a potential TCP reset that would
4605      cause the client to miss the HTTP error response.  [Roy Fielding]
4606
4607   *) One more portability fix for APACI shadow tree support: Swap order of awk
4608      and sed in top-level configure script to avoid sed fails on some
4609      platforms (for instance SunOS 4.1.3 and NCR SysV) because of the
4610      non-newline-termined output of Awk. [Ralf S. Engelschall] PR#2729
4611
4612   *) PORT: NEC EWS4800 support.
4613      [MATSUURA Takanori <t-matsuu@protein.osaka-u.ac.jp>]
4614
4615   *) Fix a segfault in the proxy on OS/2.  [Brian Havard]
4616
4617   *) Fix Win32 part of ap_spawn_child() by providing a reasonable child_info
4618      structure instead of just NULL. This fixes at least the RewriteMap
4619      programs under Win32. [Marco De Michele <mdemichele@tin.it>] PR#2483
4620
4621   *) Add workaround to top-level `configure' script for brain dead 
4622      `echo' commands which interpet escape sequences per default.
4623      [Ralf S. Engelschall] PR#2654
4624
4625   *) Make sure that the path to the Perl interpreter is correctly
4626      adjusted under `make install' also for the printenv CGI script.
4627      [Ralf S. Engelschall] PR#2595
4628  
4629   *) Update the mod_rewrite.html document to correctly reflect the situation
4630      of the `proxy' (`[P]') feature. [Ralf S. Engelschall] PR#2679
4631
4632   *) Fix `install-includes' sub-target of `install' target in top-level
4633      Makefile.tmpl: The umask+cp approach didn't work as expected (especially
4634      for users which extracted the distribution under 'umask 077'), so replace
4635      it by an explicit cp+chmod approach.
4636      [Richard Lloyd, Curt Sampson, Ralf S. Engelschall] PR#2656 PR#2626
4637  
4638   *) Fix `distclean' and `clean' targets in src/Makefile.tmpl to have same
4639      behavior and to cleanup correctly even under enabled SHARED_CORE rule.
4640      [Ralf S. Engelschall]
4641
4642   *) Use a more straight forward and thus less problematic Sed command in
4643      src/helper/mkdir.sh script.  [Ralf S. Engelschall]
4644
4645   *) Make sure the `configure' scripts doesn't fail when trying to guess the
4646      domainname of the machine and there are multiple `domainname' and
4647      `search' entries in /etc/resolv.conf.
4648      [Ralf S. Engelschall] PR#2710
4649
4650   *) Add note about the SHARED_CORE requirement on some platforms also to the
4651      INSTALL file because a lot of users don't read htdocs/manual/dso.html
4652      first. [Ralf S. Engelschall] PR#2701
4653
4654   *) Fix document "hyperlink" for dso.html in src/Configuration.tmpl
4655      [Knut A.Syed <Knut.Syed@nhh.no>] PR#2674
4656
4657   *) Modify mod_rewrite to update the Vary response field if the URL rewriting
4658      engine does any manipulations or decisions based upon request fields. 
4659      [Ken Coar] PR#1644
4660
4661   *) Document the special APACI behavior for installation paths where
4662      ``/apache'' is appended to paths under some (well defined, of course)
4663      situations to prevent pollution of system locations with Apache files.
4664      [Ralf S. Engelschall] PR#2660
4665
4666   *) Fixed problem with buffered response message not being sent for
4667      the read_request error conditions of URI-too-long (414) and
4668      malformed header fields (400).  [Roy Fielding] PR#2646
4669
4670   *) Add support for the Max-Forwards: header line required by RFC2068 for
4671      the TRACE method. This allows apache to TRACE along a chain of proxies
4672      up to a predetermined depth. [Martin Kraemer]
4673
4674   *) Fix SHARED_CORE rule: The CFLAGS_SHLIB variable is no longer doubled
4675      (compilers complained) and the .so.V.R.P filename extension was adjusted
4676      to correctly reflect the 1.3.2 version.
4677      [Ralf S. Engelschall] PR#2644
4678
4679   *) SECURITY: Plug "..." and other canonicalization holes under OS/2.
4680      [Brian Havard]
4681   
4682   *) PORT: implement serialized accepts for OS/2.  [Brian Havard]
4683
4684   *) mod_include had problems with the fsize and flastmod directives
4685      under WIN32.  Fix also avoids the minor security hole of using
4686      ".." paths for fsize and flastmod.
4687      [Manoj Kasichainula <manojk@raleigh.ibm.com>] PR#2355
4688
4689   *) Fixed some Makefile dependency problems.  [Dean Gaudet]
4690
4691 Changes with Apache 1.3.1
4692
4693   *) Disable the incorrect entry for application/msword in the 
4694      mod_mime_magic "magic" file because it also matches other Office
4695      documents.  [Ralf S. Engelschall] PR#2608
4696
4697   *) Fix broken RANLIB handling in src/Configure (the entry from
4698      src/Configuration.tmpl was ignored) and additionally force RANLIB to
4699      /bin/true under HP/UX where ranlib exists but is deprecated.
4700      [Ralf S. Engelschall] PR#2627
4701      
4702   *) 'apachectl status' failed on some systems.
4703      [Steve VanDevender <stevev@darkwing.uoregon.edu>, Lars Eilebrecht] PR#2613
4704
4705   *) Add new flags for ap_unparse_uri_components() to make it generate
4706      the scheme://sitepart string only, or to omit the query string.
4707      [Martin Kraemer]
4708
4709   *) WIN32: Canonicalize ServerRoot before checking to see if it
4710      is a valid directory.  The failure to do this caused certain
4711      ServerRoot settings (eg. "ServerRoot /apache") to be improperly
4712      rejected.  [Marc Slemko]
4713
4714   *) Global renaming of C header files to both get rid of conflicts with third
4715      party packages and to again reach consistency:
4716        1. conf.h      -> ap_config.h
4717        2. conf_auto.h -> ap_config_auto.h \ these are now merged
4718        3. ap_config.h -> ap_config_auto.h / in the config process
4719        4. compat.h    -> ap_compat.h
4720        5. apctype.h   -> ap_ctype.h
4721      Backward compatibility files for conf.h and compat.h were created.
4722
4723   *) mod_mmap_static will no longer take action on requests unless at 
4724      least one "mmapfile" directive is present in the configuration. 
4725      This experimental module has to do some black magic to operate 
4726      inside the current API and thus creates side-effects for other 
4727      modules under some circumstances.
4728      [Ralf S. Engelschall]
4729  
4730   *) Add conservative ticks around more egrep arguments in top-level configure
4731      to avoid problems under brain-dead platforms like Digital UNIX (OSF1).
4732      [Ralf S. Engelschall] PR#2596
4733
4734   *) mod_rewrite created RewriteLock files under the UID of the parent
4735      process, thus the child processes had no write access to the files.
4736      Now a chown() is done on the file to the uid of the children,
4737      if applicable.  [Lars Eilebrecht, Ralf S. Engelschall] PR#2341
4738
4739   *) Autogenerate some HAVE_XXXXX_H defines in conf_auto.h (determined via
4740      TestCompile) instead of defining them manually in conf.h based on less
4741      accurate platform definitions.  This way we no longer have to fiddle with
4742      OS-type and/or OS-version identifiers to discover whether a system header
4743      file exists or not.  Instead we now directly check for the existence of
4744      those esoteric ones. 
4745      [Ralf S. Engelschall] PR#2093, PR#2361, PR#2377, PR#2434,
4746                            PR#2524, PR#2525, PR#2533, PR#2569
4747
4748   *) mod_setenvif (BrowserMatch* and friends) will now match a missing
4749      field with "^$".  [Ken Coar]
4750
4751   *) Set the RTLD_GLOBAL dlopen mode parameter to allow dynamically loaded
4752      modules to load their own modules dynamically.  This improves mod_perl
4753      and mod_php3 when these modules are loaded dynamically into Apache.
4754      [Rasmus Lerdorf]
4755
4756   *) Cache a proxied request in the event that the client cancels the
4757      transfer, provided that the configured percentage of the file has
4758      already been transfered. It works for HTTP transfers only.  The 
4759      new configuration directive is called CacheForceCompletion. 
4760      [Glen Parker <glenebob@nwlink.com>] PR#2277
4761
4762   *) Add the "<!DOCTYPE HTML" magic cookie used by modern documents (and
4763      required by HTML 3.2 and later) to mod_mime_magic's conf/magic.
4764      [Anna Shergold <anna@inext.co.uk>]
4765
4766   *) Fix yet another signal-based race condition involving nested timers.
4767      Signals suck.  [Dean Gaudet]
4768
4769   *) suexec's error messages have been clarified a little bit.  [Ken Coar]
4770
4771   *) Clean up some, but perhaps not all, 8-bit character set problems
4772      with config file parsing, and URL parsing.  We now define
4773      ap_isdigit(), ap_isupper(), ... which cast to an (unsigned char).
4774      This should work on most modern unixes.
4775      [Dean Gaudet] PR#800, 2282, 2553  (and others)
4776
4777   *) The "handler not found" error was issued in cases where the handler
4778      really did exist, but was just declining to serve the request.
4779      [John Van Essen <jve@gamers.org>] PR#2529
4780
4781   *) Add Dynamic Shared Object (DSO) support for SCO5 (OpenServer 5.0.x).
4782      [Ronald Record <rr@sco.com>] PR#2533
4783
4784   *) The APACI libexecdir was not extended with an "apache/" subdir
4785      if the installation prefix didn't already contain "apache", but
4786      it should be because the DSO files are Apache-specific.  Now
4787      libexecdir is treated the same way sysconfdir, datadir, localstatedir
4788      and includedir are already treated.
4789      [Charles Levert <charles@comm.polymtl.ca>] PR#2551
4790
4791   *) The <Limit> parsing routine was incorrectly treating methods as
4792      case-insensitive.  [Ken Coar]
4793
4794   *) The ap_bprintf() code neglected to test if there was an error on
4795      the connection.  ap_bflush() misdiagnosed a failure as a success.
4796      [Dean Gaudet]
4797
4798   *) add support for #perl arg interpolation in mod_include
4799      [Doug MacEachern]
4800
4801   *) API: Name changes of table_elts to ap_table_elts, is_table_empty
4802      to ap_is_table_empty and bgetflag to ap_bgetflag. [Ben Laurie]
4803
4804   *) PORT: Add UnixWare 7 support
4805      [Vadim Kostoglodoff <vadim@olly.ru>] PR#2463
4806
4807   *) Fix the Guess-DSO-flags-from-Perl stuff in src/Configure: "perl" was
4808      used instead of "$PERL" which contains the correctly determined Perl
4809      interpreter (important for instance on systems where "perl" and "perl5"
4810      exists, like BSDI or FreeBSD, etc).
4811      [Ralf S. Engelschall] PR#2505
4812
4813   *) Move the initial suEXEC-related startup message from plain
4814      fprintf()/stderr to a delayed ap_log_error()-based one to avoid problems
4815      when Apache is started from inetd (instead of standalone). Under this
4816      situation startup messages on stderr lead to problems (the line is sent
4817      to the client in front of the requested document).
4818      [Ralf S. Engelschall] PR#871, PR#1318
4819
4820   *) Add a flag so ap_fnmatch() can be used for case-blind pattern matching.
4821      [Ken Coar, Dean Gaudet]
4822
4823   *) WIN32: Don't collapse multiple slashes in PATH_INFO.
4824      [Ben Laurie, Bill Stoddard <wgstodda@us.ibm.com>] PR#2274
4825
4826   *) WIN32 SECURITY: Eliminate trailing "."s in path components. These are
4827      ignored by the Windows filesystem, and so can be used to bypass security.
4828      [Ben Laurie, Alexei Kosut].
4829
4830   *) We now attempt to dump core when we get SIGILL. [Jim Jagielski]
4831
4832   *) PORT: remove broken test for MAP_FILE in http_main.c.
4833      [Wilfredo Sanchez <wsanchez@apple.com>]
4834
4835   *) PORT: Change support/apachectl to use "kill -0 $pid" to test if the
4836      httpd is running.  This should be more portable than figuring out
4837      which of three dozen different versions of "ps" are installed.
4838      [a cast of dozens]
4839
4840   *) WIN32: If we can't figure out how to execute a file in a script
4841      directory, bail out of the request with an error message.  [W G Stoddard]
4842
4843   *) WIN32 SECURITY: Eliminate directories consisting of three or more dots;
4844      these are treated by Win32 as if they are ".." but are not detected by
4845      other machinery within Apache. This is something of a kludge but
4846      eliminates a security hole. [Manoj Kasichainula, Ben Laurie]
4847
4848   *) Move ap_escape_quotes() from src/ap to src/main/util.c; it uses
4849      pools and thus pollutes libap (until the pool stuff is moved there).
4850      [Ken Coar]
4851
4852   *) IndexIgnore should be case-blind on Win32 (and any other case-aware
4853      but case-insensitive platforms).  New #define for this added to conf.h
4854      (CASE_BLIND_FILESYSTEM).  [Ken Coar] PR#2455
4855
4856   *) Enable DSO support for OpenBSD in general, not only for 2.x, because it
4857      also works for OpenBSD 1.x. [Ralf S. Engelschall]
4858
4859   *) PORT: Fix compilation problem on ARM Linux.
4860      [Sam Kington <sam@illuminated.co.uk>] PR#2443
4861
4862   *) Let APACI's configure script determine some configuration parameters
4863      (Group, Port, ServerAdmin, ServerName) via some intelligent tests to
4864      remove some of the classical hurdles for new users when setting up
4865      Apache. This is done per default because it is useful for the average
4866      user. Package authors can use the --without-confadjust option to disable
4867      these configuration adjustments.
4868      [Ralf S. Engelschall]
4869
4870   *) Added an EXTRA_DEPS configuration parameter which can be used
4871      to add an extra Makefile dependency for the httpd target, for instance
4872      to external third-party libraries, etc.
4873      [Ralf S. Engelschall]
4874
4875   *) Add <IfDefine>..</IfDefine> sections to the core module (with same spirit
4876      as <IfModule>..</IfModule> sections) which can be used to skip or process
4877      contained commands dependend of ``-D PARAMETER'' options on the command
4878      line. This can be used to achieve logical conditions like <IfDefine
4879      ReverseProxy> instead of physically ones (e.g. <IfModule mod_proxy.c>)
4880      and thus especially can be used for conditionally loading DSO-based
4881      modules via LoadModule, etc. [Ralf S. Engelschall]
4882
4883   *) PORT: clean up a warning in mod_status for OS/2.  [Brian Havard]
4884
4885   *) Make table elements const. This may prevent obscure errors. [Ben Laurie]
4886
4887   *) Fix parsing of FTP `SIZE' responses in proxy module: The newline was not
4888      truncated which forced following HTTP headers to be data in the HTTP
4889      reponse. [Ralf S. Engelschall, Charles Fu <ccwf@bacchus.com>] 
4890      PR#2412, 2367
4891
4892   *) Portability fix for APACI shadow tree support: Swap order of awk and sed
4893      in top-level configure script to avoid sed fails on some platforms (for
4894      instance SunOS 4.1.3 and NCR SysV) because of the non-newline-termined
4895      output of Awk. [Bill Houle <bhoule@sandiegoca.ncr.com>] PR#2435
4896
4897   *) Improve performance of directory listings (mod_autoindex) by comparing
4898      integer keys (last-modified and size) as integers rather than converting
4899      them to strings first.  Also use a set of explicit byte tests rather
4900      than strcmp() to check for parent directory-ness of an entry.  Oh, and
4901      make sure the parent directory (if displayed) is *always* listed first
4902      regardless of the sort key.  Overall performance winnage should be good
4903      in CPU time, instruction cache, and memory usage, particularly for large
4904      directories.  [Ken Coar]
4905
4906   *) Add a tiny but useful goody to APACI's configure script: The generation
4907      of a config.status script (as GNU Autoconf does) which remembers the used
4908      configure command and hence can be used to restore the configuration by
4909      just re-running this script or for remembering the configuration between
4910      releases.
4911      [Ralf S. Engelschall]
4912
4913   *) Add httpd -t (test) option for running configuration syntax tests only.
4914      If something is broken it complains and exits with a return code
4915      non-equal to 0. This can be used manually by the user to check the Apache
4916      configuration after editing and is also automatically used by apachectl
4917      on (graceful) restart command to make sure Apache doesn't die on restarts
4918      because of a configuration which is now broken since the last (re)start.
4919      This way `apachectl restart' can be used inside cronjobs without having
4920      to expect Apache to be falling down. Additionally the httpd -t can be run
4921      via `apachectl configtest'.
4922      [Ralf S. Engelschall] PR#2393
4923   
4924   *) Minor display fix for "install" target of top-level Makefile:
4925      the displayed installation command was incorrect although the
4926      executed command was correct. Now they are in sync.
4927      [Ralf S. Engelschall] PR#2402
4928
4929   *) Correct initialization of variable `allowed_globals' in http_main.c
4930      [Justin Bradford <justin@ukans.edu>] PR#2400
4931
4932   *) Apache would incorrectly downcase the entire Content-Type passed from
4933      CGIs.  This affected server-push scripts and such which use
4934      multipart/x-mixed-replace;boundary=ThisRandomString.
4935      [Dean Gaudet] PR#2394
4936
4937   *) PORT: QNX update to properly guess 32-bit systems.
4938      [Sean Boudreau <seanb@qnx.com>] PR#2390
4939
4940   *) Make sure the DSO emulation code for HPUX finds the proprietary shl_xxx()
4941      functions which are in libdld under HPUX 9/10.
4942      [Ralf S. Engelschall] PR#2378
4943
4944   *) Make sure the "install" target of the top-level Makefile doesn't break
4945      because of a return code of 1 from an "if" (for instance under braindead
4946      Ultrix the result code of an "if" construct is 1 if the "then" clause
4947      didn't match). [Ralf S. Engelschall]
4948
4949   *) Add an additional "dummy" target to the "$(LIB)" target in generated
4950      modules/xxx/Makefile's to avoid problems with SVR4 Make under "full-DSO"
4951      situation (no libxxx.a built, only mod_xxx.so's) where LIB and OBJS are
4952      empty. [Ralf S. Engelschall, Dean Gaudet, Martin Kraemer]
4953
4954   *) Replace two bad sprintf() calls with ap_snprintf() variants in
4955      mod_rewrite. [Ralf S. Engelschall]
4956
4957   *) Fix missing usage description for MetaFiles directive.
4958      [David MacKenzie <djm@va.pubnix.com>] PR#2384
4959
4960   *) mod_log_config wouldn't let vhosts use log formats defined in the
4961      main server.  [Christof Damian <damian@mediaconsult.com>] PR#2090
4962
4963   *) mod_usertrack was corrupting the client hostname.  As part of the
4964      fix, the cookie values were slightly extended to include the
4965      fully qualified hostname of the client.
4966      [Dean Gaudet] PR#2190, 2229, 2366
4967
4968   *) Fix a typo in pool debugging code.  [Alvaro Martinez Echevarria]
4969
4970   *) mod_unique_id did not work on alpha linux (in general on any
4971      architecture that has 64-bit time_t).
4972      [Alvaro Martinez Echevarria]
4973
4974   *) PORT: Make SCO 5 (and probably 3) compile again. [Ben Laurie]
4975
4976   *) PORT: NCR MPRAS systems have the same bug with SIGHUP restart that
4977      Solaris systems experience.  So define WORKAROUND_SOLARIS_BUG.
4978      [Klaus Weber <kweber@chephren.germany.ncr.com>] PR#1973
4979
4980   *) Change "Options None" to "Options FollowSymLinks" in the 
4981      <Directory /> section of the default access.conf-dist
4982      (and -win even though it doesn't matter there).  This has better
4983      performance, and more intuitive semantics.  [Dean Gaudet]
4984
4985   *) PORT: Updated support for UTS 2.1.2.
4986      [Dave Dykstra <dwd@bell-labs.com>] PR#2320
4987
4988   *) Fix symbol export list (src/support/httpd.exp) after recent
4989      API changes in the child spawning area.
4990      [Jens-Uwe Mager <jum@helios.de>]
4991
4992   *) Workaround for configure script and old `test' commands which do not
4993      support the -x flag (for instance under platforms like Ultrix). This is
4994      solved by another helper script findprg.sh which searches for Perl and
4995      Awk like PrintPath but _via different names_.
4996      [Ralf S. Engelschall]
4997
4998   *) Remove the system() call from htpasswd.c, which eliminates a system
4999      dependancy.  ["M.D.Parker" <mdpc@netcom.com>] PR#2332
5000
5001   *) PORT: Fix compilation failures on NEXTSTEP.
5002      [Rex Dieter <rdieter@math.unl.edu>] PR#2293, 2316
5003
5004   *) PORT: F_NDELAY is a typo, should have been FNDELAY.  There's also
5005      O_NDELAY on various systems.  [Dave Dykstra <dwd@bell-labs.com>] PR#2313
5006
5007   *) PORT: helpers/GuessOS updates for various versions for NCR SVR4.
5008      [juerg schreiner <j.schreiner@zh.ch>,
5009      Bill Houle <Bill.Houle@SanDiegoCA.NCR.COM>] PR#2310
5010
5011   *) Fix recently introduced Win32 child spawning code in mod_rewrite.c which
5012      was broken because of invalid ap_pstrcat() -> strcat() transformation.
5013      [Ralf S. Engelschall]
5014
5015   *) Proxy Cache Fixes: account for directory sizes, fork off garbage collection
5016      to continue in background, use predefined types (off_t, size_t, time_t),
5017      log the current cache usage percentage at LogLevel debug
5018      [Martin Kraemer, based on discussion between Dean Gaudet & Dirk vanGulik]
5019
5020 Changes with Apache 1.3.0
5021
5022   *) Using a type map file as a custom error document was not possible.
5023      [Lars Eilebrecht] PR#1031
5024
5025   *) Avoid problems with braindead Awks by additionally searching for gawk 
5026      and nawk in APACI's configure script.
5027      [Dave Dykstra <dwd@bell-labs.com>, Ralf S. Engelschall] PR#2319
5028
5029   *) Rename md5.h to ap_md5.h to avoid conflicts with native MD5 on
5030      some systems. [Randy Terbush]
5031
5032   *) Change usage of perror()+fprintf(stderr,...) in mod_rewrite to
5033      more proper ap_log_error() variants.
5034      [Ralf S. Engelschall]
5035
5036   *) Make sure the argument for the --add-module option to APACI's configure
5037      script is of type [path/to/]mod_xxx.c because all calculations inside
5038      configure and src/Configure depend on this.
5039      [Ralf S. Engelschall] PR#2307
5040
5041   *) Changes usage of perror/fprintf to stderr to more proper ap_log_error
5042      in mod_mime, mod_log_referer, mod_log_agent, and mod_log_config.
5043      [Brian Behlendorf]
5044
5045   *) Various OS/2 cleanups ["Brian Havard" <brianh@kheldar.apana.org.au>]
5046
5047   *) PORT: QNX needed a #include <sys/mman.h>; and now it uses flock
5048      serialized accept to handle multiple sockets.
5049      [Rob Saccoccio <robs@InfiniteTechnology.com>] PR#2295, 2296
5050  
5051   *) Have NT properly set the directory for CGI scripts 
5052      (& other spawned children)
5053      [W G Stoddard <wgstodda@us.ibm.com>]
5054
5055   *) Propagate environment to CGI scripts correctly in Win32.
5056      [W G Stoddard <wgstodda@us.ibm.com>] PR#2294
5057
5058   *) Some symbol renaming:
5059      ap_spawn_child_err became ap_spawn_child
5060      ap_spawn_child_err_buff became ap_bspawn_child
5061      spawn_child was obsoleted and moved to compat.h
5062      [Brian Behlendorf]
5063
5064   *) Upgrade the child spawning code in mod_rewrite for the RewriteMap
5065      programs: ap_spawn_child_err() is used and the Win32 case now uses
5066      CreateProcess() instead of a low-level execl() (which caused problems in
5067      the past under Win32).
5068      [Ralf S. Engelschall]
5069
5070   *) A few cosmetics and trivial enhancements to APXS to make the
5071      generated Makefile more user friendly. [Ralf S. Engelschall]
5072
5073   *) Proxy Fix: The proxy special failure routine ap_proxyerror()
5074      was updated to use the normal apache error processing, thereby allowing
5075      proxy errors to be treated by ErrorDocument's as well. For this
5076      purpose, a new module-to-core communication variable "error-notes"
5077      was introduced; the proxy (and possibly other modules) communicates
5078      its error text using this variable. Its content is copied to a new
5079      cgi-env-var REDIRECT_ERROR_NOTES for use by ErrorDocuments.
5080      The old proxy special error routine ap_proxy_log_uerror()
5081      was replaced by regular ap_log_error() calls, many messages were made
5082      more informative. 
5083      [Martin Kraemer] PR#494, 1259
5084
5085   *) SECURITY: A possible buffer overflow in the ftp proxy was fixed.
5086      [Martin Kraemer]
5087
5088   *) Transform the configure message "You need root privileges for suEXEC"
5089      from a fatal error into a (more friendly) warning because the building
5090      ("make") of Apache we can allow, of course. Root privileges are needed
5091      only for the installation step ("make install"). So make sure the
5092      user is aware of this fact but let him proceed as long as he can.
5093      [Ralf S. Engelschall] PR#2288
5094   
5095   *) Renamed three more functions to common ap_ prefix which we missed at the
5096      Big Symbol Renaming because they're #defines and not real C functions:
5097      is_default_port(), default_port(), http_method().
5098      [Ralf S. Engelschall]
5099
5100   *) A zero-length name after a $ in an SSI document should cause
5101      just the $ to be in the expansion.  This was broken during the
5102      security fixes in 1.2.5.  [Dean Gaudet] PR#1921, 2249
5103
5104   *) Call ap_destroy_sub_req() in ap_add_cgi_vars() to reclaim some
5105      memory.  [Rob Saccoccio <robs@InfiniteTechnology.com>] PR#2252
5106
5107   *) Fix src/support/httpd.exp (DSO export file which is currently only
5108      used under AIX) because of recent changes to function names.
5109      [Ralf S. Engelschall]
5110
5111 Changes with Apache 1.3b7
5112
5113   *) Make sure a MIME-type can be forced via a RewriteRule even when no
5114      substitution takes place, for instance via the following rule:
5115      ``RewriteRule ^myscript$ - [T=application/x-httpd-cgi]'' This was often
5116      requested by users in the past to force a single script without a .cgi
5117      extension and outside any cgi-bin dirs to be executed as a CGI program.
5118      [Ralf S. Engelschall] PR#2254
5119
5120   *) A fix for protocol issues surrounding 400, 408, and
5121      414 responses. [Ed Korthof]
5122
5123   *) Ignore MaxRequestsPerChild on WIN32. [Brian Behlendorf]
5124
5125   *) Fix discrepancy in proxy_ftp.c which was causing failures when 
5126      trying to connect to certain ftpd's, such as anonftpd.  
5127      [Rick Ohnemus <rick@ecompcon.com>]
5128
5129   *) Make mod_rewrite use ap_open_piped_log() for RewriteLog directive's
5130      logfile instead of fiddling around itself with child spawning stuff.
5131      [Ralf S. Engelschall]
5132
5133   *) Made RefererIgnore case-insensitive.
5134
5135   *) Mod_log_agent, mod_log_referer now use ap_open_piped_log for piped logs.
5136      [Brian Behlendorf]
5137
5138   *) Replace use of spawn_child with ap_spawn_child_err_buff, to make everything
5139      "safe" under Win32.  In: mod_include.c, mod_mime_magic.c
5140      [Brian Behlendorf]
5141
5142   *) Improve RFC1413 support. [Bob Beck <beck@bofh.ucs.ualberta.ca>]
5143
5144   *) Fix support script `dbmmanage': It was unable to handle some sort
5145      of passwords, especially passwords with "0" chars.
5146      [Ralf S. Engelschall] PR#2242
5147
5148   *) WIN32: Clicking on "Last Modified" in a fancy index caused a crash. Fixed.
5149      [Ben Laurie] PR#2238
5150
5151   *) WIN32: CGIs could cause a hang (because of a deadlock in the standard C
5152      library), so CGI handling has been changed to use Win32 native handles
5153      instead of C file descriptors.
5154      [Ben Laurie and Bill Stoddard <wgstodda@us.ibm.com>] PR#1129, 1607
5155
5156   *) The proxy cache would store an incorrect content-length in the cached
5157      file copy after a cache update. That resulted in repeated fetching
5158      of the original copy instead of using the cached copy.
5159      [Ernst Kloppenburg <kloppen@isr.uni-stuttgart.de>] PR#2094
5160
5161   *) The Makefiles assumed that DSO files are build via $(LD). This
5162      is broken for two reasons: First we never defined at least LD=ld
5163      somewhere to make sure this works (it was silently assumed that most Make
5164      provide a built-in LD definition - ARGL!) and second using the generic LD
5165      variable is not the truth. Instead a special variable named LD_SHLIB is
5166      reasonable because although "ld" is usually the default, the command for
5167      building DSO files can be "libtool" or even "cc" on some systems.
5168      [Ralf S. Engelschall]
5169
5170   *) Replace the AddVersionPlatform directive with ServerTokens which
5171      provides for more control over the format of the Server:
5172      header line. SERVER_SUBVERSION is no longer supported;
5173      all module should use the ap_add_version_component()
5174      API function instead. [Jim Jagielski]
5175
5176   *) Support for the NCR MP/RAS 3.0
5177      [John Withers <withers@semi.kcsc.mwr.irs.gov>]
5178
5179   *) The LDFLAGS_SHLIB_EXPORT variable of src/Configuration[.tmpl] was
5180      not retrieved in src/Configure and thus was not useable.
5181      [Ralf S. Engelschall]
5182  
5183   *) Various Makefile consistency cleanups:
5184      - make OSDIR also automatically be relative to src/ like INCDIR
5185      - SUBDIRS is now generated in src/Makefile only and not in
5186        Makefile.config because it is a local define for this location.
5187      - remove BROKEN_BPRINTF_FLAGS because is it no longer used inside
5188        any Makefile but make sure that at least the "-K inline" is kept in
5189        CFLAGS for SCO 5.
5190      - update the "depend" targets in Makefile.tmpl files to use $(OSDIR), too.
5191      - updated the dependencies theirself
5192      - removed not existing SHLIB variable from "clean" targets
5193      - replaced SHLIB_OBJS/SHLIBS_OBJ consistently with OBJS_PIC because OBJS
5194        already exists and OBJS_PIC are also just plain objects and have not
5195        directly to do with "shared" things. The only difference is that they
5196        contain PIC. So OBJS_PIC is the more canonical name.
5197      - Updated the Makefile-dependency lines for OBJS_PIC
5198      - Removed the Makefile-dependency line in Configure to avoid double
5199        definitions
5200      - replaced ugly xx-so.o/xx.so-o hack with a clean and consistent usage
5201        of xxx.lo as GNU libtool does with its PIC objects
5202      - reduce local complexity in modules Makefile.tmpl by moving the last
5203        existing target "depend" to the generation section in Configure, too.
5204      - removed the historical $(SPACER) which was used in the past together
5205        with BROKEN_BPRINTF_FLAGS to avoid zig-zags in the build process. This
5206        is no longer needed.
5207      - force the build and run of the gen_xxx programs under main/ as the
5208        first step before building the objects because it looks cleaner
5209      [Ralf S. Engelschall]
5210
5211   *) WIN32: Make Win32 work again after the /dev/null DoS fix.
5212      [Ben Laurie]
5213
5214   *) WIN32: Check for buffer overflows in ap_os_canonical_filename.
5215      [Ben Laurie]
5216
5217   *) WIN32: Don't force ISAPI headers to finish with \n.
5218      [Jim Patterson <Jim.Patterson@Cognos.COM>, Ben Laurie] PR#2060
5219
5220   *) When opening "configuration" files (like httpd.conf, htaccess
5221      and htpasswd), Apache will not allow them to be non-/dev/null
5222      device files. This closes a DoS hole. At the same time,
5223      we use ap_pfopen to open these files to handle timeouts.
5224      [Jim Jagielski, Martin Kraemer]
5225
5226   *) Apache will now log the reason its httpd children exit if they exit
5227      due to an unexpected signal.  (It requires a new porting define,
5228      SYS_SIGLIST, which if defined should point to a list of text
5229      descriptions of the signals available.  See PORTING.)  [Dean Gaudet]
5230
5231   *) WIN32: chdir() doesn't make sense in a multithreaded environment 
5232      like WIN32.  Before, Win32 CGI's could have had sporadic failures 
5233      if a chdir call from one thread was made between another chdir call 
5234      and a spawn in another thread.  So, for now don't chdir for CGI scripts 
5235      in WIN32.  The current CGI "spec" is unclear as to whether it's 
5236      necessary.  Long-term fix is to either serialize the chdir/spawn combo 
5237      or use WIN32 native calls to spawn a process.  This temp fix was 
5238      necessary to remove this as a showstopper for 1.3's release. 
5239      [Brian Behlendorf]
5240
5241   *) Cleanup the suEXEC support in APACI and make it more safe:
5242      1. Add big fat hint in INSTALL about risks and to read the
5243         htdocs/manual/suexec.html document before using the suexec-related
5244         configure options.
5245      2. Make sure the user has at least provided one --suexec-xxxx option
5246         (specifies suEXEC parameters) in addition to --enable-suexec option.
5247         If only --enable-suexec is given APACI stops with a hint to INSTALL
5248         and htdocs/manual/suexec.html documents.
5249      3. Provide two additional --suexec-xxxx options to make the suEXEC
5250         configuration complete (especially for package maintainers who else
5251         had to patch the source tree) by providing ways to configure minimal
5252         UID/GID and safe PATH, too.
5253      [Ralf S. Engelschall]
5254
5255   *) Cleanup of the `configure --shadow' process:
5256      - make sure the configure script creates its temporary files in the
5257        shadow tree to avoid conflicts with parallel configure runs
5258      - removed unnecessary option "-r" from "rm" call for Makefiles
5259      - make sure the configure scripts creates the shadow-wrapper Makefile
5260        only when no shadow trees already exists
5261      - make sure "make distclean" removes the shadow-wrapper Makefile but only
5262        when no more shadow trees exists
5263      - overhauled mkshadow.sh script: now its more IFS-safe and approx. twice
5264        as fast (in the past it needed 70sec, now it runs just 38sec)
5265      - make sure CVS does not complain about the created files
5266        Makefille.<gnutriple> and directories src.<gnutriple>
5267      [Ralf S. Engelschall]
5268
5269   *) Added the ap_add_version_component() API routine and the
5270      AddVersionPlatform core directive.  The first allows modules to
5271      declare themselves in the Server response header field value,
5272      augmenting the SERVER_SUBVERSION define in the Configuration file
5273      with run-time settings (more useful in a loadable-module environment).
5274      AddVersionPlatform inserts a comment such as "(UNIX)" or "(Win32)"
5275      into the server version string.  [Ken Coar] PR#2056
5276
5277   *) Minor stability tweaks to avoid core dumps in ap_snprintf.
5278      [Martin Kraemer]
5279
5280   *) Emit the "Accept-Range" header for the default handler.
5281      [Brian Behlendorf] PR#1464
5282
5283   *) Add a note to httpd.conf-dist that apache will on some systems fail
5284      to start when the Group # is set to a negative or large positive value.
5285      [Martin Kraemer]
5286
5287   *) Make sure the module execution order is correct even when some modules
5288      are loaded under runtime (`LoadModule') via the DSO mechanism:
5289      1. The list of loaded modules is now a dynamically allocated one
5290         and not the original statically list from modules.c
5291      2. The loaded modules are now correctly setup by LoadModule for
5292         later use by the AddModule command.
5293      3. When the DSO mechanism for modules is used APACI's `install'
5294         target now enables all created `LoadModule' lines per default because
5295         this is both already expected by the user _and_ needed to avoid
5296         confusion with the next point and reduces the Makefile.tmpl complexity
5297      4. When the DSO mechanism for modules is used, APACI's `install'
5298         target now additionally makes sure the module list is reconstructed
5299         via a complete `ClearModuleList+AddModule...' entry.
5300      5. The support tool `apxs' now also makes sure an AddModule command
5301         is added in addition to the LoadModule command.
5302      6. The modules.c generation was extended to now contain two
5303         comments to make sure no one is confused by the confusing terminology
5304         of loading/linking (we use load=link+load & link=activate instead of
5305         the obvious load=activate & link=link :-( )
5306      This way now there is no longer a difference under execution time between
5307      statically and dynamically linked modules.
5308      [Ralf S. Engelschall]
5309
5310   *) Fix the generated mod_xxx.c from "apxs -g -f xxx" after the
5311      Big Symbol Renaming. [Ralf S. Engelschall]
5312
5313   *) Add a comment to mod_example.c showing the format of a FLAG command
5314      handler.  [Ken Coar]
5315
5316   *) Standardized the time format in mod_status to match that of other 
5317      places in the code (e.g. DATE_GMT).  PR#1551
5318
5319   *) Fix handling of %Z in timefmt strings for those platforms with no time
5320      zone information in their tm struct. [Paul Eggert <eggert@twinsun.com>]
5321      PR#754
5322
5323   *) Makes mod_rewrite, mod_log_config, mod_status and the ServerSignature 
5324      feature compatible with 'UseCanonicalName off' by changing  
5325      r->server->server_hostname to ap_get_server_name().  And I changed some 
5326      functions which use r->server->port to use ap_get_server_port() instead, 
5327      because if there's no Port directive in the config r->server->port is 0.
5328      [Lars Eilebrecht]
5329
5330   *) get/set_module_config are trivial enough to be better off inline.  Worth
5331      1.5% performance boost. [Dean Gaudet]
5332
5333   *) Fix off-by-one error in ap_proxy_date_canon() in proxy_util.c
5334      when ensuring 'x' is at least 30-chars big. [Jim Jagielski,
5335      Brian Behlendorf]
5336
5337   *) [BS2000 security] BS2000 needs an extra authentication to initialize
5338      the task environment to the unprivileged User id. Otherwise CGI scripts
5339      would have a way to gain super user access. [Martin Kraemer]
5340
5341   *) Fix debug log messages for BS2000/OSD: instead of logging the whole
5342      absolute path, only log base name of logging source as is done
5343      in unix. [Martin Kraemer]
5344
5345   *) Ronald Tschalaer's Accept-Encoding patch - preserve the "x-" in
5346      the encoding type from the Accept-Encoding header (if it's there)
5347      and use it in the response, as that's probably what it'll be expecting.
5348      [Ronald.Tschalaer@psi.ch]
5349
5350   *) Fix to mod_alias: translate_alias_redir is dealing with
5351      a URI, not a filename, so the check for drive letters for win32 
5352      and emx is not necessary. [Dean Gaudet]
5353
5354   *) WIN32: Allow .cmd as an executable extension.
5355      [Kari Likovuori <Kari.Likovuori@mol.fi>] PR#2146
5356
5357   *) Make Apache header files, and some variables, C++ friendly.
5358      [Michael Anderson's <mka@redes.int.com.mx>]
5359
5360   *) Child processes can now "signal" (by exiting with a status
5361      of APEXIT_CHILDFATAL) the parent process to abort and
5362      shutdown the server if the error in the child process was
5363      fatal enough. [Jim Jagielski]
5364
5365   *) mod_autoindex's find_itme() was sensitive to MIME type case.
5366      [Jim Jagielski] PR#2112
5367
5368   *) Make sure the referer_log and agent_log entries in the default httpd.conf
5369      file are also adjusted for the actual relative installation paths.
5370      [Ralf S. Engelschall] PR#2175
5371
5372   *) WIN32: Extensive overhaul of the way UNCs are handled. [Ben Laurie]
5373
5374   *) WIN32: Make roots of filesystems (e.g. c:/) work. [Ben Laurie]
5375      PR#1558
5376
5377   *) PORT: Various porting changes to support AIX 3.2, 4.1.5, 4.2 and 4.3.
5378      Additionally the checks for finding the vendor DSO library were moved
5379      from mod_so.c to Configure because first it needs $PLAT etc. and second
5380      mod_so already uses an abstraction layer and does not fiddle with the
5381      vendor functions itself.
5382      [Jens-Uwe Mager, Ralf S. Engelschall]
5383
5384   *) PORT: Some optimization defines for NetBSD
5385      [Jaromir Dolecek <dolecek@ics.muni.cz>] PR#2165
5386
5387   *) PORT: Dynamic Shared Object (DSO) support for NetBSD.
5388      [Jaromir Dolecek <dolecek@ics.muni.cz>, Ralf S. Engelschall] PR#2158
5389
5390   *) Add Dynamic Shared Object (DSO) support for AIX (at least 4.2 but older
5391      AIX variants should work fine, too. Even AIX 3.x should work). This is
5392      accomplished by using the free DSO emulation code from Jens-Uwe Mager
5393      which we put into a os/unix/os-dso-aix.c file.
5394      [Ralf S. Engelschall]
5395   
5396   *) PORT: Fix compiler warnings under AIX >= 4.2 where the manual pages imply
5397      that we should use NET_SIZE_T == int but the include files force size_t.
5398      [Ralf S. Engelschall]
5399
5400   *) Fix two bugs in select() handling in http_main.c.
5401      [Roy Fielding]
5402
5403   *) Suppress "error(0)" messages for ap_log_error() when the APLOG_NOERRNO
5404      is unset (as it is in situations like timeouts) where it is unclear
5405      whether errno is set or not.  [Martin Kraemer]
5406
5407   *) Just having APACI's localstatedir is too general and not enough for most
5408      of the systems. 1.3b6 again required manual APACI patches by package
5409      maintainers from RedHat and FreeBSD because for their filesystem layout a
5410      little bit more flexibility in configuring the paths is needed. Hence we
5411      provide three additional configure options (--runtimedir, --logfiledir,
5412      --proxycachedir) which now can be used for more granular adjustments if
5413      --localstatedir is not enough to fit the particular needs. As a nice
5414      side-effect this reduces some subdir fiddling in configure+Makefile.tmpl.
5415      [Ralf S. Engelschall]
5416
5417   *) Make the install root for "make install" in APACI's Makefile overrideable
5418      by package authors.  This way we are even more friendly to package
5419      maintainers (especially Debian and RedHat) who build for the real prefix
5420      via "configure --prefix=/<real>" but use a different local prefix via
5421      "make root=/tmp/apache install" for rolling the package without bristling
5422      the target location on their system. 
5423      [Ralf S. Engelschall]
5424
5425   *) Workaround sed limitations in APACI's configure script by now
5426      substituting in chunks of 50 commands (because for instance HPUX's vendor
5427      sed has a limit of max. 98 commands)
5428      [Ralf S. Engelschall] PR#2136
5429
5430   *) Adding SOCKS5 support and fixing existing SOCKS4 support.
5431      [Ralf S. Engelschall] PR#2140
5432
5433   *) Manually fix some symbols which were not renamed to prefix ap_ in the BIG
5434      RENAMING process because they are defined as pre-processor macros instead
5435      of real functions: bputc, bgetc, piped_log_write_fd, piped_log_read_fd
5436      [Ralf S. Engelschall]
5437
5438   *) Workaround braindead AWK's when generating ap_config.h: The split() and
5439      substr() functions cannot be nested under vendor AWK from Solaris 2.6.
5440      [Ralf S. Engelschall] PR#2139
5441
5442   *) Various bugfixes and cleanups for the APACI configure script:
5443      o fix IFS handling for _nested_ situation
5444      o fix Perl interpreter search: take first one found instead of last one
5445      o fix DSO consistency check
5446      o print error messages to stderr instead of stdout
5447      o add install-quiet for --shadow situation to Makefile stub
5448      o reduce complexity by avoiding sed-hacks for rule and module list loops
5449      [Ralf S. Engelschall]
5450
5451   *) Fix DEBUG_CGI situation in mod_cgi.c [David MacKenzie] PR#2114
5452
5453   *) Make sure the input field separator (IFS) shell variable is explicitly
5454      initialized correctly before _every_ `for' loop and also restored after
5455      the loops. [Ralf S. Engelschall]
5456
5457   *) Make sure that "make install" doesn't overwrite the `mime.types' and
5458      `magic' files from an existing Apache installation. Because people often
5459      customize these for own MIME and content types.
5460      [Ralf S. Engelschall]
5461
5462   *) PORT: Dynamic Shared Object (DSO) support for OpenBSD 2.x
5463      [Peter Galbavy, Ralf S. Engelschall] PR#2109
5464
5465   *) Fix the path to the ScoreBoardFile in the install-config target, too.
5466      [Ralf S. Engelschall] PR#2105
5467
5468   *) Let "configure" clear out the users parameters (provided as shell
5469      variables) to avoid side-effects in "src/Configure" when the user
5470      exported them (which is not needed, but some users do it). 
5471      [Ralf S. Engelschall] PR#2101
5472
5473   *) Provide backward compatibility from some old src/Configuration.tmpl
5474      parameter names to the canonical Autoconf-style shell variable names. For
5475      instance CFLAGS vs. EXTRA_CFLAGS. The EXTRA_xxx variants are accepted now
5476      but a hint message is displayed. [Ralf S. Engelschall]
5477   
5478   *) Make sure that "make install" doesn't overwrite the DocumentRoot and
5479      CGI scripts from an existing Apache installation. 
5480      [Ralf S. Engelschall, Jim Jagielski] PR#2084
5481
5482   *) Make `configure --compat' more "compatible" by first 
5483      let the libexecdir default to EPREFIX/libexec instead of EPREFIX/bin and
5484      second by making sure the "avoid-bristling-suffix" /apache is not
5485      appended to sysconfdir, datadir, localstatedir and includedir when
5486      --compat is used. [Ralf S. Engelschall, Lars Eilebrecht]
5487
5488   *) NeXT required strdup() in support/logresolve.c
5489      [Francisco Tomei <fatomei@sandburg.unm.edu>] PR#2082
5490
5491   *) AIX required sys/select.h in support/ab.c
5492      [Jens Schleusener <Jens.Schleusener@dlr.de>] PR#2081
5493
5494   *) Fix the path to the MimeMagicFile in the install-config target, too.
5495      [Ralf S. Engelschall] PR#2089
5496
5497   *) PORT: Added HP-UX 11 patches [Jeff Earickson <jaearick@colby.edu>]
5498
5499   *) If you start apache with the -S command line option it will dump
5500      out the parsed vhost settings.  This is useful for folks trying
5501      to figure out what is wrong with their vhost configuration.
5502      (Other dumps may be added in the future.) [Dean Gaudet]
5503
5504   *) Add %pA, %pI, and %pp codes to ap_vformatter (and hence ap_bprintf,
5505      ap_snprintf, and ap_psprintf).  See include/ap.h for docs.
5506      [Dean Gaudet]
5507
5508   *) Because /usr/local/apache is the default prefix the ``configure
5509      --compat'' option no longer has to set prefix, again. This way the
5510      --compat option honors a leading --prefix option. [Lars Eilebrecht]
5511
5512   *) PORT: Cast the first argument of dlopen() in ap_os_dso_load()
5513      to `char *' under OSF1 and FreeBSD 2.x where it is defined this way
5514      to avoid "discard const" warnings. [Ralf S. Engelschall]
5515
5516   *) If a specific handler is set for a file yet the request still
5517      ends up being handled by the default handler, log an error
5518      message before handling it.  This catches things such as trying 
5519      to use SSIs without mod_include enabled.  [Marc Slemko]
5520
5521   *) Fix error logging for the startup case where ap_log_error() still uses
5522      stderr as the target. Now the default log level is honored here, too.
5523      [Ralf S. Engelschall]
5524     
5525   *) PORT: Make sure some AWK's don't fail in src/Configure with "string too
5526      long" errors when generating the MODULES entry for src/Makefile
5527      [Ben Hyde, Ralf S. Engelschall]
5528
5529   *) Make sure src/Configure doesn't complain about the old directory
5530      /usr/local/etc/httpd/ when APACI is used.  [Lars Eilebrecht]
5531    
5532 Changes with Apache 1.3b6
5533
5534   *) PORT: Clean up warnings on Ultrix and HPUX.  [Ben Hyde]
5535  
5536   *) Adding DSO support for the HP/UX platform by emulating the dlopen-style
5537      interface via the similar but proprietary HP/UX shl_xxx-style system
5538      calls. [Ralf S. Engelschall]
5539
5540   *) PORT: Updated UnixWare 2.0.x and 2.1.x entries for DSO support and made
5541      APACI Makefile.tmpl "install" target more robust for sensible UnixWare
5542      Make. [Ralf S. Engelschall]
5543
5544   *) ++++ THE BIG SYMBOL RENAMING ++++
5545      To avoid symbol clashes with third-party code compiled into the server,
5546      we globally applied the prefix "ap_" to the following classes of
5547      functions:
5548         - Apache provided general functions (e.g., ap_cpystrn)
5549         - Public API functions (e.g., palloc, bgets)
5550         - Private functions which we can't make static (because of
5551           cross-object usage) but should be (e.g., new_connection)
5552      For backward source compatibility a new header file named compat.h was
5553      created which provides defines for the old symbol names and can be used
5554      by third-party module authors.
5555      [The Apache Group]
5556
5557   *) Added dynamic shared object (DSO) support for SVR4-derivates: The
5558      problem under SVR4 is that there is no command flag to force the linker
5559      to export the global symbols of the httpd executable therewith they are
5560      available to the DSO's. Instead of problematic hacks like creating a
5561      dummy.so file (containing dummy references to all global symbols) the
5562      httpd binary is linked against, we use a clean trick stolen from Perl 5:
5563      Placing the Apache core code itself into a DSO library named libhttpd.so.
5564      This way the global symbols _HAVE_ to be exported and thus are available
5565      to any manually loaded DSO's under runtime. To reduce the impact to the
5566      user to null we go even further and create a stub httpd executable which
5567      automatically keeps track of the DSO library loading itself and thus
5568      hides the complete mechanism from the user. Although the generation of
5569      this DSO library is automatically triggered for platforms which
5570      essentially need it (mostly all SVR4-derivates) it can be also enabled
5571      manually via the Rule SHARED_CORE. This can be interesting in the future
5572      where we perhaps exploit this libhttpd.so mechanism for providing nifty
5573      features like graceful upgrades, or whatever. 
5574      [Ralf S. Engelschall, Martin Kraemer]
5575
5576   *) Build the libraries before building the rest of the tools. [Ben Hyde]
5577
5578   *) Add "distclean" target to src/-Makefiles to provide "make distclean" also
5579      inside the src subtree (i.e. for non-APACI users). Following GNU Makefile
5580      conventions while "clean" removes only stuff created by "all" targets,
5581      "distclean" additionally removes the stuff from the configuration
5582      process. This way "make distclean" (hence the name) provides a fresh
5583      source tree as it was for distribution.
5584      [Ralf S. Engelschall]
5585
5586   *) Allow top-level (APACI) Makefile to break on build errors
5587      the same way the src/ subtree Makefiles breaks on them by replacing the
5588      initial APACI sed-subdir-display-kludge with a more clean
5589      variable-passing-solution: variable SDP can optionally hold the subdir
5590      prefix which is consistently used for displaying the subdir movement.
5591      This way even the top-level Makefile can stop correctly on errors as the
5592      user expects. [Ralf S. Engelschall]
5593
5594   *) Fixed ordering of argument checks for RewriteBase directive.
5595      [Todd Eigenschink <eigenstr@mixi.net>] PR#2045
5596
5597   *) Change Win32 IS_MODULE to SHARED_MODULE to match Unix' method of
5598      indicating that a module is being compiled for dynamic loading. Also
5599      remove #define IS_MODULE from modules and add SHARED_MODULE define
5600      to the mak/dsp files. [Alexei Kosut]
5601
5602   *) Reduce logging level of "normal" warning messages to APLOG_INFO,
5603      since we are now logging APLOG_WARNING by default. [Roy Fielding]
5604
5605   *) PORT: OS/2 tweak to deal with multiple .exe targets. [Brian Havard]
5606  
5607   *) Add documentation file and src/Configuration.tmpl entry for the
5608      experimental mod_mmap_static module. Because although it is and marked as
5609      an experimental one it is distributed and thus should be documented and
5610      prepared for configuration the same way as all others modules. 
5611      [Ralf S. Engelschall]
5612
5613   *) Add query (-q) option to apxs support tool to be able to manually query
5614      specific settings from apxs. This is needed for instance when you
5615      manually want to access Apache's header files and you need to assemble
5616      the -I option.  Now you can do -I`apxs -q INCLUDEDIR`.
5617      [Ralf S. Engelschall]
5618
5619   *) Now src/Configure uses a fallback strategy for the shared object support
5620      on platforms where no explicit information is available: If a Perl
5621      installation exists we ask it about its shared object support and if it's
5622      the dlopen-style one we shamelessly guess the compiler and linker flags
5623      for creating shared objects from Perls knowledge. Of course, the user is
5624      warning about what we are doing and informed that he should send us
5625      the guessed flags when they work. [Ralf S. Engelschall]
5626
5627   *) Provide APACI --without-support option to be able to disable the build
5628      and installation of the support tools from the src/support/ area.
5629      Although its useful to have these installed per default we should provide
5630      a way to compile and install without them for backward-compatibility.
5631      [Ralf S. Engelschall]
5632
5633   *) Add of the new APache eXtenSion (apxs) support tool for building and
5634      installing modules into an _already installed_ Apache package through the
5635      dynamic shared object (DSO) mechanism [mod_so.c]. The trick here is that
5636      this approach actually doesn't need the Apache source tree.  The
5637      (APACI-installed) server package is enough, because this now includes the
5638      Apache C header files (PREFIX/include) and the new APXS tool
5639      (SBINDIR/apxs).  The intend is to provide a handy tool for third-party
5640      module authors to build their Apache modules _OUTSIDE_ the Apache source
5641      tree while avoiding them to fiddle around with the totally platform
5642      dependend way of compiling DSO files. The tool supports all ranges of
5643      modules, from trivial ones (single mod_foo.c) to complex ones (like PHP3
5644      which has a mod_php3.c plus a pre-built libmodphp3-so.a) and even can
5645      on-the-fly generate a minimalistic Makefile and sample module for the
5646      first step to provide both a quick success event and to demonstrate the
5647      APXS mechanism to module authors. [Ralf S. Engelschall]
5648
5649   *) Fix core dumps in use of CONNECT in proxy.  
5650      [Rainer.Scherg@rexroth.de] PR#1326, #1573, #1942
5651
5652   *) Modify the log directives in httpd.conf-dist files to use CustomLog
5653      so that users have examples of how CustomLog can be used.
5654      [Lars Eilebrecht]
5655
5656   *) Add the new Apache Autoconf-style Interface (APACI) for the top-level of
5657      the Apache distribution tree.  Until Apache 1.3 there was no real
5658      out-of-the-box batch-capable build and installation procedure for the
5659      complete Apache package. This is now provided by a top-level "configure"
5660      script and a corresponding top-level "Makefile.tmpl" file.  The goal is
5661      to provide a GNU Autoconf-style frontend which is capable to both drive
5662      the old src/Configure stuff in batch and additionally installs the
5663      package with a GNU-conforming directory layout. Any options from the old
5664      configuration scheme are available plus a lot of new options for flexibly
5665      customizing Apache. [Ralf S. Engelschall]
5666
5667   *) The floating point ap_snprintf code wasn't threadsafe.
5668      Had to remove the HAVE_CVT macro in order to do threadsafe
5669      calling of the ?cvt() floating point routines.  [Dean Gaudet]
5670
5671   *) PORT: Add the SCO_SV port. [Jim Jagielski] PR#1962
5672
5673   *) PORT: IRIX needs the -n32 flag iff using the 'cc' compiler
5674      [Jim Jagielski] PR#1901
5675
5676   *) BUG: Configure was using TCC and CC inconsistently. Make sure
5677      Configure knows which CC we are using. [Jim Jagielski]
5678
5679   *) "Options +Includes" wasn't correctly merged if "+IncludesNoExec"
5680      was defined in a parent directory. [Lars Eilebrecht]
5681
5682   *) API: ap_snprintf() code mutated into ap_vformatter(), which is
5683      a generic printf-style routine that can call arbitrary output
5684      routines.  Use this to replace http_bprintf.c.  Add new routines
5685      psprintf(), pvsprintf() which allocate the exact amount of memory
5686      required for a string from a pool.  Use psprintf() to clean up
5687      various bits of code which used ap_snprintf()/pstrdup().
5688      [Dean Gaudet]
5689
5690   *) PORT: HAVE_SNPRINTF doesn't do anything any longer.  This is because
5691      ap_snprintf() has different semantics and formatting codes than
5692      snprintf().  [Dean Gaudet]
5693
5694   *) SIGXCPU and SIGXFSZ are now reset to SIG_DFL at boot-time.  This
5695      is necessary on at least Solaris where the /etc/rc?.d scripts
5696      are run with these signals ignored, and "SIG_IGN" settings are
5697      maintained across exec().
5698      [Rein Tollevik <reint@sys.sol.no>] PR#2009
5699
5700   *) Fix the check for symbolic links in ``RewriteCond ... -l'': stat() was
5701      used instead of lstat() and thus this flag didn't work as expected.
5702      [Rein Tollevik <reint@sys.sol.no>] PR#2010
5703
5704   *) Fix the proxy pass-through feature of mod_rewrite for the case of
5705      existing QUERY_STRING now that mod_proxy was recently changed because of
5706      the new URL parsing stuff. [Ralf S. Engelschall]
5707
5708   *) A few changes to scoreboard definitions which helps gcc generate
5709      better code.  [Dean Gaudet]
5710
5711   *) ANSI C doesn't guarantee that "int foo : 2" in a structure will
5712      be a signed bitfield.  So mark a few bitfields as signed to
5713      ensure correct code.  [Dean Gaudet]
5714
5715   *) The default for HostnameLookups was changed to Off, but there
5716      was a problem and it wasn't taking effect. [Dean Gaudet]
5717
5718   *) PORT: Clean up undefined signals on some platforms (SCO, BeOS).
5719      [Dean Gaudet]
5720
5721   *) After a SIGHUP the listening sockets in the parent weren't
5722      properly marked for closure on fork().
5723      [Jürgen Keil <jk@tools.de>] PR#2000
5724  
5725   *) Allow %2F in two situations: 1) it is in the query part of the URI,
5726      therefore not exposed to %2F -> '/' translations and 2) the request
5727      is a proxy request, so we're not dealing with a local resource anyway.
5728      Without this, the proxy would fail to work for any URL's with
5729      %2f in them (occurs quite often in
5730      http://.../cgi-bin/...?http%3A%2F%2F... references) [Martin Kraemer]
5731
5732   *) Protect against FD_SETSIZE mismatches.  [Dean Gaudet]
5733
5734   *) Make the shared object compilation command more portable by avoiding
5735      the direct combination of `-c' & `-o' which is not honored by some
5736      compilers like UnixWare's cc. [Ralf S. Engelschall]
5737
5738   *) WIN32: the proxy was creating filenames missing the last four
5739      characters.  While this normally doesn't stop anything from 
5740      working, it can result in extra collisions.  
5741      [Tim Costello <tjcostel@socs.uts.edu.au>] PR#1890
5742
5743   *) Now mod_proxy uses the response string (in addition to the response status
5744      code) from the already used FTP SIZE command to setup the Content-Length
5745      header if available. [Ralf S. Engelschall] PR#1183
5746
5747   *) Reanimated the (still undocumented) proxy receive buffer size directive:
5748      Renamed from ReceiveBufferSize to ProxyReceiveBufferSize because the old
5749      name was really too generic, added documentation for this directive to
5750      the mod_proxy.html and corrected the hyperlink to it in the
5751      new_features_1.3.html document.  [Ralf S. Engelschall] PR#1348
5752
5753   *) Fix a bug in the src/helpers/fp2rp script and make it a little bit
5754      faster [Martin Kraemer]
5755   
5756   *) Make Configure die when you give it an unknown command switch.
5757      [Ben Hyde]
5758
5759   *) Add five new and fresh manpages for the support programs: dbmmanage.1,
5760      suexec.8, htdigest.1, rotatelogs.8 and logresolve.8.  Now all up-to-date
5761      and per default compiled support programs have manual pages - just to
5762      document our stuff a little bit more and to be able to do really
5763      Unix-like installations ;-) [Ralf S. Engelschall]
5764
5765   *) Major cleanups to the Configure script to make it and its generated
5766      Makefiles again readable and maintainable: add SRCDIR option, removed
5767      INCLUDES_DEPTH[0-2] kludge, cleanup of TARGET option, cleanup of
5768      generated sections, consequently added Makefile headers with inheritance
5769      information, added subdir movement messages for easier following where
5770      the build process currently stays (more verbose then standard Make, less
5771      verbose than GNU make), same style to comments in the Configure script,
5772      added Apache license header, fixed a few bugs, etc. [Ralf S. Engelschall]
5773      
5774   *) Add the new ApacheBench program "ab" to src/support/: This is derived
5775      from the ZeusBench benchmarking program and can be used to determine the
5776      response performance of an Apache installation. This version is
5777      officially licensed with Zeus Technology, Ltd. See the license agreement
5778      statements in <199803171224.NAA24547@en1.engelschall.com> in apache-core.
5779      [Ralf S. Engelschall]
5780
5781   *) API: Various core functions that are definately not part of the API
5782      have been made static, and a few have been marked API_EXPORT.  Still
5783      more have been marked CORE_EXPORT and are not intended for general
5784      use by modules.  [Doug MacEachern, Dean Gaudet]
5785
5786   *) mod_proxy was not clearing the Proxy-Connection header from
5787      requests; now it does.  This did not violate any spec, however 
5788      causes poor interactions when you are talking to remote proxies.  
5789      [Marc Slemko] PR#1741
5790
5791   *) Various cleanups to the command line interface and manual pages.
5792      [Ralf S. Engelschall]
5793
5794   *) cfg_getline() was not properly handling lines that did not end
5795      with a line termination character.  [Marc Slemko] PR#1869, 1909
5796
5797   *) Performance tweak to mod_log_config.  [Dmitry Khrustalev]
5798
5799   *) Clean up some undocumented behavior of mod_setenvif related to
5800      "merging" two SetEnvIf directives when they match the same header
5801      and regex.  Document that mod_setenvif will perform comparisons in
5802      the order they appear in the config file.  Optimize mod_setenvif by
5803      doing more work at config time rather than at runtime.
5804      [Dean Gaudet]
5805
5806   *) src/include/ap_config.h now wraps it's #define's with #ifndef/#endif's
5807      to allow for modules to overrule them and to reduce redefinition
5808      warnings [Jim Jagielski]
5809
5810   *) [PORT] For A/UX change the OS-#define for -DAUX to -DAUX3.
5811      [Jim Jagielski]
5812
5813   *) Making the hard-coded cross-module function call mime_find_ct() (from
5814      mod_proxy to mod_mime) obsolete by making sure the API hook for MIME type
5815      checking is really called even for proxy requests except for URLs with
5816      HTTP schemes (because there we can optimize by not running the type
5817      checking hooks due to the fact that the proxy gets the MIME Content-type
5818      from the remote host later). This change cleans up mod_mime by removing
5819      the ugly export kludge, makes the one-liner file mod_mime.h obsolete, and
5820      especially unbundles mod_proxy and mod_mime. This way they both now can
5821      be compiled as shared objects and are no longer tied together. 
5822      [Ralf S. Engelschall]
5823
5824   *) util.c cleanup and speedup. [Dean Gaudet]
5825
5826   *) API: Clarification, pstrndup() will always copy n bytes of the source
5827      and NUL terminate at the (n+1)st byte.  [Dean Gaudet]
5828
5829   *) Mark module command_rec and handler_rec structures const so that they
5830      end up in the read-only data section (and are friendlier to systems
5831      that don't do optimistic memory allocation on fork()). [Dean Gaudet]
5832
5833   *) Add check to the "Port" directive to make sure the specified 
5834      port is in the appropriate range.  [Ben Hyde]
5835
5836   *) Performance improvements to invoke_handler().
5837      [Dmitry Khrustalev <dima@bog.msu.su>]
5838
5839   *) Added support for building shared objects even for library-style modules
5840      (which are built from more than one object file). This now provides the
5841      ability to build mod_proxy as a shared object module. Additionally
5842      modules like mod_example are now also supported for shared object
5843      building because the generated Makefiles now no longer assume there is at
5844      least one statically linked module. [Ralf S. Engelschall]
5845
5846   *) API: Clarify usage of content_type, handler, content_encoding,
5847      content_language and content_languages fields in request_rec.  They
5848      must always be lowercased; and the strings pointed to shouldn't
5849      be modified (you must copy them to modify them).  Fix a few bugs
5850      related to this.  [Dean Gaudet]
5851
5852   *) API: Clarification: except for RAW_ARGS, all command handlers can
5853      treat the char * parameters as permanent, and modifiable.  There
5854      is no need to pstrdup() them.  Clean up some needless pstrdup().
5855      [Dean Gaudet]
5856
5857   *) Now mod_so keeps track of which module shared objects with which names
5858      are loaded and thus avoids multiple loading and unloading and irritating
5859      error_log messages. [Ralf S. Engelschall]
5860
5861   *) Prior to the existence of mod_setenv it was necessary to tweak the TZ
5862      environment variable in the apache core.  But that tweaking interferes
5863      with mod_setenv.  So don't tweak if the user has specified an explicit
5864      TZ variable.  [Jay Soffian <jay@cimedia.com>] PR#1888
5865
5866   *) rputs() did not calculate r->sent_bodyct properly.
5867      [Siegmund Stirnweiss <siegst@kat.ina.de>] PR#1900
5868
5869   *) The CGI spec says that REMOTE_HOST should be set to the remote hosts's
5870      name, or left unset if this value is unavailable.  Apache was setting
5871      it to the IP address when unavailable.
5872      [Tony Finch <fanf@demon.net>] PR#1925
5873
5874   *) Various improvements to the configuration and build support for compiling
5875      modules as shared objects. Especially Solaris 2.x, SunOS 4.1, IRIX and
5876      OSF1 support with GCC and vendor compilers was added.  This way shared
5877      object support is now provided out-of-the-box for FreeBSD, Linux,
5878      Solaris, SunOS, IRIX and OSF1. In short: On all major platforms!
5879      [Ralf S. Engelschall]
5880
5881   *) Minor cleanup in http_main -- split QNX and OS2 specific "mmap"
5882      scoreboard code into separate #defines -- USE_POSIX_SCOREBOARD
5883      and USE_OS2_SCOREBOARD.  [Dean Gaudet]
5884
5885   *) Fix one more special locking problem for RewriteMap programs in
5886      mod_rewrite: According to the documentation of flock(), "Locks are on
5887      files, not file descriptors.  That is, file descriptors duplicated
5888      through dup(2) or fork(2) do not result in multiple instances of a lock,
5889      but rather multiple references to a single lock. If a process holding a
5890      lock on a file forks and the child explicitly unlocks the file, the
5891      parent will lose its lock.". To overcome this we have to make sure the
5892      RewriteLock file is opened _AFTER_ the childs were spawned which is now
5893      the case by opening it in the child_init instead of the module_init API
5894      hook. [Ralf S. Engelschall] PR#1029
5895
5896   *) Change to Location and LocationMatch semantics.  LocationMatch no
5897      longer lets a single slash match multiple adjacent slashes in the
5898      URL.  This change is for consistency with RewriteRule and
5899      AliasMatch.  Multiple slashes have meaning in URLs that they do
5900      not have in (some) filesystems.  Location on the other hand can
5901      be considered a shorthand for a more complicated regex, and it
5902      does match multiple slashes with a single slash -- which is
5903      also consistent with the Alias directive.
5904      [Dean Gaudet] related PR#1440
5905
5906   *) Fix bug with mod_mime_magic causing certain files, including files
5907      of length 0, to result in no response from the server.
5908      [Dean Gaudet]
5909
5910   *) The Configure script now generates src/include/ap_config.h which
5911      contains the set of defines used when Apache is compiled on a platform.
5912      This file can then be included by external modules before including
5913      any Apache header files in case they are being built separately from
5914      Apache.  Along with this change, a couple of minor changes were
5915      made to make Apache's #defines coexist peacefully with any autoconf
5916      defines an external module might have. [Rasmus Lerdorf]
5917
5918   *) Fix mod_rewrite for the ugly API case where <VirtualHost> sections exist
5919      but without any RewriteXXXXX directives. Here mod_rewrite is given no
5920      chance by the API to initialize its per-server configuration and thus
5921      receives the wrong one from the main server. This is now avoided by
5922      remembering the server together with the config structure while
5923      configuring and later assuming there is no config when we see a
5924      difference between the remembered server and the one calling us. 
5925      [Ralf S. Engelschall] PR#1790
5926
5927   *) Fixed the DBM RewriteMap support for mod_rewrite: First the support now
5928      is automatically disabled under configure time when the dbm_xxx functions
5929      are not available. Second, two heavy source code errors in the DBM
5930      support code were fixed.  This makes DBM RewriteMap's usable again after
5931      a long time of brokenness. [Ralf S. Engelschall] PR#1696
5932
5933   *) Now all configuration files support Unix-style line-continuation via 
5934      the trailing backslash ("\") character. This enables us to write down
5935      complex or just very long directives in a more readable way.  The
5936      backslash character has to be really the last character before the
5937      newline and it has not been prefixed by another (escaping) backslash.
5938      [Ralf S. Engelschall]
5939
5940   *) When using ProxyPass the ?querystring was not passed correctly.
5941      [Joel Truher <truher@wired.com>]
5942
5943   *) To deal with modules being compiled and [dynamically] linked
5944      at a different time from the core, the SERVER_VERSION and
5945      SERVER_BUILT symbols have been abstracted through the new
5946      API routines apapi_get_server_version() and apapi_get_server_built().
5947      [Ken Coar]  PR#1448
5948
5949   *) WIN32: Preserve trailing slash in canonical path (and hence
5950      in PATH_INFO). [Paul Sutton, Ben Laurie]
5951
5952   *) PORT: USE_PTHREAD_SERIALIZED_ACCEPT has proven unreliable
5953      depending on the rev of Solaris and what mixture of modules
5954      are in use.  So it has been disabled, and Solaris is back to
5955      using USE_FCNTL_SERIALIZED_ACCEPT.  Users may experiment with
5956      USE_PTHREAD_SERIALIZED_ACCEPT at their own risk, it may speed
5957      up static content only servers.  Or it may fail unpredictably.
5958      [Dean Gaudet] PR#1779, 1854, 1904
5959
5960   *) mod_test_util_uri.c created which tests the logic in util_uri.c.
5961      [Dean Gaudet]
5962
5963   *) API: Rewrite of absoluteURI handling, and in particular how
5964      absoluteURIs match vhosts.  Unless a request is a proxy request, a
5965      "http://host" url is treated as if a similar "Host:" header had been
5966      supplied.  This change was made to support future HTTP/1.x protocols
5967      which may require clients to send absoluteURIs for all requests.
5968
5969      In order to achieve this change subtle changes were made to the API.  In a
5970      request_rec, r->hostlen has been removed.  r->unparsed_uri now exists so
5971      that the unmodified uri can be retrieved easily.  r->proxyreq is not set
5972      by the core, modules must set it during the post_read_request or
5973      translate_names phase.
5974
5975      Plus changes to the virtualhost test suite for absoluteURI testing.
5976
5977      This fixes several bugs with the proxy proxying requests to vhosts
5978      managed by the same httpd.
5979      [Dean Gaudet]
5980
5981   *) API: Cleanup of code in http_vhost.c, and remove vhost matching
5982      code from mod_rewrite.  The vhost matching is now performed by a
5983      globally available function matches_request_vhost().  [Dean Gaudet]
5984
5985   *) Reduce memory usage, and speed up ServerAlias support.  As a
5986      side-effect users can list multiple ServerAlias directives
5987      and they're all considered.
5988      [Chia-liang Kao <clkao@cirx.org>] PR#1531
5989
5990   *) The "poly" directive in image maps did not include the borders of the
5991      polygon, whereas the "rect" directive does.  Fix this inconsistency.
5992      [Konstantin Morshnev <moko@design.ru>] PR#1771
5993
5994   *) Make \\ behave as expected.  [Ronald.Tschalaer@psi.ch]
5995
5996   *) Add the `%a' construct to LogFormat and CustomLog to log the client IP
5997      address. [Todd Eigenschink <eigenstr@mixi.net>] PR#1885
5998
5999   *) API: A new source module main/util_uri.c; It contains a routine
6000      parse_uri_components() and friends which breaks a URI into its component
6001      parts.  These parts are stored in a uri_components structure called
6002      parsed_uri within each request_rec, and are available to all modules.
6003      Additionally, an unparse routine is supplied which re-assembles the URI
6004      components back to an URI, optionally hiding the username:password@ part
6005      from ftp proxy requests, and other useful routines.  Within the structure,
6006      you find on a ready-for-use basis:
6007         scheme;     /* scheme ("http"/"ftp"/...) */
6008         hostinfo;   /* combined [user[:password]@]host[:port] */
6009         user;       /* user name, as in http://user:passwd@host:port/ */
6010         password;   /* password, as in http://user:passwd@host:port/ */
6011         hostname;   /* hostname from URI (or from Host: header) */
6012         port_str;   /* port string (integer representation is in "port") */
6013         path;       /* the request path (or "/" if only scheme://host was given) */
6014         query;      /* Everything after a '?' in the path, if present */
6015         fragment;   /* Trailing "#fragment" string, if present */
6016      This is meant to serve as the platform for *BIG* savings in
6017      code complexity for the proxy module (and maybe the vhost logic).
6018      [Martin Kraemer]
6019
6020   *) Make all possible meta-construct expansions ($N, %N, %{NAME} and
6021      ${map:key}) available for all location where a string is created in
6022      mod_rewrite rewriting rulesets: 1st arg of RewriteCond, 2nd arg of
6023      RewriteRule and for the [E=NAME:STRING] flag of RewriteRule. This way the
6024      possible expansions are consequently usable at all string creation
6025      locations. [Ralf S. Engelschall]
6026
6027   *) Fix initialization of RewriteLogLevel (default now is 0 as documented 
6028      and not 1) and the per-virtual-server merging of directives. Now all
6029      directives except `RewriteEngine' and `RewriteOption' are either
6030      completely overridden (default) or completely inherited (when
6031      `RewriteOptions inherit') is used. [Ralf S. Engelschall] PR#1325
6032
6033   *) Fix `RewriteMap' program lookup in situations where such maps are
6034      defined but disabled (`RewriteEngine off') in per-server context. 
6035      [Ralf S. Engelschall] PR#1431
6036
6037   *) Fix bug introduced in 1.3b4-dev, config with no Port setting would cause
6038      server to bind to port 0 rather than 80.  [Dean Gaudet]
6039
6040   *) Fix long-standing problem with RewriteMap _programs_ under Unix derivates
6041      (like SunOS and FreeBSD) which don't accept the locking of pipes
6042      directly.  A new directive RewriteLock is introduced which can be used to
6043      setup a separate locking file which then is used for synchronization.
6044      [Ralf S. Engelschall] PR#1029
6045
6046   *) WIN32: The server root is obtained from the registry key
6047      HKLM\SOFTWARE\Apache Group\Apache\<version> (version is currently
6048      "1.3 beta"), unless overridden by the -d command line flag. The
6049      value is stored by running "apache -i -d serverroot". [Paul Sutton]
6050
6051   *) Merged os/win32/mod_dll.c into modules/standard/mod_so.c to support
6052      dynamic loading on Win32 and Unix via the same module. [Paul Sutton]
6053
6054   *) Now mod_rewrite no longer makes problematic assumptions on the characters
6055      a username can contain when trying to expand it via /etc/passwd. 
6056      [Ralf S. Engelschall]
6057
6058   *) The mod_setenvif BrowserMatch backwards compatibility command did not
6059      work properly with spaces in the regex.  [Ronald Tschalaer] PR#1825
6060
6061   *) Add new RewriteMap types: First, `rnd' which is equivalent to the `txt'
6062      type but with a special post-processing for the looked-up value: It
6063      parses it into alternatives according to `|' chars and then only one
6064      particular alternative is chosen randomly (this is an essential
6065      functionality needed for balancing between backend-servers when using
6066      Apache as a Reverse Proxy.  The looked up value here is a list of
6067      servers). Second, `int' with the built-in maps named `tolower' and
6068      `toupper' which can be used to map URL parts to a fixed case (this is an
6069      essential feature to fix the case of server names when doing mass
6070      virtual-hosting with the help of mod_rewrite instead of using
6071      <VirtualHost> sections). [Ralf S. Engelschall, parts based on code from
6072      Jay Soffian <jay@cimedia.com>] PR#1631
6073
6074   *) Add a new directive to mod_proxy similar to ProxyPass: `ProxyPassReverse'.
6075      This directive lets Apache adjust the URL in Location-headers on HTTP
6076      redirect responses sent by the remote server. This way the virtually
6077      mapped area is no longer left on redirects and thus by-passed which is
6078      especially essential when running Apache as a reverse proxy.  
6079      [Ralf S. Engelschall]
6080
6081   *) Hide Proxy-Authorization from CGI/SSI/etc just like Authorization is
6082      hidden. [Alvaro Martinez Echevarria]
6083
6084   *) Apache will, when started with the -X (single process) debugging flag,
6085      honor the SIGINT or SIGQUIT signals again now. This capability got lost
6086      a while ago during OS/2 signal handling changes.
6087
6088   *) [PORT] Work around the fact that NeXT runs on more than the
6089      m68k chips in mod_status [Scott Anguish and Timothy Luoma
6090      <luomat@peak.org>]
6091
6092   *) [PORT] Recognize FreeBSD versions so we can use the OS regex as well
6093      as handling unsigned-chars for FreeBSD v3 and v2 [Andrey Chernov
6094      <ache@nagual.pp.ru> and Jim] PR#1450
6095
6096   *) Use SA_RESETHAND or SA_ONESHOT when installing the coredump handlers.
6097      In particular the handlers could trigger themselves into an infinite
6098      loop if RLimitMem was used with a small amount of memory -- too small
6099      for the signal stack frame to be set up.  [Dean Gaudet]
6100
6101   *) Fix problems with absoluteURIs introduced during 1.3b4.  [Dean Gaudet,
6102      Alvaro Martinez Echevarria <alvaro@lander.es>]
6103
6104   *) Fix multiple UserDir problem introduced during 1.3b4-dev.
6105      [Dean Gaudet] PR#1850
6106
6107   *) ap_cpystrn() had an off-by-1 error.
6108      [Charles Fu <ccwf@klab.caltech.edu>] PR#1847
6109
6110   *) API: As Ken suggested the check_cmd_context() function and related
6111      defines are non-static now so modules can use 'em.  [Martin Kraemer]
6112
6113   *) mod_info would occasionally produce an unpaired <tt> in its
6114      output. Fixed. [Martin Kraemer]
6115
6116   *) By default AIX binds a process (and it's children) to a single
6117      processor.  httpd children now unbind themselves from that cpu
6118      and re-bind to one selected at random via bindprocessor()
6119      [Doug MacEachern]
6120
6121   *) Linux 2.0 and above implement RLIMIT_AS, RLIMIT_DATA has almost no
6122      effect.  Work around it by using RLIMIT_AS for the RLimitMEM
6123      directive.  [Enrik Berkhan <enrik@inka.de>] PR#1816
6124
6125   *) mod_mime_magic error message should indicate the filename when
6126      reads fail.  ["M.D.Parker" <mdpc@netcom.com>] PR#1827
6127
6128   *) Previously Apache would permit </Files> to end <FilesMatch> (and
6129      similary for Location and Directory), now this is diagnosed as an
6130      error.  Improve error messages for mismatched sections (<Files>,
6131      <FilesMatch>, <Directory>, <DirectoryMatch>, ...).
6132      [Dean Gaudet, Martin Kraemer]
6133
6134   *) <Files> is not permitted within <Location> (because of the
6135      semantic ordering).  [Dean Gaudet] PR#379
6136
6137   *) <Files> with wildcards was broken by the change in wildcard
6138      semantics (* does not match /).  To fix this, <Files> now
6139      apply only to the basename of the request filename.  This
6140      fixes some other inconsistencies in <Files> semantics
6141      (such as <Files a*b> not working).  [Dean Gaudet] PR#1817
6142
6143   *) Removed bogus "dist.tar" target from Makefile.tmpl and make sure
6144      backup files are removed on "clean" target [Ralf S. Engelschall]
6145
6146   *) PORT: Add -lm to LIBS for HPUX.  [Dean Gaudet] PR#1639
6147
6148   *) Various errors from select() and accept() in child_main() would
6149      result in an infinite loop.  It seems these two tickle kernel
6150      or library bugs occasionally, and result in log spammage and
6151      a generally bad scene.  Now the child exits immediately,
6152      which seems to be a good workaround.
6153      [Dean Gaudet] PR#1747, 1107, 588, 1787, 987, 588
6154
6155   *) Cleaned up some race conditions in unix child_main during
6156      initialization. [Dean Gaudet]
6157
6158   *) SECURITY: "UserDir /abspath" without a * in the path would allow
6159      remote users to access "/~.." and bypass access restrictions
6160      (but note /~../.. was handled properly).
6161      [Lauri Jesmin <jesmin@ut.ee>] PR#1701
6162
6163   *) API: os_is_path_absolute() now takes a const char * instead of a char *.
6164      [Dean Gaudet]
6165
6166 Changes with Apache 1.3b5
6167
6168   *) Source file dependencies in Makefile.tmpl files throughout the
6169      source tree were updated to accurately reflect reality.
6170      [Dean Gaudet]
6171
6172   *) Preserve the content encoding given by the AddEncoding directive
6173      when the client doesn't otherwise specify an encoding.
6174      [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>]
6175
6176   *) Sort out problems with canonical filename handling happening too late.
6177      [Dean Gaudet, Ben Laurie]
6178
6179 Changes with Apache 1.3b4
6180
6181   *) The module structure was modified to include a *dynamic_load_handle
6182      in the STANDARD_MODULE_STUFF portion, and the MODULE_MAGIC_NUMBER
6183      has been bumped accordingly.  [Paul Sutton]
6184
6185   *) All BrowserMatch directives mentioned in
6186      htdocs/manual/known_client_problems.html are in the default
6187      configuration files.  [Lars Eilebrecht]
6188
6189   *) MiNT port update. [Jan Paul Schmidt]
6190
6191   *) HTTP/1.1 requires x-gzip and gzip encodings be treated
6192      equivalent, similarly for x-compress and compress.  Apache
6193      now ignores a leading x- when comparing encodings.  It also
6194      preserves the encoding the client requests (for example if
6195      it requests x-gzip, then Apache will respond with x-gzip
6196      in the Content-Encoding header).
6197      [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>] PR#1772
6198
6199   *) Fix a memory leak on keep-alive connections.  [Igor Tatarinov]
6200
6201   *) Added mod_so module to support dynamic loading of modules on Unix
6202      (like mod_dld for Win32). This replaces mod_dld.c. Use SharedModule
6203      instead of AddModule in Configuration to build shared modules
6204      [Sameer Parekh, Paul Sutton]
6205
6206   *) Minor cleanups to r->finfo handling in some modules.
6207      [Dean Gaudet]
6208
6209   *) Abstract read()/write() to ap_read()/ap_write().
6210      Makes it easier to add other types of IO code such as SFIO.
6211      [Randy Terbush]
6212
6213   *) API: Generalize default_port manipulations to make support of
6214      different protocols easier. [Ben Laurie, Randy Terbush]
6215
6216   *) There are many cases where users do not want Apache to form
6217      self-referential urls using the "canonical" ServerName and Port.
6218      The new UseCanonicalName directive (default on), if set to off
6219      will cause Apache to use the client-supplied hostname and port.
6220      API: Part of this change required a change to the construct_url()
6221      prototype; and the addition of get_server_name() and
6222      get_server_port().
6223      [Michael Douglass <mikedoug@texas.net>, Dean Gaudet]
6224      PR#315, 459, 485, 1433
6225
6226   *) Yet another rearrangement of the source tree.. now all the common
6227      header files are in the src/include directory.  The -Imain -Iap
6228      references in Makefiles have been changed to the simpler -Iinclude
6229      instead.  In addition to simplifying the build a little bit, this
6230      also makes it clear when a module is referencing something in a
6231      other than kosher manner (e.g., the proxy including mod_mime.h).
6232      Module-private header files (the proxy, mod_mime, the regex library,
6233      and mod_rewrite) have not been moved to src/include; nor have
6234      the OS-abstraction files.  [Ken Coar]
6235
6236   *) Fix a bug where r->hostname didn't have the :port stripped
6237      from it.  [Dean Gaudet]
6238
6239   *) Tweaked the headers_out table size, and the subprocess_env
6240      table size guess in rename_original_environment().  Added
6241      MAKE_TABLE_PROFILE which can help discover make_table()
6242      calls that use too small an initial guess, see alloc.c.
6243      [Dean Gaudet]
6244
6245   *) Options and AllowOverride weren't properly merging in the main
6246      server setting inside vhosts (only an issue when you have no
6247      <Directory> or other section containing an Options that affects
6248      a request).  Options +foo or -foo in the main_server wouldn't
6249      affect the main_server's lookup defaults.  [Dean Gaudet]
6250
6251   *) Variable 'cwd' was being used pointlessly before being set.
6252      [Ken Coar] PR#1738
6253
6254   *) r->allowed handling cleaned up in the standard modules.
6255      [Dean Gaudet]
6256
6257   *) Some case-sensitivity issues cleaned up to be consistent with
6258      RFC2068.  [Dean Gaudet]
6259
6260   *) SIGURG doesn't exist everywhere.
6261      [Mark Andrew Heinrich <heinrich@tinderbox.Stanford.EDU>]
6262
6263   *) mod_unique_id was erroneously generating a second unique id when
6264      an internal redirect occured.  Such redirects occur, for example,
6265      when processing a DirectoryIndex match.  [Dean Gaudet]
6266
6267   *) API: table_add, table_merge, and table_set include implicit pstrdup()
6268      of the key and value.  But in many cases this is not required
6269      because the key/value is a constant, or the value has been built
6270      by pstrcat() or other similar means.  New routines table_addn,
6271      table_mergen, and table_setn have been added to the API, these
6272      routines do not pstrdup() their arguments.  The core code and
6273      standard modules were changed to take advantage of these routines.
6274      The resulting server is up to 20% faster in some situations.
6275
6276      Note that it is easy to get code subtly wrong if you pass a key/value
6277      which is in a pool other than the pool of the table.  The only
6278      safe thing to do is to pass key/values which are in the pool of
6279      the table, or in one of the ancestors of the pool of the table.
6280      i.e. if the table is part of a subrequest, a value from the main
6281      request's pool is OK since the subrequest pool is a sub_pool of the
6282      main request's pool (and therefore has a lifespan at most as long as
6283      the main pool).  There is debugging code which can detect improper
6284      usage, enabled by defining POOL_DEBUG.  See alloc.c for more details.
6285      [Dmitry Khrustalev <dima@bog.msu.su>, Dean Gaudet]
6286
6287   *) More mod_mime_magic cleanup:  fewer syscalls; should handle "files"
6288      which don't exist on disk more gracefully; handles vhosts properly.
6289      Update documentation to reflect the code -- if there's no
6290      MimeMagicFile directive then the module is not enabled.
6291      [Dean Gaudet]
6292
6293   *) PORT: Some older *nix dialects cannot automatically start scripts
6294      which begin with a #! interpreter line (the shell starts the scripts
6295      appropriately on these platforms). Apache now supports starting of
6296      "hashbang-scripts" when the NEED_HASHBANG_EMUL define is set.
6297      [Martin Kraemer, with code from peter@zeus.dialix.oz.au (Peter Wemm)
6298      taken from tcsh]
6299
6300   *) API: "typedef array_header table" removed from alloc.h, folks should
6301      have been writing to use table as if it were an opaque type, but even
6302      some standard modules got this wrong.  By changing the definition
6303      to "typedef struct table table" module authors will receive compile
6304      time warnings that they're doing the wrong thing.  This change
6305      facilitates future changes with more sophisticated table
6306      structures.  Specifically, module authors should be using table_elts()
6307      to get access to an array_header * for the table. [Dean Gaudet]
6308
6309   *) API: Renamed new_connection() to avoid namespace collision with LDAP
6310      library routines.  [Ken Coar, Rasmus Lerdorf]
6311
6312   *) WIN32: mod_speling is now available on the Win32 platform.
6313      [Marc Slemko]
6314
6315   *) For clarity the following compile time definition was changed:
6316
6317         SAFE_UNSERIALIZED_ACCEPT  ->   SINGLE_LISTEN_UNSERIALIZED_ACCEPT
6318
6319      Also, for example, HAVE_MMAP would mean to use mmap() scoreboards
6320      and not be a general notice that the OS has mmap(). Now the
6321      HAVE_MMAP/SHMGET #defines strictly are informational that the
6322      OS has that method of shared memory; the type to use for
6323      the scoreboard is a seperate #define (USE_MMAP_SCOREBOARD
6324      and USE_SHMGET_SCOREBOARD). This allows outside modules to
6325      determine if shared memory is available and allows Apache
6326      to determine the best method to use for the scoreboard.
6327      [Jim Jagielski]
6328
6329   *) PORT: UnixWare 2.1.2 SMP appears to require USE_FCNTL_SERIALIZED_ACCEPT,
6330      as do various earlier versions.  It should be safe on all versions.
6331      Unixware 1.x appears to have the same SIGHUP bug as solaris does with
6332      the slack code.  A few other cleanups for Unixware.
6333      [Tom Hughes <thh@cyberscience.com>] PR#1082, PR#1282, PR#1499, PR#1553
6334
6335   *) PORT: A/UX can handle single-listen accepts without mutex
6336      locking, so we add SINGLE_LISTEN_UNSERIALIZED_ACCEPT. [Jim Jagielski]
6337
6338   *) When die() happens we need to eat any request body if one exists.
6339      Otherwise we can't continue with a keepalive session.  This shows up
6340      as a POST problem with MSIE 4.0, typically against pages which are
6341      authenticated.  [Roy Fielding] PR#1399
6342
6343   *) If you define SECURITY_HOLE_PASS_AUTHORIZATION then the Authorization
6344      header will be passed to CGIs.  This is generally a security hole, so
6345      it's not a default.  [Marc Slemko] PR#549
6346
6347   *) Fix Y2K problem with date printing in suexec log.
6348      [Paul Eggert <eggert@twinsun.com>] PR#1343
6349
6350   *) WIN32 deserves a pid file.  [Ben Hyde]
6351
6352   *) suexec errors now include the errno/description.  [Marc Slemko] PR#1543
6353
6354   *) PORT: OSF/1 now uses USE_FLOCK_SERIALIZED_ACCEPT to solve PR#467.
6355      The choice of flock vs. fcntl was made based on timings which showed that
6356      even on non-NFS, non-exported filesystems fcntl() was an order of
6357      magnitude slower.  It also uses SINGLE_LISTEN_UNSERIALIZED_ACCEPT so
6358      that single socket users will see no difference. [Dean Gaudet] PR#467
6359
6360   *) "File does not exist" error message was erroneously including the
6361      errno.  [Marc Slemko]
6362
6363   *) Improve the warning message generated when a client drops the
6364      connection (hits stop button, etc.) during a send.  [Roy Fielding]
6365
6366   *) Defining GPROF will disable profiling in the parent and enable it
6367      in the children.  If you're profiling under Linux this is pretty much
6368      necessary because SIGPROF is lost across a fork(). [Dean Gaudet]
6369
6370   *) htdigest and htpasswd needed slight tweaks to work on OS/2 and WIN32.
6371      [Brian Havard]
6372
6373   *) The NeXT cc (which is gcc hacked up) doesn't appear to support some
6374      gcc functionality.  Work around it.
6375      [Keith Severson <keith@sssd.navy.mil>] PR#1613
6376
6377   *) Some linkers complain when .o files contain no functions.
6378      [Keith Severson <keith@sssd.navy.mil>] PR#1614
6379
6380   *) Some const declarations in mod_imap.c that were added for debugging
6381      purposes caused some compilers heartburn without adding any
6382      significant value, so they've been removed.  [Ken Coar]
6383
6384   *) The src/main/*.h header files have had #ifndef wrappers added to
6385      insulate them against duplicate calls if they get included through
6386      multiple paths (e.g., in .c files as well as other .h files).
6387      [Ken Coar]
6388
6389   *) The libap routines now have a header file for their prototypes,
6390      src/ap/ap.h, to ease their use in non-httpd applications.  [Ken Coar]
6391
6392   *) mod_autoindex with a plaintext header file would emit the <PRE>
6393      start-tag before the HTML preamble, rather than after the preamble
6394      but before the header file contents.  [John Van Essen <jve@gamers.org>]
6395      PR#1667
6396
6397   *) SECURITY: Fix a possible buffer overflow in logresolve.  This is
6398      only an issue on systems without a MAXDNAME define or where
6399      the resolver returns domain names longer than MAXDNAME.  [Marc Slemko]
6400
6401   *) SECURITY: Eliminate possible buffer overflow in cfg_getline, which
6402      is used to read various types of files such as htaccess and
6403      htpasswd files.  [Marc Slemko]
6404
6405   *) SECURITY: Ensure that the buffer returned by ht_time is always
6406      properly null terminated.  [Marc Slemko]
6407
6408   *) The "Connection" header could be sent back with multiple "close"
6409      tokens.  Not an error, but a waste.
6410      [Ronald.Tschalaer@psi.ch] PR#1683
6411
6412   *) mod_rewrite's RewriteLog should behave like mod_log_config, it
6413      shouldn't force hostname lookups.  [Dean Gaudet] PR#1684
6414
6415   *) "basic" auth needs a case-insensitive comparison.
6416      [Ronald.Tschalaer@psi.ch] PR#1666
6417
6418   *) For maximum portability, the environment passed to CGIs should
6419      only contain variables whose names match the regex
6420      /[a-zA-Z][a-zA-Z0-9_]*/.  This is now enforced by stamping
6421      underscores over any character outside the regex.  This
6422      affects HTTP_* variables, in a way that should be backward
6423      compatible for all the standard headers; and affects variables
6424      set with SetEnv/BrowserMatch and similar directives.
6425      [Dean Gaudet]
6426
6427   *) mod_speling returned incorrect HREF's when an ambigous match
6428      was found. Noticed by <robinton@amtrash.comlink.de> (Soeren Ziehe)
6429      [robinton@amtrash.comlink.de (Soeren Ziehe), Martin Kraemer]
6430
6431   *) PORT: Apache now compiles & runs on an EBCDIC mainframe
6432      (the Siemens BS2000/OSD family) in the POSIX subsystem
6433      [Martin Kraemer]
6434
6435   *) PORT: Fix problem killing children when terminating.  Allow ^C
6436      to shut down the server.  [Brian Havard]
6437
6438   *) pstrdup() is implicit in calls to table_* functions, so there's
6439      no need to do it before calling.  Clean up a few cases.
6440      [Marc Slemko, Dean Gaudet]
6441
6442   *) new -C and -c command line arguments
6443      usage:
6444      -C "directive" : process directive before reading config files
6445      -c "directive" : process directive after reading config files
6446      example:
6447      httpd -C "PerlModule Apache::httpd_conf"
6448      [Doug MacEachern, Martin Kraemer]
6449
6450   *) WIN32: Fix the execution of CGIs that are scripts and called 
6451      with path info that does not have an '=' in.
6452      (eg. http://server/cgi-bin/printenv?foobar)  
6453      [Marc Slemko] PR#1591
6454
6455   *) WIN32: Fix a call to os_canonical_filename so it doesn't try to 
6456      mess with fake filenames.  This fixes proxy caching on 
6457      win32. PR#1265
6458
6459   *) SECURITY: General mod_include cleanup, including fixing several
6460      possible buffer overflows and a possible infinite loop.
6461      [Dean Gaudet, Marc Slemko]
6462
6463   *) SECURITY: Numerous changes to mod_imap in a general cleanup
6464      including fixing a possible buffer overflow.  [Dean Gaudet]
6465
6466   *) WIN32: overhaul of multithreading code. Shutdowns are now graceful
6467      (connections are not dropped). Code can handle graceful restarts
6468      (but there is as yet no way to signal this to Apache). Various
6469      other cleanups. [Paul Sutton]
6470
6471   *) The aplog_error changes specific to 1.3 introduced a buffer
6472      overrun in the (now legacy) log_printf function.  Fixed.
6473      [Dean Gaudet]
6474
6475   *) mod_digest didn't properly deal with proxy authentication.  It
6476      also lacked a case-insensitive comparision of the "Digest"
6477      token.  [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>] PR#1599
6478
6479   *) A few cleanups in mod_status for efficiency.  [Dean Gaudet]
6480
6481   *) A few cleanups in mod_info to make it thread-safe, and remove an
6482      off-by-5 bug that could hammer \0 on the stack. [Dean Gaudet]
6483
6484   *) no2slash() was O(n^2) in the length of the input.  Make it O(n).
6485      [Dean Gaudet]
6486
6487   *) API: migration from strncpy() to our "enhanced" version called
6488      ap_cpystrn() for performance and functionality reasons.
6489      Located in libap.a.  [Jim Jagielski]
6490
6491   *) table_set() and table_unset() did not deal correctly with
6492      multiple occurrences of the same key.
6493      [Stephen Scheck <sscheck@infonex.net>, Ben Laurie] PR#1604
6494
6495   *) The AuthName must now be enclosed in quotes if it is to contain
6496      spaces.  [Ken Coar] PR#1195
6497
6498   *) API: new function: ap_escape_quotes(). [Ken Coar] PR#1195
6499
6500   *) WIN32: Work around optimiser bug that killed ISAPI in release
6501      versions. [Ben Laurie] PR#1533
6502
6503   *) PORT: Update the MPE port [Mark Bixby, Jim Jagielski]
6504
6505   *) Interim (slow) fix for p->sub_pool critical sections in
6506      alloc.c (affects win32 only).  [Ben Hyde]
6507
6508   *) non-WIN32 was missing destroy_mutex definition.  [Ben Hyde]
6509
6510   *) send_fd_length() did not calculate total_bytes_sent properly.
6511      [Ben Reser <breser@regnow.com>] PR#1366
6512
6513   *) The bputc() macro was not properly integrated with the chunking
6514      code; in many cases modules using bputc() could cause completely
6515      bogus chunked output.  (Typically this will show up as problems
6516      with Internet Explorer 4.0 reading a page, but other browsers
6517      having no problem.) [Dean Gaudet]
6518
6519   *) Create LARGE_WRITE_THRESHOLD define which determines how many
6520      bytes have to be supplied to bwrite() before it will consider
6521      doing a writev() to assemble multiple buffers in one system
6522      call.  This is critical for modules such as mod_include,
6523      mod_autoindex, mod_php3 which all use bputc()/bputs() of smaller
6524      strings in some cases.  The result would be extra effort
6525      setting up writev(), and in many cases extra effort building
6526      chunks.  The default is 31, it can be overriden at compile
6527      time. [Dean Gaudet]
6528
6529   *) Move the gid switching code into the child so that log files
6530      and pid files are opened with the root gid.
6531      [Gregory A Lundberg <lundberg@vr.net>]
6532
6533   *) WIN32: Check for binaries by looking for the executable header
6534      instead of counting control characters.
6535      [Jim Patterson <Jim.Patterson@Cognos.COM>] PR#1340
6536
6537   *) ap_snprintf() moved from main/util_snprintf.c to ap/ap_snprintf.c
6538      so the functionality is available to applications other than the
6539      server itself (like the src/support tools).  [Ken Coar]
6540
6541   *) ap_slack() moved out of main/util.c into ap/ap_slack.c as part of
6542      the libap consolidation work.  [Ken Coar]
6543
6544   *) ap_snprintf() with a len of 0 behaved like sprintf().  This is not
6545      useful, and isn't what the standards require.  Now it returns 0
6546      and writes nothing.  [Dean Gaudet]
6547
6548   *) When an error occurs in fcntl() locking suggest the user look up
6549      the docs for LockFile.  [Dean Gaudet]
6550
6551   *) Eliminate some dead code from writev_it_all().
6552      [Igor Tatarinov <tatarino@prairie.NoDak.edu>]
6553
6554   *) mod_autoindex had an fread() without checking the result code.
6555      It also wouldn't handle "AddIconByType (TXT,/icons/text.gif text/*"
6556      (note the missing closing paren) properly.  [Dean Gaudet]
6557
6558   *) It appears the "257th byte" bug (see
6559      htdocs/manual/misc/known_client_problems.html#257th-byte) can happen
6560      at the 256th byte as well.  Fixed.  [Dean Gaudet]
6561
6562   *) PORT: Fix mod_mime_magic under OS/2, no support for block devices.
6563      [Brian Havard]
6564
6565   *) Fix memory corruption caused by allocating auth usernames in the
6566      wrong pool.  [Dean Gaudet] PR#1500
6567
6568   *) Fix an off-by-1, and an unterminated string error in
6569      mod_mime_magic.  [Dean Gaudet]
6570
6571   *) Fix a potential SEGV problem in mod_negotiation when dealing
6572      with type-maps.  [Dean Gaudet]
6573
6574   *) Better glibc support under Linux.  [Dean Gaudet] PR#1542
6575
6576   *) "RedirectMatch gone /" would cause a SIGSEGV. [Dean Gaudet] PR#1319
6577
6578   *) WIN32: avoid overflows during file canonicalisations.
6579      [malcolm@mgdev.demon.co.uk] PR#1378
6580
6581   *) WIN32: set_file_slot() didn't detect absolute paths. [Ben Laurie]
6582      PR#1511, 1508
6583
6584   *) WIN32: mod_status display header didn't match fields. [Ben Laurie]
6585
6586   *) The pthread_mutex_* functions return an error code, and don't
6587      set errno.  [Igor Tatarinov <tatarino@prairie.NoDak.edu>]
6588
6589   *) WIN32: Allow spaces to prefix the interpreter in #! lines.
6590      [Ben Laurie] PR#1101
6591
6592   *) WIN32: Cure file leak in CGIs. [Peter Tillemans <pti@net4all.be>] PR#1523
6593
6594   *) proxy_ftp: the directory listings generated by the proxy ftp module
6595      now have a title in which the path components are clickable and allow
6596      quick navigation to the clicked-on directory on the currently listed
6597      ftp server. This also fixes a bug where the ".." directory links would
6598      sometimes refer to the wrong directory.  [Martin Kraemer]
6599
6600   *) WIN32: Allocate the correct amount of memory for the scoreboard.
6601      [Ben Hyde] PR#1387
6602
6603   *) WIN32: Only lowercase the part of the path that is real. [Ben Laurie]
6604      PR#1505
6605
6606   *) Fix problems with timeouts in inetd mode and -X mode.  [Dean Gaudet]
6607
6608   *) Fix the spurious "(0)unknown error: mmap_handler: mmap failed"
6609      error messages. [Ben Hyde]
6610
6611 Changes with Apache 1.3b3
6612
6613   *) WIN32: Work around brain-damaged spawn calls that can't deal
6614      with spaces and slashes.  [Ben Laurie]
6615
6616   *) WIN32: Fix the code so CGIs can use socket calls on Windows.  
6617      The problem was that certain undocumented environment variables
6618      needed for sockets to work under Win32 were not being passed.
6619      [Frank Faubert <frank@sane.com>]
6620
6621   *) Add a "-V" command line flag to the httpd binary.  This 
6622      flag shows some of the defines that Apache was compiled with.
6623      It is useful for debugging purposes.  [Martin Kraemer]
6624
6625   *) Start separating the ap_*() routines into their own library, so they
6626      can be used by items in src/support among other things.  
6627      [Ken Coar] PR#512, 905, 1252, 1308 
6628
6629   *) Give a more informative error when no AuthType is set.
6630      [Lars Eilebrecht]
6631
6632   *) Remove strtoul() use from mod_proxy because it isn't available
6633      on all platforms.   [Marc Slemko] PR#1214
6634
6635   *) WIN32: Some Win32 systems terminated all responses after 16 kB. 
6636      This turns out to be a bug in Winsock - select() doesn't always 
6637      return the correct status.  [Ben Laurie]
6638
6639   *) Directives owned by http_core can now use the new check_cmd_context()
6640      routine to ensure that they're not being used within a container
6641      (e.g., <Directory>) where they're invalid.  [Martin Kraemer]
6642
6643   *) PORT: Recent changes made it necessary to add explicit prototype
6644      for fgetc() and fgets() on SunOS 4.x.  [Martin Kraemer, Ben Hyde]
6645
6646   *) It was necessary to distinguish between resources which are
6647      allocated in the parent, for cleanup in the parent, and resources
6648      which are allocated in each child, for cleanup in each child.
6649      A new pool was created which is passed to the module child_init
6650      and child_exit functions; modules are free to register per-child
6651      cleanups there.  This fixes a bug with reliable piped logs.
6652      [Dean Gaudet]
6653
6654   *) mod_autoindex wasn't displaying the ReadmeName file at the bottom
6655      unless it was also doing FancyIndexes, but it displayed the
6656      HeaderName file at the top under all circumstances.  It now shows
6657      the ReadmeName file for simple indices, too, as it should.  
6658      [Ken Coar] PR#1373
6659
6660   *) http_core was mmap()ing even in cases where it wasn't going to
6661      read the file.  [Ben Hyde <bhyde@gensym.com>]
6662
6663   *) Complete rewrite ;-) of mod_rewrite's URL rewriting engine:
6664      Now the rewriting engine (the heart of mod_rewrite) is organized more
6665      straight-forward, first time well documented and reduced to the really
6666      essential parts. All redundant cases were stripped off and processing now
6667      is the same for both per-server and per-directory context with only a
6668      minimum difference (the prefix stripping in per-dir context). As a
6669      side-effect some subtle restrictions and two recently discovered problems
6670      are gone: Wrong escaping of QUERY_STRING on redirects in per-directory
6671      context and restrictions on the substitution URL on redirects.
6672      Additionally some minor source cleanups were done. 
6673      [Ralf S. Engelschall] 
6674
6675   *) Lars Eilebrecht wrote a whole new set of Apache Vhost Internals
6676      documentation, examples, explanations and caveats. They live in a new
6677      subdirectory htdocs/manual/vhost/. [Lars Eilebrecht <sfx@unix-ag.org>]
6678
6679   *) If ap_slack fails to allocate above the low slack line it's a good
6680      indication that further problems will occur; it's a better indication
6681      than many external libraries give us when we actually run out of
6682      descriptors.  So report it to the user once per restart.
6683      [Dean Gaudet] PR#1181
6684
6685   *) Change mod_include and mod_autoindex to use Y2K-safe date formats
6686      by default.  [Ken Coar]
6687
6688   *) Add a "SuppressColumnSorting" option to the IndexOptions list,
6689      which will keep the column heading from being links for sorting
6690      the display.  [Ken Coar, suggested by Brian Tiemann <btman@pacific.net>]
6691      PR #1261
6692
6693   *) PORT: Update the LynxOS port.  [Marius Groeger <mag@sysgo.de>]
6694
6695   *) Fix logic error when issuing a mmap() failed message
6696      with a non-zero MMAP_THRESHOLD.
6697      [David Chambers <davidc@flosun.salk.edu>] PR#1294
6698
6699   *) Preserve handler value on ProxyPass'ed requests by not
6700      calling find_types on a proxy'd request; fixes problems
6701      where some ProxyPass'ed URLs weren't actually passed
6702      to the proxy.
6703      [Lars Eilebrecht] PR#870
6704
6705   *) Fix a byte ordering problem in mod_access which prevented
6706      the old-style syntax (i.e. "a.b.c." to match a class C)
6707      from working properly. [Dean Gaudet] PR#1248, 1328, 1384
6708
6709   *) Fix problem with USE_FLOCK_SERIALIZED_ACCEPT not working
6710      properly. Each child needs to open the lockfile instead
6711      of using the passed file-descriptor from the parent. 
6712      [Jim Jagielski] PR#1056
6713
6714   *) Fix the error logging in mod_cgi; the recent error log changes
6715      introduced a bug that prevented it from working correctly.
6716      [M.D.Parker] PR#1352
6717
6718   *) Default to USE_FCNTL_SERIALIZED_ACCEPT on HPUX to properly 
6719      handle multiple Listen directives.  [Marc Slemko] PR#872
6720
6721   *) Inherit a bugfix to fnmatch.c from FreeBSD sources.
6722      ["[KOI8-R] áÎÄÒÅÊ þÅÒÎÏ×" <ache@nagual.pp.ru>] PR#1311
6723
6724   *) When a configuration parse complained about a bad directive,
6725      the logger would use whatever (unrelated) value was in errno.
6726      errno is now forced to EINVAL first in this case.  [Ken Coar]
6727
6728   *) A sed command in the Configure script pushed the edge of POSIXness,
6729      breaking on some systems.  [Bhaba R.Misra <system@vt.edu>] PR#1368
6730
6731   *) Solaris >= 2.5 was totally broken due to a mess up using pthread
6732      mutexes.  [Roy Fielding, Dean Gaudet]
6733
6734   *) OS/2 Port updated; it should be possible to build OS/2 from the same
6735      sources as Unix now.  [Brian Havard <brianh@kheldar.apana.org.au>]
6736
6737   *) Fix a year formatting bug in mod_usertrack.
6738      [Paul Eggert <eggert@twinsun.com>] PR#1342
6739
6740   *) A mild SIGTERM/SIGALRM race condition was eliminated.
6741      [Dean Gaudet] PR#1211
6742
6743   *) Warn user that default path has changed if /usr/local/etc/httpd
6744      is found on the system.  [Lars Eilebrecht]
6745
6746   *) Various mod_mime_magic bug fixes and cleanups: Uncompression
6747      should work, it should work on WIN32, and a few resource
6748      leaks and abort conditions are fixed.
6749      [Dean Gaudet] PR#1205
6750
6751   *) PORT: On AIX 1.x files can't be named '@', fix the proxy cache
6752      to use '%' instead of '@' in its encodings.
6753      [David Schuler <schuld@btv.ibm.com>] PR#1317
6754
6755   *) Improve the warning message generated when the "server is busy".
6756      [Dean Gaudet] PR#1293
6757
6758   *) PORT: All ports which don't otherwise define DEF_WANTHSREGEX will
6759      get Spencer regex by default.  This is to avoid having to
6760      discover bugs in operating system libraries.  [Dean Gaudet]
6761
6762   *) PORT: "Fix" PR#467 by generating warnings on systems which we have
6763      not been able to get working USE_*_SERIALIZED_ACCEPT settings for.
6764      Document this a bit more in src/PORTING.  [Dean Gaudet] PR#467
6765
6766   *) Ensure that one copy of config warnings makes it to the
6767      error_log.  [Dean Gaudet]
6768
6769   *) Invent new structure and associated methods to handle config file
6770      reading. Add "custom" hook to use config file cfg_getline() on
6771      something which is not a FILE*  [Martin Kraemer]
6772
6773   *) Make single-exe Windows install. [Ben Laurie and Eric Esselink]
6774
6775   *) WIN32: Make CGI work under Win95. [Ben Laurie and Paul Sutton]
6776
6777   *) WIN32: Make index.html and friends work under Win95. [Ben Laurie]
6778
6779   *) PORT: Solaris 2.4 needs Spencer regex, the system regex is broken.
6780      [John Line <jml4@cam.ac.uk>] PR#1321
6781
6782   *) Default pathname has been changed everywhere to /usr/local/apache
6783      [Sameer <sameer@c2.net>]
6784
6785   *) PORT: AIX now uses USE_FCNTL_SERIALIZED_ACCEPT.
6786      [David Bronder <David-Bronder@uiowa.edu>] PR#849
6787
6788   *) PORT: i386 AIX does not have memmove.
6789      [David Schuler <schuld@btv.ibm.com>] PR#1267
6790
6791   *) PORT: HPUX now defaults to using Spencer regex.
6792      [Philippe Vanhaesendonck <pvanhaes@be.oracle.com>,
6793      Omar Del Rio <al112263@academ01.lag.itesm.mx>] PR#482, 1246
6794
6795   *) PORT: Some versions of NetBSD don't automatically define
6796      __NetBSD__.  Workaround by defining NETBSD.
6797      [Chris Craft <ccraft@cncc.cc.co.us>] PR#977
6798
6799   *) PORT: UnixWare 2.x requires -lgen for syslog.
6800      [Hans Snijder <hs@meganet.nl>] PR#1249
6801
6802   *) PORT: ULTRIX appears to not have syslog.
6803      [Lars Eilebrecht <Lars.Eilebrecht@unix-ag.org>]
6804
6805   *) PORT: Basic Gemini port (treat it like unixware212).
6806      ["Pavel Yakovlev (Paul McHacker)" <hac@tomcat.olly.ru>]
6807
6808   *) PORT: All SVR4 systems now use NET_SIZE_T = size_t, and
6809      use USE_SHMGET_SCOREBOARD.
6810      [Martin Kraemer]
6811
6812   *) Various improvements in detecting config file errors (missing closing
6813      directives for <Directory>, <Files> etc. blocks, prohibiting global
6814      server settings in <VirtualHost> blocks, flagging unhandled multiple
6815      arguments to <Directory>, <Files> etc.)
6816      [Martin Kraemer]
6817
6818   *) Add support to suexec wrapper program for mod_unique_id's UNIQUE_ID
6819      variable to provide this one to suexec'd CGIs, too.
6820      [M.D.Parker <mdpc@netcom.com>] PR#1284
6821
6822   *) New support tool: src/support/split-logfile, a sample Perl script which
6823      splits up a combined access log into separate files based on the
6824      name of the virtual host (listed first in the log records by "%v").
6825      [Ken Coar]
6826
6827 Changes with Apache 1.3b2 (there is no 1.3b1)
6828
6829   *) TestCompile was not passing $LIBS [Dean Gaudet]
6830
6831   *) Makefile.tmpl was not using $CFLAGS in the link phase. 
6832      [Martin Kraemer]
6833
6834   *) Add debugging code to alloc.c.  Defining ALLOC_DEBUG provides a
6835      rudimentary memory debugger which can be used on live servers with
6836      low impact -- it sets all allocated and freed memory bytes to 0xa5.
6837      Defining ALLOC_USE_MALLOC will cause the alloc code to use malloc()
6838      and free() for each object.  This is far more expensive and should
6839      only be used for testing with tools such as Electric Fence and
6840      Purify.  See main/alloc.c for more details.  [Dean Gaudet]
6841
6842   *) Configure uses a sh trap and didn't set its exitcode properly.
6843      [Dean Gaudet] PR#1159
6844
6845   *) Yet another vhost revamp.  Add the NameVirtualHost directive which
6846      explicitly lists the ip:port pairs that are to be used for name-vhosts.
6847      From a given ip:port, regardless what the Host: header is, you can
6848      only reach the vhosts defined on that ip:port.  The precedence of
6849      vhosts was reversed to match other precedences in the config --
6850      the earlier vhosts override the later vhosts.  All vhost matching was
6851      moved into http_vhost.[ch].  [Dean Gaudet]
6852
6853   *) ap_inline can be used to force inlining.  GNUC __attribute__() can
6854      be used for whatever reason is appropriate (i.e. format() warnings
6855      for printf style functions).  Both are enabled only with
6856      gcc >= 2.7.x (so that we have fewer support issues with older
6857      versions).  [Dean Gaudet]
6858
6859   *) Fix support for Proxy Authentication (we were testing the response
6860      status too early). [Marc Slemko]
6861
6862   *) CoreDumpDirectory directive directs where the core file is
6863      written when a SIGSEGV, SIGBUS, SIGABORT or SIGABRT are
6864      received.  [Marc Slemko, Dean Gaudet]
6865
6866   *) PORT: Support for Atari MINT.
6867      [Jan Paul Schmidt <Jan.P.Schmidt@mni.fh-giessen.de>]
6868
6869   *) When booting, apache will now detach itself from stdin, stdout,
6870      and stderr.  stderr will not be detached until after the config
6871      files have been read so you will be able to see initial error
6872      messages.  After that all errors are logged in the error_log.
6873      This makes it more convenient to start apache via rsh, ssh,
6874      or crontabs.  [Dean Gaudet] PR#523
6875
6876   *) mod_proxy was sending HTTP/1.1 responses to ftp requests by mistake.
6877      Also removed the auto-generated link to www.apache.org that was the
6878      source of so many misdirected bug reports.  [Roy Fielding, Marc Slemko]
6879
6880   *) send_fb would not detect aborted connections in some situations.
6881      [Dean Gaudet]
6882
6883   *) mod_include would use uninitialized data when parsing certain
6884      expressions involving && and ||. [Brian Slesinsky] PR#1139
6885
6886   *) mod_imap should only handle GET methods.  [Jay Bloodworth]
6887
6888   *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
6889
6890   *) mod_autoindex improperly counted &escapes; as more than one
6891      character in the description.  It also improperly truncated
6892      descriptions that were exactly the maximum length.
6893      [Martin Kraemer]
6894
6895   *) RedirectMatch was not properly escaping the result (PR#1155).  Also
6896      "RedirectMatch /advertiser/(.*) $1" is now permitted.
6897      [Dean Gaudet]
6898
6899   *) mod_include now uses symbolic names to check for request success
6900      and return HTTP errors, and correctly handles all types of
6901      redirections (previously it only did temporary redirect correctly).
6902      [Ken Coar, Roy Fielding]
6903
6904   *) mod_userdir was modifying r->finfo in cases where it wasn't setting
6905      r->filename.  Since those two are meant to be in sync with each other
6906      this is a bug.  ["Paul B. Henson" <henson@intranet.csupomona.edu>]
6907
6908   *) PORT: Support Unisys SVR4, whose uname returns mostly useless data.
6909      ["Kaufman, Steven E" <Steven.Kaufman@unisys.com>]
6910
6911   *) Inetd mode (which is buggy) uses timeouts without having setup the
6912      jmpbuffer. [Dean Gaudet] PR#1064
6913
6914   *) Work around problem under Linux where a child will start looping
6915      reporting a select error over and over.
6916      [Rick Franchuk <rickf@transpect.net>] PR#1107, 987, 588
6917
6918   *) Fixed error in proxy_util.c when looping through multiple host IP
6919      addresses. [Lars Eilebrecht] PR#974
6920
6921   *) If BUFFERED_LOGS is defined then mod_log_config will do atomic
6922      buffered writes -- that is, it will buffer up to PIPE_BUF (i.e. 4k)
6923      bytes before writing, but it will never split a log entry across a
6924      buffer boundary.  [Dean Gaudet]
6925
6926   *) API: the short_score record has been split into two pieces, one which
6927      the parent writes on, and one which the child writes on.  As part of
6928      this change the get_scoreboard_info() function was removed, and
6929      scoreboard_image was exported.  This change fixes a race condition
6930      in file based scoreboard systems, and speeds up changes involving the
6931      scoreboard in earlier 1.3 development.  [Dean Gaudet]
6932
6933   *) API: New register_other_child() API (see http_main.h) which allows
6934      modules to register children with the parent for maintenance.  It
6935      is disabled by defining NO_OTHER_CHILD.  [Dean Gaudet]
6936
6937   *) API: New piped_log API (see http_log.h) which implements piped logs,
6938      and will use register_other_child to implement reliable piped logs
6939      when it is available.  The reliable piped logs part can be disabled
6940      by defining NO_RELIABLE_PIPED_LOGS.  At the moment reliable piped
6941      logs is only available on Unix. [Dean Gaudet]
6942
6943   *) API: set_last_modified() broken into set_last_modified(), set_etag(), and
6944      meets_conditions().  This allows conditional HTTP selection to be
6945      handled separately from the storing of the header fields, and provides
6946      the ability for CGIs to set their own ETags for conditional checking.
6947      [Ken Coar, Roy Fielding]  PR#895
6948
6949   *) Changes to mod_log_config to allow naming of format strings.
6950      Format nicknames are defined with "LogFormat fmt nickname", and can
6951      be used with "LogFormat nickname" and "CustomLog logtarget nickname".
6952      [Ken Coar]
6953
6954   *) New module, "mod_speling", which can help find files even when 
6955      the URL is slightly misspelled. [Martin Kraemer, Alexei Kosut]
6956
6957   *) API: New function child_terminate() triggers the child process to
6958      exit, while allowing the child finish what it needs to for the
6959      current request first.  
6960      [Doug MacEachern, Alexei Kosut]
6961
6962   *) Windows now defaults to using full status reports with mod_status.
6963      [Alexei Kosut] PR #1094
6964
6965   *) *Really* disable all mod_rewrite operations if the engine is off.
6966      Some things (like RewriteMaps) were checked/performed even if they
6967      weren't supposed to be.  [Ken Coar] PR #991
6968
6969   *) Implement a new timer scheme which eliminates the need to call alarm() all
6970      the time.  Instead a counter in the scoreboard for each child is used to
6971      show when the child has made forward progress.  The parent samples this
6972      counter every scoreboard maintenance cycle, and issues SIGALRM if no
6973      progress has been made in the timeout period.  This reduces the static
6974      request best-case syscall count to 22 from 29.  This scheme is only
6975      used by systems with memory-based scoreboards.  [Dean Gaudet]
6976
6977   *) The proxy now properly handles CONNECT requests which are sent
6978      to proxy servers when using ProxyRemote.  [Marc Slemko] PR#1024
6979
6980   *) A script called apachectl has been added to the support 
6981      directory.  This script allows you to do things such as 
6982      "apachectl start" and "apachectl restart" from the command
6983      line.  [Marc Slemko]
6984
6985   *) Modules and core routines are now put into libraries, which
6986      simplifies the link line tremendously (among other advantages).
6987      [Paul Sutton]
6988
6989   *) Some of the MD5 names defined in Apache have been renamed to have
6990      an `ap_' prefix to avoid conflicts with routines supplied by
6991      external libraries.  [Ken Coar]
6992
6993   *) Removal of mod_auth_msql.c from the distribution. There are many
6994      other options for databases today. Rather than offer one option,
6995      offer none at this time. mod_auth_msql and other SQL database
6996      authentication modules can be found at the Apache Module Registry.
6997      http://modules.apache.org/ It would be nice to offer a generic
6998      mod_auth_sql option in the near future.
6999
7000   *) PORT: BeOS support added [Alexei Kosut]
7001
7002   *) Configure no longer accepts the -make option, since it creates
7003      Makefile on the fly based on Makefile.tmpl and Configuration.
7004
7005   *) Apache now gracefully shuts down when it receives a SIGTERM, instead
7006      of forcibly killing off all its processes and exiting without
7007      cleaning up. [Alexei Kosut]
7008
7009   *) API: A new field in the request_rec, r->mtime, has been added to
7010      avoid gratuitous parsing of date strings.  It is intended to hold
7011      the last-modified date of the resource (if applicable).  An
7012      update_mtime() routine has also been added to advance it if
7013      appropriate.  [Roy Fielding, Ken Coar]
7014
7015   *) SECURITY: If a htaccess file can not be read due to bad permissions,
7016      deny access to the directory with a HTTP_FORBIDDEN.  The previous
7017      behavior was to ignore the htaccess file if it could not be read.
7018      This change may make some setups with unreadable htaccess files
7019      stop working.  [Marc Slemko] PR#817
7020
7021   *) Add aplog_error() providing a mechanism to define levels of
7022      verbosity to the server error logging. This addition also provides
7023      the ability to log errors using syslogd. Error logging is configurable
7024      on a per-server basis using the LogLevel directive. Conversion
7025      of log_*() in progress. [Randy Terbush]
7026
7027   *) Further enhance aplog_error() to not log filename, line number, and
7028      errno information when it isn't applicable. [Ken Coar, Dean Gaudet]
7029
7030   *) WIN32: Canonicalise filenames under Win32. Short filenames are
7031      converted to long ones. Backslashes are converted to forward
7032      slashes. Case is converted to lower. Parts of URLs that do not
7033      correspond to files are left completely alone. [Ben Laurie]
7034
7035   *) PORT: 2 new OSs added to the list of ports:
7036       Encore's UMAX V: Arieh Markel <amarkel@encore.com>
7037       Acorn RISCiX: Stephen Borrill <sborrill@xemplar.co.uk>
7038
7039   *) Add the server version (SERVER_VERSION macro) to the "server
7040      configured and running" entry in the error_log.  Also build an
7041      object file at link-time that contains the current time
7042      (SERVER_BUILT global const char[]), and include that in the
7043      message.  [Ken Coar]
7044
7045   *) Set r->headers_out when sending responses from the proxy.
7046      This fixes things such as the logging of headers sent from
7047      the proxy.  [Marc Slemko] PR#659
7048
7049   *) support/httpd_monitor is no longer distributed because the 
7050      scoreboard should not be file based if at all possible. Use
7051      mod_status to see current server snapshot.
7052
7053   *) (set_file_slot): New function, allowing auth directives to be
7054      independent of the server root, so the server documents can be
7055      moved to a different directory or machine more easily.
7056      [David J. MacKenzie]
7057
7058   *) If no TransferLog is given explicitly, decline
7059      to log.  This supports coexistence with other logging modules,
7060      such as the custom one that UUNET uses. [David J. MacKenzie]
7061
7062   *) Check for titles in server-parsed HTML files.
7063      Ignore leading newlines and returns in titles.  The old behavior
7064      of replacing a newline after <title> with a space causes the
7065      title to be misaligned in the listing. [David J. MacKenzie]
7066
7067   *) Change mod_cern_meta to be configurable on a per-directory basis.
7068      [David J. MacKenzie]
7069
7070   *) Add 'Include' directive to allow inclusion of configuration
7071      files within configuration files. [Randy Terbush]
7072
7073   *) Proxy errors on connect() are logged to the error_log (nothing
7074      new); now they include the IP address and port that failed
7075      (*that's* new).   [Ken Coar, Marc Slemko] PR#352
7076
7077   *) Various architectures now define USE_MMAP_FILES which causes
7078      the server to use mmap() for static files.  There are two
7079      compile-time tunables MMAP_THRESHOLD (minimum number of bytes
7080      required to use mmap(), default is 0), and MMAP_SEGMENT_SIZE (maximum
7081      number of bytes written in one cycle from a single mmap()d object,
7082      default 32768).  [Dean Gaudet]
7083
7084   *) API: Added post_read_request API phase which is run right after reading
7085      the request from a client, or right after an internal redirect.  It is
7086      useful for modules setting environment variables that depend only on
7087      the headers/contents of the request.  It does not run during subrequests
7088      because subrequests inherit pretty much everything from the main
7089      request. [Dean Gaudet]
7090
7091   *) Added mod_unique_id which is used to generate a unique identifier for
7092      each hit, available in the environment variable UNIQUE_ID.
7093      [Dean Gaudet]
7094
7095   *) init_modules is now called after the error logs have been opened.  This
7096      allows modules to emit information messages into the error logs.
7097      [Dean Gaudet]
7098
7099   *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
7100      information for case where proxy module is not available. [Marc Slemko]
7101
7102   *) PORT: Apache has need for mutexes to serialize its children around
7103      accept.  In prior versions either fcntl file locking or flock file
7104      locking were used.  The method is chosen by the definition of
7105      USE_xxx_SERIALIZED_ACCEPT in conf.h.  xxx is FCNTL for fcntl(),
7106      and FLOCK for flock().  New options have been added:
7107         - SYSVSEM to use System V style semaphores
7108         - PTHREAD to use POSIX threads (appears to work on Solaris only)
7109         - USLOCK to use IRIX uslock
7110      Based on timing various techniques, the following changes were made
7111      to the defaults:
7112         - Linux 2.x uses flock instead of fcntl
7113         - Solaris 2.x uses pthreads
7114         - IRIX uses SysV semaphores -- however multiprocessor IRIX boxes
7115           work far faster if you -DUSE_USLOCK_SERIALIZED_ACCEPT
7116      [Dean Gaudet, Pierre-Yves Kerembellec <Pierre-Yves.Kerembellec@vtcom.fr>,
7117      Martijn Koster <m.koster@pobox.com>]
7118
7119   *) PORT: The semantics of accept/select make it very desirable to use
7120      mutexes to serialize accept when multiple Listens are in use.  But
7121      in the case where only a single socket is open it is sometimes
7122      redundant to serialize accept().  Not all unixes do a good job with
7123      potentially dozens of children blocked on accept() on the same
7124      socket.  It's now possible to define SINGLE_LISTEN_UNSERIALIZED_ACCEPT and
7125      the server will avoid serialization when listening on only one socket,
7126      and use serialization when listening on multiple sockets.
7127      [Dean Gaudet] PR#467
7128
7129   *) Configure changes: TestLib replaced by TestCompile, which has
7130      some additional capability (such as doing a sanity check of
7131      the compiler and flags selected); the version of Solaris is now
7132      available via the #define value of SOLARIS2; IRIX n32bit libs
7133      now supported and selectable by new Configuration Rule: IRIXN32;
7134      We no longer default to -O2 optimization.  [Jim Jagielski]
7135
7136   *) Updated Configure: Configuration now uses AddModule to specify
7137      module source or binary file location, relative to src directory.
7138      Modules can be dropped into modules/extra, or in their own 
7139      directory, and modules can come with a Makefile or Configure can 
7140      create one.  Modules can add compiler or library information to 
7141      generated Makefiles. [Paul Sutton]
7142
7143   *) Source core re-organisation: distributed modules are now in 
7144      modules/standard. All other source code is in main. OS-specific
7145      code is in os/{unix,emx,win32} directories. [Paul Sutton]
7146
7147   *) mod_browser has been removed, since it's replaced by mod_setenvif.
7148      [Ken Coar]
7149
7150   *) Fix another long-standing bug in sub_req_lookup_file where it would
7151      happily skip past access checks on subdirectories looked up with
7152      relative paths.  (It's used by mod_dir, mod_negotiation,
7153      and mod_include.) [Dean Gaudet]
7154
7155   *) directory_walk optimization to reduce an O(N*M) loop to O(N+M) where
7156      N is the number of <Directory> sections, and M is the number of
7157      components in the filename of an object.
7158
7159      To achieve this optimization the following config changes were made:
7160         - Wildcards (* and ?, not the regex forms) in <Directory>s,
7161           <Files>s, and <Location>s now treat a slash as a special
7162           character.  For example "/home/*/public_html" previously would
7163           match "/home/a/andrew/public_html", now it only matches things
7164           like "/home/bob/public_html".  This mimics /bin/sh behaviour.
7165         - It's possible now to use [] wildcarding in <Directory>, <Files>
7166           or <Location>.
7167         - Regex <Directory>s are applied after all non-regex <Directory>s.
7168
7169     [Dean Gaudet]
7170
7171   *) Fix a bug introduced in 1.3a1 directory_walk regarding .htaccess files
7172      and corrupted paths.  [Dean Gaudet]
7173
7174   *) Enhanced and cleaned up the URL rewriting engine of mod_rewrite:
7175      First the grouped parts of RewriteRule pattern matches (parenthesis!) can
7176      be accessed now via backreferences $1..$9 in RewriteConds test-against
7177      strings in addition to RewriteRules subst string. Second the grouped
7178      parts of RewriteCond pattern matches (parenthesis!) can be accessed now
7179      via backreferences %1..%9 both in following RewriteCond test-against
7180      strings and RewriteRules subst string. This provides maximum flexibility
7181      through the use of backreferences.
7182      Additionally the rewriting engine was cleaned up by putting common
7183      code to the new expand_backrefs_inbuffer() function. 
7184      [Ralf S. Engelschall]
7185
7186   *) When merging the main server's <Directory> and <Location> sections into
7187      a vhost, put the main server's first and the vhost's second.  Otherwise
7188      the vhost can't override the main server.  [Dean Gaudet] PR#717
7189
7190   *) The <Directory> code would merge and re-merge the same section after
7191      a match was found, possibly causing problems with some modules.
7192      [Dean Gaudet]
7193
7194   *) ip-based vhosts are stored and queried using a hashing function, which
7195      has been shown to improve performance on servers with many ip-vhosts.
7196      Some other changes had to be made to accommodate this:
7197         - the * address for vhosts now behaves like _default_
7198         - the matching process now is:
7199             - match an ip-vhost directly via hash (possibly matches main
7200               server)
7201             - if that fails, just pretend it matched the main server
7202             - if so far only the main server has been matched, perform
7203               name-based lookups (ServerName, ServerAlias, ServerPath)
7204               *only on name-based vhosts*
7205             - if they fail, look for _default_ vhosts
7206      [Dean Gaudet, Dave Hankins <dhankins@sugarat.net>]
7207
7208   *) dbmmanage overhaul:
7209      - merge dbmmanage and dbmmanage.new functionality, remove dbmmanage.new 
7210      - tie() to AnyDBM_File which will use one of DB_File, NDBM_File or
7211        GDBM_File (-ldb, -lndbm, -lgdbm) (trying each in that order)
7212      - provide better seed for rand
7213      - prompt for password as per getpass(3) (turn off echo, read from
7214        /dev/tty, etc.)
7215      - use "newstyle" crypt based on $Config{osname} ($^O)
7216      - will not add a user if already in database, use new `update' command
7217        instead
7218      - added `check' command to check a users' password
7219      - added `import' command to convert existing password text-files or 
7220        dbm files exported with `view'
7221      - more descriptive usage, general cleanup, 'use strict' clean, etc.
7222      [Doug MacEachern]
7223
7224   *) Added psocket() which is a pool form of socket(), various places within
7225      the proxy weren't properly blocking alarms while registering the cleanup
7226      for its sockets.  bclose() now uses pclose() and pclosesocket().  There
7227      was a bug where the client socket was being close()d twice due a still
7228      registered cleanup.  [Dean Gaudet]
7229
7230   *) A few cleanups were made to reduce time(), getpid(), and signal() calls.
7231      [Dean Gaudet]
7232
7233   *) PORT: AIX >= 4.2 requires -lm due to libc changes.
7234      [Jason Venner <jason@idiom.com>] PR#667
7235
7236   *) Enable ``=""'' for RewriteCond directives to match against
7237      the empty string. This is the preferred way instead of ``^$''.
7238      [Ralf S. Engelschall]
7239
7240   *) Fixed an infinite loop in mod_imap for references above the server root
7241      [Dean Gaudet] PR#748
7242
7243   *) mod_proxy now has a ReceiveBufferSize directive, similar to
7244      SendBufferSize, so that the TCP window can be set appropriately
7245      for LFNs. [Phillip A. Prindeville]
7246
7247   *) mod_browser has been replaced by the more general mod_setenvif
7248      (courtesy of Paul Sutton).  BrowserMatch* directives are still
7249      available, but are now joined by SetEnvIf*, UnSetEnvIf*, and
7250      UnSetEnvIfZero directives.  [Ken Coar]
7251
7252   *) "HostnameLookups double" forces double-reverse DNS to succeed in
7253      order for remote_host to be set (for logging, or for the env var
7254      REMOTE_HOST).  The old define MAXIMUM_DNS has been deprecated.
7255      [Dean Gaudet]
7256
7257   *) mod_access overhaul:
7258      - Now understands network/netmask syntax (i.e.  10.1.0.0/255.255.0.0)
7259        and cidr syntax (i.e. 10.1.0.0/16).  PR#762
7260      - Critical path was sped up by pre-computing a few things at config time.
7261      - The undocumented syntax "allow user-agents" was removed,
7262        the replacement is "allow from env=foobar" combined with mod_browser.
7263      - When used with hostnames it now forces a double-reverse lookup
7264        no matter what the directory settings are.  This double-reverse
7265        doesn't affect any of the other routines that use the remote
7266        hostname.  In particular it's still passed to CGIs and the log
7267        without the double-reverse check.  Related PR#860.
7268      [Dean Gaudet]
7269
7270   *) When a large bwrite() occurs (larger than the internal buffer size),
7271      while there is already something in the buffer, apache will combine
7272      the large write and the buffer into a single writev().  (This is
7273      in anticipation of using mmap() for reading files.)
7274      [Dean Gaudet]
7275
7276   *) In obscure cases where a partial socket write occurred while chunking,
7277      Apache would omit the chunk header/footer on the next block.  Cleaned
7278      up other bugs/inconsistencies in error conditions in buff.c.  Fixed
7279      a bug where a long pause in DNS lookups could cause the last packet
7280      of a response to be unduly delayed.  [Roy Fielding, Dean Gaudet]
7281
7282   *) API: Added child_exit function to module structure.  This is called
7283      once per "heavy-weight process" just before a server child exit()'s 
7284      e.g. when max_requests_per_child is reached, etc.
7285      [Doug MacEachern, Dean Gaudet]
7286
7287   *) mod_include cleanup showed that handle_else was being used to handle
7288      endif.  It didn't cause problems, but it was cleaned up too.
7289      [Howard Fear]
7290
7291   *) mod_cern_meta would attempt to find meta files for the directory itself
7292      in some cases, but not in others.  It now avoids it in all cases.
7293      [Dean Gaudet]
7294
7295   *) mod_mime_magic would core dump if there was a decompression error.
7296      [Martin Kraemer <Martin.Kraemer@mch.sni.de>] PR#904
7297
7298   *) PORT: some variants of DGUX require -lsocket -lnsl
7299      [Alexander L Jones <alex@systems-options.co.uk>] PR#732
7300
7301   *) mod_autoindex now allows sorting of FancyIndexed directory listings
7302      by the various fields (name, size, et cetera), either in ascending
7303      or descending order.  Just click on the column header.  [Ken Coar]
7304
7305   *) PORT: Various tweaks to eliminate pointer-int casting warnings on 64-bit
7306      CPUs like the Alpha.  Apache still stores ints in pointers, but that's
7307      the relatively safe direction.  [Dean Gaudet] PR#344
7308
7309   *) PORT: QNX mmap() support for faster/more reliable scoreboard handling.
7310      [Igor N Kovalenko <infoh@mail.wplus.net>] PR#683
7311
7312   *) child_main avoids an unneeded call to select() when there is only one
7313      listening socket.  [Dean Gaudet]
7314
7315   *) In the event that the server is starved for idle servers it will
7316      spawn 1, then 2, then 4, ..., then 32 servers each second,
7317      doubling each second.  It'll also give a warning in the errorlog
7318      since the most common reason for this is a poor StartServers
7319      setting.  The define MAX_SPAWN_RATE can be used to raise/lower
7320      the maximum.  [Dean Gaudet]
7321
7322   *) Apache now provides an effectively unbuffered connection for
7323      CGI scripts.  This means that data will be sent to the client
7324      as soon as the CGI pauses or stops output; previously, Apache would
7325      buffer the output up to a fixed buffer size before sending, which
7326      could result in the user viewing an empty page until the CGI finished
7327      or output a complete buffer.  It is no longer necessary to use an
7328      "nph-" CGI to get unbuffered output.  Given that most CGIs are written
7329      in a language that by default does buffering (e.g. perl) this
7330      shouldn't have a detrimental effect on performance.
7331
7332      "nph-" CGIs, which formerly provided a direct socket to the client
7333      without any server post-processing, were not fully compatible with
7334      HTTP/1.1 or SSL support.  As such they would have had to implement
7335      the transport details, such as encryption or chunking, in order
7336      to work properly in certain situations.  Now, the only difference
7337      between nph and non-nph scripts is "non-parsed headers".
7338      [Dean Gaudet, Sameer Parekh, Roy Fielding]
7339
7340   *) If a BUFF is switched from buffered to unbuffered reading the first
7341      bread() will return whatever remained in the buffer prior to the
7342      switch. [Dean Gaudet]
7343
7344 Changes with Apache 1.3a1
7345
7346   *) Added another Configure helper script: TestLib. It determines
7347      if a specified library exists.  [Jim Jagielski]
7348
7349   *) PORT: Allow for use of n32bit libraries under IRIX 6.x
7350      [derived from patch from Jeff Hayes <jhayes@aw.sgi.com>]
7351      PR#721
7352
7353   *) PORT: Some architectures use size_t for various lengths in network
7354      functions such as accept(), and getsockname().  The definition
7355      NET_SIZE_T is used to control this. [Dean Gaudet]
7356
7357   *) PORT: Linux: Attempt to detect glibc based systems and include crypt.h
7358      and -lcrypt.  Test for various db libraries (dbm, ndbm, db) when
7359      mod_auth_dbm or mod_auth_db are included.  [Dean Gaudet]
7360
7361   *) PORT: QNX doesn't have initgroups() which support/suexec.c uses.
7362      [Igor N Kovalenko <infoh@mail.wplus.net>]
7363
7364   *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
7365      begin with.  "nokeepalive" now works for HTTP/1.1 clients.  Added
7366      "downgrade-1.0" which causes Apache to pretend it received a 1.0.
7367      [Dean Gaudet] related PR#875
7368
7369   *) API: Correct child_init() slot declaration from int to void, to
7370      match the init() declaration.  Update mod_example to use the new
7371      hook.  [Ken Coar]
7372
7373   *) added transport handle slot (t_handle) to the BUFF structure
7374      [Doug MacEachern]
7375
7376   *) get_client_block() returns wrong length if policy is
7377      REQUEST_CHUNKED_DECHUNK.
7378      [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#815
7379
7380   *) Support the image map format of FrontPage.  For example:
7381         rect /url.hrm 10 20 30 40
7382      ["Chris O'Byrne" <obyrne@iol.ie>] PR#807
7383
7384   *) PORT: -lresolv and -lsocks were in the wrong order for Solaris.
7385      ["Darren O'Shaughnessy" <darren@aaii.oz.au>] PR#846
7386
7387   *) AddModuleInfo directive for mod_info which allows you to annotate
7388      the output of mod_info.  ["Lou D. Langholtz" <ldl@usi.utah.edu>]
7389
7390   *) Added NoProxy directive to avoid using ProxyRemote for selected
7391      addresses.  Added ProxyDomain directive to cause unqualified
7392      names to be qualified by redirection.
7393      [Martin Kraemer <Martin.Kraemer@mch.sni.de>]
7394
7395   *) Support Proxy Authentication, and don't pass the Proxy-Authorize
7396      header to the remote host in the proxy. [Sameer Parekh and
7397      Wallace]
7398
7399   *) Upgraded mod_rewrite from 3.0.6+ to latest officially available version
7400      3.0.9. This upgrade includes: fixed deadlooping on rewriting to same
7401      URLs, fixed rewritelog(), fixed forced response code handling on
7402      redirects from within .htaccess files, disabled pipe locking under
7403      braindead SunOS 4.1.x, allow env variables to be set even on rules with
7404      no substitution, bugfixed situations where HostnameLookups is off, made
7405      mod_rewrite more thread-safe for NT port and fixed problem when creating
7406      an empty query string via "xxx?".
7407          This update also removes the copyright of Ralf S. Engelschall,
7408      i.e. now mod_rewrite no longer has a shared copyright. Instead is is
7409      exclusively copyrighted by the Apache Group now. This happened because
7410      the author now has gifted mod_rewrite exclusively to the Apache Group and 
7411      no longer maintains an external version.
7412      [Ralf S. Engelschall]
7413
7414   *) API: Added child_init function to module structure.  This is called
7415      once per "heavy-weight process" before any requests are handled.
7416      See http_config.h for more details.  [Dean Gaudet]
7417
7418   *) Anonymous_LogEmail was logging on each subrequest.
7419      [Dean Gaudet] PR#421, 868
7420
7421   *) API: Added is_initial_req() which tests if the request being
7422      processed is the initial request, or a subrequest.
7423      [Doug MacEachern]
7424
7425   *) Extended SSI (mod_include) now handles additional relops for
7426      string comparisons (<, >, <=, and >=).  [Bruno Wolff III] PR#41
7427
7428   *) Configure fixed to correctly propagate user-selected options and
7429      settings (such as CC and OPTIM) to Makefiles other than
7430      src/Makefile (notably support/Makefile).  [Ken Coar] PR#666, #834
7431
7432   *) IndexOptions SuppressHTMLPreamble now causes the actual HTML of
7433      directory indices to start with the contents of the HeaderName file
7434      if there is one.  If there isn't one, the behaviour is unchanged.
7435      [Ken Coar, Roy Fielding, Andrey A. Chernov]
7436
7437   *) WIN32: Modules can now be dynamically loaded DLLs using the
7438      LoadModule/LoadFile directives. Note that module DLLs must be
7439      compiled with the multithreaded DLL version of the runtime library.
7440      [Alexei Kosut and Ben Laurie]
7441
7442   *) Automatic indexing removed from mod_dir and placed into mod_autoindex.
7443      This allows the admin to completely remove automatic indexing
7444      from the server, while still supporting the basic functions of
7445      trailing-slash redirects and DirectoryIndex files.  Note that if
7446      you're carrying over an old Configuration file and you use directory
7447      indexing then you'll want to add:
7448
7449      Module autoindex_module    mod_autoindex.o
7450
7451      before mod_dir in your Configuration.  [Dean Gaudet]
7452
7453   *) popendir/pclosedir created to properly protect directory scanning.
7454      [Dean Gaudet] PR#525
7455
7456   *) AliasMatch, ScriptAliasMatch and RedirectMatch directives added,
7457      giving regex support to mod_alias. <DirectoryMatch>, <LocationMatch>
7458      and <FilesMatch> sections added to succeed <DirectoryMatch ~>, etc...
7459      [Alexei Kosut]
7460
7461   *) The AccessFileName directive can now take more than one filename.
7462      ["Lou D. Langholtz" <ldl@usi.utah.edu>]
7463
7464   *) The new mod_mime_magic can be used to "magically" determine the type
7465      of a file if the extension is unknown.  Based on the unix file(1)
7466      command.  [Ian Kluft <ikluft@cisco.com>]
7467
7468   *) We now determine and display the time spent processing a
7469      request if desired.  [Jim Jagielski]
7470
7471   *) mod_status: PID field of "dead" child slots no longer displays
7472      main httpd process's PID.  [Jim Jagielski]
7473
7474   *) Makefile.nt added - to build all the bits from the command line:
7475         nmake -f Makefile.nt
7476          Doesn't yet work properly. [Ben Laurie]
7477
7478   *) Default text of 404 error is now "Not Found" rather than the
7479      potentially misleading "File Not Found".  [Ken Coar]
7480
7481   *) CONFIG: "HostnameLookups" now defaults to off because it is far better
7482      for the net if we require people that actually need this data to
7483      enable it.  [Linus Torvalds]
7484
7485   *) directory_walk() is an expensive function, keep a little more state to
7486      avoid needless string counting.  Add two new functions make_dirstr_parent
7487      and make_dirstr_prefix which replace all existing uses of make_dirstr.
7488      The new functions are a little less general than make_dirstr, but
7489      work more efficiently (less memory, less string counting).
7490      [Dean Gaudet]
7491
7492   *) EXTRA_LFLAGS was changed to EXTRA_LDFLAGS (and LFLAGS was changed
7493      to LDFLAGS) to avoid complications with lex rules in make files.
7494      [Dean Gaudet] PR#372
7495
7496   *) run_method optimized to avoid needless scanning over NULLs in the
7497      module list.  [Dean Gaudet]
7498
7499   *) Revamp of (unix) scoreboard management code such that it avoids
7500      unnecessary traversals of the scoreboard on each hit.  This is
7501      particularly important for high volume sites with a large
7502      HARD_SERVER_LIMIT.  Some of the previous operations were O(n^2),
7503      and are now O(n).  See also SCOREBOARD_MAINTENANCE_INTERVAL in
7504      httpd.h. [Dean Gaudet]
7505
7506   *) In configurations using multiple Listen statements it was possible for
7507      busy sockets to starve other sockets of service.  [Dean Gaudet]
7508
7509   *) Added hook so standalone_main can be replaced at compile time
7510      (define STANDALONE_MAIN)
7511      [Doug MacEachern]
7512
7513   *) Lowest-level read/write functions in buff.c will be replaced with
7514      the SFIO library calls sfread/sfwrite if B_SFIO is defined at
7515      compile time.  The default sfio discipline will behave as apache
7516      would without sfio compiled in.
7517      [Doug MacEachern]
7518
7519   *) Enhance UserDir directive (mod_userdir) to accept a list of
7520      usernames for the 'disable' keyword, and add 'enable user...' to
7521      selectively *en*able userdirs if they're globally disabled.
7522      [Ken Coar]
7523
7524   *) If NETSCAPE_DBM_COMPAT is defined in EXTRA_CFLAGS then Apache
7525      will work with Netscape dbm files.  (dbmmanage will probably not
7526      work however.) [Alexander Spohr <aspohr@netmatic.com>] PR#444
7527
7528   *) Add a ListenBacklog directive to control the backlog parameter
7529      passed to listen().  Also change the default to 511 from 512.
7530      [Marc Slemko]
7531
7532   *) API: A new handler response DONE which informs apache that the
7533      request has been handled and it can finish off quickly, similar to
7534      how it handles errors. [Rob Hartill]
7535
7536   *) Turn off chunked encoding after sending terminating chunk/footer
7537      so that we can't do it twice by accident. [Roy Fielding]
7538
7539   *) mod_expire also issues Cache-Control: max-age headers.
7540      [Rob Hartill]
7541
7542   *) API: Added kill_only_once option for free_proc_chain so that it won't
7543      aggressively try to kill off specific children.  For fastcgi.
7544      [Stanley Gambarin <gambarin@OpenMarket.com>]
7545
7546   *) mod_auth deals with extra ':' delimited fields.  [Marc Slemko]
7547
7548   *) Added IconHeight and IconWidth to mod_dir's IndexOptions directive.
7549      When used together, these cause mod_dir to emit HEIGHT and WIDTH
7550      attributes in the FancyIndexing IMG tags.  [Ken Coar]
7551
7552   *) PORT: Sequent and SONY NEWS-OS support added.  [Jim Jagielski]
7553
7554   *) PORT: Added Windows NT support
7555      [Ben Laurie and Ambarish Malpani <ambarish@valicert.com>]
7556
7557 Changes with Apache 1.2.6
7558
7559   *) mod_include when using XBitHack Full would send ETags in addition to
7560      sending Last-Modifieds.  This is incorrect HTTP/1.1 behaviour.
7561      [Dean Gaudet] PR#1133
7562
7563   *) SECURITY: When a client connects to a particular port/addr, and
7564      gives a Host: header ensure that the virtual host requested can
7565      actually be reached via that port/addr.  [Ed Korthof <ed@organic.com>]
7566
7567   *) Support virtual hosts with wildcard port and/or multiple ports
7568      properly.  [Ed Korthof <ed@organic.com>]
7569
7570   *) Fixed some case-sensitivity issues according to RFC2068.
7571      [Dean Gaudet]
7572
7573   *) Set r->allowed properly in mod_asis.c, mod_dir.c, mod_info.c,
7574      and mod_include.c.  [Dean Gaudet]
7575
7576   *) Variable 'cwd' was being used pointlessly before being set.
7577      [Ken Coar] PR#1738
7578
7579   *) SIGURG doesn't exist on all platforms.
7580      [Mark Andrew Heinrich <heinrich@tinderbox.Stanford.EDU>]
7581
7582   *) When an error occurs during a POST, or other operation with a
7583      request body, the body has to be read from the net before allowing
7584      a keepalive session to continue.  [Roy Fielding] PR#1399
7585
7586   *) When an error occurs in fcntl() locking suggest the user look up
7587      the docs for LockFile.  [Dean Gaudet]
7588
7589   *) table_set() and table_unset() did not deal correctly with
7590      multiple occurrences of the same key. [Stephen Scheck
7591      <sscheck@infonex.net>, Ben Laurie] PR#1604
7592
7593   *) send_fd_length() did not calculate total_bytes_sent properly in error
7594      cases.  [Ben Reser <breser@regnow.com>] PR#1366
7595
7596   *) r->connection->user was allocated in the wrong pool causing corruption
7597      in some cases when used with mod_cern_meta.  [Dean Gaudet] PR#1500
7598
7599   *) mod_proxy was sending HTTP/1.1 responses to ftp requests by mistake.
7600      Also removed the auto-generated link to www.apache.org that was the
7601      source of so many misdirected bug reports.  [Roy Fielding, Marc Slemko]
7602
7603   *) Multiple "close" tokens may have been set in the "Connection"
7604      header, not an error, but a waste.
7605      [Ronald.Tschalaer@psi.ch] PR#1683
7606
7607   *) "basic" and "digest" auth tokens should be tested case-insensitive.
7608      [Ronald.Tschalaer@psi.ch] PR#1599, PR#1666
7609
7610   *) It appears the "257th byte" bug (see
7611      htdocs/manual/misc/known_client_problems.html#257th-byte) can happen
7612      at the 256th byte as well.  Fixed.  [Dean Gaudet]
7613
7614   *) mod_rewrite would not handle %3f properly in some situations.
7615      [Ralf Engelschall]
7616
7617   *) Apache could generate improperly chunked HTTP/1.1 responses when
7618      the bputc() or rputc() functions were used by modules (such as
7619      mod_include).  [Dean Gaudet]
7620
7621   *) #ifdef wrap a few #defines in httpd.h to make life easier on
7622      some ports.  [Ralf Engelschall]
7623
7624   *) Fix MPE compilation error in mod_usertrack.c.  [Mark Bixby]
7625
7626   *) Quote CC='$(CC)' to improve recurse make calls.  [Martin Kraemer]
7627
7628   *) Avoid B_ERROR redeclaration on sysvr4 systems.  [Martin Kraemer]
7629
7630 Changes with Apache 1.2.5
7631
7632   *) SECURITY: Fix a possible buffer overflow in logresolve.  This is
7633      only an issue on systems without a MAXDNAME define or where 
7634      the resolver returns domain names longer than MAXDNAME.  [Marc Slemko]
7635
7636   *) Fix an improper length in an ap_snprintf call in proxy_date_canon().
7637      [Marc Slemko]
7638
7639   *) Fix core dump in the ftp proxy when reading incorrectly formatted
7640      directory listings.  [Marc Slemko]
7641
7642   *) SECURITY: Fix possible minor buffer overflow in the proxy cache.
7643      [Marc Slemko]
7644
7645   *) SECURITY: Eliminate possible buffer overflow in cfg_getline, which
7646      is used to read various types of files such as htaccess and 
7647      htpasswd files.  [Marc Slemko]
7648
7649   *) SECURITY: Ensure that the buffer returned by ht_time is always
7650      properly null terminated.  [Marc Slemko]
7651
7652   *) SECURITY: General mod_include cleanup, including fixing several
7653      possible buffer overflows and a possible infinite loop.  This cleanup
7654      was done against 1.3 code and then backported to 1.2, the result
7655      is a large difference (due to indentation cleanup in 1.3 code).
7656      Users interested in seeing a smaller set of relevant differences
7657      should consider comparing against src/modules/standard/mod_include.c
7658      from the 1.3b3 release.  Non-indentation changes to mod_include
7659      between 1.2 and 1.3 were minimal.  [Dean Gaudet, Marc Slemko]
7660
7661   *) SECURITY: Numerous changes to mod_imap in a general cleanup
7662      including fixing a possible buffer overflow.  This cleanup also
7663      was done with 1.3 code as a basis, see the the previous note
7664      about mod_include.  [Dean Gaudet]
7665
7666   *) SECURITY: If a htaccess file can not be read due to bad 
7667      permissions, deny access to the directory with a HTTP_FORBIDDEN.  
7668      The previous behavior was to ignore the htaccess file if it could not
7669      be read.  This change may make some setups with unreadable
7670      htaccess files stop working.  PR#817  [Marc Slemko]
7671
7672   *) SECURITY: no2slash() was O(n^2) in the length of the input.  
7673      Make it O(n).  This inefficiency could be used to mount a denial 
7674      of service attack against the Apache server.  Thanks to 
7675      Michal Zalewski <lcamtuf@boss.staszic.waw.pl> for reporting
7676      this.  [Dean Gaudet]
7677
7678   *) mod_include used uninitialized data for some uses of && and ||.
7679      [Brian Slesinsky <bslesins@wired.com>] PR#1139
7680
7681   *) mod_imap should decline all non-GET methods.
7682      [Jay Bloodworth <jay@pathways.sde.state.sc.us>]
7683
7684   *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
7685
7686   *) mod_userdir was modifying r->finfo in cases where it wasn't setting
7687      r->filename.  Since those two are meant to be in sync with each other
7688      this is a bug.  ["Paul B. Henson" <henson@intranet.csupomona.edu>]
7689
7690   *) mod_include did not properly handle all possible redirects from sub-
7691      requests.  [Ken Coar]
7692
7693   *) Inetd mode (which is buggy) uses timeouts without having setup the
7694      jmpbuffer. [Dean Gaudet] PR#1064
7695
7696   *) Work around problem under Linux where a child will start looping
7697      reporting a select error over and over.
7698      [Rick Franchuk <rickf@transpect.net>] PR#1107
7699
7700 Changes with Apache 1.2.4
7701
7702   *) The ProxyRemote change in 1.2.3 introduced a bug resulting in the proxy
7703      always making requests with the full-URI instead of just the URI path.
7704      [Marc Slemko, Roy Fielding]
7705
7706   *) Add -lm for AIX versions >= 4.2 to allow Apache to link properly
7707      on this platform.  [Marc Slemko]
7708
7709 Changes with Apache 1.2.3
7710
7711   *) The request to a remote proxy was mangled if it was generated as the
7712      result of a ProxyPass directive. URL schemes other than http:// were not
7713      supported when ProxyRemote was used. PR#260, PR#656, PR#699, PR#713,
7714      PR#812 [Lars Eilebrecht]
7715
7716   *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
7717      information for case where proxy module is not available. [Marc Slemko]
7718
7719   *) Force proxy to always respond as HTTP/1.0, which it was failing to
7720      do for errors and cached responses.  [Roy Fielding]
7721
7722   *) PORT: Improved support for ConvexOS 11.  [Jeff Venters]
7723
7724 Changes with Apache 1.2.2 [not released]
7725
7726   *) Fixed another long-standing bug in sub_req_lookup_file where it would
7727      happily skip past access checks on subdirectories looked up with relative
7728      paths.  (It's used by mod_dir, mod_negotiation, and mod_include.)
7729      [Dean Gaudet]
7730
7731   *) Add lockfile name to error message printed out when
7732      USE_FLOCK_SERIALIZED_ACCEPT is defined.
7733      [Marc Slemko]
7734
7735   *) Enhanced the chunking and error handling inside the buffer functions.
7736      [Dean Gaudet, Roy Fielding]
7737
7738   *) When merging the main server's <Directory> and <Location> sections into
7739      a vhost, put the main server's first and the vhost's second.  Otherwise
7740      the vhost can't override the main server.  [Dean Gaudet] PR#717
7741
7742   *) The <Directory> code would merge and re-merge the same section after
7743      a match was found, possibly causing problems with some modules.
7744      [Dean Gaudet]
7745
7746   *) Fixed an infinite loop in mod_imap for references above the server root.
7747      [Dean Gaudet] PR#748
7748
7749   *) mod_include cleanup showed that handle_else was being used to handle
7750      endif.  It didn't cause problems, but it was cleaned up too.
7751      [Howard Fear]
7752
7753   *) Last official synchronization of mod_rewrite with author version (because
7754      mod_rewrite is now directly developed by the author at the Apache Group):
7755      o added diff between mod_rewrite 3.0.6+ and 3.0.9
7756        minus WIN32/NT stuff, but plus copyright removement.
7757        In detail:
7758        - workaround for detecting infinite rewriting loops
7759        - fixed setting of env vars when "-" is used as subst string
7760        - fixed forced response code on redirects (PR#777)
7761        - fixed cases where r->args is ""
7762        - kludge to disable locking on pipes under braindead SunOS
7763        - fix for rewritelog in cases where remote hostname is unknown
7764        - fixed totally damaged request_rec walk-back loop
7765      o remove static from local data and add static to global ones.
7766      o replaced ugly proxy finding stuff by simple
7767        find_linked_module("mod_proxy") call.
7768      o added missing negation char on rewritelog()
7769      o fixed a few comment typos
7770      [Ralf S. Engelschall]
7771
7772   *) Anonymous_LogEmail was logging on each subrequest.
7773      [Dean Gaudet] PR#421, PR#868
7774
7775   *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
7776      begin with.  "nokeepalive" now works for HTTP/1.1 clients.  Added
7777      "downgrade-1.0" which causes Apache to pretend it received a 1.0.
7778      Additionally mod_browser now triggers during translate_name to workaround
7779      a deficiency in the header_parse phase.
7780      [Dean Gaudet] PR#875
7781
7782   *) get_client_block() returns wrong length if policy is 
7783      REQUEST_CHUNKED_DECHUNK.
7784      [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#815
7785
7786   *) Properly treat <files> container like other containers in mod_info.
7787      [Marc Slemko] PR#848
7788
7789   *) The proxy didn't treat the "Host:" keyword of the host header as case-
7790      insensitive.  The proxy would corrupt the first line of a response from
7791      an HTTP/0.9 server.  [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#813,814
7792
7793   *) mod_include would log some bogus values occasionally.
7794      [Skip Montanaro <skip@calendar.com>, Marc Slemko] PR#797
7795
7796   *) PORT: The slack fd changes in 1.2.1 introduced a problem with SIGHUP
7797      under Solaris 2.x (up through 2.5.1).  It has been fixed.
7798      [Dean Gaudet] PR#832
7799
7800   *) API: In HTTP/1.1, whether or not a request message contains a body
7801      is independent of the request method and based solely on the presence
7802      of a Content-Length or Transfer-Encoding.  Therefore, our default
7803      handlers need to be prepared to read a body even if they don't know
7804      what to do with it; otherwise, the body would be mistaken for the
7805      next request on a persistent connection.  discard_request_body()
7806      has been added to take care of that.  [Roy Fielding] PR#378
7807
7808   *) API: Symbol APACHE_RELEASE provides a numeric form of the Apache
7809      release version number, such that it always increases along the
7810      same lines as our source code branching.  [Roy Fielding]
7811
7812   *) Minor oversight on multiple variants fixed.  [Paul Sutton] PR#94
7813
7814 Changes with Apache 1.2.1
7815
7816   *) SECURITY: Don't serve file system objects unless they are plain files,
7817      symlinks, or directories.  This prevents local users from using pipes
7818      or named sockets to invoke programs for an extremely crude form of
7819      CGI.  [Dean Gaudet]
7820
7821   *) SECURITY: HeaderName and ReadmeName were settable in .htaccess and
7822      could contain "../" allowing a local user to "publish" any file on
7823      the system.  No slashes are allowed now.  [Dean Gaudet]
7824
7825   *) SECURITY: It was possible to violate the symlink Options using mod_dir
7826      (headers, readmes, titles), mod_negotiation (type maps), or
7827      mod_cern_meta (meta files).  [Dean Gaudet]
7828
7829   *) SECURITY: Apache will refuse to run as "User root" unless
7830      BIG_SECURITY_HOLE is defined at compile time.  [Dean Gaudet]
7831
7832   *) CONFIG: If a symlink pointed to a directory then it would be disallowed
7833      if it contained a .htaccess disallowing symlinks.  This is contrary
7834      to the rule that symlink permissions are tested with the symlink
7835      options of the parent directory.  [Dean Gaudet] PR#353
7836
7837   *) CONFIG: The LockFile directive can be used to place the serializing
7838      lockfile in any location.  It previously defaulted to /usr/tmp/htlock.
7839      [Somehow it took four of us: Randy Terbush, Jim Jagielski, Dean Gaudet,
7840      Marc Slemko]
7841
7842   *) Request processing now retains state of whether or not the request
7843      body has been read, so that internal redirects and subrequests will
7844      not try to read it twice (and block). [Roy Fielding]
7845
7846   *) Add a placeholder in modules/Makefile to avoid errors with certain
7847      makes. [Marc Slemko]
7848
7849   *) QUERY_STRING was unescaped in mod_include, it shouldn't be.
7850      [Dean Gaudet] PR#644
7851
7852   *) mod_include was not properly changing the current directory.
7853      [Marc Slemko] PR#742
7854
7855   *) Attempt to work around problems with third party libraries that do not
7856      handle high numbered descriptors (examples include bind, and
7857      solaris libc).  On all systems apache attempts to keep all permanent
7858      descriptors above 15 (called the low slack line).  Solaris users
7859      can also benefit from adding -DHIGH_SLACK_LINE=256 to EXTRA_CFLAGS
7860      which keeps all non-FILE * descriptors above 255.  On all systems
7861      this should make supporting large numbers of vhosts with many open
7862      log files more feasible.  If this causes trouble please report it,
7863      you can disable this workaround by adding -DNO_SLACK to EXTRA_CFLAGS.
7864      [Dean Gaudet] various PRs
7865
7866   *) Related to the last entry, network sockets are now opened before
7867      log files are opened.  The only known case where this can cause
7868      problems is under Solaris with many virtualhosts and many Listen
7869      directives.  But using -DHIGH_SLACK_LINE=256 described above will
7870      work around this problem.  [Dean Gaudet]
7871
7872   *) USE_FLOCK_SERIALIZED_ACCEPT is now default for FreeBSD, A/UX, and
7873      SunOS 4.
7874
7875   *) Improved unix error response logging.  [Marc Slemko]
7876
7877   *) Update mod_rewrite from 3.0.5 to 3.0.6.  New ruleflag
7878      QSA=query_string_append.  Also fixed a nasty bug in per-dir context:
7879      when a URL http://... was used in conjunction with a special
7880      redirect flag, e.g. R=permanent, the permanent status was lost.
7881      [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>, Ralf S. Engelschall]
7882
7883   *) If an object has multiple variants that are otherwise equal Apache
7884      would prefer the last listed variant rather than the first.
7885      [Paul Sutton] PR#94
7886
7887   *) "make clean" at the top level now removes *.o.  [Dean Gaudet] PR#752
7888
7889   *) mod_status dumps core in inetd mode.  [Marc Slemko and Roy Fielding]
7890      PR#566
7891
7892   *) pregsub had an off-by-1 in its error checking code. [Alexei Kosut]
7893
7894   *) PORT: fix rlim_t problems with AIX 4.2. [Marc Slemko] PR#333
7895
7896   *) PORT: Update UnixWare support for 2.1.2.
7897      [Lawrence Rosenman <ler@lerctr.org>] PR#511
7898
7899   *) PORT: NonStop-UX [Joachim Schmitz <schmitz_joachim@tandem.com>] PR#327
7900
7901   *) PORT: Update ConvexOS support for 11.5.
7902      [David DeSimone <fox@convex.com>] PR#399
7903
7904   *) PORT: Support for DEC cc compiler under ULTRIX.
7905      ["P. Alejandro Lopez-Valencia" <alejolo@ideam.gov.co>] PR#388
7906
7907   *) PORT: Support for Maxion/OS SVR4.2 Real Time Unix. [no name given] PR#383
7908
7909   *) PORT: Workaround for AIX 3.x compiler bug in http_bprintf.c.  
7910      [Marc Slemko] PR#725
7911
7912   *) PORT: fix problem compiling http_bprintf.c with gcc under SCO
7913      [Marc Slemko] PR#695
7914
7915 Changes with Apache 1.2
7916
7917 Changes with Apache 1.2b11
7918
7919   *) Fixed open timestamp fd in proxy_cache.c [Chuck Murcko]
7920
7921   *) Added undocumented perl SSI mechanism for -DUSE_PERL_SSI and mod_perl.
7922      [Doug MacEachern, Rob Hartill]
7923
7924   *) Proxy needs to use hard_timeout instead of soft_timeout when it is
7925      reading from one buffer and writing to another, at least until it has
7926      a custom timeout handler.  [Roy Fielding and Petr Lampa]
7927
7928   *) Fixed problem on IRIX with servers hanging in IdentityCheck,
7929      apparently due to a mismatch between sigaction and setjmp.
7930      [Roy Fielding] PR#502
7931
7932   *) Log correct status code if we timeout before receiving a request (408)
7933      or if we received a request-line that was too long to process (414).
7934      [Ed Korthof and Roy Fielding] PR#601
7935
7936   *) Virtual hosts with the same ServerName, but on different ports, were
7937      not being selected properly.  [Ed Korthof]
7938
7939   *) Added code to return the requested IP address from proxy_host2addr()
7940      if gethostbyaddr() fails due to reverse DNS lookup problems. Original
7941      change submitted by Jozsef Hollosi <hollosi@sbcm.com>.
7942      [Chuck Murcko] PR#614
7943
7944   *) If multiple requests on a single connection are used to retrieve
7945      data from different virtual hosts, the virtual host list would be
7946      scanned starting with the most recently used VH instead of the first,
7947      causing most virtual hosts to be ignored.
7948      [Paul Sutton and Martin Mares] PR#610
7949
7950   *) The OS/2 handling of process group was broken by a porting patch for
7951      MPE, so restored prior code for OS/2.  [Roy Fielding and Garey Smiley]
7952
7953   *) Inherit virtual server port from main server if none (or "*") is
7954      given for VirtualHost.  [Dean Gaudet] PR#576
7955
7956   *) If the lookup for a DirectoryIndex name with content negotiation
7957      has found matching variants, but none are acceptable, return the
7958      negotiation result if there are no more DirectoryIndex names to lookup.
7959      [Petr Lampa and Roy Fielding]
7960
7961   *) If a soft_timeout occurs after keepalive is set, then the main child
7962      loop would try to read another request even though the connection
7963      has been aborted.  [Roy Fielding]
7964
7965   *) Configure changes: Allow for whitespace at the start of a
7966      Module declaration. Also, be more understanding about the
7967      CC=/OPTIM= format in Configuration. Finally, fix compiler
7968      flags if using HP-UX's cc compiler. [Jim Jagielski]
7969
7970   *) Subrequests and internal redirects now inherit the_request from the
7971      original request-line. [Roy Fielding]
7972
7973   *) Test for error conditions before creating output header fields, since
7974      we don't want the error message to include those fields.  Likewise,
7975      reset the content_language(s) and content_encoding of the response
7976      before generating or redirecting to an error message, since the new
7977      message will have its own Content-* definitions. [Dean Gaudet]
7978
7979   *) Restored the semantics of headers_out (headers sent only with 200..299
7980      and 304 responses) and err_headers_out (headers sent with all responses).
7981      Avoid the overhead of copying tables if err_headers_out is empty
7982      (the usual case).  [Roy Fielding]
7983
7984   *) Fixed a couple places where a check for the default Content-Type was
7985      not properly checking both the value configured by the DefaultType
7986      directive and the DEFAULT_TYPE symbol in httpd.h.  Changed the value
7987      of DEFAULT_TYPE to match the documented default (text/plain).
7988      [Dean Gaudet] PR#506
7989
7990   *) Escape the HTML-sensitive characters in the Request-URI that is
7991      output for each child by mod_status. [Dean Gaudet and Ken Coar] PR#501
7992
7993   *) Properly initialize the flock structures used by the mutex locking
7994      around accept() when USE_FCNTL_SERIALIZED_ACCEPT is defined.
7995      [Marc Slemko]
7996
7997   *) The method for determining PATH_INFO has been restored to the pre-1.2b
7998      (and NCSA httpd) definition wherein it was the extra path info beyond
7999      the CGI script filename.  The environment variable FILEPATH_INFO has
8000      been removed, and instead we supply the original REQUEST_URI to any
8001      script that wants to be Apache-specific and needs the real URI path.
8002      This solves a problem with existing scripts that use extra path info
8003      in the ScriptAlias directive to pass options to the CGI script.
8004      [Roy Fielding]
8005
8006   *) The _default_ change in 1.2b10 will change the behaviour on configs
8007      that use multiple Listen statements for listening on multiple ports.
8008      But that change is necessary to make _default_ consistent with other
8009      forms of <VirtualHost>.  It requires such configs to be modified
8010      to use <VirtualHost _default_:*>.  The documentation has been
8011      updated.  [Dean Gaudet] PR#530
8012
8013   *) If an ErrorDocument CGI script is used to respond to an error
8014      generated by another CGI script which has already read the message
8015      body of the request, the server would block trying to read the
8016      message body again.  [Rob Hartill]
8017
8018   *) signal() replacement conflicted with a define on QNX (and potentially
8019      other platforms). Fixed. [Ben Laurie] PR#512
8020
8021 Changes with Apache 1.2b10
8022
8023   *) Allow HTTPD_ROOT, SERVER_CONFIG_FILE, DEFAULT_PATH, and SHELL_PATH
8024      to be configured via -D in Configuration.  [Dean Gaudet] PR#449
8025
8026   *) <VirtualHost _default_:portnum> didn't work properly.  [Dean Gaudet]
8027
8028   *) Added prototype for mktemp() for SUNOS4 [Marc Slemko]
8029
8030   *) In mod_proxy.c, check return values for proxy_host2addr() when reading
8031      config, in case the hostent struct returned is trash.
8032      [Chuck Murcko] PR #491
8033
8034   *) Fixed the fix in 1.2b9 for parsing URL query info into args for CGI
8035      scripts.  [Dean Gaudet, Roy Fielding, Marc Slemko]
8036
8037 Changes with Apache 1.2b9  [never announced]
8038
8039   *) Reset the MODULE_MAGIC_NUMBER to account for the unsigned port
8040      changes and in anticipation of 1.2 final release.  [Roy Fielding]
8041
8042   *) Fix problem with scripts not receiving a SIGPIPE when client drops
8043      the connection (e.g., when user presses Stop).  Apache will now stop
8044      trying to send a message body immediately after an error from write.
8045      [Roy Fielding and Nathan Kurz] PR#335
8046
8047   *) Rearrange Configuration.tmpl so that mod_rewrite has higher priority
8048      than mod_alias, and mod_alias has higher priority than mod_proxy;
8049      rearranged other modules to enhance understanding of their purpose
8050      and relative order (and maybe even reduce some overhead).
8051      [Roy Fielding and Sameer Parekh]
8052
8053   *) Fix graceful restart.  Eliminate many signal-related race
8054      conditions in both forms of restart, and in SIGTERM.  See
8055      htdocs/manual/stopping.html for details on stopping and
8056      restarting the parent.  [Dean Gaudet]
8057
8058   *) Fix memory leaks in mod_rewrite, mod_browser, mod_include.  Tune
8059      memory allocator to avoid a behaviour that required extra blocks to
8060      be allocated.  [Dean Gaudet]
8061
8062   *) Allow suexec to access files relative to current directory but not
8063      above.  (Excluding leading / or any .. directory.)  [Ken Coar]
8064      PR#269, 319, 395
8065
8066   *) Fix suexec segfault when group doesn't exist. [Gregory Neil Shapiro]
8067      PR#367, 368, 354, 453
8068
8069   *) Fix the above fix: if suexec is enabled, avoid destroying r->url
8070      while obtaining the /~user and save the username in a separate data
8071      area so that it won't be overwritten by the call to getgrgid(), and
8072      fix some misuse of the pool string allocation functions.  Also fixes
8073      a general problem with parsing URL query info into args for CGI scripts.
8074      [Roy Fielding] PR#339, 367, 354, 453
8075
8076   *) Fix IRIX warning about bzero undefined. [Marc Slemko]
8077
8078   *) Fix problem with <Directory proxy:...>. [Martin Kraemer] PR#271
8079
8080   *) Corrected spelling of "authoritative".  AuthDBAuthoratative became
8081      AuthDBAuthoritative. [Marc Slemko] PR#420
8082
8083   *) MaxClients should be at least 1. [Lars Eilebrecht] PR#375
8084
8085   *) The default handler now logs invalid methods or URIs (i.e. PUT on an
8086      object that can't be PUT, or FOOBAR for some method FOOBAR that
8087      apache doesn't know about at all).  Log 404s that occur in mod_include.
8088      [Paul Sutton, John Van Essen]
8089
8090   *) If a soft timeout (or lingerout) occurs while trying to flush a
8091      buffer or write inside buff.c or fread'ing from a CGI's output,
8092      then the timeout would be ignored. [Roy Fielding] PR#373
8093
8094   *) Work around a bug in Netscape Navigator versions 2.x, 3.x and 4.0b2's
8095      parsing of headers.  If the terminating empty-line CRLF occurs starting
8096      at the 256th or 257th byte of output, then Navigator will think a normal
8097      image is invalid.  We are guessing that this is because their initial
8098      read of a new request uses a 256 byte buffer. We check the bytes written
8099      so far and, if we are about to tickle the bug, we instead insert a
8100      padding header of eminent bogosity. [Roy Fielding and Dean Gaudet] PR#232
8101
8102   *) Fixed SIGSEGV problem when a DirectoryIndex file is also the source
8103      of an external redirection.  [Roy Fielding and Paul Sutton]
8104
8105   *) Configure would create a broken Makefile if the configuration file
8106      contained a commented-out Rule.  [Roy Fielding]
8107
8108   *) Promote per_dir_config and subprocess_env from the subrequest to the
8109      main request in mod_negotiation.  In particular this fixes a bug
8110      where <Files> sections wouldn't properly apply to negotiated content.
8111      [Dean Gaudet]
8112
8113   *) Fix a potential deadlock in mod_cgi script_err handling.
8114      [Ralf S. Engelschall]
8115
8116   *) rotatelogs zero-pads the logfile names to improve alphabetic sorting.
8117      [Mitchell Blank Jr]
8118
8119   *) Updated mod_rewrite to 3.0.4: Fixes HTTP redirects from within
8120      .htaccess files because the RewriteBase was not replaced correctly.
8121      Updated mod_rewrite to 3.0.5: Fixes problem with rewriting inside
8122      <Directory> sections missing a trailing /.  [Ralf S. Engelschall]
8123
8124   *) Clean up Linux settings in conf.h by detecting 2.x versus 1.x.  For
8125      1.x the settings are those of pre-1.2b8.  For 2.x we include
8126      USE_SHMGET_SCOREBOARD (scoreboard in shared memory rather than file) and
8127      HAVE_SYS_RESOURCE_H (enable the RLimit commands).
8128      [Dean Gaudet] PR#336, PR#340
8129
8130   *) Redirect did not preserve ?query_strings when present in the client's
8131      request.  [Dean Gaudet]
8132
8133   *) Configure was finding non-modules on EXTRA_LIBS. [Frank Cringle] PR#380
8134
8135   *) Use /bin/sh5 on ULTRIX.  [P. Alejandro Lopez-Valencia] PR#369
8136
8137   *) Add UnixWare compile/install instructions.  [Chuck Murcko]
8138
8139   *) Add mod_example (illustration of API techniques).  [Ken Coar]
8140
8141   *) Add macro for memmove to conf.h for SUNOS4. [Marc Slemko]
8142
8143   *) Improve handling of directories when filenames have spaces in them.
8144      [Chuck Murcko]
8145
8146   *) For hosts with multiple IP addresses, try all additional addresses if
8147      necessary to get a connect. Fail only if hostent address list is
8148      exhausted. [Chuck Murcko]
8149
8150   *) More signed/unsigned port fixes.  [Dean Gaudet]
8151
8152   *) HARD_SERVER_LIMIT can be defined in the Configuration file now.
8153      [Dean Gaudet]
8154
8155 Changes with Apache 1.2b8
8156
8157   *) suexec.c doesn't close the log file, allowing CGIs to continue writing
8158      to it.  [Marc Slemko]
8159
8160   *) The addition of <Location> and <File> directives made the
8161      sub_req_lookup_simple() function bogus, so we now handle
8162      the special cases directly.  [Dean Gaudet]
8163
8164   *) We now try to log where the server is dumping core when a fatal
8165      signal is received.  [Ken Coar]
8166
8167   *) Improved lingering_close by adding a special timeout, removing the
8168      spurious log messages, removing the nonblocking settings (they
8169      are not needed with the better timeout), and adding commentary
8170      about the NO_LINGCLOSE and USE_SO_LINGER issues.  NO_LINGCLOSE is
8171      now the default for SunOS4, UnixWare, NeXT, and IRIX.  [Roy Fielding]
8172
8173   *) Send error messages about setsockopt failures to the server error
8174      log instead of stderr.  [Roy Fielding]
8175
8176   *) Fix loopholes in proxy cache expiry vis a vis alarms. [Brian Moore]
8177
8178   *) Stopgap solution for CGI 3-second delay with server-side includes: if
8179      processing a subrequest, allocate memory from r->main->pool instead
8180      of r->pool so that we can avoid waiting for free_proc_chain to cleanup
8181      in the middle of an SSI request.  [Dean Gaudet] PR #122
8182
8183   *) Fixed status of response when POST is received for a nonexistent URL
8184      (was sending 405, now 404) and when any method is sent with a
8185      full-URI that doesn't match the server and the server is not acting
8186      as a proxy (was sending 501, now 403).  [Roy Fielding]
8187
8188   *) Host port changed to unsigned short. [Ken Coar] PR #276
8189
8190   *) Fix typo in command definition of AuthAuthoritative. [Ken Coar] PR #246
8191
8192   *) Defined USE_SHMGET_SCOREBOARD for shared memory on Linux.  [Dean Gaudet]
8193
8194   *) Report extra info from errno with many errors that cause httpd to exit.
8195      spawn_child, popenf, and pclosef now have valid errno returns in the
8196      event of an error.  Correct problems where errno was stomped on
8197      before being reported.  [Dean Gaudet]
8198
8199   *) In the proxy, if the cache filesystem was full, garbage_coll() was
8200      never called, and thus the filesystem would remain full indefinitely.
8201      We now also remove incomplete cache files left if the origin server
8202      didn't send a Content-Length header and either the client has aborted
8203      transfer or bwrite() to client has failed. [Petr Lampa]
8204
8205   *) Fixed the handling of module and script-added header fields.
8206      Improved the interface for sending header fields and reduced
8207      the duplication of code between sending okay responses and errors.
8208      We now always send both headers_out and err_headers_out, and
8209      ensure that the server-reserved fields are not being overridden,
8210      while not overriding those that are not reserved.  [Roy Fielding]
8211
8212   *) Moved transparent content negotiation fields to err_headers_out
8213      to reflect above changes.  [Petr Lampa]
8214
8215   *) Fixed the determination of whether or not we should make the
8216      connection persistent for all of the cases where some other part
8217      of the server has already indicated that we should not.  Also
8218      improved the ordering of the test so that chunked encoding will
8219      be set whenever it is desired instead of only when KeepAlive
8220      is enabled. Added persistent connection capability for most error
8221      responses (those that do not indicate a bad input stream) when
8222      accessed by an HTTP/1.1 client. [Roy Fielding]
8223
8224   *) Added missing timeouts for sending header fields, error responses,
8225      and the last chunk of chunked encoding, each of which could have
8226      resulted in a process being stuck in write forever.  Using soft_timeout
8227      requires that the sender check for an aborted connection rather than
8228      continuing after an EINTR.  Timeouts that used to be initiated before
8229      send_http_header (and never killed) are now initiated only within or
8230      around the routines that actually do the sending, and not allowed to
8231      propagate above the caller.  [Roy Fielding]
8232
8233   *) mod_auth_anon required an @ or a . in the email address, not both.
8234      [Dirk vanGulik]
8235
8236   *) per_dir_defaults weren't set correctly until directory_walk for
8237      name-based vhosts.  This fixes an obscure bug with the wrong config
8238      info being used for vhosts that share the same ip as the server.
8239      [Dean Gaudet]
8240
8241   *) Improved generation of modules/Makefile to be more generic for
8242      new module directories. [Ken Coar, Chuck Murcko, Roy Fielding]
8243
8244   *) Generate makefile dependency for Configuration based on the actual
8245      name given when running the Configure process.  [Dean Gaudet]
8246
8247   *) Fixed problem with vhost error log not being set prior to
8248      initializing virtual hosts. [Dean Gaudet]
8249
8250   *) Fixed infinite loop when a trailing slash is included after a type map
8251      file URL (extra path info). [Petr Lampa]
8252
8253   *) Fixed server status updating of per-connection counters. [Roy Fielding]
8254
8255   *) Add documentation for DNS issues (reliability and security), and try
8256      to explain the virtual host matching process.  [Dean Gaudet]
8257
8258   *) Try to continue gracefully by disabling the vhost if a DNS lookup
8259      fails while parsing the configuration file.  [Dean Gaudet]
8260
8261   *) Improved calls to setsockopt.  [Roy Fielding]
8262
8263   *) Negotiation changes: Don't output empty content-type in variant list;
8264      Output charset in variant list; Return sooner from handle_multi() if
8265      no variants found; Add handling of '*' wildcard in Accept-Charset.
8266      [Petr Lampa and Paul Sutton]
8267
8268   *) Fixed overlaying of request/sub-request notes and headers in
8269      mod_negotiation.  [Dean Gaudet]
8270
8271   *) If two variants' charset quality are equal and one is the default
8272      charset (iso-8859-1), then prefer the variant that was specifically
8273      listed in Accept-Charset instead of the default.  [Petr Lampa]
8274
8275   *) Memory allocation problem in push_array() -- it would corrupt memory
8276      when nalloc==0.  [Kai Risku <krisku@tf.hut.fi> and Roy Fielding]
8277
8278   *) invoke_handler() doesn't handle mime arguments in content-type
8279      [Petr Lampa] PR#160
8280
8281   *) Reduced IdentityCheck timeout to 30 seconds, as per RFC 1413 minimum.
8282      [Ken Coar]
8283
8284   *) Fixed problem with ErrorDocument not working for virtual hosts
8285      due to one of the performance changes in 1.2b7. [Dean Gaudet]
8286
8287   *) Log an error message if we get a request header that is too long,
8288      since it may indicate a buffer overflow attack. [Marc Slemko]
8289
8290   *) Made is_url() allow "[-.+a-zA-Z0-9]+:" as a valid scheme and
8291      not reject URLs without a double-slash, as per RFC2068 section 3.2.
8292      [Ken Coar] PR #146, #187
8293
8294   *) Added table entry placeholder for new header_parser callback
8295      in all of the distributed modules. [Ken Coar] PR #191
8296
8297   *) Allow for cgi files without the .EXE extension on them under OS/2.
8298      [Garey Smiley] PR #59
8299
8300   *) Fixed error message when resource is not found and URL contains
8301      path info. [Petr Lampa and Dean Gaudet] PR #40
8302
8303   *) Fixed user and server confusion over what should be a virtual host
8304      and what is the main server, resulting in access to something
8305      other than the name defined in the virtualhost directive (but
8306      with the same IP address) failing. [Dean Gaudet]
8307
8308   *) Updated mod_rewrite to version 3.0.2, which: fixes compile error on
8309      AIX; improves the redirection stuff to enable the users to generally
8310      redirect to http, https, gopher and ftp; added TIME variable for
8311      RewriteCond which expands to YYYYMMDDHHMMSS strings and added the
8312      special patterns >STRING, <STRING and =STRING to RewriteCond, which
8313      can be used in conjunction with %{TIME} or other variables to create
8314      time-dependent rewriting rules. [Ralf S. Engelschall]
8315
8316   *) bpushfd() no longer notes cleanups for the file descriptors it is handed.
8317      Module authors may need to adjust their code for proper cleanup to take
8318      place (that is, call note_cleanups_for_fd()). This change fixes problems
8319      with file descriptors being erroneously closed when the proxy module was
8320      in use. [Ben Laurie]
8321
8322   *) Fix bug in suexec reintroduced by changes in 1.2b7 which allows
8323      initgroups() to hose the group information needed for later
8324      comparisons. [Randy Terbush]
8325
8326   *) Remove unnecessary call to va_end() in create_argv() which
8327      caused a SEGV on some systems.
8328
8329   *) Use proper MAXHOSTNAMELEN symbol for limiting length of server name.
8330      [Dean Gaudet]
8331
8332   *) Clear memory allocated for listeners. [Randy Terbush]
8333
8334   *) Improved handling of IP address as a virtualhost address and
8335      introduced "_default_" as a synonym for the default vhost config.
8336      [Dean Gaudet] PR #212
8337
8338 Changes with Apache 1.2b7
8339
8340   *) Port to  UXP/DS(V20) [Toshiaki Nomura <nom@yk.fujitsu.co.jp>]
8341
8342   *) unset Content-Length if chunked (RFC-2068) [Petr Lampa]
8343
8344   *) mod_negotiation fixes [Petr Lampa] PR#157, PR#158, PR#159
8345      - replace protocol response numbers with symbols
8346      - save variant-list into main request notes
8347      - free allocated memory from subrequests
8348      - merge notes, headers_out and err_headers_out
8349
8350   *) changed status check mask in proxy_http.c from "HTTP/#.# ### *" to
8351      "HTTP/#.# ###*" to be more lenient about what we accept.
8352      [Chuck Murcko]
8353
8354   *) more proxy FTP bug fixes:
8355      - Changed send_dir() to remove user/passwd from displayed URL.
8356      - Changed login error messages to be more descriptive.
8357      - remove setting of SO_DEBUG socket option
8358      - Make ftp_getrc() more lenient about multiline responses,
8359        specifically, 230 responses which don't have continuation 230-
8360        on each line). These seem to be all NT FTP servers, and while
8361        perhaps questionable, they appear to be legal by RFC 959.
8362      - Add missing kill_timeout() after transfer to user completes.
8363      [Chuck Murcko]
8364
8365   *) Fixed problem where a busy server could hang when restarting
8366      after being sent a SIGHUP due to child processes not exiting.
8367      [Marc Slemko]
8368
8369   *) Modify mod_include escaping so a '\' only signifies an escaped
8370      character if the next character is one that needs
8371      escaping.  [Ben Laurie]
8372
8373   *) Eliminated possible infinite loop in mod_imap when relative URLs are
8374      used with a 'base' directive that does not have a '/' in it.
8375      [Marc Slemko, reported by Onno Witvliet <onno@tc.hsa.nl>]
8376
8377   *) Reduced the default timeout from 1200 seconds to 300, and the
8378      one in the sample configfile from 400 to 300.  [Marc Slemko]
8379
8380   *) Stop vbprintf from crashing if given a NULL string pointer;
8381      print (null) instead.  [Ken Coar]
8382
8383   *) Don't disable Nagle algorithm if system doesn't have TCP_NODELAY.
8384      [Marc Slemko and Roy Fielding]
8385
8386   *) Fixed problem with mod_cgi-generated internal redirects trying to
8387      read the request message-body twice. [Archie Cobbs and Roy Fielding]
8388
8389   *) Reduced timeout on lingering close, removed possibility of a blocked
8390      read causing the child to hang, and stopped logging of errors if
8391      the socket is not connected (reset by client).  [Roy Fielding]
8392
8393   *) Rearranged main child loop to remove duplication of code in
8394      select/accept and keep-alive requests, fixed several bugs regarding
8395      checking scoreboard_image for exit indication and failure to
8396      account for all success conditions and trap all error conditions,
8397      prevented multiple flushes before closing the socket; close the entire
8398      socket buffer instead of just one descriptor, prevent logging of
8399      EPROTO and ECONNABORTED on platforms where supported, and generally
8400      improved readability.  [Roy Fielding]
8401
8402   *) Extensive performance improvements. Cleaned up inefficient use of
8403      auto initializers, multiple is_matchexp calls on a static string,
8404      and excessive merging of response_code_strings. [Dean Gaudet]
8405
8406   *) Added double-buffering to mod_include to improve performance on
8407      server-side includes. [Marc Slemko]
8408
8409   *) Several fixes for suexec wrapper. [Randy Terbush]
8410      - Make wrapper work for files on NFS filesystem.
8411      - Fix portability problem of MAXPATHLEN.
8412      - Fix array overrun problem in clean_env().
8413      - Fix allocation of PATH environment variable
8414
8415   *) Removed extraneous blank line is description of mod_status chars.
8416      [Kurt Kohler]
8417
8418   *) Logging of errors from the call_exec routine simply went nowhere,
8419      since the logfile fd has been closed, so now we send them to stderr.
8420      [Harald T. Alvestrand]
8421
8422   *) Fixed core dump when DocumentRoot is a CGI.
8423      [Ben Laurie, reported by geddis@tesserae.com]
8424
8425   *) Fixed potential file descriptor leak in mod_asis; updated it and
8426      http_core to use pfopen/pfclose instead of fopen/fclose.
8427      [Randy Terbush and Roy Fielding]
8428
8429   *) Fixed handling of unsigned ints in ap_snprintf() on some chips such
8430      as the DEC Alpha which is 64-bit but uses 32-bit ints.
8431      [Dean Gaudet and Ken Coar]
8432
8433   *) Return a 302 response code to the client when sending a redirect
8434      due to a missing trailing '/' on a directory instead of a 301; now
8435      it is cacheable. [Markus Gyger]
8436
8437   *) Fix condition where, if a bad directive occurs in .htaccess, and
8438      sub_request() goes first to this directory, then log_reason() will
8439      SIGSEGV because it doesn't have initialized r->per_dir_config.
8440      [PR#162 from Petr Lampa, fix by Marc Slemko and Dean Gaudet]
8441
8442   *) Fix handling of lang_index in is_variant_better().  This was
8443      causing problems which resulted in the server sending the
8444      wrong language document in some cases. [Petr Lampa]
8445
8446   *) Remove free() from clean_env() in suexec wrapper. This was nuking
8447      the clean environment on some systems.
8448
8449   *) Tweak byteserving code (e.g. serving PDF files) to work around
8450      bugs in Netscape Navigator and Microsoft Internet Explorer.
8451      Emit Content-Length header when sending multipart/byteranges.
8452      [Alexei Kosut]
8453
8454   *) Port to HI-UX/WE2. [Nick Maclaren]
8455
8456   *) Port to HP MPE operating system for HP 3000 machines
8457      [Mark Bixby <markb@cccd.edu>]
8458
8459   *) Fixed bug which caused a segmentation fault if only one argument
8460      given to RLimit* directives. [Ed Korthof]
8461
8462   *) Continue persistent connection after 204 or 304 response. [Dean Gaudet]
8463
8464   *) Improved buffered output to the client by delaying the flush decision
8465      until the BUFF code is actually about to read the next request.
8466      This fixes a problem introduced in 1.2b5 with clients that send
8467      an extra CRLF after a POST request. Also improved chunked output
8468      performance by combining writes using writev() and removing as
8469      many bflush() calls as possible.  NOTE: Platforms without writev()
8470      must add -DNO_WRITEV to the compiler CFLAGS, either in Configuration
8471      or Configure, unless we have already done so.  [Dean Gaudet]
8472
8473   *) Fixed mod_rewrite bug which truncated the rewritten URL [Marc Slemko]
8474
8475   *) Fixed mod_info output corruption bug introduced by buffer overflow
8476      fixes. [Dean Gaudet]
8477
8478   *) Fixed http_protocol to correctly output all HTTP/1.1 headers, including
8479      for the special case of a 304 response.  [Paul Sutton]
8480
8481   *) Improved handling of TRACE method by bypassing normal method handling
8482      and header parsing routines; fixed Allow response to always allow TRACE.
8483      [Dean Gaudet]
8484
8485   *) Fixed compiler warnings in the regex library. [Dean Gaudet]
8486
8487   *) Cleaned-up some of the generated HTML. [Ken Coar]
8488
8489 Changes with Apache 1.2b6
8490
8491   *) Allow whitespace in imagemap mapfile coordinates. [Marc Slemko]
8492
8493   *) Fix typo introduced in fix for potential infinite loop around
8494      accept() in child_main(). This change caused the rev to 1.2b6.
8495      1.2b5 was never a public beta.
8496
8497 Changes with Apache 1.2b5
8498
8499   *) Change KeepAlive semantics (On|Off instead of a number), add
8500      MaxKeepAliveRequests directive. [Alexei Kosut]
8501
8502   *) Various NeXT compilation patches, as well as a change in
8503      regex/regcomp.c since that file also used a NEXT define.
8504      [Andreas Koenig]
8505
8506   *) Allow * to terminate the end of a directory match in mod_dir.
8507      Allows /~* to match for both /~joe and /~joe/. [David Bronder]
8508
8509   *) Don't call can_exec() if suexec_enabled. Calling this requires
8510      scripts executed by the suexec wrapper to be world executable, which
8511      defeats one of the advantages of running the wrapper. [Randy Terbush]
8512
8513   *) Portability Fix: IRIX complained with 'make clean' about *pure* (removed)
8514      [Jim Jagielski]
8515
8516   *) Migration from sprintf() to snprintf() to avoid buffer
8517      overflows. [Marc Slemko]
8518
8519   *) Provide portable snprintf() implementation (ap_snprintf)
8520      as well as *cvt family. [Jim Jagielski]
8521
8522   *) Portability Fix: NeXT lacks unistd.h so we wrap it's inclusion
8523      [Jim Jagielski]
8524
8525   *) Remove mod_fastcgi.c from the distribution. This module appears
8526      to be maintained more through the Open Market channels and should
8527      continue to be easily available at http://www.fastcgi.com/
8528
8529   *) Fixed bug in modules/Makefile that wouldn't allow building in more
8530      than one subdirectory (or cleaning, either). [Jeremy Laidman]
8531
8532   *) mod_info assumed that the config files were relative to ServerRoot.
8533      [Ken the Rodent]
8534
8535   *) CGI scripts called as an error document resulting from failed
8536      CGI execution would hang waiting for POST'ed data. [Rob Hartill]
8537
8538   *) Log reason when mod_dir returns access HTTP_FORBIDDEN
8539      [Ken the Rodent]
8540
8541   *) Properly check errno to prevent display of a directory index
8542      when server receives a long enough URL to confuse stat().
8543      [Marc Slemko]
8544
8545   *) Several security enhancements to suexec wrapper. It is _highly_
8546      recommended that previously installed versions of the wrapper
8547      be replaced with this version.  [Randy Terbush, Jason Dour]
8548
8549         - ~user execution now properly restricted to ~user's home
8550           directory and below.
8551         - execution restricted to UID/GID > 100
8552         - restrict passed environment to known variables
8553         - call setgid() before initgroups() (portability fix)
8554         - remove use of setenv() (portability fix)
8555
8556   *) Add HTTP/1.0 response forcing. [Ben Laurie]
8557
8558   *) Add access control via environment variables. [Ben Laurie]
8559
8560   *) Add rflush() function. [Alexei Kosut]
8561
8562   *) remove duplicate pcalloc() call in new_connection().
8563
8564   *) Fix incorrect comparison which could allow number of children =
8565      MaxClients + 1 if less than HARD_SERVER_LIMIT. Also fix potential
8566      problem if StartServers > HARD_SERVER_LIMIT. [Ed Korthof]
8567
8568   *) Updated support for OSes (MachTen, ULTRIX, Paragon, ISC, OpenBSD
8569      AIX PS/2, CONVEXOS. [Jim Jagielski]
8570
8571   *) Replace instances of inet_ntoa() with inet_addr() for ProxyBlock.
8572      It's more portable. [Martin Kraemer]
8573
8574   *) Replace references to make in Makefile.tmpl with $(MAKE).
8575      [Chuck Murcko]
8576
8577   *) Add ProxyBlock directive w/IP address caching. Add IP address
8578      caching to NoCache directive as well. ProxyBlock works with all
8579      handlers; NoCache now also works with FTP for anonymous logins.
8580      Still more code cleanup. [Chuck Murcko]
8581
8582   *) Add "header parse" API hook [Ben Laurie]
8583
8584   *) Fix byte ordering problems for REMOTE_PORT [Chuck Murcko]
8585
8586   *) suEXEC wrapper was freeing memory that had not been malloc'ed.
8587
8588   *) Correctly allow access and auth directives in <Files> sections in
8589      server config files. [Alexei Kosut]
8590
8591   *) Fix bug with ServerPath that could cause certain files to be not
8592      found by the server. [Alexei Kosut]
8593
8594   *) Fix handling of ErrorDocument so that it doesn't remove a trailing
8595      double-quote from text and so that it properly checks for unsupported
8596      status codes using the new index_of_response interface. [Roy Fielding]
8597
8598   *) Multiple fixes to the lingering_close code in order to avoid being
8599      interrupted by a stray timeout, to avoid lingering on a connection
8600      that has already been aborted or never really existed, to ensure that
8601      we stop lingering as soon as any error condition is received, and to
8602      prevent being stuck indefinitely if the read blocks.  Also improves
8603      reporting of error conditions.  [Marc Slemko and Roy Fielding]
8604
8605   *) Fixed initialization of parameter structure for sigaction.
8606      [mgyger@itr.ch, Adrian Filipi-Martin]
8607
8608   *) Fixed reinitializing the parameters before each call to accept and
8609      select, and removed potential for infinite loop in accept.
8610      [Roy Fielding, after useful PR from adrian@virginia.edu]
8611
8612   *) Fixed condition where, if a child fails to fork, the scoreboard would
8613      continue to say SERVER_STARTING forever. Eventually, the main process
8614      would refuse to start new children because count_idle_servers() will
8615      count those SERVER_STARTING entries and will always report that there
8616      are enough idle servers. [Phillip Vandry]
8617
8618   *) Fixed bug in bcwrite regarding failure to account for partial writes.
8619      Avoided calling bflush() when the client is pipelining requests.
8620      Removed unnecessary flushes from http_protocol. [Dean Gaudet]
8621
8622   *) Added description of "." mode in server-status [Jim Jagielski]
8623
8624 Changes with Apache 1.2b4
8625
8626   *) Fix possible race condition in accept_mutex_init() that
8627      could leave a small security hole open allowing files to be
8628      overwritten in cases where the server UID has write permissions.
8629      [Marc Slemko]
8630
8631   *) Fix awk compatibilty problem in Configure. [Jim Jagielski]
8632
8633   *) Fix portablity problem in util_script where ARG_MAX may not be
8634      defined for some systems.
8635
8636   *) Add changes to allow compilation on Machten 4.0.3 for PowerPC.
8637      [Randal Schwartz]
8638
8639   *) OS/2 changes to support an MMAP style scoreboard file and UNIX
8640      style magic #! token for better script portability. [Garey Smiley]
8641
8642   *) Fix bug in suexec wrapper introduced in b3 that would cause failed
8643      execution for ~userdir CGI. [Jason Dour]
8644
8645   *) Fix initgroups() business in suexec wrapper. [Jason Dour]
8646
8647   *) Fix month off by one in suexec wrapper logging.
8648
8649 Changes with Apache 1.2b3:
8650
8651   *) Fix error in mod_cgi which could cause resources not to be properly
8652      freed, or worse. [Dean Gaudet]
8653
8654   *) Fix find_string() NULL pointer dereference. [Howard Fear]
8655
8656   *) Add set_flag_slot() at the request of Dirk and others.
8657      [Dirk vanGulik]
8658
8659   *) Sync mod_rewrite with patch level 10. [Ralf Engelschall]
8660
8661   *) Add changes to improve the error message given for invalid
8662      ServerName parameters. [Dirk vanGulik]
8663
8664   *) Add "Authoritative" directive for Auth modules that don't
8665      currently have it. This gives admin control to assign authoritative
8666      control to an authentication scheme and allow "fall through" for
8667      those authentication modules that aren't "Authoritative" thereby
8668      allowing multiple authentication mechanisms to be chained.
8669      [Dirk vanGulik]
8670
8671   *) Remove requirement for ResourceConfig/AccessConfig if not using
8672      the three config file layout. [Randy Terbush]
8673
8674   *) Add PASV mode to mod_proxy FTP handler. [Chuck Murcko]
8675
8676   *) Changes to suexec wrapper to fix the following problems:
8677      1.  symlinked homedirs will kill ~userdirs.
8678      2.  initgroups() on Linux 2.0.x clobbers gr->grid.
8679      3.  CGI command lines paramters problems
8680      4.  pw-pwdir for "docroot check" still the httpd user's pw record.
8681     [Randy Terbush, Jason Dour]
8682
8683   *) Change create_argv() to accept variable arguments. This fixes
8684      a problem where arguments were not getting passed to the CGI via
8685      argv[] when the suexec wrapper was active. [Randy Terbush, Jake Buchholz]
8686
8687   *) Collapse multiple slashes in path URLs to properly apply
8688      handlers defined by <Location>. [Alexei Kosut]
8689
8690   *) Define a sane set of DEFAULT_USER and DEFAULT_GROUP values for AIX.
8691
8692   *) Improve the accuracy of request duration timings by setting
8693      r->request_time in read_request_line() instead of read_request().
8694      [Dean Gaudet]
8695
8696   *) Reset timeout while reading via get_client_block() in mod_cgi.c
8697      Fixes problem with timed out transfers of large files. [Rasmus Lerdorf]
8698
8699   *) Add the ability to pass different Makefile.tmpl files to Configure
8700      using the -make flag. [Rob Hartill]
8701
8702   *) Fix coredump triggered when sending a SIGHUP to the server caused
8703      by an assertion failure, in turn caused by an uninitialised field in a
8704      listen_rec.
8705      [Ben Laurie]
8706
8707   *) Add FILEPATH_INFO variable to CGI environment, which is equal to
8708      PATH_INFO from previous versions of Apache (in certain situations,
8709      Apache 1.2's PATH_INFO will be different than 1.1's). [Alexei Kosut]
8710      [later removed in 1.2b11]
8711
8712   *) Add rwrite() function to API to allow for sending strings of
8713      arbitrary length. [Doug MacEachern]
8714
8715   *) Remove rlim_t typedef for NetBSD. Do older versions need this?
8716
8717   *) Defined rlim_t and WANTHSREGEX=yes and fixed waitpid() substitute for
8718      NeXT. [Jim Jagielski]
8719
8720   *) Removed recent modification to promote the status code on internal
8721      redirects, since the correct fix was to change the default log format
8722      in mod_log_config so that it outputs the original status. [Rob Hartill]
8723
8724 Changes with Apache 1.2b2:
8725
8726   *) Update set_signals() to use sigaction() for setting handlers.
8727      This appears to fix a re-entrant problem in the seg_fault()
8728      bus_error() handlers. [Randy Terbush]
8729
8730   *) Changes to allow mod_status compile for OS/2 [Garey Smiley]
8731
8732   *) changes for DEC AXP running OSF/1 v3.0. [Marc Evans]
8733
8734   *) proxy_http.c bugfixes:  [Chuck Murcko]
8735         1) fixes possible NULL pointer reference w/NoCache
8736         2) fixes NoCache behavior when using ProxyRemote (ProxyRemote
8737            host would cache nothing if it was in the local domain,
8738            and the local domain was in the NoCache list)
8739         3) Adds Host: header when not available
8740         4) Some code cleanup and clarification
8741
8742   *) mod_include.c bugfixes:
8743         1) Fixed an ommission that caused include variables to not
8744            be parsed in config errmsg directives [Howard Fear]
8745         2) Remove HAVE_POSIX_REGEX cruft [Alexei Kosut]
8746         3) Patch to fix compiler warnings [perrot@lal.in2p3.fr]
8747         4) Allow backslash-escaping to all quoted text
8748            [Ben Yoshino <ben@wiliki.eng.hawaii.edu>]
8749         5) Pass variable to command line if not set in XSSI's env
8750            [Howard Fear]
8751
8752   *) Fix infinite loop when processing Content-language lines in
8753      type-map files. [Alexei Kosut]
8754
8755   *) Closed file-globbing hole in test-cgi script. [Brian Behlendorf]
8756
8757   *) Fixed problem in set_[user|group] that prevented CGI execution
8758      for non-virtualhosts when suEXEC was enabled. [Randy Terbush]
8759
8760   *) Added PORTING information file.  [Jim Jagielski]
8761
8762   *) Added definitions for S_IWGRP and S_IWOTH to conf.h [Ben Laurie]
8763
8764   *) Changed default group to "nogroup" instead of "nobody" [Randy Terbush]
8765
8766   *) Fixed define typo of FCNTL_SERIALIZED_ACCEPT where
8767      USE_FCNTL_SERIALIZED_ACCEPT was intended.
8768
8769   *) Fixed additional uses of 0xffffffff where INADDR_NONE was intended,
8770      which caused problems of systems where socket s_addr is >32bits.
8771
8772   *) Added comment to explain (r->chunked = 1) side-effect in
8773      http_protocol.c [Roy Fielding]
8774
8775   *) Replaced use of index() in mod_expires.c with more appropriate
8776      and portable isdigit() test.  [Ben Laurie]
8777
8778   *) Updated Configure for ...
8779         OS/2          (DEF_WANTHSREGEX=yes, other code changes)
8780         *-dg-dgux*    (bad pattern match)
8781         QNX           (DEF_WANTHSREGEX=yes)
8782         *-sunos4*     (DEF_WANTHSREGEX=yes, -DUSEBCOPY)
8783         *-ultrix      (new)
8784         *-unixware211 (new)
8785      and added some user diagnostic info.  [Ben Laurie]
8786
8787   *) In helpers/CutRule, replaced "cut" invocation with "awk" invocation
8788      for better portability. [Jim Jagielski]
8789
8790   *) Updated helpers/GuessOS for ...
8791         SCO 5            (recognize minor releases)
8792         SCO UnixWare     (braindamaged uname, whatever-whatever-unixware2)
8793         SCO UnixWare 2.1.1      (requires a separate set of #defines in conf.h)
8794         IRIX64           (-sgi-irix64)
8795         ULTRIX           (-unknown-ultrix)
8796         SINIX            (-whatever-sysv4)
8797         NCR Unix         (-ncr-sysv4)
8798      and fixed something in helpers/PrintPath  [Ben Laurie]
8799
8800 Changes with Apache 1.2b1
8801
8802   *) Not listed. See <http://www.apache.org/docs/new_features_1_2.html>
8803
8804 Changes with Apache 1.1.1
8805
8806   *) Fixed bug where Cookie module would make two entries in the
8807      logfile for each access [Mark Cox]
8808
8809   *) Fixed bug where Redirect in .htaccess files would cause memory
8810      leak. [Nathan Neulinger]
8811
8812   *) MultiViews now works correctly with AddHandler [Alexei Kosut]
8813
8814   *) Problems with mod_auth_msql fixed [Dirk vanGulik]
8815
8816   *) Fix misspelling of "Anonymous_Authorative" directive in mod_auth_anon.
8817
8818 Changes with Apache 1.1.0
8819
8820   *) Bring NeXT support up to date. [Takaaki Matsumoto]
8821
8822   *) Bring QNX support up to date. [Ben Laurie]
8823
8824   *) Make virtual hosts default to main server keepalive parameters.
8825      [Alexei Kosut, Ben Laurie]
8826
8827   *) Allow ScanHTMLTitles to work with lowercase <title> tags. [Alexei Kosut]
8828
8829   *) Fix missing address family for connect, also remove unreachable statement
8830      in mod_proxy. [Ben Laurie]
8831
8832   *) mod_env now turned on by default in Configuration.tmpl.
8833
8834   *) Bugs which were fixed:
8835         a) yet more mod_proxy bugs [Ben Laurie]
8836         b) CGI works again with inetd [Alexei Kosut]
8837         c) Leading colons were stripped from passwords [osm@interguide.com]
8838         d) Another fix to multi-method Limit problem [jk@tools.de]
8839
8840 Changes with Apache 1.1b4
8841
8842   *) r->bytes_sent variable restored. [Robert Thau]
8843
8844   *) Previously broken multi-method <Limit> parsing fixed. [Robert Thau]
8845
8846   *) More possibly unsecure programs removed from the support directory.
8847
8848   *) More mod_auth_msql authentication improvements.
8849
8850   *) VirtualHosts based on Host: headers no longer conflict with the
8851      Listen directive.
8852
8853   *) OS/2 compatibility enhancements. [Gary Smiley]
8854
8855   *) POST now allowed to directory index CGI scripts.
8856
8857   *) Actions now work with files of the default type.
8858
8859   *) Bugs which were fixed:
8860         a) more mod_proxy bugs
8861         b) early termination of inetd requests
8862         c) compile warnings on several systems
8863         d) problems when scripts stop reading output early
8864
8865 Changes with Apache 1.1b3
8866
8867   *) Much of cgi-bin and all of cgi-src has been removed, due to
8868      various security holes found and that we could no longer support
8869      them.
8870
8871   *) The "Set-Cookie" header is now special-cased to not merge multiple
8872      instances, since certain popular browsers can not handle multiple
8873      Set-Cookie instructions in a single header. [Paul Sutton]
8874
8875   *) rprintf() added to buffer code, occurrences of sprintf removed.
8876      [Ben Laurie]
8877
8878   *) CONNECT method for proxy module, which means tunneling SSL should work.
8879      (No crypto needed)  Also a NoCache config directive.
8880
8881   *) Several API additions: pstrndup(), table_unset() and get_token()
8882      functions now available to modules.
8883
8884   *) mod_imap fixups, in particular Location: headers are now complete
8885      URL's.
8886
8887   *) New "info" module which reports on installed module set through a
8888      special URL, a la mod_status.
8889
8890   *) "ServerPath" directive added - allows for graceful transition
8891      for Host:-header-based virtual hosts.
8892
8893   *) Anonymous authentication module improvements.
8894
8895   *) MSQL authentication module improvements.
8896
8897   *) Status module design improved - output now table-based. [Ben Laurie]
8898
8899   *) htdigest utility included for use with digest authentication
8900      module.
8901
8902   *) mod_negotiation: Accept values with wildcards to be treated with
8903      less priority than those without wildcards at the same quality
8904      value. [Alexei Kosut]
8905
8906   *) Bugs which were fixed:
8907         a) numerous mod_proxy bugs
8908         b) CGI early-termination bug [Ben Laurie]
8909         c) Keepalives not working with virtual hosts
8910         d) RefererIgnore problems
8911         e) closing fd's twice in mod_include (causing core dumps on
8912            Linux and elsewhere).
8913
8914 Changes with Apache 1.1b2
8915
8916   *) Bugfixes:
8917         a) core dumps in mod_digest
8918         b) truncated hostnames/ip address in the logs
8919         c) relative URL's in mod_imap map files
8920
8921 Changes with Apache 1.1b1
8922
8923   *) Not listed. See <http://www.apache.org/docs/new_features_1_1.html>
8924
8925 Changes with Apache 1.0.3
8926
8927   *) Internal redirects which occur in mod_dir.c now preserve the
8928      query portion of a request (the bit after the question mark).
8929      [Adam Sussman]
8930
8931   *) Escape active characters '<', '>' and '&' in html output in
8932      directory listings, error messages and redirection links.
8933      [David Robinson]
8934
8935   *) Apache will now work with LynxOS 2.3 and later [Steven Watt]
8936
8937   *) Fix for POSIX compliance in waiting for processes in alloc.c.
8938      [Nick Williams]
8939
8940   *) setsockopt no longer takes a const declared argument [Martijn Koster]
8941
8942   *) Reset timeout timer after each successful fwrite() to the network.
8943      This patch adds a reset_timeout() procedure that is called by
8944      send_fd() to reset the timeout ever time data is written to the net.
8945      [Nathan Schrenk]
8946
8947   *) timeout() signal handler now checks for SIGPIPE and reports
8948      lost connections in a more user friendly way. [Rob Hartill]
8949
8950   *) Location of the "scoreboard" file which used to live in /tmp is
8951      now configurable (for OSes that can't use mmap) via ScoreBoardFile
8952      which works similar to PidFile (in httpd.conf) [Rob Hartill]
8953
8954   *) Include sys/resource.h in the correct place for SunOS4 [Sameer Parekh]
8955
8956   *) the pstrcat call in mod_cookies.c didn't have an ending NULL,
8957      which caused a SEGV with cookies enabled
8958
8959   *) Output warning when MinSpareServers is set to <= 0 and change it to 1
8960      [Rob Hartill]
8961
8962   *) Log the UNIX textual error returned by some system calls, in
8963      particular errors from accept() [David Robinson]
8964
8965   *) Add strerror function to util.c for SunOS4 [Randy Terbush]
8966
8967 Changes with Apache 1.0.2
8968
8969   *) patch to get Apache compiled on UnixWare 2.x, recommended as
8970      a temporary measure, pending rewrite of rfc931.c. [Chuck Murcko]
8971
8972   *) Fix get_basic_auth_pw() to set the auth_type of the request.
8973      [David Robinson]
8974
8975   *) past changes to http_config.c to only use the
8976      setrlimit function on systems defining RLIMIT_NOFILE
8977      broke the feature on SUNOS4. Now defines HAVE_RESOURCE
8978      for SUNOS and prototypes the needed functions.
8979
8980   *) Remove uses of MAX_STRING_LEN/HUGE_STRING_LEN from several routines.
8981      [David Robinson]
8982
8983   *) Fix use of pointer to scratch memory. [Cliff Skolnick]
8984
8985   *) Merge multiple headers from CGI scripts instead of taking last
8986      one. [David Robinson]
8987
8988   *) Add support for SCO 5. [Ben Laurie]
8989
8990 Changes with Apache 1.0.1
8991
8992   *) Silence mod_log_referer and mod_log_agent if not configured
8993      [Randy Terbush]
8994
8995   *) Recursive includes can occur if the client supplies PATH_INFO data
8996      and the server provider uses relative links; as file.html
8997      relative to /doc.shtml/pathinfo is /doc.shtml/file.html. [David Robinson]
8998
8999   *) The replacement for initgroups() did not call {set,end}grent(). This
9000      had two implications: if anything else used getgrent(), then
9001      initgroups() would fail, and it was consuming a file descriptor.
9002      [Ben Laurie]
9003
9004   *) On heavily loaded servers it was possible for the scoreboard to get
9005      out of sync with reality, as a result of a race condition.
9006      The observed symptoms are far more Apaches running than should
9007      be, and heavy system loads, generally followed by catastrophic
9008      system failure. [Ben Laurie]
9009
9010   *) Fix typo in license. [David Robinson]
9011
9012 Changes with Apache 1.0.0                                        23 Nov 1995
9013
9014   *) Not listed. See <http://www.apache.org/docs/new_features_1_0.html>
9015
9016 Changes with Apache 0.8.16                                       05 Nov 1995
9017
9018   *) New man page for 'httpd' added to support directory [David Robinson]
9019
9020   *) .htgroup files can have more than one line giving members for a
9021      given group (each must have the group name in front), for NCSA
9022      back-compatibility [Robert Thau]
9023
9024   *) Mutual exclusion around accept() is on by default for SVR4 systems
9025      generally, since they generally can't handle multiple processes in
9026      accept() on the same socket.  This should cure flaky behavior on
9027      a lot of those systems.  [David Robinson]
9028
9029   *) AddType, AddEncoding, and AddLanguage directives take multiple
9030      extensions on a single command line [David Robinson]
9031
9032   *) UserDir can be disabled for a given virtual host by saying
9033      "UserDir disabled" in the <VirtualHost> section --- it was a bug
9034      that this didn't work.  [David Robinson]
9035
9036   *) Compiles on QNX [Ben Laurie]
9037
9038   *) Corrected parsing of ctime time format [David Robinson]
9039
9040   *) httpd does a perror() before exiting if it can't log its pid
9041      to the PidFile, to make diagnosing the error a bit easier.
9042      [David Robinson]
9043
9044   *) <!--#include file="..."--> can no longer include files in the
9045      parent directory, for NCSA back-compatibility.  [David Robinson]
9046
9047   *) '~' is *not* escaped in URIs generated for directory listings
9048      [Roy Fielding]
9049
9050   *) Eliminated compiler warning in the imagemap module [Randy Terbush]
9051
9052   *) Fixed bug involving handling URIs with escaped %-characters
9053      in redirects [David Robinson]
9054
9055 Changes with Apache 0.8.15                                       14 Oct 1995
9056
9057   *) Switched to new, simpler license
9058
9059   *) Eliminated core dumps with improperly formatted DBM group files [Mark Cox]
9060
9061   *) Don't allow requests for ordinary files to have PATH_INFO [Ben Laurie]
9062
9063   *) Reject paths containing %-escaped '%' or null characters [David Robinson]
9064
9065   *) Correctly handles internal redirects to files with names containing '%'
9066      [David Robinson]
9067
9068   *) Repunctuated some error messages [Aram Mirzadeh, Andrew Wilson]
9069
9070   *) Use geteuid() rather than getuid() to see if we have root privilege,
9071      so that server correctly resets privilege if run setuid root.  [Andrew
9072      Wilson]
9073
9074   *) Handle ftp: and telnet: URLs correctly in imagemaps (built-in module)
9075      [Randy Terbush]
9076
9077   *) Fix relative URLs in imagemap files [Randy Terbush]
9078
9079   *) Somewhat better fix for the old "Alias /foo/ /bar/" business
9080      [David Robinson]
9081
9082   *) Don't repeatedly open the ErrorLog if a bunch of <VirtualHost>
9083      entries all name the same one. [David Robinson]
9084
9085   *) Fix directory listings with filenames containing unusual characters
9086      [David Robinson]
9087
9088   *) Better URI-escaping for generated URIs in directories with filenames
9089      containing unusual characters [Ben Laurie]
9090
9091   *) Fixed potential FILE* leak in http_main.c [Ben Laurie]
9092
9093   *) Unblock alarms on error return from spawn_child() [David Robinson]
9094
9095   *) Sample Config files have extra note for SCO users [Ben Laurie]
9096
9097   *) Configuration has note for HP-UX users [Rob Hartill]
9098
9099   *) Eliminated some bogus Linux-only #defines in conf.h [Aram Mirzadeh]
9100
9101   *) Nuked bogus #define in httpd.h [David Robinson]
9102
9103   *) Better test for whether a system has setrlimit() [David Robinson]
9104
9105   *) Calls update_child_status() after reopen_scoreboard() [David Robinson]
9106
9107   *) Doesn't send itself SIGHUP on startup when run in the -X debug-only mode
9108      [Ben Laurie]
9109
9110 Changes with Apache 0.8.14                                       19 Sep 1995
9111
9112   *) Compiles on SCO ODT 3.0 [Ben Laurie]
9113
9114   *) AddDescription works (better) [Ben Laurie]
9115
9116   *) Leaves an intelligible error diagnostic when it can't set group
9117      privileges on standalone startup [Andrew Wilson]
9118
9119   *) Compiles on NeXT again --- the 0.8.13 RLIMIT patch was failing on
9120      that machine, which claims to be BSD but does not support RLIMIT.
9121      [Randy Terbush]
9122
9123   *) gcc -Wall no longer complains about an unused variable when util.c
9124      is compiled with -DMINIMAL_DNS [Andrew Wilson]
9125
9126   *) Nuked another compiler warning for -Wall on Linux [Aram Mirzadeh]
9127
9128 Changes with Apache 0.8.13                                       07 Sep 1995
9129
9130   *) Make IndexIgnore *work* (ooops) [Jarkko Torppa]
9131
9132   *) Have built-in imagemap code recognize & honor Point directive [James
9133      Cloos]
9134
9135   *) Generate cleaner directory listings in directories with a mix of
9136      long and short filenames [Rob Hartill]
9137
9138   *) Properly initialize dynamically loaded modules [Royston Shufflebotham]
9139
9140   *) Properly default ServerName for virtual servers [Robert Thau]
9141
9142   *) Rationalize handling of BSD in conf.h and elsewhere [Randy Terbush,
9143      Paul Richards and a cast of thousands...]
9144
9145   *) On self-identified BSD systems (we don't try to guess any more),
9146      allocate a few extra file descriptors per virtual host with setrlimit,
9147      if we can, to avoid running out. [Randy Terbush]
9148
9149   *) Write 22-character lock file name into buffer with enough space
9150      on startup [Konstantin Olchanski]
9151
9152   *) Use archaic setpgrp() interface on NeXT, which requires it [Brian
9153      Pinkerton]
9154
9155   *) Suppress -Wall warning by casting const away in util.c [Aram Mirzadeh]
9156
9157   *) Suppress -Wall warning by initializing variable in negotiation code
9158      [Tobias Weingartner]
9159
9160 Changes with Apache 0.8.12                                       31 Aug 1995
9161
9162   *) Doesn't pause three seconds after including a CGI script which is
9163      too slow to die off (this is done by not even trying to kill off
9164      subprocesses, including the SIGTERM/pause/SIGKILL routine, until
9165      after the entire document has been processed).  [Robert Thau]
9166
9167   *) Doesn't do SSI if Options Includes is off.  (Ooops).  [David Robinson]
9168
9169   *) Options IncludesNoExec allows inclusion of at least text/* [Roy Fielding]
9170
9171   *) Allows .htaccess files to override <Directory> sections naming the
9172      same directory [David Robinson]
9173
9174   *) Removed an efficiency hack in sub_req_lookup_uri which was
9175      causing certain extremely marginal cases (e.g., ScriptAlias of a
9176      *particular* index.html file) to fail.  [David Robinson]
9177
9178   *) Doesn't log an error when the requested URI requires
9179      authentication, but no auth header line was supplied by the
9180      client; this is a normal condition (the client doesn't no auth is
9181      needed here yet).  [Robert Thau]
9182
9183   *) Behaves more sanely when the name server loses its mind [Sean Welch]
9184
9185   *) RFC931 code compiles cleanly on old BSDI releases [Randy Terbush]
9186
9187   *) RFC931 code no longer passes out name of prior clients on current
9188      requests if the current request came from a server that doesn't
9189      do RFC931.  [David Robinson]
9190
9191   *) Configuration script accepts "Module" lines with trailing whitespace.
9192      [Robert Thau]
9193
9194   *) Cleaned up compiler warning from mod_access.c [Robert Thau]
9195
9196   *) Cleaned up comments in mod_cgi.c [Robert Thau]
9197
9198 Changes with Apache 0.8.11                                       24 Aug 1995
9199
9200   *) Wildcard <Directory> specifications work.  [Robert Thau]
9201
9202   *) Doesn't loop for buggy CGI on Solaris [Cliff Skolnick]
9203
9204   *) Symlink checks (FollowSymLinks off, or SymLinkIfOwnerMatch) always check
9205      the file being requested itself, in addition to the directories leading
9206      up to it. [Robert Thau]
9207
9208   *) Logs access failures due to symlink checks or invalid client address
9209      in the error log [Roy Fielding, Robert Thau]
9210
9211   *) Symlink checks deal correctly with systems where lstat of
9212      "/path/to/some/link/" follows the link.  [Thau, Fielding]
9213
9214   *) Doesn't reset DirectoryIndex to 'index.html' when
9215      other directory options are set in a .htaccess file.  [Robert Thau]
9216
9217   *) Clarified init code and nuked bogus warning in mod_access.c
9218      [Florent Guillaume]
9219
9220   *) Corrected several directives in sample srm.conf
9221      --- includes corrections to directory indexing icon-related directives
9222      (using unknown.gif rather than unknown.xbm as the DefaultIcon, doing
9223      icons for encodings right, and turning on AddEncoding by default).
9224      [Roy Fielding]
9225
9226   *) Corrected descriptions of args to AddIcon and AddAlt in command table
9227      [James Cloos]
9228
9229   *) INSTALL & README mention "contributed modules" directory [Brian
9230      Behlendorf]
9231
9232   *) Fixed English in the license language...  "for for" --> "for".
9233      [Roy Fielding]
9234
9235   *) Fixed ScriptAlias/Alias interaction by moving ScriptAlias handling to
9236      mod_alias.c, merging it almost completely with handling of Alias, and
9237      adding a 'notes' field to the request_rec which allows the CGI module
9238      to discover whether the Alias module has put this request through
9239      ScriptAlias (which it needs to know for back-compatibility, as the old
9240      NCSA code did not check Options ExecCGI in ScriptAlias directories).
9241      [Robert Thau]
9242
9243 Changes with Apache 0.8.10                                       18 Aug 1995
9244
9245   *) AllowOverride applies to the named directory, and not just
9246      subdirectories.  [David Robinson]
9247
9248   *) Do locking for accept() exclusion (on systems that need it)
9249      using a special file created for the purpose in /usr/tmp, and
9250      not the error log; using the error log causes real problems
9251      if it's NFS-mounted; this is known to be the cause of a whole
9252      lot of "server hang" problems with Solaris.  [David Robinson;
9253      thanks to Merten Schumann for help diagnosing the problem].
9254
9255 Changes with Apache 0.8.9                                        12 Aug 1995
9256
9257   *) Compiles with -DMAXIMUM_DNS ---- ooops! [Henrik Mortensen]
9258
9259   *) Nested includes see environment variables of the including document,
9260      for NCSA bug-compatibility (some sites have standard footer includes
9261      which try to print out the last-modified date).  [Eric Hagberg/Robert
9262      Thau]
9263
9264   *) <!--exec cgi="/some/uri/here"--> always treats the item named by the
9265      URI as a CGI script, even if it would have been treated as something
9266      else if requested directly, for NCSA back-compatibility.  (Note that
9267      this means that people who know the name of the script can see the
9268      code just by asking for it).  [Robert Thau]
9269
9270   *) New version of dbmmanage script included in support directory as
9271      dbmmanage.new.
9272
9273   *) Check if scoreboard file couldn't be opened, and say so, rather
9274      then going insane [David Robinson]
9275
9276   *) POST to CGI works on A/UX [Jim Jagielski]
9277
9278   *) AddIcon and AddAlt commands work properly [Rob Hartill]
9279
9280   *) NCSA server push works properly --- the Arena bug compatibility
9281      workaround, which broke it, is gone (use -DARENA_BUG_WORKAROUND
9282      if you still want the workaround).  [Rob Hartill]
9283
9284   *) If client didn't submit any Accept-encodings, ignore encodings in
9285      content negotiation.  (NB this will all have to be reworked anyway
9286      for the new HTTP draft).  [Florent Guillaume]
9287
9288   *) Don't dump core when trying to log timed-out requests [Jim Jagielski]
9289
9290   *) Really honor CacheNegotiatedDocs [Florent Guillaume]
9291
9292   *) Give Redirect priority over Alias, for NCSA bug compatibility
9293      [David Robinson]
9294
9295   *) Correctly set PATH_TRANSLATED in all cases from <!--#exec cmd=""-->,
9296      paralleling earlier bug fix for CGI [David Robinson]
9297
9298   *) If DBM auth is improperly configured, report a server error and don't
9299      dump core.
9300
9301   *) Deleted FCNTL_SERIALIZED_ACCEPTS from conf.h entry for A/UX;
9302      it seems to work well enough without it (even in a 10 hits/sec
9303      workout), and the overhead for the locking under A/UX is
9304      alarmingly high (though it is very low on other systems).
9305      [Eric Hagberg, Jim Jagielski]
9306
9307   *) Fixed portability problems with mod_cookies.c [Cliff Skolnick]
9308
9309   *) Further de-Berklize mod_cookies.c; change the bogus #include.  [Brian
9310      Behlendorf/Eric Hagberg]
9311
9312   *) More improvements to default Configuration for A/UX [Jim Jagielski]
9313
9314   *) Compiles clean on NEXT [Rob Hartill]
9315
9316   *) Compiles clean on SGI [Robert Thau]
9317
9318 Changes with Apache 0.8.8                                        08 Aug 1995
9319
9320   *) SunOS library prototypes now never included unless explicitly
9321      requested in the configuration (via -DSUNOS_LIB_PROTOTYPES);
9322      people using GNU libc on SunOS are screwed by prototypes for the
9323      standard library.
9324
9325      (Those who wish to compile clean with gcc -Wall on a standard
9326      SunOS setup need the prototypes, and may obtain them using
9327      -DSUNOS_LIB_PROTOTYPES.  Those wishing to use -Wall on a system
9328      with nonstandard libraries are presumably competent to make their
9329      own arrangements).
9330
9331   *) Strips trailing '/' characters off both args to the Alias command,
9332      to make 'Alias /foo/ /bar/' work.
9333
9334 Changes with Apache 0.8.7                                        03 Aug 1995
9335
9336   *) Don't hang when restarting with a child from 'TransferLog "|..."' running
9337      [reported by David Robinson]
9338
9339   *) Compiles clean on OSF/1 [David Robinson]
9340
9341   *) Added some of the more recent significant changes (AddLanguage stuff,
9342      experimental LogFormat support) to CHANGES file in distribution root
9343      directory
9344
9345 Changes with Apache 0.8.6                                        02 Aug 1995
9346
9347   *) Deleted Netscape reload workaround --- it's in violation of HTTP specs.
9348      (If you actually wanted a conditional GET which bypassed the cache, you
9349      couldn't get it). [Reported by Roy Fielding]
9350
9351   *) Properly terminate headers on '304 Not Modified' replies to conditional
9352      GETs --- no browser we can find cares much, but the CERN proxy chokes.
9353      [Reported by Cliff Skolnick; fix discovered independently by Rob Hartill]
9354
9355   *) httpd -v doesn't call itself "Shambhala".  [Reported by Chuck Murcko]
9356
9357   *) SunOS lib-function prototypes in conf.h conditionalized on __GNUC__,
9358      not __SUNPRO_C (they're needed to quiet gcc -Wall, but acc chokes on 'em,
9359      and older versions don't set the __SUNPRO_C preprocessor variable).  On
9360      all other systems, these are never used anyway.  [Reported by Mark Cox].
9361
9362   *) Scoreboard file (/tmp/htstatus.*) no longer publically writable.
9363
9364 Changes with Apache 0.8.5                                        01 Aug 1995
9365
9366   *) Added last-minute configurable log experiment, as optional module
9367
9368   *) Correctly set r->bytes_sent for HTTP/0.9 requests, so they get logged
9369      properly.  (One-line fix to http_protocol.c).
9370
9371   *) Work around bogus behavior when reloading from Netscape.
9372      It's Netscape's bug --- for some reason they expect a request with
9373      If-modified-since: to not function as a conditional GET if it also
9374      comes with Pragma: no-cache, which is way out of line with the HTTP
9375      spec (according to Roy Fielding, the redactor).
9376
9377   *) Added parameter to set maximum number of server processes.
9378
9379   *) Added patches to make it work on A/UX.  A/UX is *weird*.  [Eric Hagberg,
9380      Jim Jagielski]
9381
9382   *) IdentityCheck bugfix [Chuck Murcko].
9383
9384   *) Corrected cgi-src/Makefile entry for new imagemap script.  [Alexei Kosut]
9385
9386   *) More sample config file corrections; add extension to AddType for
9387      *.asis, move AddType generic description to its proper place, and
9388      fix miscellaneous typos. [ Alexei Kosut ]
9389
9390   *) Deleted the *other* reference to the regents from the Berkeley
9391      legal disclaimer (everyplace).
9392
9393   *) Nuked Shambhala name from src/README; had already cleaned it out
9394      of everywhere else.
9395
9396 Changes with Apache 0.8.4
9397
9398   *) Changes to server-pool management parms --- renamed current
9399      StartServers to MinSpareServers, created separate StartServers
9400      parameter which means what it says, and renamed MaxServers to
9401      MaxSpareServers (though the old name still works, for NCSA 1.4
9402      back-compatibility).  The old names were generally regarded as
9403      too confusing.  Also altered "docs" in sample config files.
9404
9405   *) More improvements to default config files ---
9406      sample directives (commented out) for XBitHack, BindAddress,
9407      CacheNegotiatedDocs, VirtualHost; decent set of AddLanguage
9408      defaults, AddTypes for send-as-is and imagemap magic types, and
9409      improvements to samples for DirectoryIndex [Alexei Kosut]
9410
9411   *) Yet more improvements to default config files --- changes to
9412      Alexei's sample AddLanguage directives, and sample LanguagePriority
9413      [ Florent Guillaume ]
9414
9415   *) Set config file locations properly if not set in httpd.conf
9416      [ David Robinson ]
9417
9418   *) Don't escape URIs in internal redirects multiple times; don't
9419      do that when translating PATH_INFO to PATH_TRANSLATED either.
9420      [ David Robinson ]
9421
9422   *) Corrected spelling of "Required" in 401 error reports [Andrew Wilson]
9423
9424 Changes with Apache 0.8.3
9425
9426   *) Edited distribution README to *briefly* summarize installation
9427      procedures, and give a pointer to the INSTALL file in the src/
9428      directory.
9429
9430   *) Upgraded imagemap script in cgi-bin to 1.8 version from more
9431      recent NCSA distributions.
9432
9433   *) Bug fix to previous bug fix --- if .htaccess file and <Directory>
9434      exist for the same directory, use both and don't segfault.  [Reported
9435      by David Robinson]
9436
9437   *) Proper makefile dependencies [David Robinson]
9438
9439   *) Note (re)starts in error log --- reported by Rob Hartill.
9440
9441   *) Only call no2slash() after get_path_info() has been done, to
9442      preserve multiple slashes in the PATH_INFO [NCSA compatibility,
9443      reported by Andrew Wilson, though this one is probably a real bug]
9444
9445   *) Fixed mod_imap.c --- relative paths with base_uri referer don't
9446      dump core when Referer is not supplied. [Randy Terbush]
9447
9448   *) Lightly edited sample config files to refer people to our documentation
9449      instead of NCSA's, and to list Rob McCool as *original* author (also
9450      deleted his old, and no doubt non-functional email address).  Would be
9451      nice to have examples of new features...
9452
9453 Changes with Apache 0.8.2                                        19 Jul 1995
9454
9455   *) Added AddLanuage code [Florent Guillaume]
9456
9457   *) Don't say "access forbidden" when a CGI script is not found.  [Mark Cox]
9458
9459   *) All sorts of problems when MultiViews finds a directory.  It would
9460      be nice if mod_dir.c was robust enough to handle that, but for now,
9461      just punt.  [reported by Brian Behlendorf]
9462
9463   *) Wait for all children on restart, to make sure that the old socket
9464      is gone and we can reopen it.  [reported by Randy Terbush]
9465
9466   *) Imagemap module is enabled in default Configuration
9467
9468   *) RefererLog and UserAgentLog modules properly default the logfile
9469      [Randy Terbush]
9470
9471   *) Mark Cox's mod_cookies added to the distribution as an optional
9472      module (commented out in the default Configuration, and noted as
9473      an experiment, along with mod_dld). [Mark Cox]
9474
9475   *) Compiles on ULTRIX (a continuing battle...). [Robert Thau]
9476
9477   *) Fixed nasty bug in SIGTERM handling [reported by Randy Terbush]
9478
9479   *) Changed "Shambhala" to "Apache" in API docs. [Robert Thau]
9480
9481   *) Added new, toothier legal disclaimer. [Robert Thau; copied from BSD
9482      license]
9483
9484 Changes with Apache 0.8.1
9485
9486   *) New imagemap module [Randy Terbush]
9487
9488   *) Replacement referer log module with NCSA-compatible RefererIgnore
9489      [Matthew Gray again]
9490
9491   *) Don't mung directory listings with very long filenames.
9492      [Florent Guillaume]
9493
9494 Changes with Apache 0.8.0 (nee Shambhala 0.6.2)                  16 Jul 1995
9495
9496   *) New config script.  See INSTALL for info.  [Robert Thau]
9497
9498   *) Scoreboard mechanism for regulating the number of extant server
9499      processes.  MaxServers and StartServers defaults are the same as
9500      for NCSA, but the meanings are slightly different.  (Actually,
9501      I should probably lower the MaxServers default to 10).
9502
9503      Before asking for a new connection, each server process checks
9504      the number of other servers which are also waiting for a
9505      connection.  If there are more than MaxServers, it quietly dies
9506      off.  Conversely, every second, the root, or caretaker, process
9507      looks to see how many servers are waiting for a new connection;
9508      if there are fewer than StartServers, it starts a new one.  This
9509      does not depend on the number of server processes already extant.
9510      The accounting is arranged through a "scoreboard" file, named
9511      /tmp/htstatus.*, on which each process has an independent file
9512      descriptor (they need to seek without interference).
9513
9514      The end effect is that MaxServers is the maximum number of
9515      servers on an *inactive* server machine, but more will be forked
9516      off to handle unusually heavy loads (or unusually slow clients);
9517      these will die off when they are no longer needed --- without
9518      reverting to the overhead of full forking operation.  There is a
9519      hard maximum of 150 server processes compiled in, largely to
9520      avoid forking out of control and dragging the machine down.
9521      (This is arguably too high).
9522
9523      In my server endurance tests, this mechanism did not appear to
9524      impose any significant overhead, even after I forced it to put the
9525      scoreboard file on a normal filesystem (which might have more
9526      overhead than tmpfs).  [Robert Thau]
9527
9528   *) Set HTTP_FOO variables for SSI <!--#exec cmd-->s, not just CGI scripts.
9529      [Cliff Skolnick]
9530
9531   *) Read .htaccess files even in directory with <Directory> section.
9532      (Former incompatibility noted on mailing list, now fixed). [Robert
9533      Thau]
9534
9535   *) "HEAD /" gives the client a "Bad Request" error message, rather
9536      than trying to send no body *and* no headers.  [Cliff Skolnick].
9537
9538   *) Don't produce double error reports for some very obscure cases
9539      mainly involving auth configuration (the "all modules decline to
9540      handle" case which is a sure sign of a server bug in most cases,
9541      but also happens when authentication is badly misconfigured).
9542      [Robert Thau]
9543
9544   *) Moved FCNTL_SERIALIZED_ACCEPT defines into conf.h (that's what
9545      it's *for*, and this sort of thing really shouldn't be cluttering
9546      up the Makefile). [Robert Thau]
9547
9548   *) Incidental code cleanups in http_main.c --- stop dragging
9549      sa_client around; just declare it where used.  [Robert Thau]
9550
9551   *) Another acc-related fix.  (It doesn't like const char
9552      in some places...). [Mark Cox]
9553
9554 Changes with Shambhala 0.6.1                                     13 Jul 1995
9555
9556   *) Fixed auth_name-related typos in http_core.c [Brian Behlendorf]
9557      Also, fixed auth typo in http_protocol.c unmasked by this fix.
9558
9559   *) Compiles clean with acc on SunOS [Paul Sutton]
9560
9561   *) Reordered modules in modules.c so that Redirect takes priority
9562      over ScriptAlias, for NCSA bug-compatibility [Rob Hartill] ---
9563      believe it or not, he has an actual site with a ScriptAlias and
9564      a Redirect declared for the *exact same directory*.  Even *my*
9565      compatibility fetish wouldn't motivate me to fix this if the fix
9566      required any effort, but it doesn't, so what the hey.
9567
9568   *) Fixed to properly default several server_rec fields for virtual
9569      servers from the corresponding fields in the main server_rec.
9570      [Cliff Skolnick --- 'port' was a particular irritant].
9571
9572   *) No longer kills off nph- child processes before they are
9573      finished sending output. [Matthew Gray]
9574
9575 Changes with Shambhala 0.6.0                                     10 Jul 1995
9576
9577   *) Two styles of timeout --- hard and soft.  soft_timeout()s just put
9578      the connection to the client in an "aborted" state, but otherwise
9579      allow whatever handlers are running to clean up.  hard_timeout()s
9580      abort the request in progress completely; anything not tied to some
9581      resource pool cleanup will leak.  They're still around because I
9582      haven't yet come up with a more elegant way of handling
9583      timeouts when talking to something that isn't the client.  The
9584      default_handler and the dir_handler now use soft timeouts, largely
9585      so I can test the feature.  [Robert Thau]
9586
9587   *) TransferLog "| my_postprocessor ..." seems to be there.  Note that
9588      the case of log handlers dying prematurely is probably handled VERY
9589      gracelessly at this point, and if the logger stops reading input,
9590      the server will hang.  (It is known to correctly restart the
9591      logging process on server restart; this is (should be!) going through
9592      the same SIGTERM/pause/SIGKILL routine used to ding an errant CGI
9593      script).  [Robert Thau]
9594
9595   *) asis files supported (new module).  [Robert Thau]
9596
9597   *) IdentityCheck code is compiled in, but has not been tested.  (I
9598      don't know anyone who runs identd). [Robert Thau]
9599
9600   *) PATH_INFO and PATH_TRANSLATED are not set unless some real PATH_INFO
9601      came in with the request, for NCSA bug-compatibility. [Robert Thau]
9602
9603   *) Don't leak the DIR * on HEAD request for a directory. [Robert Thau]
9604
9605   *) Deleted the block_alarms() stuff from dbm_auth; no longer necessary,
9606      as timeouts are not in scope. [Robert Thau]
9607
9608   *) quoted-string args in config files now handled correctly (doesn't drop
9609      the last character). [Robert Thau; reported by Randy Terbush]
9610
9611   *) Fixed silly typo in http_main.c which was suddenly fatal in HP-UX.
9612      How the hell did it ever work? [Robert Thau; reported by Rob Hartill]
9613
9614   *) mod_core.c --- default_type returns DEFAULT_TYPE (the compile-time
9615      default default type); the former default default behavior when all
9616      type-checkers defaulted had been a core dump.  [Paul Sutton]
9617
9618   *) Copy filenames out of the struct dirent when indexing
9619      directories.  (On Linux, readdir() returns a pointer to the same
9620      memory area every time).  Fix is in mod_dir.c.  [Paul Sutton]
9621
9622 Changes with Shambhala 0.5.3 [not released]
9623
9624   *) Default response handler notes "file not found" in the error log,
9625      if the file was not found.  [Cliff Skolnick].
9626
9627   *) Another Cliff bug --- "GET /~user" now properly redirects (the userdir
9628      code no longer sets up bogus PATH_INFO which fakes out the directory
9629      handler). [Cliff Skolnick]
9630
9631 Changes with Shambhala 0.5.2                                     06 Jul 1995
9632
9633   *) Changes to http_main.c --- root server no longer plays silly
9634      games with SIGCHLD, and so now detects and replaces dying
9635      children.  Child processes just die on SIGTERM, without taking
9636      the whole process group with them.  Potential problem --- if any
9637      child process refuses to die, we hang in restart.
9638      MaxRequestsPerChild may still not work, but it certainly works
9639      better than it did before this!  [Robert Thau]
9640
9641   *) mod_dir.c bug fixes: ReadmeName and HeaderName
9642      work (or work better, at least); over-long description lines
9643      properly terminated. [Mark Cox]
9644
9645   *) http_request.c now calls unescape_url() more places where it
9646      should [Paul Sutton].
9647
9648   *) More directory handling bugs (reported by Cox)
9649      Parent Directory link is now set correctly. [Robert Thau]
9650
9651 Changes with Shambhala 0.5.1                                     04 Jul 1995
9652
9653   *) Generalized cleanup interface in alloc.c --- any function can be
9654      registered with alloc.c as a cleanup for a resource pool;
9655      tracking of files and file descriptors has been reimplemented in
9656      terms of this interface, so I can give it some sort of a test.
9657      [Robert Thau]
9658
9659   *) More changes in alloc.c --- new cleanup_for_exec() function,
9660      which tracks down and closes all file descriptors which have been
9661      registered with the alloc.c machinery before the server exec()s a
9662      child process for CGI or <!--#exec-->.  CGI children now get
9663      started with exactly three file descriptors open.  Hopefully,
9664      this cures the problem Rob H. was having with overly persistent
9665      CGI connections. [Robert Thau]
9666
9667   *) Mutual exclusion around the accept() in child_main() --- this is
9668      required on at least SGI, Solaris and Linux, and is #ifdef'ed in
9669      by default on those systems only (-DFCNTL_SERIALIZED_ACCEPT).
9670      This uses fcntl(F_SETLK,...) on the error log descriptor because
9671      flock() on that descriptor won't work on systems which have BSD
9672      flock() semantics, including (I think) Linux 1.3 and Solaris.
9673
9674      This does work on SunOS (when the server is idle, only one
9675      process in the pool is waiting on accept()); it *ought* to work
9676      on the other systems. [Robert Thau]
9677
9678   *) FreeBSD and BSDI portability tweaks [Chuck Murcko]
9679
9680   *) sizeof(*sa_client) bugfix from [Rob Hartill]
9681
9682   *) pstrdup(..., NULL) returns NULL, [Randy Terbush]
9683
9684   *) block_alarms() to avoid leaking the DBM* in dbm auth (this should
9685      be unnecessary if I go to the revised timeout-handling scheme).
9686      [Robert Thau]
9687
9688   *) For NCSA bug-compatibility, set QUERY_STRING env var (to a null
9689      string) even if none came in with the request.  [Robert Thau]
9690
9691   *) CHANGES file added to distribution ;-).
9692
9693 Changes with Shambhala 0.4.5
9694
9695   *) mod_dld --- early dynamic loading support [rst]
9696   *) Add wildcard content handlers for XBITHACK; default_hander now
9697      invoked with that mechanism (as a handler hanging off mod_core) [rst]
9698   *) XBITHACK supported as a wildcard content-handler, and 
9699      configurable at run-time (not just at compile time, as in the
9700      "patchy server" releases) [rst]
9701
9702 Changes with Shambhala 0.4.4                                     30 Jun 1995
9703
9704   *) Fixed basic thinkos in mod_dbm_auth.c [rst, reported by Mark Cox]
9705   *) Handle Addtype x/y .z [rst, reported by Cox]
9706
9707 Changes with Shambhala 0.4.3
9708
9709   *) Fixed very dumb bug in mod_alias; "Alias" and "Redirect" are not
9710      synonymous [rst, terbush]
9711
9712 Changes with Shambhala 0.4.1                                     28 Jun 1995
9713
9714   *) First-cut virtual host implementation; some refit in the config
9715      reading code, and log management, was necessary to support this [rst]
9716   *) Sub-pool machinery, originally added to avoid excessive storage
9717      allocation on listings of large directories (which turned out to
9718      be the problem that the 0.3 storage accounting was added to
9719      find).  Subrequests and mod_dir changed to use subpools.  [rst]
9720   *) More memory debugging --- free list consistency checks. [rst]
9721   *) Added err_headers to request_rec, with support elsewhere [rst]
9722   *) Other fixes to minor bugs in mod_dir and mod_includes [rst, terbush]
9723
9724 Changes with Shambhala 0.3                                       19 Jun 1995
9725
9726   *) Switch ONE_PROCESS to a runtime command-line option (-X)
9727   *) Don't compile in mod_ai_backcompat by default
9728   *) Switch name of server from Apache to Shambhala in Makefile
9729   *) Add some accounting routines to track memory usage in the pools,
9730      for debugging
9731
9732 Changes with Shambhala 0.2
9733
9734   *) Set DOCUMENT_ROOT CGI variable
9735   *) Add single-process debugging, as a compile-time option (ONE_PROCESS)
9736   *) Add critical section protection to handling of cleanup structures 
9737      in alloc.c [rst]
9738   *) Significant code reorg within the server core to group related
9739      functions together [rst]
9740   *) Correctly handle clients that hang up before sending any request
9741      [rst]
9742   *) Replace dying child processes. [rst]
9743
9744 Changes with Shambhala 0.1                                       12 Jun 1995
9745
9746    Major rewrite of the pre-existing "patchy server" codebase, by
9747    Robert Thau (rst).  Significant portions of the server code, such
9748    as configuration-file handling and HTTP authentication support,
9749    were ripped out and rewritten from scratch.  Code that was not
9750    completely rewritten was significantly altered.
9751
9752    Major changes with this release include:
9753
9754    *) Introduction of the module API; in request handling, the central 
9755       machinery just dispatches to various modules, which actually do
9756       most of the work.  Configuration handling is similar --- modules
9757       declare their own commands, and the central machinery just
9758       dispatches to them.  
9759
9760       API features from shambhala/0.1 were substantially unchanged in
9761       Apache 1.0 and 1.1.  (1.0 API features not yet present in this
9762       release, such as wildcard handlers and subpools, were added in
9763       subsequent Shambhala releases, and were also generally rst's
9764       work). 
9765
9766    *) This release included the following modules:
9767
9768       mod_access      (access control --- allow and deny directives),
9769       mod_alias       (Alias and Redirect commands),
9770       mod_auth        (straight HTTP authentication, based on flat-files)
9771       mod_auth_dbm    (same, with dbm files)
9772       mod_cgi         (CGI scripts and, in this release, ScriptAlias)
9773       mod_common_log  (CLF access logs; later renamed mod_log_common)
9774       mod_dir         (directory indexing)
9775       mod_include     (server-side includes)
9776       mod_mime        (AddType directives)
9777       mod_negotiation (content negotiation)
9778       mod_userdir     (support for users' public_html directories)
9779
9780       It also included a mod_ai_backcompat, which was a private hack
9781       for back-compatibility with rst's own AI-lab servers.
9782
9783       All of these modules were substantially complete, and functional 
9784       or nearly so (a few, which implemented features not in use at
9785       Thau's site, required patches of a few lines).
9786
9787    *) sub-request machinery, to allow modules to determine how other
9788       modules would assign MIME types to a given file, or optionally
9789       serve its content (this is heavily used by mod_dir, mod_include
9790       and mod_negotiation).
9791
9792    *) Resource pool system for keeping track of memory allocated and
9793       files opened in service of a particular request.  Much of the
9794       code in the modules (when they weren't rewrites) was adjusted to 
9795       replace a pervasive convention of using fixed-size buffers on
9796       the stack with an equally pervasive convention of using memory
9797       allocated with palloc().
9798
9799    *) Reorganization of data structures associated with a given
9800       request to eliminate use of global variables and the troublesome 
9801       unmunge_name function (used in NCSA and early Apache releases to 
9802       attempt to determine the URI which mapped to a given filename
9803       --- a difficult proposition, given that it is easy to produce
9804       setups in which multiple URIs map to the same file).
9805
9806    *) Source files renamed and rearranged
9807
9808    *) Very simple pre-forking behavior --- parent process forked off a 
9809       fixed number of children, and then just waited for SIGHUP.
9810
9811    *) Other more minor changes too numerous to list.
9812
9813    This release included modified versions of a lot of code from the
9814    Apache 0.6.4 public release, plus an early pre-forking patch
9815    codeveloped by Robert Thau and Rob Hartill.
9816
9817 Changes with Apache 0.7.3                                        20 Jun 1995
9818
9819    *) There were a bunch of changes between Apache 0.6.4 and 0.7.3 that
9820       were incorporated by Rob Hartill on the main branch while Robert Thau
9821       worked on the Shambhala rewrite above.  Most were merged into the
9822       Shambala architecture after Apache 0.8.0.
9823
9824 Changes with Apache 0.6.4                                        13 May 1995
9825
9826    *) Patches by Rob Hartill, Cliff Skolnick, Randy Terbush, Robert Thau,
9827       and others.
9828
9829 Changes with Apache 0.5.1                                        10 Apr 1995
9830
9831 Changes with Apache 0.4                                          02 Apr 1995
9832
9833   *) Patches by Brian Behlendorf, Andrew Wilson, Robert Thau,
9834      and Rob Hartill.
9835
9836 Changes with Apache 0.3                                          24 Mar 1995
9837
9838   *) Patches by Robert Thau, David Robinson, Rob Hartill, and
9839      Carlos Varela.
9840
9841 Changes with Apache 0.2                                          18 Mar 1995
9842
9843   *) Based on NCSA httpd 1.3 by Rob McCool and patches by CERT,
9844      Roy Fielding, Robert Thau, Nicolas Pioch, David Robinson,
9845      Brian Behlendorf, Rob Hartill, and Cliff Skolnick.