]> granicus.if.org Git - apache/blob - CHANGES
Update prior to bumping the tag
[apache] / CHANGES
1 Changes with Apache 2.0.37
2
3 Changes with Apache 2.0.36
4
5   *) Changes to the worker MPM's queue management and thread
6      synchronization code to reduce mutex contention  [Brian Pane]
7
8   *) Don't install *.in configuration files since we already install
9      *-std.conf files.  [Aaron Bannert]
10
11   *) Many improvements to the threadpool MPM.  [Aaron Bannert]
12
13   *) Fix subreqs that are promoted via fast_redirect from having invalid
14      frec->r structures.  This would cause subtle errors later on in
15      request processing such as seen in PR 7966.  [Justin Erenkrantz]
16
17   *) More efficient pool recycling logic for the worker MPM [Brian Pane]
18
19   *) Modify the worker MPM to not accept() new connections until
20      there is an available worker thread. This prevents queued
21      connections from starving for processing time while long-running
22      connections were hogging all the available threads.  [Aaron Bannert]
23
24   *) Convert the worker MPM's fdqueue from a LIFO back into a FIFO.
25      [Aaron Bannert]
26
27   *) Get basic HTTP proxy working on EBCDIC machines.  [Jeff Trawick]
28
29   *) Allow mod_unique_id to work on systems with no IPv4 address
30      corresponding to their host name.  [Jeff Trawick]
31
32   *) Fix suexec behavior with user directories.  PR 7810.
33      [Colm <colmmacc@redbrick.dcu.ie>]
34
35   *) Reject a blank UserDir directive since it is ambiguous.  PR 8472.
36      [Justin Erenkrantz]
37
38   *) Make mod_mime use case-insensitive matching when examining
39      extensions on all platforms.  PR 8223.  [Justin Erenkrantz]
40
41   *) Add an intelligent error message should no proxy submodules be
42      valid to handle a request. PR 8407 [Graham Leggett]
43
44   *) Major improvements in concurrent processing for AB by enabling
45      non-blocking connect()s and preventing APR from doing blocking
46      read()s. Also implement fatal error checking for apr_recv().
47      [Aaron Bannert]
48
49   *) Fix Win32 NTFS Junctions (symlinks).  PR 8014  [William Rowe]
50
51   *) Fix Win32 'short name' aliases in httpd.conf directives.
52      PR 8009  [William Rowe]
53
54   *) Fix generation of default httpd.conf when the layout paths are
55      disjoint.  PR 7979, 8227.  [Justin Erenkrantz]
56
57   *) Swap downgrade-1.0 and force-response-1.0 conditional checks so
58      that downgraded responses can have force-response.  PR 8357.
59      [Justin Erenkrantz]
60
61   *) Fix perchild MPM so that it can be configured with the move to the
62      experimental directory.  [Scott Lamb <slamb@slamb.org>]
63
64   *) Fix perchild MPM so that it uses ap_gname2id for groups instead of
65      ap_uname2id. [Scott Lamb <slamb@slamb.org>]
66
67   *) Fix AcceptPathInfo. PR 8234  [Cliff Woolley]
68
69   *) [Security] Added the APLOG_TOCLIENT flag to ap_log_rerror() to
70      explicitly tell the server that warning messages should be sent 
71      to the client in addition to being recorded in the error log. 
72      Prior to this change, ap_log_rerror() always sent warning 
73      messages to the client. In one case, a faulty CGI script caused
74      the server to send a warning message to the client that contained
75      the full path to the CGI script. This could be considered a
76      minor security exposure. [Bill Stoddard]
77
78   *) mod_autoindex output when SuppressRules was specified would
79      omit the first carriage return so the first item in the list
80      would appear to the right of the column headings instead of
81      underneath them. PR 8016  [David Shane Holden <dpejesh@yahoo.com>]
82
83   *) Moved the call to apr_mmap_dup outside the error branch so
84      that it would actually get called. This fixes a core dump
85      at init everytime you use the MMapFile directive. PR 8314
86      [Paul J. Reder]
87
88   *) Trigger an error when a LoadModule directive attempts to
89      load a module which is built-in.  This is a common error when
90      switching from a DSO build to a static build.  [Jeff Trawick]
91
92   *) Change instdso.sh to use libtool --install everywhere and then
93      clean up some stray files and symlinks that libtool leaves around
94      on some platforms.  This gets subversion building properly since
95      it needed a re-link to be performed by libtool at install time,
96      and the old instdso.sh logic to simply cp the DSO didn't handle
97      that requirement.  [Sander Striker]
98
99   *) Allow VPATH builds to succeed when configured from an empty
100      directory.  [Thom May <thom@planetarytramp.net>]
101
102   *) Fix 'control reaches end of non-void function' warning in
103      server/log.c.  [Ben Collins-Sussman <sussman@collab.net>]
104
105   *) Perchild MPM is now correctly deemed as experimental and is now
106      located in server/mpm/experimental.  [Justin Erenkrantz]
107
108   *) Fix segfault in mod_mem_cache when garabge collecting an expired
109      cache entry.  [Bill Stoddard]
110
111   *) Introduced -E startup_logfile_name option to httpd to allow admins
112      to begin logging errors immediately.  This provides Win32 users 
113      an alternative to sending startup errors to the event viewer, and
114      allows other daemon tool authors an alternative to logging to stderr.
115      [William Rowe] 
116      
117   *) Fix subreqs with non-defined Content-Types being served improperly.
118      [Justin Erenkrantz]
119
120   *) Merge in latest GNU config.guess and config.sub files.  PR 7818.
121      [Justin Erenkrantz]
122
123   *) Move 100 - Continue support to the HTTP_IN filter so that filters
124      are guaranteed to support 100 - Continue logic without any
125      intervention.  [Justin Erenkrantz]
126
127   *) Add HTTP chunked input trailer support.  [Justin Erenkrantz]
128
129   *) Rename and export get_mime_headers as ap_get_mime_headers.
130      [Justin Erenkrantz]
131
132   *) Allow empty Host: header arguments.  PR 7441.  [Justin Erenkrantz]
133
134   *) Properly substitute sbindir as httpd's location in apachectl.  PR 7840.
135      [Andreas Hasenack <andreas@netbank.com.br>]
136
137   *) Allow Win32 shebang scripts to follow the path (or omit the .exe
138      suffix from the shebang command), and allow ScriptInterpreterSource
139      Registry or RegistryStrict to override shebang lines, as 1.3 did.
140      [William Rowe]
141
142   *) worker MPM: Fix a situation where a child exited without releasing
143      the accept mutex.  Depending on the OS and mutex mechanism this 
144      could result in a hang.  [Jeff Trawick]
145
146   *) Update the instructions for how to get started with mod_example.
147      [Stas Bekman]
148   
149   *) Fix PidFile to default to rel_runtimedir instead of
150      rel_logfiledir.  PR 7841.  [Andreas Hasenack <andreas@netbank.com.br>]
151
152   *) Win32: Fix problem that caused rapid performance degradation
153      when number of connecting clients exceeded ThreadsPerChild.
154      [Bill Stoddard]
155
156   *) Fixed a segfault parsing large SSIs on non-mmap systems.
157      [Brian Havard]
158
159   *) Proxy was bombing out every second keepalive request, caused by a
160      stray CRLF before the second response's status line. Proxy now
161      tries to read one more line if it encounters a CRLF where it
162      expected a status. PR 10010 [Graham Leggett]
163
164   *) Deprecated the apr_lock.h API. Please see the following files
165      for the improved thread and process locking and signaling: 
166      apr_proc_mutex.h, apr_thread_mutex.h, apr_thread_rwlock.h,
167      apr_thread_cond.h, and apr_global_mutex.h.  [Aaron Bannert]
168
169   *) Change mod_status to use scoreboard accessor functions so it can
170      be used in any MPM without having to be recompiled.
171      [Ryan Morgan <rmorgan@covalent.net>]
172
173   *) Fix parsing of some AP_DECLARE_DATA declarations so that the filter
174      handle declarations are recognized.  This fixes problems loading 
175      mod_autoindex on some platforms.  [Brian Havard]
176
177   *) add optional fixup hook to proxy [Daniel Lopez <daniel@covalent.net>]
178
179   *) Remind the admin about the User and Group directives when we are
180      unable to set permissions on a semaphore.  PR 7812  [Jeff Trawick]
181
182   *) fix possible compilation problem in ssl_engine_kernel.c. PR 7802
183      [Doug MacEachern]
184
185   *) fix possible infinite loop in mod_ssl triggered by certain
186      netscape clients [Doug MacEachern]
187
188   *) fix ProxyPass when frontend is https and backend is http
189      [Doug MacEachern]
190
191   *) Add DASL support to mod_dav
192      [Sung Kim <hunkim@cse.ucsc.edu>]
193
194 Changes with Apache 2.0.35
195
196   *) mod_rewrite: updated to use the new APR global mutex type.
197      [Aaron Bannert]
198
199   *) Fixes for mod_include errors on boundary conditions in which
200      "<!--#" occurs at the very end of a bucket
201      [Paul Reder, Brian Pane]
202
203   *) worker, prefork, perchild, beos MPMs: Add -DFOREGROUND switch to 
204      cause the Apache parent process to run in the foreground (similar to
205      -DNO_DETACH except that it doesn't switch session ids).  
206      [Jeff Trawick]
207
208   *) Added support for Posix semaphore mutex locking (AcceptMutex posixsem)
209      for those platforms that support it. If using the default
210      implementation, this is between pthread and sysvsem in priority.
211      This implies it's the new default for Darwin. [Jim Jagielski]
212
213   *) AIX: Fix the syntax for setting the LDR_CNTRL and AIXTHREAD_SCOPE
214      environment variables in the envvars file.  [Jeff Trawick]
215
216   *) worker MPM: Don't create a listener thread until we have a worker
217      thread.  Otherwise, in situations where we'll have to wait a while
218      to take over scoreboard slots from a previous generation, we'll be
219      accepting connections we can't process yet.  [Jeff Trawick]
220
221   *) Allow worker MPM to build on systems without pthread_kill().
222      [Pier Fumagalli, Jeff Trawick]
223
224   *) Prevent ap_add_output_filters_by_type from being called in
225      ap_set_content_type if the content-type hasn't changed.
226      [Justin Erenkrantz]
227
228   *) Performance: implemented the bucket allocator made possible by the
229      API change in 2.0.34.  [Cliff Woolley]
230
231   *) Don't allow initialization to succeed if we can't get a socket
232      corresponding to one of the Listen statements.  [Jeff Trawick]
233
234 Changes with Apache 2.0.34
235
236   *) Allow all Perchild directives to accept either numerical UID/GID
237      or logical user/group names.  [Scott Lamb <slamb@slamb.org>]
238
239   *) Make Perchild compile cleanly and serve pages again. [Ryan Bloom]
240
241   *) implement ssl proxy to support ProxyPass / https:// and the
242      SSLProxy* directives [Doug MacEachern]
243
244   *) Update mod_cgid to not do single-byte socket reads for CGI headers
245      [Brian Pane]
246
247   *) Made AB's use of the Host: header rfc2616 compliant
248      by Taisuke Yamada <tai@iij.ad.jp> [Dirk-Willem van Gulik].
249
250   *) The old, legacy (and unused) code in which the scoreboard was totally
251      and completely contained in a file (SCOREBOARD_FILE) has been
252      removed. This does not affect scoreboards which are *mapped* to
253      files using named-shared-memory. [Jim Jagielski]
254
255   *) Change bucket brigades API to allow a "bucket allocator" to be
256      passed in at certain points.  This allows us to implement freelists
257      so that we can stop using malloc/free so frequently.
258      [Cliff Woolley, Brian Pane]
259
260   *) Add support for macro expansion within the variable names in
261      <!--#echo--> and <!--#set--> directives [Brian Pane]
262
263   *) Fix some mod_include segfaults [Cliff Woolley, Brian Pane, Brad Nicholes]
264
265   *) Update the "RedHat" Layout to match Red Hat Linux version 7. PR BZ-7422
266      [Joe Orton] 
267
268   *) add compat layer to support RSA SSLC 1.x and 2.x in mod_ssl
269      [Jon Travis, John Barbee, William Rowe, Ryan Bloom, Doug MacEachern]
270
271   *) Add a new parameter to the quick_handler hook to instruct
272      quick handlers to optionally do a lookup rather than actually 
273      serve content. This is the first of several changes required fix
274      several problems with how quick handlers work with subrequests.
275      [Bill Stoddard]
276
277   *) worker MPM: Get MaxRequestsPerChild to work again.  [Jeff Trawick]
278
279   *) [APR-related] The ordering of the default accept mutex method has
280      been changed to better match what's done in Apache 1.3. The ordering 
281      is now (highest to lowest): pthread -> sysvsem -> fcntl -> flock.
282      [Jim Jagielski]
283
284   *) Ensure that the build/ directory is created when using VPATH.
285      [Justin Erenkrantz]
286
287   *) Add some popular types to the mime magic file.  PR 7730.
288      [Linus Walleij <triad@df.lth.se>, Justin Erenkrantz]
289
290   *) Remove the single-byte socket reads for CGI headers [Brian Pane]
291
292   *) When a proxied site was being served, Apache was replacing
293      the original site Server header with it's own, which is not
294      allowed by RFC2616. Fixed. [Graham Leggett]
295
296   *) Fix a mod_cgid problem that left daemon processes stranded
297      in some server restart scenarios.  [Jeff Trawick]
298
299   *) Added exp_foo and rel_foo variables to config_vars.mk for
300      all Apache and Autoconf path variables (like --sysconfdir,
301      --sbindir, etc). exp_foo is the "expanded" version, which means
302      that all internal variable references have been interpolated.
303      rel_foo is the same as $exp_foo, only relative to $prefix if they
304      share a common path.  [Aaron Bannert]
305
306   *) Fix some restart/terminate problems in the worker MPM.  Don't
307      drop connections during graceful restart.  [Jeff Trawick]
308
309   *) Change the header merging behaviour in proxy, as some headers
310      (like Set-Cookie) cannot be unmerged due to stray commas in
311      dates. [Graham Leggett]
312
313   *) Be more vocal about what AcceptMutex values we allow, to make
314      us closer to how 1.3 does it. [Jim Jagielski]
315
316   *) Get nph- CGI scripts working again.  PRs 8902, 8907, 9983
317      [Jeff Trawick]
318
319   *) Upgraded PCRE library to latest version 3.9 [Brian Pane]
320
321   *) Add accessor function to set r->content_type. From now on,
322      ap_rset_content_type() should be used to set r->content_type.
323      This change is required to properly implement the 
324      AddOutputFilterByType configuration directive.
325      [Bill Stoddard, Sander Striker, Ryan Bloom]
326
327   *) Add new M_FOO symbols for the WebDAV/DeltaV methods specified by
328      RFC 3253. Improved the method name/number mapping functions.
329      [Greg Stein]
330
331   *) remove sock_enable_linger from connection.c [Ian Holsman]
332
333   *) Fix for virtual host processing where the requested hostname
334      has a '.' at the end (PR 9187) [Ryan Cruse <ryan@estara.com>]
335
336   *) mod_dav's APIs for REPORT response handling was changed so that
337      providers can generate the content directly into the output filter
338      stack, rather than buffering the response into memory. [Greg Stein]
339
340   *) Fix a hang condition with graceful restart and prefork MPM
341      in the situation where MaxClients is very high but
342      much fewer servers are actually started at the time of the
343      restart.  [Jeff Trawick]
344
345   *) Small performance fixes for mod_include [Brian Pane]
346
347   *) Performance improvement for the error logger [Brian Pane]
348
349   *) Change configure so that Solaris 8 and above have 
350      SINGLE_LISTEN_UNSERIALIZED_ACCEPT defined by default.
351      according to sun people solaris 8+ doesn't have a thundering
352      herd problem [Ian Holsman]
353
354   *) Allow URIs specifying CGI scripts to include '/' at the end
355      (e.g., /cgi-bin/printenv/) on AIX and Solaris (and other OSs
356      which ignore '/' at the end of the names of non-directories).
357      PR 10138  [Jeff Trawick]
358
359   *) implement SSLSessionCache shmht and shmcb based on apr_rmm and
360      apr_shm.  [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
361
362   *) Fix apxs -g handling.  Move config_vars.mk from the top build
363      directory to the build directory.  PR 10163  [Jeff Trawick]
364
365   *) Fix some mod_include problems which broke evaluation of some
366      expressions.  PR 10108  [Jeff Trawick]
367
368   *) Fix the calculation of request time in mod_status.  [Stas Bekman]
369
370   *) Fix the calculation of thread_num in the worker score structure.
371      [Stas Bekman]
372
373   *) Use apr_atomic operations in managing the mod_mem_cache
374      cache_objects for SMP scalability. (see USE_ATOMICS
375      preprocessor directive in mod_file_cache)
376      [Bill Stoddard]
377
378   *) Add filehandle caching to mod_mem_cache. (see CACHE_FD
379      preprocessor directive in mod_file_cache)
380      [Bill Stoddard]
381
382   *) Implement prototype mod_disk_cache for use with mod_cache.
383      [Bill Stoddard]
384
385   *) Add a missing manualdir entry in the Debian config.layout.
386      [Thom May <thom@planetarytramp.net>]
387
388   *) Stop installing libtool for APR and tell APR where it should place
389      its copy of libtool (via our installbuildpath layout variable).
390      [Justin Erenkrantz]
391
392   *) New directive ProxyIOBufferSize. Sets the size of the buffer used
393      when reading from a remote HTTP server in proxy. [Graham Leggett]
394
395   *) Modify receive/send loop in proxy_http and proxy_ftp so that
396      should it be necessary, the remote server socket is closed before
397      transmitting the last buffer (set by ProxyIOBufferSize) to the
398      client. This prevents the backend server from being forced to hang
399      around while the last few bytes are transmitted to a slow client.
400      Fix the case where no error checking was performed on the final
401      brigade in the loop. [Graham Leggett]
402
403   *) Scrap CacheMaxExpireMin and CacheDefaultExpireMin. Change
404      CacheMaxExpire and CacheDefaultExpire to use seconds rather than
405      hours. [Graham Leggett, Bill Stoddard]
406
407   *) New Directive SSIUndefinedEcho. to change the '(none)' echoed
408      for a undefined variable. [Ian Holsman]
409
410   *) Proxy HTTP and CONNECT: Keep trying other addresses from the DNS
411      when we can't get a socket in the specified address family.  We may
412      have gotten back an IPv6 address first and yet our system is not
413      configured to allow IPv6 sockets.  [Jeff Trawick]
414
415   *) Be more careful about recursively removing CVS directories. Make
416      sure that we aren't cd'ing to their home directory first. PR: 9993
417      [Aaron Bannert, James LewisMoss <dres@lewismoss.net>]
418
419   *) Add a missing errordir entry in the Debian config.layout. PR: 10067
420      [Dirk-Jan Faber <dirk-jan@selwerd.nl>, Aaron Bannert,
421       Thom May <thom@planetarytramp.net>]
422
423   *) Rename the filter ordering priorities.  The recent filtering fixes
424      have showcased problems with their usage.  Therefore, we need to
425      rename them to increase the clarity.  (CONTENT->RESOURCE,
426      HTTP_HEADER->CONTENT_SET/PROTOCOL)  [Justin Erenkrantz]
427
428 Changes with Apache 2.0.33
429
430   *) Fix a problem in the new --enable-layout functionality where
431      it wouldn't allow overrides from variables like --prefix,
432      --bindir, etc.  [Thom May <thom@planetarytramp.net>]
433
434   *) Fix a bug in the core input filter for AP_MODE_EXHAUSTIVE. It
435      no longer hangs around waiting for the socket to close before
436      returning exhaustive data.  [Aaron Bannert]
437
438   *) rename apr_exploded_time_t to apr_time_exp_t (as per renames pending)
439      [Thom May <thom@planetarytramp.net>]
440
441   *) Change mod_ssl to always do a full startup/teardown on restarts.
442      this allows mod_ssl to be added to a server that is already
443      running and makes it possible to add/change certs/keys after the
444      server has been started.  [Doug MacEachern]
445
446   *) Introduce PassPhraseDialog "|/path/to/pipe" mechanism to mod_ssl.
447      This pipe must be a bidirectional 'console' style relay, which
448      mod_ssl prints all prompts to the pipe's stdin, and reads the
449      passphrases from the pipe's stdout.  [William Rowe]
450
451   *) Fix bug where --sysconfdir and --localstatedir were being
452      ignored.  [Thom May <thom@planetarytramp.net>, Aaron Bannert]
453      PR 9888
454
455   *) Fix --enable-layout to work again. Caution: When specifying
456      --enable-layout, common arguments like --prefix, --exec-prefix,
457      etc. will be ignored and the settings from the layout will be
458      used instead.  [Thom May <thom@planetarytramp.net>, Aaron Bannert]
459      PR 9124, 9873, 9885
460
461   *) New Directive for mod_proxy: ProxyRemoteMatch. This provides
462      regex pattern matching for the determination of which requests
463      to use the remote proxy for. [Jim Jagielski]
464
465   *) Fix CustomLog bytes-sent with HTTP 0.9.  [Justin Erenkrantz]
466
467   *) Prevent Apache from ignoring SIGHUP due to some lingering 1.3
468      cruft in piped logs and rewritemap child processes.
469      [William Rowe]
470
471   *) All instances of apr_lock_t have been removed and converted
472      to one of the following new lock APIs: apr_thread_mutex.h,
473      apr_proc_mutex.h, or apr_global_mutex.h. No new code should
474      use the apr_lock.h API, as the old API will soon be deprecated.
475      [Aaron Bannert]
476
477   *) Merged in changes to mod_ssl up through 2.8.7-1.3.23.
478      [Ralf S. Engelschall, Cliff Woolley]
479
480   *) mod-include: make it handle flush'es and fix the 'false-alarm'
481      [Justin Erenkrantz, Brian Pane, Ian Holsman]
482
483   *) ap_get_*_filter_handle() functions to allow 3rd party modules
484      to lookup filter handles so they can bypass the filter name
485      lookup when adding filters to a request (via ap_add_*_filter_handle())
486      [Ryan Morgan <rmorgan@covalent.net>]
487
488   *) Fix for multiple file buckets on Win32, where the first file
489      bucket would cause the immediate closure of the socket on any
490      non-keepalive requests.  [Ryan Morgan <rmorgan@covalent.net>]
491
492   *) Correct Win32 failure of mmap of a segment beyond start of the
493      file; fixes large SSL and similar transfers.  [William Rowe]
494      PR 9898
495
496   *) Implement apr_proc_detach changes and allow -DNO_DETACH in the
497      multi-process mode to not "daemonize" while detaching from the
498      controlling terminal. This is necessary for Apache to work with
499      process-management tools like AIX's "System Resource Controller"
500      as well as Dan Bernstein's "daemontools".
501      [Jos Backus <josb@cncdsl.com>, Aaron Bannert]
502
503   *) Convert mod_auth_digest to use the new apr_global_mutex_t
504      type.  [Aaron Bannert]
505
506   *) fix bug in mod-include where it wouldn't send a unmatched
507      part if it was at the end of a bucket [Ian Holsman]
508
509   *) worker MPM: Improve logging of errors with the interface between
510      the listener thread and worker threads.  [Jeff Trawick]
511
512   *) Some browsers ignore cookies that have been merged into a
513      single Set-Cookie header. Set-Cookie and Set-Cookie2 headers
514      are now unmerged in the http proxy before being sent to the
515      client. [Graham Leggett]
516
517   *) Fix a problem with proxy where each entry of a duplicated
518      header such as Set-Cookie would overwrite and obliterate the
519      previous value of the header, resulting in multiple header
520      values (like cookies) going missing.
521      [Graham Leggett, Joshua Slive]
522
523   *) Add the server-limit and thread-limit values to the scoreboard
524      for the sake of third-party applications.
525      [Adam Sussman <myddryn@vishnu.vidya.com>]
526
527   *) Fix segfault when proxy recieves an invalid HTTP response [Ian Holsman]
528
529   *) OS/390: Get make install to properly copy DSO modules.
530      [Jeff Trawick]
531
532   *) Win32: Fix bug in mod_status with displaying "Restart Time"
533      and "Server uptime".
534      [Bill Stoddard]
535
536   *) Fix IPv6 name-based virtual hosts.  [Jeff Trawick]
537
538   *) Introduce AddOutputFilterByType directive.  [Justin Erenkrantz]
539
540   *) Fix DEBUG_CGI support in mod_cgi.  PR 9670, 9671.
541      [David MacKenzie <djm@pix.net>]
542
543   *) Fix incorrect check for script_in in mod_cgi.  PR 9669.
544      [David MacKenzie <djm@pix.net>]
545
546   *) Fix segfault and display error when SSLMutex file can not be
547      created.  [Adam Sussman <myddryn@vishnu.vidya.com>]
548
549   *) Add reference counting to mod_mem_cache cache objects to
550      better manage removing objects from the cache.
551      [Bill Stoddard]
552
553   *) Change the verbage on the ScoreBoardFile in our default configs.
554      Also change the default to be commented out (unspecified) so we
555      get anonymous shared memory by default.  [Aaron Bannert]
556
557   *) Implement new ScoreBoardFile directive logic. This affects how
558      we create the scoreboard's shared memory segment. If the directive
559      is present, a name-based segment is created. If the directive is
560      not present, first an anonymous segment is created, and if that
561      fails, a name-based segment is created from a file of the name
562      DEFAULT_SCOREBOARD. This gives third-party applications the
563      ability to access our scoreboard.  [Aaron Bannert]
564
565   *) Allow mod_deflate to work with non-GET requests and properly send
566      Content-Lengths.  [Sander Striker <striker@apache.org>]
567
568   *) Fix ap_directory_merge() to correctly merge configs when there is
569      no <Directory /> block.  [Justin Erenkrantz, William Rowe]
570
571   *) Remove spurious debug messsages that are normal under HTTP
572      keep-alive logic.  [Jeff Trawick, Justin Erenkrantz]
573
574   *) Fix a bug in mod_cgid that would prevent proper shutdown death
575      of the cgid process.  [Aaron Bannert]
576
577   *) Add signal handling back in to the worker MPM for the one_process
578      (-X, -DDEBUG, -DONE_PROCESS) case.  [Aaron Bannert]
579
580   *) Performance: Reuse per-connection transaction pools in the
581      worker MPM, rather than destroying and recreating them.  [Brian Pane]
582
583   *) Remove all signals from the worker MPM's child process.  Instead,
584      the parent uses the Pipe of Death for all communication with the
585      child processes.  [Ryan Bloom]
586
587 Changes with Apache 2.0.32
588
589   *) mod_negotiation: ForceLanguagePriority now uses 'Prefer' as the
590      default if the directive is not specified.  This mirrors older
591      behavior without changes to the httpd.conf.  [William Rowe]
592
593   *) Win32: solve the win32 service problems in 2.0.31-alpha, by fixing
594      the service, mpm and logging code, and bugs in apr_file_open_stderr 
595      and apr_file_dup2 functions.  Win2K/XP services have no handles 
596      associated for stdin/out/err, which caused unpredictable behavior
597      in the prior release.  [William Rowe, Bill Stoddard]
598
599   *) Win32: simplify the Application Event Log messages, since there isn't
600      likely to be 'more information in the error log' before an error log
601      has been opened.  [William Rowe]
602
603   *) Win32: substantial cleanup to the mpm_winnt code for legibility and
604      to follow the program flow of other MPMs.  [Ryan Bloom, William Rowe]
605
606   *) Win32: apache -k shutdown now behaves like apache -k stop.
607      [Bill Stoddard]
608
609   *) Fix prefork to not kill the parent if a child hits a resource shortage
610      on accept().  [Greg Ames]
611
612   *) Fix seg faults that occur when what should be the httpd request line
613      starts with \r\n followed by garbage.  [Greg Ames]
614
615   *) Allow statically linked support binaries with the new
616      --enable-static-support flag, and enable this behavior in
617      the binbuild script. Also add a new --enable-static-htdbm
618      flag.  [Aaron Bannert]
619
620   *) Allow mod_autoindex to serve symlinks if permitted and attempt to
621      do only one stat() call when generating the directory listings.
622      [Justin Erenkrantz]
623
624   *) Fix resolve_symlink to save the original symlink name if known.
625      [Justin Erenkrantz]
626
627   *) Be a bit more sane with regard to CanonicalNames.  If the user has
628      specified they want to use the CanonicalName, but they have not
629      configured a port with the ServerName, then use the same port that 
630      the original request used. [Ryan Bloom and Ken Coar]
631
632   *) In core_input_filter, check for an empty brigade after 
633      APR_BRIGADE_NORMALIZE().  Otherwise, we can get segfaults if a
634      client says it will post some data but we get FIN before any
635      data arrives.  [Jeff Trawick]
636
637   *) Not being able to bind to the socket is a fatal error.  We should
638      print an error to the console, and return a non-zero status code.
639      With these changes, all of the Unix MPMs do that correctly.
640      [Ryan Bloom]
641
642   *) suexec: Allow HTTPS and SSL_* environment variables to be passed
643      through to CGI scripts. PR 9163
644      [Brian Reid <breid@customlogic.com>, 
645       Zvi Har'El <rl@math.technion.ac.il>]
646
647   *) binbuild.sh: Make sure that we use the expat from our source
648      tree so that there aren't any surprises on the target machine.
649      [Jeff Trawick]
650
651   *) mod_cgid: Add retry logic for when the daemon can't fork fast
652      enough to keep up with new requests.  Start using 
653      HTTP_SERVER_UNAVAILABLE instead of HTTP_INTERNAL_SERVER_ERROR
654      when we can't talk to the daemon.  [Jeff Trawick]
655
656   *) apxs: LTFLAGS envvar can override default libtool options.  Try
657      "LTFLAGS=' ' apxs -c mod_foo.c" to see what libtool does under
658      the covers.  [Jeff Trawick]
659
660   *) The Location: response header field, used for external
661      redirect, *must* be an absoluteURI.  The Redirect directive
662      tested for that, but RedirectMatch didn't -- it would allow
663      almost anything through.  Now it will try to turn an abs_path
664      into an absoluteURI, but it will correctly varf like Redirect
665      if the final redirection target isn't an absoluteURI.  [Ken Coar]
666
667 Changes with Apache 2.0.31
668
669   *) Create the scoreboard (in the parent) in a global pool context,
670      so it survives graceful restarts. This fixes a SEGV during
671      graceful restarts.  [Aaron Bannert]
672
673   *) Add a timeout option to the proxy code 'ProxyTimeout' 
674      [Ian Holsman]
675
676   *) FTP directory listings are now always retrieved in ASCII mode.
677      The FTP proxy properly escapes URI's and HTML in the generated
678      listing, and escapes the path components when talking to the FTP
679      server. It is now possible to browse the root directory by using
680      a url like:   ftp://user@host/%2f/ (ported from apache_1.3.24)
681      Also, the last path component may contain wildcard characters
682      '*' and '?', and if they do, a directory listing is created instead
683      of a file retrieval. Example: ftp://user@host/httpd/server/*.c
684      [Martin Kraemer]
685
686   *) Added single-listener unserialized accept support to the
687      worker MPM [Brian Pane]
688
689   *) New Directive for mod_proxy: 'ProxyPreserveHost'. This passes
690      the incoming host header through to the proxied server
691      [Geoff <g.russell@ieee.org>]
692
693   *) New Directive Option for ProxyPass. It now can block a location
694      from being proxied [Jukka Pihl <jukka.pihl@entirem.com>]
695
696   *) Don't let the default handler try to serve a raw directory.  At
697      best you get gibberish.  Much worse things can happen depending
698      on the OS.  [Jeff Trawick]
699      
700   *) Change the pre_config hook to return a value. Modules can now emit
701      an error message and then cause the server to quit gracefully during
702      startup. This required a bump to the MMN.  [Aaron Bannert]
703
704   *) Fix some unix socket descriptor leaks in the handler side of
705      mod_cgid (the part that runs in the server process).  Whack a
706      silly "close(-1)" in the handler too.  [Jeff Trawick]
707
708   *) Change the pre_mpm hook to return a value, so that scoreboard
709      init errors percolate up to code that knows how to exit 
710      cleanly.  This required a bump to the MMN.  [Jeff Trawick]
711
712   *) Add the socket back to the conn_rec and remove the create_connection
713      hook. The create_connection hook had a design flaw that did not 
714      allow creating connections based on vhost info. [Bill Stoddard]
715
716   *) Fixed PATH_INFO and QUERY_STRING from mod_negotiation results.
717      Resolves the common case of using negotation to resolve the request
718      /script/foo for /script.cgi/foo.  [William Rowe]
719
720   *) Added new functions ap_add_(input|output)_filter_handle to
721      allow modules to bypass the usual filter name lookup when
722      adding hard-coded filters to a request [Brian Pane]
723
724   *) caching should now work on subrequests (still very experimental)
725      [Ian Holsman]
726   
727   *) The Win32 mpm_winnt now has a shared scoreboard.  [William Rowe]
728
729   *) Change ap_get_brigade prototype to use apr_off_t instead of apr_off_t*.
730      [Justin Erenkrantz]
731
732   *) Refactor ap_rgetline so that it does not use an internal brigade.
733      Change ap_rgetline's prototype to return errors.  [Justin Erenkrantz]
734
735   *) Remove mod_auth_db.  [Justin Erenkrantz]
736
737   *) Do not install unnecessary pcre headers like config.h and internal.h.
738      [Joe Orton <joe@manyfish.co.uk>]
739
740   *) Change in quick_hanlder behavior for subrequests. it now passes DONE
741      (as it does for a normal request). quick_handled sub-requests now work
742      in mod-include [Ian Holsman]
743
744   *) Change SUBREQ_CORE so that it is a 'HTTP_HEADER' filter instead of
745      'CONTENT' one, as it needs to run AFTER all content headers
746
747   *) Rename BeOS MPM directive RequestsPerThread to MaxRequestsPerThread.
748      [Lars Eilebrecht]
749
750   *) Split out blocking from the mode in the input filters.
751      [Justin Erenkrantz]
752
753   *) Fix a segfault in mod_include.  [Justin Erenkrantz, Jeff Trawick]
754
755   *) Cause Win32 to capture all child-worker process errors in
756      Apache to the main server error log, until the child can
757      open its own error logs.  [William Rowe]
758
759   *) HPUX 11.*: Do not kill the child process when accept() 
760      returns ENOBUFS on HPUX 11.*. (ported from a 1.3 patch
761      by [madhusudan_mathihalli@hp.com])
762      [Bill Stoddard]
763
764   *) Fix a problem in the parsing of the <Proxy foo> directive.
765      [Jeff Trawick]
766
767   *) rewrite of mod_ssl input filter for better performance and less
768      memory usage [Doug MacEachern]
769
770   *) allow quick_handler to be run on subrequests. [Ian Holsman]
771
772   *) mod_dav now asks its provider to place content directly into the
773      filter stack when handling a GET request. The mod_dav/provider
774      API has changed, so providers need to be updated. [Greg Stein]
775
776   *) Clear the output socket descriptor in unixd_accept() to make sure
777      we don't supply a bogus socket to the caller if the accept fails.
778      This caused problems with the worker MPM, which tried to process
779      the returned socket if it was non-NULL.  [Brian Pane]
780
781   *) Move a check for an empty brigade to the start of core input filter
782      to avoid segfaults.  [Justin Erenkrantz, Jeff Trawick]
783
784   *) Add FileETag directive to allow configurable control of what
785      data are used to form ETag values for file-based URIs.  MMN
786      bumped to 20020111 because of fields added to the end of
787      the core_dir_config structure.  [Ken Coar]
788
789   *) Fix a segfault in mod_rewrite's logging code caused by passing the
790      wrong config to ap_get_remote_host().  [Jeff Trawick]
791
792   *) Allow mod_cgid to work from a binary distribution install by
793      using 755 for the permissions on the log directory instead of
794      750.  [Jeff Trawick]
795
796   *) Fixed a segfault that happened during graceful shutdown (or when
797      the httpd ran out of file descriptors) with the worker MPM [Brian Pane]
798
799   *) Split all Win32 modules [excluding the core components mod_core, 
800      mod_so, mod_win32 and the winnt mpm] into individual loadable
801      modules, so the administrator may individually disable the former
802      compiled-in modules by simply commenting out their LoadModule
803      directives.  [William Rowe]
804
805   *) Saved Win32 module authors and porters many future headaches, by
806      duplicating the appropriate .h files such as os.h into the include
807      directory, including in the build tree.  [William Rowe]
808
809   *) mod_ssl adjustments to help with using toolkits other than OpenSSL:
810       Use SSL functions/macros instead of directly dereferencing SSL
811       structures wherever possible.
812       Add type-casts for the cases where functions return a generic pointer.
813       Add $SSL/include to configure search path.
814      [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
815
816   *) Moved several pointers out of the shared Scoreboard so it is
817      more portable, and will present the vhost name across server
818      generation restarts.  [William Rowe]
819
820   *) Fix SSLPassPhraseDialog exec: and SSLRandomSeed exec:
821      [Doug MacEachern]
822
823 Changes with Apache 2.0.30
824
825   *) Fix the main bug for FreeBSD and threaded MPM's. There are
826      still issues (see STATUS) but at least the server will now
827      run without crashing the machine.
828      [David Reid, Aaron Bannert, Justin Erenkrantz]
829
830   *) Fix a typo in mod_deflate's m4 config section.
831      [albert chin (china@thewrittenword.com)]
832
833   *) Fix a couple of mod_proxy problems forwarding HTTP connections
834      and handling CONNECT:
835      (1) PR #9190  Proxy failed to connect to IPv6 hosts.
836      (2) Proxy failed to connect when the first IP address returned by 
837          the resolver was unreachable but a secondary IP address was.  
838      [Jeff Trawick]
839
840   *) Fix the module identifer as shown in the docs for various core
841      modules (e.g., the identifer for mod_log_config was previously
842      listed as config_log_module).  PR #9338
843      [James Watson <ap2bug@sowega.org>]
844
845   *) Fix LimitRequestBody directive by placing it in the HTTP
846      filter.  [Justin Erenkrantz]
847
848   *) Fix mod_proxy seg fault when the proxied server returns 
849      an HTTP/0.9 response or a bogus status line.
850      [Adam Sussman]
851
852   *) Prevent mod_proxy from truncating one character off the
853      end of the status line returned from the proxied server.
854      [Adam Sussman, Bill Stoddard]
855
856   *) Eliminate loop in ap_proxy_string_read().
857      [Adam Sussman, Bill Stoddard]
858
859   *) Provide $0..$9 results from mod_include regex parsing.
860      [William Rowe]
861
862   *) Allow mod-include to look for alternate start & end tags [Ian Holsman]
863
864   *) Introduced the ForceLanguagePriority directive, to prevent
865      returning MULTIPLE_CHOICES or NONE_ACCEPTABLE in some cases,
866      when using Multiviews.  [William Rowe]
867
868   *) Fix a problem which prevented mod_cgid and suexec from working
869      together reliably [Greg Ames]
870
871   *) Remove the call to exit() from within mod_auth_digest's post_config
872      phase.  [Aaron Bannert]
873
874   *) Fix a problem in mod_auth_digest that could potentially cause
875      problems with initialized static data on a system that uses DSOs.
876      [Aaron Bannert]
877
878   *) Fix a segfault in the worker MPM that could happen during
879      child process exits.  [Brian Pane, Aaron Bannert]
880
881   *) Allow mod_auth_dbm to handle multiple DBM types [Ian Holsman]
882
883   *) Fix matching of vhosts by ip address so we find IPv4
884      vhost address when target address is v4-mapped form of
885      that address.  [Jeff Trawick]
886
887   *) More performance tweaks to the BNDM string-search algorithm
888      used to find "<!--#" tokens in mod_include [Brian Pane]
889
890   *) Miscellaneous small performance fixes: optimized away various
891      string copy operations and removed large temp buffers from
892      the stack [Brian Pane]
893
894   *) Fixed startup segfault that occurred when a VirtualHost
895      directive had a port but no address [Brian Pane]
896
897   *) Allow htdbm to work with multiple DBM types [Ian Holsman]
898
899   *) Win32: Made change to apr_sendfile() to return APR_ENOTIMPL
900      if oslevel < WINNT.  This should fix several problems reported
901      Against 2.0.28 on Windows 98 [Bill Stoddard]
902
903   *) Win32: Fix bug that could cause CGI scripts with QUERY_STRINGS
904      to fail. [Bill Stoddard]
905
906   *) Change core code to allow an MPM to set hard thread/server
907      limits at startup.  prefork, worker, and perchild MPMs now have 
908      directives to set these limits.  [Jeff Trawick]
909
910   *) Win32: The async AcceptEx() event should be autoreset upon
911      successful completion of a wait (WaitForSingleObject). This
912      eliminates a number of spurious
913      setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed." messages.
914      [Bill Stoddard]
915
916   *) Move any load library path environment variables out of 
917      apachectl and into a separate environment variable file which
918      can be more easily tailored by the admin.  The environment
919      variable file as built by Apache may have additional system-
920      specific settings.  For example, on OS/390 we tailor the heap
921      settings to allow lots of threads.  [Jeff Trawick]
922     
923   *) Use the new APR pool code to reduce pool-related lock
924      contention in the worker MPM.  [Sander Striker]
925
926   *) The POD no longer assumes the child is listening on 127.0.0.1
927      and now pulls the first hostname in the list of listeners to
928      perform the dummy connect on. This fixes a bug when the user
929      had configured the Listen directive for an IP other than
930      127.0.0.1. This would result in undead children and error
931      messages such as "Connection refused: connect to listener".
932      [Aaron Bannert]
933
934   *) The worker MPM now respects the LockFile setting, needed to
935      avoid locking problems with NFS.  [Jeff Trawick]
936
937   *) Fix segfault when worker MPM receives SIGHUP.
938      [Ian Holsman, Aaron Bannert, Justin Erenkrantz]
939
940   *) Fix bug that could potentially prevent the perchild MPM from
941      working with more than one vhost/uid.  [Aaron Bannert]
942
943   *) Change make install and apxs -i processing of DSO modules to 
944      perform special handling on platforms where libtool doesn't install 
945      mod_foo.so.  This fixes some wonkiness on HP-UX, Tru64, and AIX 
946      which prevented standard LoadModule statements from working.
947      [Jeff Trawick]
948
949   *) Whenever mod_so is enabled (not just when there are DSOs for
950      our modules), do whatever special magic is required for compiling/
951      loading third-party modules.  This allows third-party DSOs to
952      be used on an AIX build when there were no built-in modules
953      built as DSOs.  (This should help on OS/390 and BeOS as well.)
954      [Jeff Trawick]
955
956   *) Allow apxs to be used to build DSOs on AIX without requiring the
957      user to hard-code the list of import files.  (This should help
958      on OS/390 and BeOS as well.)  [Jeff Trawick]
959      
960   *) Resolved segfault in mod_isapi when configuring with ISAPICacheFile.
961      PR 8563, 8919  [William Rowe]
962   
963   *) Get binary builds working when libapr and libaprutil are built
964      shared [Greg Ames]
965
966   *) Get shared builds of libapr and libaprutil, as well as Apache DSOs,
967      working on AIX.  [Aaron Bannert, Dick Dunbar <RLDunbar@pacbell.net>,
968      Gary Hook <ghook@us.ibm.com>, Victor Orlikowski, Jeff Trawick]
969
970   *) Fix the handling of SSI directives in which the ">" of the
971      terminating "-->" is the last byte in a file [Brian Pane]
972
973   *) Add back in the "suEXEC mechanism enabled (wrapper: /path/to/suexec)"
974      message that we had back in apache-1.3 and still have scattered
975      throughout our docs.  [Aaron Bannert]
976
977   *) Prevent the Win32 port from continuing after encountering an
978      error in the command line args to apache.  [William Rowe]
979
980   *) On a error in the proxy, make it write a line to the error log
981      [Ian Holsman]
982
983   *) Various mod_ssl performance improvements [Doug MacEachern]
984
985 Changes with Apache 2.0.29
986
987   *) Add buffering in core_output_filter to ensure that long
988      lists of small buckets don't cause small packet writes.
989      [Brian Pane, Ryan Bloom]
990
991   *) Fix the installation target to make sure that the manual is 
992      installed in the correct location.
993      [Yoshifumi Hiramatsu <hiramatu@boreas.dti.ne.jp> and
994       Gomez Henri <hgomez@slib.fr>]
995
996   *) Fix the cmd command for mod_include.  When we are processing
997      a cmd command, we do not want to use the r->filename to set
998      the command name.  The command comes from the SSI tag.  To do this,
999      I added a variable to the function that builds the command line
1000      in mod_cgi.  This allows the include_cmd function to specify
1001      the command line itself. [Ryan Bloom]
1002
1003   *) Change open_logs hook to return a value, allowing you
1004      to flag a error while opening logs
1005      [Ian Holsman, Doug MacEachern]
1006
1007   *) Change post_config hook to return a value, allowing you
1008      to flag a error post config
1009      [Ian Holsman, Jeff Trawick]
1010
1011   *) Allow SUEXEC_BIN (the path to the suexec binary that is
1012      hard-coded into the server) to be specified to the configure
1013      script by the --with-suexec-bin parameter.  [Aaron Bannert]
1014
1015   *) Fix segv in worker MPM following accept on pipe-of-death
1016      [Brian Pane]
1017
1018   *) Add mod_deflate to experimental.  
1019      [Ian Holsman, Justin Erenkrantz]
1020
1021   *) Bail out at configure time if an invalid MPM was specified.
1022      [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
1023
1024   *) Prevent segv in ap_note_basic_auth_failure() when no AuthName is
1025      configured [John Sterling <sterling@covalent.net>]
1026
1027   *) Fix apxs to use sbindir.  [Henri Gomez <hgomez@slib.fr>]
1028
1029   *) Fix a problem with IPv6 vhosts.  PR #8118  [Jeff Trawick]
1030
1031   *) Optimization for the BNDM string-search function in
1032      mod_include.  [Brian Pane]
1033
1034   *) Fixed the behavior of the XBitHack directive.
1035      [Taketo Kabe <kabe@sra-tohoku.co.jp>, Cliff Woolley] PR#8804
1036
1037   *) The threaded MPM for Unix has been removed.  Use the worker
1038      MPM instead.  [various]
1039
1040   *) APR-ize the resolver logic in mod_unique_id.  This fixes a bug
1041      in logging the error from a failed DNS lookup.  [Jeff Trawick]
1042
1043   *) Added the missing macros AP_INIT_TAKE13 and AP_INIT_TAKE123.
1044      [Cliff Woolley]
1045
1046   *) Get mod_cgid killed when a MPM exits due to a fatal error.
1047      [Jeff Trawick]
1048
1049   *) Fix a file descriptor leak in mod_include.  When we include a
1050      file, we use a sub-request, but we didn't destroy the sub-request
1051      immediately, instead we waited until the original request was
1052      done.  This patch closes the sub-request as soon as the data is
1053      done being generated.  [Brian Pane <bpane@pacbell.net>]
1054
1055   *) Allow modules that add sockets to the ap_listeners list to
1056      define the function that should be used to accept on that
1057      socket.  Each MPM can define their own function to use for
1058      the accept function with the MPM_ACCEPT_FUNC macro.  This
1059      also abstracts out all of the Unix accept error handling
1060      logic, which has become out of synch across Unix MPMs.
1061      [Ryan Bloom]
1062
1063   *) Fix a bug which would cause the response headers to be omitted
1064      when sending a negotiated ErrorDocument because the required
1065      filters were attached to the wrong request_rec.
1066      [John Sterling <sterling@covalent.net>]
1067
1068   *) Remove commas from the end of the macros that define
1069      directives that are used by MPMs.  Prior to this patch,
1070      you would use these macros without commas, which was unlike
1071      the macros for any other directives.  Now, the caller provides
1072      the comma rather than the macro providing it.  This makes
1073      the macros look more like the rest of the directives.
1074      [Ryan Bloom and Cliff Woolley]
1075
1076   *) Add 'redirect-carefully' environment option to disable sending
1077      redirects under special circumstances.  This is helpful for 
1078      Microsoft's WebFolders when accessing a directory resource via
1079      DAV methods.  [Justin Erenkrantz]
1080
1081   *) Begin to abstract out the underlying transport layer.
1082      The first step is to remove the socket from the conn_rec,
1083      the server now lives in a context that is passed to the
1084      core's input and output filters. This forces us to be very
1085      careful when adding calls that use the socket directly,
1086      because the socket isn't available in most locations.
1087      [Ryan Bloom]
1088
1089   *) Really reset the MaxClients value in worker and threaded
1090      when the configured value is not a multiple of the number 
1091      of threads per child.  We said we did previously but we 
1092      forgot to. [Jeff Trawick]
1093
1094   *) Add Debian layout.  [Daniel Stone <daniel@sfarc.net>]
1095
1096   *) If shared modules are requested and mod_so is not available,
1097      produce a fatal config-time error.  [Justin Erenkrantz]
1098
1099   *) Improve http2env's performance by cutting the work it has to
1100      do.  [Brian Pane <bpane@pacbell.net>]
1101
1102   *) use new 'apr_hash_merge' function in mod_mime (performance fix)
1103      [Brian Pane <bpane@pacbell.net>]
1104
1105 Changes with Apache 2.0.28
1106
1107   *) Fix infinite loop in mod_cgid.c.  
1108      [Dale Ghent <daleg@elemental.org>, Brian Pane <bpane@pacbell.net>]
1109
1110   *) When no port is given in a "ServerName host" directive, the
1111      server_rec->port is now set to zero, not 80. That allows for
1112      run-time deduction of the correct server port (depending on
1113      SSL/plain, and depending also on the current setting of
1114      UseCanonicalName). This change makes redirections
1115      work, even with https:// connections. As in Apache-1.3, the
1116      connection's actual port number is never used, only the ServerName
1117      setting or the client's Host: setting. Documentation updated
1118      to reflect the change. [Martin Kraemer]
1119
1120   *) Add a '%{note-name}e' argument to mod-headers, which works in
1121      the same way as mod_log_confg.  [Ian Holsman]
1122
1123   *) Fix the spelling of the AP_MPMQ_MIN_SPARE_DAEMONS and
1124      AP_MPMQ_MAX_REQUESTS_DAEMON macros in ap_mpm.h and all standard
1125      MPMs.  [Cliff Woolley]
1126
1127   *) Introduce htdbm, a user management utility for db/dbm authorization
1128      databases.  [Mladen Turk <mturk@mappingsoft.com>]
1129
1130   *) Optimize usage of strlen and strcat in ap_directory_walk.
1131      [Brian Pane <bpane@pacbell.net>]
1132
1133 Changes with Apache 2.0.27
1134
1135   *) Introduce an Apache mod_ssl initial configuration template 
1136      (ssl.conf, generated from ssl-std.conf).  [Ralf S. Engelschall]
1137
1138   *) Fixed a memory leak in the getline parsing code that could
1139      be triggered by arbitrarily large header lines. Requests
1140      from the core input filter for single lines are now limited
1141      to HUGE_STRING_LEN (8192 bytes).  [Aaron Bannert]
1142
1143   *) Fix a truncation bug in how we print the port on the Via: header. 
1144      The routine that prints the Via: header now takes a length for
1145      the port string.  [Zvi Har'El <rl@math.technion.ac.il>]
1146
1147   *) Some syntax errors in mod_mime_magic's magic file can result
1148      in a 500 error, which previously was unlogged.  Now we log the
1149      error.  [Jeff Trawick]
1150
1151   *) Add the support/checkgid helper app, which checks the run-time
1152      validity of group identifiers usable in the Group directive.
1153      [Ken Coar]
1154
1155   *) Various --enable-so options have been fixed: --enable-so is
1156      treated as "static"; explicit --enable-so=shared issues an error;
1157      and explicit --enable-so fails with error on systems without
1158      APR_HAS_DSO.  [Aaron Bannert]
1159
1160   *) Fix a segfault in the core input filter when the client socket
1161      gets disconnected unexpectedly.  [Cliff Woolley]
1162
1163   *) Fix the reporting for child processes that die.  This removes
1164      all of the non-portable W* macros from Apache. 
1165      [Jeff Trawick and Ryan Bloom]
1166
1167   *) Win32: Track and display "Parent Server Generation:" in
1168      mod_status output. The generation will be bumped at
1169      server graceful restart, when the child process exits
1170      by hitting MaxRequestsPerChild or if the child 
1171      process exits abnormally. [Bill Stoddard]
1172
1173   *) Win32: Fix problem where MaxRequestsPerChild directive was
1174      not being picked up in favor of the default. Enable
1175      the parent to start up a new child process immediately upon
1176      the old child starting shutdown.
1177      [Bill Stoddard]
1178
1179   *) Fix some bungling of the remote port in rfc1413.c so that 
1180      IdentityCheck retrieves the proper user id instead of failing
1181      and thus always returning "nobody."  
1182      [Dick Streefland <Dick.Streefland@xs4all.nl>]
1183
1184   *) Introduced thread saftey for mod_rewrite's internal cache.
1185      [Brian Pane <bpane@pacbell.net>]
1186
1187   *) Simplified mod_env's directives to behave as most directives are
1188      expected, in that UnsetEnv will not unset a SetEnv and PassEnv 
1189      directive following that UnsetEnv within the same container.
1190      Also provides a runtime startup warning if a PassEnv configured 
1191      environment value is undefined.  [William Rowe]
1192
1193   *) The worker MPM is now completely ported to APR's new lock API. It
1194      uses native APR types for thread mutexes, cross-process mutexes,
1195      and condition variables.  [Aaron Bannert]
1196
1197   *) Sync up documentation to remove all references to the now deprecated
1198      Port directive.  [Justin Erenkrantz]
1199
1200   *) Moved all ldap modules from the core to httpd-ldap sub-project
1201      [Ryan Bloom]
1202
1203   *) Exit when we can't listen on any of the configured ports.  This
1204      is the same behavior as 1.3, and it avoids having the MPMs to
1205      deal with bogus ap_listen_rec structures.  [Jeff Trawick]
1206
1207   *) Cleanup the proxy code that creates a request to the origin
1208      server.  This change adds an optional hook, which allows modules
1209      to gain control while the request is created if the proxy module
1210      is loaded.  The purpose of this hook is to allow modules to add
1211      input and/or output filters to the request to the origin.  While
1212      I was at it, I made the core use this hook, so that proxy request
1213      creation uses some of the code from the core.  This can still be
1214      greatly improved, but this is a good start.  [Ryan Bloom]
1215
1216 Changes with Apache 2.0.26
1217
1218   *) Port the MaxClients changes from the worker MPM to the threaded
1219      MPM.  [Ryan Bloom]
1220
1221   *) Fix mod_proxy so that it handles chunked transfer-encoding and works
1222      with the new input filtering system.  [Justin Erenkrantz]
1223
1224   *) Introduce the MultiviewsMatch directive, to allow the operator
1225      to be flexible in recognizing Handlers and Filters filename
1226      extensions as part of the Multiviews matching logic, strict with
1227      MultiviewsMatch NegotiatedOnly to accept only filename extentions 
1228      that designate negotiated parameters, (content type, charset, etc.)
1229      or MultiviewsAll for the 1.3 behavior of matching any files, even
1230      if they have unregistered extensions.  [William Rowe]
1231
1232   *) Fixed the configure script to add a LoadModule directive to
1233      the default httpd.conf for any module that was compiled
1234      as a DSO.  [Aaron Bannert <aaron@clove.org>]
1235
1236   *) rewrite mod_ssl input filtering to work with the new input filtering
1237      system.  [Justin Erenkrantz]
1238
1239   *) prefork: Don't segfault when we are able to listen on some but
1240      not all of the configured ports.  [Jeff Trawick]
1241
1242   *) Build mod_so even if no core modules are built shared.
1243      [Aaron Bannert <aaron@clove.org>]
1244
1245   *) Introduce ap_directory_walk rewrite (with further optimizations
1246      required) to adapt to the ap_process_request_internal() changes.
1247      Optimized so subrequests and redirects now reuse previous section 
1248      merges, until we mismatch with the original directory_walk, and
1249      precomputed r->finfo results will cause directory_walk to skip
1250      the most expensive phases of the function.  [William Rowe]
1251
1252   *) Allow ApacheMonitor to connect to and control Apache on other 
1253      WinNT/2K machines.   [Mladen Turk <mturk@mappingsoft.com>]
1254
1255   *) Remove the Port directive.  In it's place, the Listen directive
1256      is now a required directive, which tells Apache what port to
1257      listen on.  The ServerName directive has also been extended
1258      to accept an optional port.  If the port is specified to the
1259      ServerName, the server will report that port whenever it
1260      reports the port that it is listening on.  This change was
1261      made to ease configuration errors that stem from having a Port
1262      directive, and a Listen directive.  In that situation, the server
1263      would only listen to the port specified by the Listen command,
1264      which caused a lot of confusion to users.  [Ryan Bloom]
1265
1266   *) Added mod_mime_magic, mod_unique_id and mod_vhost_alias to the Win32
1267      build, as loadable modules.  [William Rowe]
1268
1269   *) Fix --enable-mods-shared processing.  If most is specified,
1270      then all modules that can be compiled as shared modules are.
1271      [Aaron Bannert <aaron@clove.org>]
1272
1273   *) Update the mime.types file to map video/vnd.mpegurl to mxu
1274      and add commonly used audio/x-mpegurl for m3u extensions.        
1275      [Heiko Recktenwald <uzs106@uni-bonn.de>, Lars Eilebrecht]
1276
1277   *) Eliminate the depreciated r->content_language, in favor of the array
1278      r->content_languages introduced many years ago.  Module authors must
1279      substantially overhaul their modules, so this needs to be upgraded
1280      if the module still relied on backwards-brokeness.  [William Rowe]
1281
1282   *) Allow configure help strings to work with autoconf 2.50+ and 2.13.
1283      [Justin Erenkrantz]
1284
1285   *) Rewrite the input filtering mechanisms to consolidate and reorganize
1286      code.  In short, core_input_filter does something now and
1287      ap_http_filter is now only concerned with HTTP.  [Justin Erenkrantz]
1288
1289   *) Update the Win32 build to re-absorb mod_proxy and family.
1290      [William Rowe]
1291
1292   *) Resolved the build failure on Win32 using MSVC 5.0 (without the
1293      current SDK.)  [William Rowe]
1294
1295   *) Some style changes to the code that does ProxyErrorOverride. Fixed
1296      config merge behaviour. [Graham Leggett]
1297
1298   *) Allow support programs to be compiled against a static version
1299      of libapr.  This allows the smaller support programs to be 
1300      relocated.  [Aaron Bannert <aaron@clove.org>]
1301
1302   *) Update the mime.types file to the registered media types as
1303      of 2001-09-25, and add mapping for xsl extension [Mark Cox]
1304
1305   *) Fix MaxClients in the Worker MPM, so that it specifies the maximum
1306      number of clients that can connect at the same time, instead of
1307      specifying the maximum number of child processes.
1308      [Aaron Bannert <aaron@clove.org>]
1309
1310   *) Switch proc_pthread AcceptMutex configuration directive to pthread to 
1311      be consistent with 1.3.  [Justin Erenkrantz]
1312
1313   *) Cache apr_explode_localtime() value for 15 seconds.
1314      [Brian Pane <bpane@pacbell.net>]
1315
1316   *) Fix mod_include to not return ETag or Last-Modified headers.
1317      [Ian Holsman <ianh@cnet.com>]
1318
1319   *) Fix worker MPM's scoreboard logic.  [Aaron Bannert <aaron@clove.org>]
1320
1321   *) Eliminate the wasteful run-time conversion of method names from strings 
1322      to numbers in places where the methods are known at compile time.  
1323      [Brian Pane <bpane@pacbell.net>]
1324
1325   *) Turn the worker MPM's queue into a LIFO.  This may
1326      improve cache-hit performance under some conditions.
1327      [Aaron Bannert <aaron@clove.org>]
1328
1329   *) Switch back to SIGUSR1 for graceful restarts on all platforms that
1330      support it.  [Justin Erenkrantz]
1331
1332   *) Cleanup the worker MPM.  We no longer re-use transaction
1333      pools.  This incurs less overhead than shuffling the pools
1334      around so that they can be re-used.  Remove one of the
1335      queue's condition variables.  We just redefined the API to
1336      state that you can't try to add more stuff than you allocated
1337      segments for.  [Aaron Bannert <aaron@clove.org>]
1338
1339   *) Fix SSL VPATH builds [Cody Sherr <csherr@covalent.net>]
1340
1341   *) Fixed persistent connections when a request contains a body.
1342      [Greg Stein]
1343
1344   *) mod_dav uses a new API to speak to the backend provider for dead
1345      property management. [Greg Stein]
1346
1347   *) Remove the Win32 script-processing exception from mod_cgi, and
1348      roll build_command_line/build_argv_list into a unified, overrideable
1349      ap_cgi_build_command optional function.  [William Rowe]
1350
1351   *) Rewrite find_start_sequence to use a better search algorithm
1352      to find the start tag.  [Justin Erenkrantz]
1353
1354   *) Fix a seg fault in mod_include.  When we are generating an
1355      internal redirect, we must set r->uri to "", not a bogus
1356      string, and not NULL.  [Ryan Bloom]
1357
1358   *) Optimized location_walk, so subrequests, redirects and second passes
1359      now reuse previous section merges on a <Location > by <Location >
1360      basis, until we mismatch with the original location_walk. 
1361      [William Rowe]
1362
1363   *) Back out the 1.45 change to util_script.c.  This change made
1364      us set the environment variable REQUEST_URI to the redirected
1365      URI, instead of the originally requested URI.
1366      [Taketo Kabe <kabe@sra-tohoku.co.jp>]
1367
1368   *) Make mod_include do lazy evaluation of potentially expensive to
1369      compute variables.  [Brian Pane <bpane@pacbell.net>]
1370
1371   *) Fix logging of bytes sent for HEAD requests.  %b and %B should
1372      log either - or 0, before this patch, they were both logging
1373      the file size.  [Taketo Kabe <kabe@sra-tohoku.co.jp>]
1374
1375   *) Make mod_include check for BYTE_CHECK_THRESHOLD per bucket rather 
1376      than per character.  [Brian Pane <bpane@pacbell.net>]
1377
1378   *) Normalize the primary request, redirects and sub-requests to
1379      run the same ap_process_request_internal for consistency in
1380      robustness, behavior and security.  [William Rowe]
1381
1382   *) Fix a segfault with mod_include when r->path_info is not set
1383      (which is the case with mod_proxy).  [Ian Holsman <ianh@cnet.com>]
1384
1385   *) Add -X functionality back.  This indicates to all MPMs and any other
1386      part of Apache that it should run in "debug" mode.  [Justin Erenkrantz]
1387
1388   *) Some initial support for the cygwin platform [prefork only].
1389      This is not to be confused with support for the WinNT/Win32
1390      platform, which is the recommended configuration for native
1391      Win32 users.  The cygwin platform support is recommended for
1392      cygwin platform users. [Stipe Tolj <tolj@wapme-systems.de>]
1393
1394   *) Changed syntax of Set{Input|Output}Filter.  The list of filters
1395      must be semicolon delimited (if more than one filter is given.)
1396      The Set{Input|Output}Filter directive now overrides a parent
1397      container's directive (e.g. SetInputFilter in <Directory /web/foo>
1398      will override any SetInputFilter directive in <Directory /web>.)
1399      This new syntax is more consistent with Add{Input|Output}Filter
1400      directives defined in mod_mime.  Also cures a bug in prior releases
1401      where the Set{Input|Output}Filter directive would corrupt the 
1402      global configuration if the multiple directives were nested.
1403      [William Rowe]
1404
1405   *) Cured what's ailed mime for quite some time.  If an AddSomething
1406      was given in the configuration (Language, Charset, Handler or
1407      Encoding) Apache would set the content type as given by AddType, 
1408      but refused to check the mime.types file if AddType wasn't given 
1409      for that specific extension.  Setting the AddHandler for .html 
1410      without setting the AddType text/html html would cause Apache to 
1411      use the default content type.  [William Rowe]
1412
1413   *) Added some bulletproofing to memory allocation in the LDAP cache
1414      code. [Graham Leggett]
1415
1416 Changes with Apache 2.0.25
1417
1418   *) Move the installed /manual directory out of the /htdocs/ tree, so
1419      that it can be kept more independently from the remaining document
1420      root. The "Alias /manual ..." already allowed for easy projection
1421      into existing private document trees. [Martin Kraemer]
1422
1423   *) Add specified user attributes to the environment when using
1424      mod_auth_ldap. This allows you to use mod_include to embed specified
1425      user attributes in a page like so:
1426      Hello <!--#echo var="AUTHENTICATE_CN"-->, how are you?
1427      [Graham Leggett]
1428
1429   *) Fix a performance problem with the worker MPM.  We now create
1430      transaction pools once, and re-use them for each connection.
1431      [Aaron Bannert <aaron@clove.org>]
1432
1433   *) Modfied mod_mime to prevent mod_negotation from serving a multiview
1434      of a 'handler' or 'filter', so that any filename extension that does 
1435      not contribute to the negotiated metadata can't be served without
1436      an explicit request.  E.g., if the .Z extension is associated with
1437      an unzip filter, the user request somefile.Z.html, mod_negotiation
1438      won't serve it.  It can serve somefile.Z.html when somefile.Z is
1439      requested, since the .Z extension is explictly requested, if the
1440      .html extension is associated with ContentType text/html.
1441      [William Rowe]
1442
1443   *) Introduce the AddInputFilter filter[;filter...] ext [ext...]
1444      and corresponding AddOutputFilter syntax, to insert one or more 
1445      filters by mod_mime filename extension processing.
1446      [William Rowe]
1447
1448   *) Fix a growing connection pool in core_output_filter() for 
1449      keepalive requests.  [Jeff Trawick]
1450
1451   *) Moved split_and_pass_pretag_buckets back to being a
1452      macro at Ryans's request. Removed the return from it
1453      by setting and returning a return code instead. Updated
1454      the code to check the return code from the macro and
1455      do the right thing. [Paul J. Reder]
1456
1457   *) Fix a segfault when a numeric value was received for Host:.
1458      [Jeff Trawick]
1459
1460   *) Add a function ap_remove_input_filter.  This is to match
1461      up with ap_remove_output_filter.  [Ryan Bloom]
1462
1463   *) Clean up location_walk, so that this step performs a minimum
1464      amount of redundant effort (it must be run twice, but it will no
1465      longer reparse all <Location > blocks when the request uri
1466      hadn't changed.)  [William Rowe]
1467
1468   *) Eliminate proxy: (and all other 'special') processing from the
1469      ap_directory_walk() phase.  Modules that want to use special
1470      walk logic should refer to the mod_proxy map_to_location example,
1471      with it's proxy_walk and proxysection implementation.  This makes
1472      either directory_walk flavor much more legible, since that phase
1473      only runs against real <Directory > blocks.
1474      [William Rowe]
1475
1476   *) Fix a security problem in mod_include which would allow
1477      an SSI document to be passed to the client unparsed.
1478      [Cliff Woolley, Brian Pane]
1479
1480   *) Introduce the map_to_storage hook, which allows modules to bypass
1481      the directory_walk and file_walk for non-file requests.  TRACE
1482      shortcut moved to http_protocol.c as APR_HOOK_MIDDLE, and the
1483      directory_walk/file_walk happen as APR_HOOK_VERY_LAST in core.c.
1484      [William Rowe]
1485
1486   *) Add the ability for mod_include to add the INCLUDES filter
1487      if the file is configured for the server-parsed handler.
1488      This makes the configuration for .shtml files much easier
1489      to understand, and allows mod_include to honor Apache 1.3
1490      config files.   Based on Doug MacEachern's patch to PHP
1491      to do the same thing.  [Ryan Bloom]
1492
1493   *) force OpenSSL to ignore process local-caching and to always
1494      get/set/delete sessions using mod_ssl's callbacks
1495      [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>,
1496       Geoff Thorpe <geoff@geoffthorpe.net>]
1497
1498   *) Make the worker MPM shutdown and restart cleanly.  This also
1499      cleans up some race conditions, and gets the worker using
1500      pools more cleanly.  [Aaron Bannert <aaron@clove.org>]
1501
1502   *) Implement CRYPTO_set_locking_callback() in terms of apr_lock
1503      for mod_ssl
1504      [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
1505
1506   *) Fix for mod_include. Ryan's patch to check error
1507      codes put a return in the wrong place. Also, the
1508      include handler return code wasn't being checked.
1509      I don't like macros with returns, so I converted
1510      SPLIT_AND_PASS_PRETAG_BUCKETS into a function.
1511      [Paul J. Reder <rederpj@raleigh.ibm.com>]
1512
1513   *) fix segv in mod_mime if no AddTypes are configured
1514      [John Sterling <sterling@covalent.net>]
1515
1516   *) Enable ssl client authentication at SSL_accept time
1517      [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
1518
1519   *) Fix a segfault in mod_include when the original request has no
1520      associated filename (e.g., we're filtering the error document for
1521      a bad URI).  [Jeff Trawick]
1522
1523   *) Fix a storage leak (a strdup() call) in mod_mime_magic.  [Jeff Trawick]
1524
1525   *) The prefork and OS/2 MPMs are overwriting the pid file when a second copy
1526      of httpd is started and shuts down due to socket conflict. Moving the
1527      call to ap_log_pid solves the problem.
1528
1529   *) Changed the late-1.3 log_config substitution %c to %X, to log the
1530      status of the closed connection, as it conflicts with the far more
1531      common, historical ssl logging directive %...{var}c.  [William Rowe]
1532
1533   *) Added the common error/ tree to the build/install targets 
1534      (similar to the common icons/ tree) for the multi-language error 
1535      messages that Lars committed earlier.  [William Rowe]
1536
1537   *) Added a multi process, multi threaded OS/2 MPM mpmt_os2.  [Brian Havard]
1538
1539   *) Added a default commented-out mod_ldap and mod_auth_ldap
1540      configuration to httpd-std.conf and httpd-win.conf
1541      [Graham Leggett]
1542
1543   *) Added documentation for mod_ldap and mod_auth_ldap.
1544      [Graham Leggett]
1545
1546   *) Enabled negative caching on attribute comparisons in the LDAP cache.
1547      Fixed a problem where the default cache TTL was set in milliseconds
1548      not microseconds causing the cache to time out almost immediately.
1549      [Graham Leggett]
1550
1551   *) Fixed all the #if APR_HAS_SHARED_MEMORY checks within the LDAP
1552      module code to follow APR. [Graham Leggett]
1553
1554   *) Fixed LDAP cleanup on graceful restarts. LDAP connections are now
1555      cleaned up when the connection pool pool is cleaned up.
1556      [Graham Leggett]
1557
1558   *) Fix a minor issue with Jeff Trawick's mod_include
1559      patch. Without this patch, the code will just allocate
1560      more bytes in get_combined_directive than are needed.
1561      [Paul Reder]
1562
1563   *) Added the LDAP authentication module mod_auth_ldap.
1564      [Dave Carrigan <dave@rudedog.org>, Graham Leggett]
1565
1566   *) Added the LDAP cache and connection pooling module mod_ldap.
1567      [Dave Carrigan <dave@rudedog.org>, Graham Leggett]
1568
1569   *) Fix --enable-modules=all breakage with mod_auth_db and mod_auth_digest
1570      by allowing a module to disable itself if its prerequisites are not
1571      met.  [Justin Erenkrantz]
1572
1573 Changes with Apache 2.0.24
1574
1575   *) Fix a couple of issues in mod_include when the tag appeared at
1576      offsets near 8192 in the file being parsed.  [Jeff Trawick]
1577
1578   *) Fix an assertion failure in mod_ssl when the keepalive timeout is  
1579      reached.  [Jeff Trawick]
1580
1581   *) Numerous improvements to the Win32 build system.  Introduced command line
1582      builds without requiring .mak files for MSVC 6.0 and later versions.
1583      Improved .dsp file compatibility for both Visual Studio 5.0 and 6.0 users.
1584      [William Rowe]
1585
1586   *) Assorted corrections and improvements to the winnt_mpm startup code.  Better
1587      reporting of uninstalled services and other error conditions, and changed the 
1588      default service name to Apache2.  [William Rowe]
1589
1590   *) Numerous improvements to the Win32 ApacheMonitor utility, including winnt_mpm 
1591      compatibility with existing Apache 1.3 Win32 Apache management utilites.  
1592      [Mladen Turk <mturk@mappingsoft.com>, William Rowe]
1593
1594   *) Fixed the segfaults in mod_mime introduced by hash tables in 2.0.20.
1595      [William Rowe, Greg Ames]
1596
1597   *) Rounded out the mod_mime Add/Remove pairs by adding RemoveLanguage
1598      and RemoveCharset directives.  [William Rowe]
1599
1600   *) The Unix MPMs other than perchild now allow child server 
1601      processes to use the accept mutex when starting as root and 
1602      using SysV sems for the accept mutex.  Previously, this 
1603      combination would lead to fatal errors in the child server 
1604      processes.  perchild can't use SysV sems because of security
1605      issues.  [Jeff Trawick, Greg Ames]
1606
1607   *) Added Win32 revision stamp resources to all http binaries
1608      (including modules/ and support/ tools.)  PR7322  [William Rowe]
1609
1610   *) Fix ap_rvprintf to support more than 4K of data at one time.
1611      [Cody Sherr <csherr@covalent.net>]
1612
1613   *) We have always used the obsolete/deprecated Netscape syntax
1614      for our tracking cookies; now the CookieStyle directive
1615      allows the Webmaster to choose the Netscape, RFC2109, or
1616      RFC2965 format.  The new CookieDomain directive allows the
1617      setting of the cookie's Domain= attribute, too.  PR #s 5006,
1618      5023, 5920, 6140 [Ken Coar]
1619
1620   *) Tweak server/Makefile so that the rules for generating exports.c
1621      are compatible with make utilities which don't expand wildcards
1622      in a dependency list (e.g., OS/390 make, certain levels of GNU
1623      make).  [Jeff Trawick]
1624
1625   *) Install the SSL headers.  [John Sterling <sterling@covalent.net>]
1626
1627   *) Begin to sanitize the MPM configuration directives.  Now, all
1628      MPMs use the same functions for all common MPM directives.  This
1629      should make it easier to catch all bugs in these directives once.
1630      [Cody Sherr <csherr@covalent.net>]
1631
1632   *) Close a major resource leak.  Every time we had issued a
1633      graceful restart, we leaked a socket descriptor.
1634      [Ryan Bloom]
1635
1636   *) Fix a problem with the new method code.  We need to cast
1637      the 1 to an apr_int64_t or it will be treated as a 32-bit
1638      integer, and it will wrap after being shifted 32 times.
1639      [Cody Sherr <csherr@covalent.net> and Ryan Morgan <rmorgan@covalent.net>]
1640
1641   *) Fix a bug in mod_expires.  Previous to this patch, if you
1642      told mod_expires to add 604800 seconds to the last-modified
1643      time, it actually added 604800 usec's to the last-modified time,
1644      so that when looking at the response it looked like nothing
1645      had been done.  The root of the problem was that we always compute
1646      time in usec's, but we ask users to input sec's.  This means we
1647      need to convert to usec's before using those values.
1648      [Ryan Bloom]
1649
1650   *) The worker MPM now handles shutdown and restart requests.  It
1651      definitely isn't perfect, but we do stop the servers correctly.
1652      The biggest problem right now is that SIGHUP causes the server to
1653      just die.  [Ryan Bloom]
1654
1655 Changes with Apache 2.0.23
1656
1657   *) Use the prefork MPM by default on Unix.  [various]
1658
1659   *) Added a systray icon monitor application for Win32.
1660      [Mladen Turk <mturk@mappingsoft.com>]
1661
1662   *) mod_rewrite: Fix the line ending on some non-Unix systems for 
1663      messages written to the rewrite log.  
1664      [Richard Labennett <rlabenn@us.ibm.com>]
1665
1666   *) All mod_autoindex query parsing is now quietly quashed with the 
1667      IndexOption IgnoreClient.  The IndexOption SuppressColumnSorting 
1668      still drops the column sort <a href>'s for the column headers, but 
1669      IgnoreClient is required to ignore these Query options entirely.  
1670      [William Rowe]
1671
1672   *) Introduced new mod_autoindex query argument parsing for F=[0|1|2]
1673      to allow the client to select plain, FancyIndexing or HTMLTable
1674      formatting, V=[0|1] to inhibit or enable version sorting, and 
1675      P=pattern to return only specific files.  The old Query Arguments
1676      were reorganized as C=f for sorting column 'f' (same N, D, S, or M
1677      as before), and O=A|D for ordering ascending or descending.  
1678      [William Rowe]
1679
1680   *) Fixed an error in mod_include's directive parsing routines which
1681      caused #if, #elif, and #else expressions containing backslashes
1682      to be improperly evaluated.  [Cliff Woolley]
1683
1684   *) Introduced new mod_autoindex IndexOptions flags: SuppressIcon to 
1685      drop the icon column, SuppressRules to drop the <hr> elements, 
1686      and HTMLTable to create rudimentary HTML table listings (implies 
1687      FancyIndexing).  [William Rowe]
1688
1689   *) Re-introduced the mod_autoindex IndexOptions flag TrackModified
1690      from Apache 1.3.15.  This is needed for two reasons, first, given
1691      multiple machines within a server farm, ETags and Last-Modified 
1692      stamps won't correspond from machine to machine, and second, many 
1693      Unixes don't capture changes to the date or time stamp of existing 
1694      files, since these don't modify the dirent itself.  [William Rowe]
1695
1696   *) Re-introduced the mod_autoindex IndexOptions flag FoldersFirst 
1697      and DirectoryWidth options from Apache 1.3.10. 
1698      [William Rowe, Ken Coar]
1699
1700   *) Eliminated FancyIndexing directive, deprecated early in Apache
1701      1.3 by the IndexOptions FancyIndexing syntax.  [William Rowe]
1702
1703   *) mod_autoindex now excludes any file names that would result in
1704      an error, other than a success or redirect.  Also optimized
1705      the parent directory, always included except in the URI '/'.
1706      [William Rowe]
1707
1708   *) Refactored mod_negotiation and mod_mime to help mod_dir accept
1709      negotiated index pages, and prevent the server from defaulting
1710      to an autoindex of the directory.  mod_negotiation will now die
1711      with a 500 Internal Error if it could match some filenames 
1712      (e.g. for mod_dir) but none can be served.  mod_negotation now
1713      refuses to serve any file with an extention that mod_mime doesn't
1714      recognize, and wasn't part of the request.  [William Rowe]
1715
1716   *) Eliminate mod_cgi's handling of .exe files without the .exe file
1717      extension.  This is already handled by multiviews, if the admin
1718      wishes to AddHandler .exe or define a content type handler and 
1719      associate .exe files with that content type.  Multiviews must be
1720      enabled to allow these to be served.  [William Rowe]
1721
1722   *) Speed up the server's response to a spike in incoming workload
1723      or restarts by assigning empty scoreboard slots to new processes
1724      when they are available.  [Greg Ames]
1725
1726   *) Add a handler to mod_includes.c.  This handler is designed to
1727      implement the XbitHack directive.  This can't be done with a
1728      fixup, because we need to check the content-type, which is
1729      only available in the handler phase.  [Ryan Bloom]
1730
1731   *) Make the includes filter check return codes from filters lower in
1732      the filter chain.  If a lower level filter returns an error, then
1733      the request needs to stop immediately.  This allows mod_include to
1734      stop parsing data once a lower filter recognizes an error.
1735      [Ryan Bloom]
1736
1737   *) Add the ability to extend the methods that Apache understands
1738      and have those methods <limit>able in the httpd.conf. It uses 
1739      the same bit mask/shifted offset as the original HTTP methods 
1740      such as M_GET or M_POST, but expands the total bits from an int to 
1741      an ap_int64_t to handle more bits for new request methods than 
1742      an int provides.  [Cody Sherr <csherr@covalent.net>]
1743
1744   *) Fix broken mod_mime behavior in merging its arguments.  Possible
1745      cause of unexplicable crashes introduced in 2.0.20.  [William Rowe]
1746
1747   *) Solve many mod_ssl porting issues (too many to detail) with 
1748      help from the whole team, but most notably [Ralf S. Engelschall, 
1749      Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>, 
1750      Doug MacEachern, William Rowe, Cliff Woolley]
1751
1752   *) More stall fixes for the threaded & worker mpm's.
1753      Make mod_status output more accurate.  Don't
1754      count workers in processes which aren't actively
1755      serving requests. [Greg Ames]
1756      
1757   *) Win32: Get SSI exec cgi tag working. [Bill Stoddard]
1758
1759   *) Add a single listener/multiple worker MPM.  This MPM is
1760      definately not fully correct, but it allows us to solve many
1761      of the problems that exist in the threaded MPM.  This is a 
1762      modified version of the threaded MPM.  [Ryan Bloom]
1763
1764   *) Improve content generation throughout Apache, providing closer
1765      compliance with HTML 3.2, HTML 4.01 Transitional and XHTML 1.0
1766      Transitional specifications.  [William Rowe]
1767
1768 Changes with Apache 2.0.22
1769   
1770   *) Fix a problem where the threaded MPM stalls after restarts or
1771      segfaults.  Also prevent multiple active processes from using
1772      the same scoreboard slot.  [Greg Ames]
1773
1774   *) Apache/Win32 now fills in the service description with Apache's
1775      server version string, including loaded and advertised modules.
1776      [William Rowe]
1777
1778   *) Improved support for the Win32 build, to recover gracefully from
1779      missing apr or apr-util directories or the awk interpreter, 
1780      create the proper cgi-bin examples, including a test-cgi.bat, and 
1781      fix the perl shebang line for printenv.pl, when installing from 
1782      the build environment.  [William Rowe]
1783
1784   *) Fix a segfault in threaded.c caused by passing uninitialized
1785      apr_thread_t * to apr_thread_join().  [Jeff Trawick]
1786
1787   *) Use new APR number conversion functions to reduce CPU consumption 
1788      when setting the content length, and in mod_log_config.
1789      [Brian Pane]
1790      
1791   *) Fix problem reported by Taketo Kabe <kabe@sra-tohoku.co.jp>
1792      where HEAD response headers were being repeated twice for
1793      files greater than 32K bytes (4*AP_MIN_BYTES_TO_WRITE). This
1794      problem in the http_header filter was exposed by the recent rewrite
1795      of the content_length filter. [Taketo Kabe, Bill Stoddard]
1796
1797   *) Fix seg faults in mod_status with ExtendedStatus enabled, after
1798      restarts.  A garbage pointer to a vhost's server_rec from the
1799      previous generation was being left around under certain
1800      conditions. [Greg Ames]
1801
1802   *) Fix a cosmetic problem with mod_include.  Non-existant SSI vars
1803      used to appear as '(none', without the closing paren.
1804      [Günter Knauf <eflash@gmx.net>]
1805
1806   *) Improve the exports generating awk script.  In the past, we had
1807      work around problems in the awk script by avoiding some #if and
1808      #ifdefs.  This has bitten us many times in generating the exports.c
1809      file.  This improvement allows corrects the header file parsing.
1810      [Sander Striker <striker@apache.org>]
1811
1812 Changes with Apache 2.0.21
1813
1814   *) Resolve the Win32 htpasswd bug, where a file that existed would be
1815      overwritten, regardless of the -c flag.
1816      [William Rowe, Mladen Turk <mladen.turk@mail.inet.hr>]
1817
1818   *) Introduce connection sub-pools into ab.  Truncating the lifetime
1819      of these allocations means that ab no longer perpetually grows
1820      its working set, running out of memory on large request attempts.
1821      [William Rowe]
1822
1823   *) Make scoreboard creation a hook.  This allows management
1824      modules to have access to the scoreboard at the time that it is
1825      created, and at every restart request.  
1826      [Cody Sherr <csherr@covalent.net>]
1827
1828   *) Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
1829      added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest
1830      daemon index actually used in the scoreboard. I also
1831      updated the pertinent calls. [Paul J. Reder]
1832
1833   *) Win32: Prevent listening sockets from being inherited by
1834      the Apache child process, CGI scripts, rotatelog process
1835      etc.  If the Apache child process segfaults, any processes 
1836      that the child started are not reaped. Prior to this fix,
1837      these processes inherited the listening sockets which sometimes
1838      prevented the restarted Apache child process from accepting
1839      connections (ie, the server would hang). 
1840      [Bill Stoddard]
1841
1842   *) Provide vhost and request strings when ExtendedStatus is on.
1843      [Greg Ames]
1844
1845   *) Fix some issues with the pod and prefork: check the pod *after*
1846      processing a connection so that a server processing a time-
1847      consuming request bails out as soon as practical; when the
1848      parent process wakes up a server process via connect(), use an
1849      APR timeout on the connect() so that we don't hang for a long
1850      time if there aren't server processes around to do accept().
1851      [Jeff Trawick, Greg Ames]
1852
1853   *) Performance improvement to mod_mime.c. find_ct() in mod_mime, 
1854      spends a lot of time in apr_table_get calls.  Using the default 
1855      httpd.conf, the tables for languages and charsets are somewhat
1856      large, so the time spent scanning them on each request is
1857      significant. Replacing the tables with hash tables provides
1858      a nice speedup. [Brian Pane <bpane@pacbell.net>]
1859
1860   *) Add two functions to allow modules to access random parts of the
1861      scoreboard.  This allows modules compiled for one MPM to access the
1862      scoreboard, even if it the server was compiled for another MPM.
1863      [Harrie Hazewinkel <harrie@covalent.net>]
1864
1865 Changes with Apache 2.0.20
1866
1867   *) Fix problem in content-length filter where the filter would
1868      buffer all the output from a CGI before sending any bytes
1869      down the filter stack to the network. This problem would cause
1870      significant memory consumption if the CGIs generated
1871      lots of bytes. [Bill Stoddard]
1872   
1873   *) Get non-blocking CGI pipe reads working with the bucket brigades.
1874      [Bill Stoddard]
1875
1876   *) Fix seg fault on Windows when serving files cached with mod_file_cache.
1877      [Bill Stoddard]
1878
1879   *) Fix a bug in the threaded MPM that would cause it to kill off all
1880      workers immediately after starting if the number of workers started
1881      was above a certain threshold.  [Ryan Bloom, Bill Stoddard]
1882
1883 Changes with Apache 2.0.19
1884
1885   *) Fix problem with threaded MPM.  The problem was that if each child
1886      process was busy serving a single long-lived request and the server
1887      was sent a graceful restart signal, the server would stop serving
1888      requests.  This would happen because each child process would wait to
1889      die until the last thread was done, and the parent wouldn't spawn any
1890      new children until a process died.  Now, the parent looks at the fact
1891      that the children are dying gracefully, and starts new children.
1892      Those new children only start enough threads to compliment the number
1893      of threads in the other child process that shares the same spot in
1894      the scoreboard.  In this way, we make sure to never go over
1895      MaxClients.  [Ryan Bloom]
1896
1897   *) modified mod_negotiation and mod_autoindex to speed up by almost a
1898      factor of two on apr_dir_read()-enhanced platforms, such as Win32
1899      and OS2, by calling ap_sub_request_lookup_dirent() with the results
1900      already provided by apr_dir_read().  [William Rowe]
1901
1902   *) mod_file_cache is now more robust to filtering and serves requests
1903      slightly more efficiently.  [Cliff Woolley]
1904
1905   *) Fix problem handling FLUSH bucket in the chunked encoding filter.
1906      Module was calling ap_rwrite() followed by ap_rflush() but the 
1907      served content was not being displayed in the browser. Inspection
1908      of the output stream revealed that the first data chunk was
1909      missing the trailing CRLF required by the RFC.  [Bill Stoddard]
1910
1911   *) apxs no longer generates ap_send_http_header() in the example handler
1912
1913   *) Fix an ab problem which could cause a divide-by-zero exception
1914      with certain invocations (e.g., ab -k -c 6 -n 100 localhost/).
1915      [Ian Holsman <ianh@cnet.com>]
1916
1917   *) Solve case-insensitive platforms' confusion about negotiated
1918      filenames, allowing files of differnt case to match in choosing
1919      the document to serve.  [William Rowe]
1920
1921   *) Fix brokenness when ThreadsPerChild is higher than the built-in
1922      limit.  We left ap_threads_per_child at the higher value which
1923      led to segfaults when doing certain scoreboard operations.
1924      [Jeff Trawick]
1925
1926   *) Fix seg faults and/or missing output from mod_include.  The
1927      default_handler was using the subrequest pool for files and
1928      MMAPs, even though the associated APR structures typically 
1929      live longer than the subrequest. [Greg Ames]
1930   
1931   *) Extend mod_setenvif to support specifying regular expressions
1932      on the SetEnvIf (and SetEnvIfNoCase) directive attribute field.
1933      Example:  SetEnvIf ^TS*  [a-z].* HAVE_TS 
1934      will cause HAVE_TS to be set if any of the request headers begins 
1935      with "TS" and has a value that begins with any character in the
1936      set [a-z]. [Bill Stoddard]
1937
1938   *) httpd children now re-bind themselves to a random CPU on
1939      multiprocessor systems on AIX via bindprocessor() in 2.0.
1940      [Victor J. Orlikowski]
1941
1942   *) Fix htdigest. It would go into a loop in getline when adding 
1943      a second user. [Bill Stoddard]
1944
1945   *) Win32 platforms now fully support mod_userdir options.  [Will Rowe]
1946
1947   *) Automatically generate httpd.exp for AIX.
1948      DSOs now work again on AIX in 2.0
1949      [Victor J. Orlikowski]
1950
1951   *) Add a new request hook, error_log.  This phase allows modules
1952      to act on the error log string _after_ it has been written
1953      to the error log.  The goal for this hook is to allow monitoring
1954      modules to send the error string to the monitoring agent.
1955      [Ryan Bloom]
1956
1957   *) Modify mod_echo to make it use filters for input and output.
1958      [Ryan Morgan <rmorgan@covalent.net>]
1959
1960   *) Extend mod_headers to support conditional driven Header 
1961      add, append and set. Use SetEnvIf to set an envar and conditionally
1962      add/append/set headers based on this envar thusly:
1963
1964      SetEnvIf TSMyHeader value HAVE_TSMyHeader
1965      Header add MyHeader "%t %D" env=HAVE_TSMyHeader
1966
1967      If the request contains header "TSMyHeader: value" then header
1968      MyHeader: "t=xxxxxxxxxx D=yyyy" will be sent on the response.
1969      [Bill Stoddard]
1970
1971   *) Extend mod_headers to support using format specifiers on Header
1972      add, append and set header values. Two format specifiers are supported:
1973
1974      %t - reports, in UTC microseconds since the epoch, when the
1975           request was received.
1976
1977      %D - reports the time, in microseconds, between when the request was 
1978           received and the response sent. 
1979
1980      Examples:
1981      Header add MyHeader "This request served in %D microseconds. %t"
1982
1983      results in a header being added to the response that looks like this:
1984      
1985      MyHeader: This request served in D=5438 microseconds. t=991424704447256
1986
1987      [Bill Stoddard]
1988
1989   *) Fix reset_filter().  We need to be careful how we remove filters.
1990      If we set r->output_filters to NULL, we also have to reset the
1991      connection's filters.  [John Sterling]
1992
1993   *) Optimise reset_filter() in http_protocol.c. [Greg Stein]
1994
1995   *) Add a check to ap_die() to make sure the filter stack is sane and
1996      contains the correct basic filters when an error occurs. This fixes
1997      a problem where headers are not being sent on error. [John Sterling]
1998
1999   *) New Header directive 'echo' option. "Header echo regex" will
2000      cause any headers received on the request that match regex to be
2001      echoed to (included in) the response headers.
2002      [Bill Stoddard]
2003
2004   *) include/ap_compat.h tested and set APR_COMPAT_H instead of AP_COMPAT_H.
2005      This prevented the inclusion of apr_compat.h.  PR #7773
2006      [Oleg Broytmann <phd@phd.pp.ru>]
2007
2008   *) Moved util_uri to the apr-util library.  This required a bunch of
2009      apr_name changes for the uri utility functions.  [Justin Erenkrantz]
2010
2011   *) Move the addition of default AP_HTTP_HTTP_HEADER filters to the
2012      insert_filter phase so that other filters are not bypassed by default.
2013      [Graham Leggett]
2014
2015   *) Reimplement mod_headers as an output filter. mod_headers can now
2016      add custom headers to inbound requests using the RequestHeader directive
2017      and to responses using the same old Header directive.  [Graham Leggett]
2018
2019 Changes with Apache 2.0.18
2020
2021   *) Fix command-line processing so that if a bad argument is specified
2022      Apache will exit.  [Jeff Trawick]
2023
2024   *) Change the make targets and rules to be consistent in all of the
2025      Apache-owned source trees.  [Roy Fielding]
2026      
2027   *) Fix processing of the TRACE method.  Previously we passed bogus
2028      parms to form_header_field() and it overlaid some vhost structures,
2029      resulting in a segfault in check_hostalias(). 
2030      [Greg Ames, Jeff Trawick]
2031
2032   *) Win32: Add support for reliable piped logs. If the logging process
2033      goes down, Apache will automatically restart it. This function has 
2034      been part of Apache on Unix/Linux/BSD since the early v1.3 releases.
2035      [Bill Stoddard]
2036
2037   *) Do not start piped log processes during the config file 
2038      preflight.  This change also circumvents a problem on 
2039      Windows where the rotatelog processes created during preflight
2040      was not getting cleaned up properly.
2041      [Bill Stoddard]
2042
2043   *) add "Request Phase Participation" info to mod_info
2044      [Doug MacEachern]
2045
2046   *) Make first phase changes to the scoreboard data structures in
2047      preparation for the rewriting of the scoreboard per my posted
2048      design notes. [Paul J. Reder]
2049
2050   *) Fix httpd's definition of LTFLAGS to be consistent with that of apr
2051      and apr-util, allow it to be overridden by the configure command-line
2052      (default="--silent") and introduce LT_LDFLAGS to replace what we were
2053      formerly abusing as LTFLAGS.  [Roy Fielding]
2054
2055   *) Clean up the reporting of incorrect closing container tags.
2056      [Barrie Slaymaker <barries@slaysys.com>]
2057
2058   *) Simplify the configure process by moving all libtool stuff to APR
2059      and moving hints.m4 inline.  [Roy Fielding]
2060
2061   *) Add the AP_DECLARE()/AP_CORE_DECLARE macros on the return types
2062      of functions used by mod_proxy for export in the DLL 
2063      [Ian Holsman <IanH@cnet.com>]
2064
2065   *) Prevent a hang when a cgi handled by mod_cgid tries to read a
2066      request body from its stdin but no reqest body is being written to 
2067      the cgi.  [Jeff Trawick]
2068
2069   *) mod_log_config: %c connection status incorrectly logged
2070      as "-" (non-keepalive) when MaxKeepAliveRequests is set to 0.
2071      [Bill Stoddard]
2072
2073   *) Get mod_cern_meta working under Windows
2074      [Bill Stoddard]
2075
2076   *) Create Files, and thus MMAPs, out of the request pool, not the
2077      connection pool.  This solves a small resource leak that had us
2078      not closing files until a connection was closed.  In order to do
2079      this, at the end of the core_output_filter, we loop through the
2080      brigade and convert any data we have into a single HEAP bucket
2081      that we know will survive clearing the request_rec.
2082      [Ryan Bloom, Justin Erenkrantz <jerenkrantz@ebuilt.com>,
2083       Cliff Woolley]
2084
2085   *) Completely revamp configure so that it preserves the standard make
2086      variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving
2087      the configure additions to EXTRA_* variables.  Also, allow the user
2088      to specify NOTEST_* values for all of the above, which eliminates the
2089      need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM.  Fix the setting
2090      of INCLUDES and EXTRA_INCLUDES.  Check flags as they are added to
2091      avoid pointless duplications.  Fix the order in which flags are given
2092      on the compile and link lines.  Remove obsolete macros APR_DOEXTRA,
2093      AC_ADD_LIBRARY, AC_CHECK_DEFINE, APACHE_PASSTHRU, and APACHE_ONCE.
2094      Added APR_SAVE_THE_ENVIRONMENT and APR_RESTORE_THE_ENVIRONMENT macros.
2095      Renamed AC_TYPE_RLIM_T macro to APACHE_TYPE_RLIM_T.  [Roy Fielding]
2096
2097   *) Get mod_tls to compile/work better on Windows.  PR #7612
2098      [Bernhard Schrenk <b.schrenk@improx.com>]
2099
2100   *) Fix shutdown/restart hangs in the threaded MPM.
2101      [Jeff Trawick, Greg Ames, Ryan Bloom]
2102   
2103   *) Removed the keptalive boolean from conn_rec because it is now only
2104      used by a single routine and can be replaced by a local variable.
2105      [Greg Stein, Ryan Bloom, Roy Fielding]
2106
2107   *) Patch prefork to put enough of the signal processing back in so that
2108      signals are all handled properly now. The previous patch fixed the
2109      deadlock race condition, but broke the user directed signal handling.
2110      This fixes it to work the way it did before my previous prefork patch
2111      (primarily, SIGTERM is now working).
2112  
2113   *) Change how input filters decide how much data is returned to the
2114      higher filter.  We used to use a field in the conn_rec, with this
2115      change, we use an argument to ap_get_brigade to determine how much
2116      data is retrieved. [Ryan Bloom]
2117
2118   *) Fix seg fault at start-up introduced by Ryan's change to enable
2119      modules to specify their own logging tags. mod_log_config
2120      registers an optional function, ap_register_log_handler().
2121      ap_register_log_handler() was being called by http_core before
2122      the directive hash table was created. This patch creates the
2123      directive hash table before ap_register_log_handler() is
2124      registered as an optional function.
2125      [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
2126
2127   *) Add ap_set_int_slot() function
2128      [John K. Sterling <sterling@covalent.net>]
2129
2130   *) Under certain circumstances, Apache did not supply the
2131      right response headers when requiring authentication.
2132      [Gertjan van Wingerde <Gertjan.van.Wingerde@cmg.nl>] PR#7114
2133      (This is a port of the change that went into Apache 1.3.19.)
2134
2135   *) Allow modules to specify their own logging tags.  This basically
2136      allows a module to tell mod_log_config that when %x is encountered
2137      a specific function should be called.  Currently, x can be any single
2138      character.  It may be more useful to make this a string at some point.
2139      [Ryan Bloom]
2140
2141 Changes with Apache 2.0.17
2142
2143   *) If a higher-level filter handles the the byterange aspects of a
2144      request, then the byterange filter should not try to redo the
2145      work.  The most common case of this happening, is a byterange
2146      request going through the proxy, and the origin server handles
2147      the byterange request.  The proxy should ignore it.
2148      [Graham Leggett <minfrin@sharp.fm>]
2149
2150   *) Changed the threaded mpm to have child_main join to each of the
2151      worker threads to make sure the kids are all gone before child_main
2152      exits after a signal (cleanup from perform_idle_server_maintenance).
2153      This is an extension of Ryans recent commit to make the child_main
2154      the signal thread.
2155
2156   *) Add more options to the ap_mpm_query function.  This also allows MPMs to
2157      report if their threads are dynamic or static.  Finally, this also
2158      implements a new API, ap_show_mpm, which returns the MPM that was
2159      required into the core. [Harrie Hazewinkel <harrie@covalent.net>]
2160
2161   *) Do not install the binaries from the support directory twice.
2162      [jun-ichiro hagino <itojun@iijlab.net>]
2163
2164   *) The ap_f* functions should flush data to the filter that is passed
2165      in, not the the filter after the one passed in.
2166      [Ryan Morgan <rmorgan@covalent.net>]
2167
2168   *) Make ab work again by changing its native types to apr types and formats.
2169      [Justin Erenkrantz <jerenkrantz@ebuilt.com>]
2170
2171   *) Move the byterange filter and all of the supporting functions back
2172      to the HTTP module.  The byterange filter turned out to be very
2173      HTTP specific, and it belongs in the HTTP module.  [Greg Stein]
2174
2175   *) Make clean, distclean, and extraclean consistently according to the
2176      Gnu makefile guidelines.  [Justin Erenkrantz <jerenkrantz@ebuilt.com>]
2177
2178   *) Fix errors in the renaming of the apr_threadattr_detach_xxx functions.
2179      This may have been causing problems stopping processes in the threaded
2180      mpm's. [Greg Ames]
2181
2182   *) Fix content-length in mod_negotiation to a long int representation.
2183      [William Rowe]
2184
2185   *) Remove BindAddress from the default config file.
2186      [giles@nemeton.com.au]
2187
2188   *) Allow module authors to add a module to their Apache build using
2189      --with-module, without re-running buildconf.  The syntax is:
2190         --with-module=module_type:/path/to/module.c
2191      The configure script will copy the module.c file to 
2192      modules/module_type, and it will be added to the relevant Makefiles.
2193      currently, this only works for static modules.  [Ryan Bloom]
2194
2195   *) Changes required to make prefork clean up idle children properly.
2196      There was a window during which a starting worker deadlocks when
2197      an idle cleanup arrives before it completes init. Apache then keeps
2198      trying to cleanup the same deadlocked worker forever (until higher
2199      pids come along, but it still will never reduce below the deadlocked
2200      pid). Thus the number of children would not reduce to the correct
2201      idle level. [Paul J. Reder]
2202
2203 Changes with Apache 2.0.16
2204
2205   *) Change the default installation directory to /usr/local/apache2,
2206      as now defined by the "Apache" layout in config.layout. [Marc Slemko]
2207
2208   *) OS/2: Added support for building loadable modules as OS/2 DLLs. 
2209      [Brian Havard]
2210
2211   *) Get MaxRequestsPerChild working with the Windows MPM.
2212      [Bill Stoddard]
2213
2214   *) Make generic hooks to work, with mod_generic_hook_import/export
2215      experimental modules.  [Ben Laurie, Will Rowe]
2216
2217   *) Fix segfaults for configuration file syntax errors such as
2218      "<Directory>" followed by "</Directory" and
2219      "<Directory>" followed by "</Directoryz>".  [Jeff Trawick]
2220
2221   *) Cleanup the --enable-layout option of configure.  This makes
2222      us use a consistent location for the config.layout file, and it
2223      makes configure more portable.
2224      [jun-ichiro hagino <itojun@iijlab.net>]
2225
2226   *) Changes to 'ab'; fixed int overrun's, added statistics, output in
2227      csv/gnuplot format, rudimentary ssl support and various other tweaks
2228      to make results more true to what is measured. The upshot of this it
2229      turns out that 'ab' has often underreported the true performance of
2230      apache. Often by a order of magnitude :-) See talk/paper of Sander 
2231      Temme at April ApacheCon 2001 for details.
2232      [Dirk-Willem van Gulik]
2233
2234   *) Clean up mod_cgid's temporary request pool.  Besides fixing a
2235      storage leak this ensures that some unnecessary pipes are closed.
2236      [Jeff Trawick]
2237
2238   *) Performance: Add quick_handler hook. This hook is called at the
2239      very beginning of the request processing before location_walk,
2240      translate_name, etc.  This hook is useful for URI keyed content
2241      caches like Mike Abbott's Quick Shortcut Cache.
2242      [Bill Stoddard]
2243
2244   *) top_module global variable renamed to ap_top_module [Perl]
2245
2246   *) Move ap_set_last_modified to the core.  This is a potentially 
2247      controversial change, because this is kind of HTTP specific.  However
2248      many protocols should be able to take advantage of this kind of
2249      information.  I expect that headers will need one more layer of
2250      indirection for multi-protocol work, but this is a small step in
2251      the right direction.  [Ryan Bloom]
2252
2253   *) Enable mod_status by default.  This matches what Apache 1.3 does.
2254      [Ed Korthof]
2255
2256   *) Add a ScriptSock directive to the default config file.  This is
2257      only enabled when mod_cgid is used.  
2258      [Taketo Kabe <kabe@sra-tohoku.co.jp>]
2259
2260 Changes with Apache 2.0.15
2261
2262   *) Untangled the buildconf script and eliminated the need for build's
2263      aclocal.m4, generated_lists, build.mk, build2.mk, and a host of other
2264      libtool muck that is now under srclib/apr/build.  [Roy Fielding]
2265
2266   *) Win32: Don't accept more connections than we have worker threads
2267      to handle.
2268      [Bill Stoddard]
2269
2270   *) Fix bug in the Unix threaded.c MPM that allowed child processes
2271      to fork() new child processes. 
2272      [Bill Stoddard]
2273
2274   *) Fix a major security problem with double-reverse lookup checking.  
2275      Previously, a client connecting over IPv4 would not be matched 
2276      properly when the server had an IPv6 listening socket.  PR #7407
2277      [Taketo Kabe <kiabe@sra-tohoku.co.jp>]
2278
2279   *) Change the way the beos MPM handles polling to allow it to stop and
2280      restart.  Problem was the sockets being polled were being reset by
2281      the select call, so once it had accepted a connection it was no
2282      longer listening on the UDP socket we use for shutdown instructions.
2283      APR needs to be altered, patch on it's way. [David Reid]
2284
2285   *) Empty out the brigade shared by ap_getline()/ap_get_client_block()
2286      on error exit from ap_getline().  Some other code got upset because
2287      the wrong data was in the brigade.  [Greg Ames, Jeff Trawick]
2288
2289   *) Handle ap_discard_request_body() being called more than once.
2290      [Greg Ames, Jeff Trawick]
2291
2292   *) Get rid of an inadvertent close of file descriptor 2 in
2293      mod_mime_magic.  [Greg Ames, Jeff Trawick]
2294
2295   *) Add a hook, create_request.  This hook allows modules to modify
2296      a request while it is being created.  This hook is called for all
2297      request_rec's, main request, sub request, and internal redirect.
2298      When this hook is called, the the r->main, r->prev, r->next
2299      pointers have been set, so modules can determine what kind of
2300      request this is.  [Ryan Bloom]
2301
2302   *) Cleanup the build process a bit more.  The Apache configure
2303      script no longer creates its own helper scripts, it just
2304      uses APR's.  
2305      [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
2306
2307   *) Stop the forced downgrade of the connection to HTTP/1.0 for
2308      proxy requests.  [Graham Leggett]
2309
2310   *) Avoid using sscanf to determine the HTTP protocol number in
2311      the common case because sscanf is a performance hog. From
2312      Mike Abbot's Accelerating Apache patch number 6.
2313      [Mike Abbot <mja@trudge.engr.sgi.com>, Bill Stoddard]
2314
2315   *) Fix a security exposure in mod_access.  Previously when IPv6 
2316      listening sockets were used, allow/deny-from-IPv4-address rules 
2317      were not evaluated properly (PR #7407).  Also, add the ability to 
2318      specify IPv6 address strings with optional prefix length on Allow 
2319      and Deny.  [Jeff Trawick]
2320
2321   *) Enhance rotatelogs so that a UTC offset can be specified, and
2322      the logfile name can be formatted using strftime(3).  (Brought
2323      forward from 1.3.)  [Ken Coar]
2324
2325   *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling 
2326      DuplicateHandle on an IOCompletionPort (a practice which
2327      MS "discourages"). The new model does not rely on associating
2328      the completion port with the listening sockets, thus the
2329      completion port can be completely managed within the child 
2330      process.  A dedicated thread accepts connections off the network,
2331      then calls PostQueuedCompletionStatus() to wake up worker
2332      threads blocked on the completion port.
2333      [Bill Stoddard]
2334
2335   *) Bring forward the --suexec-umask option which allows the
2336      builder to preset the umask for suexec processes.  [Ken Coar]
2337
2338   *) Add a -V flag to suexec, which causes it to display the
2339      compile-time settings with which it was built.  (Only
2340      usable by root or the AP_HTTPD_USER username.)  [Ken Coar]
2341
2342   *) Mod_include should always unset the content-length if the file is
2343      going to be passed through send_parsed_content.  There is no to
2344      determine if the content will change before actually scanning the
2345      entire content.  It is far safer to just remove the C-L as long
2346      as we are scanning it.  [Ryan Bloom]
2347
2348   *) Make sure Apache sends WWW-Authenticate during a reverse proxy
2349      request and not Proxy-Authenticate.
2350      [Graham Leggett <minfrin@sharp.fm>]
2351
2352 Changes with Apache 2.0.14
2353
2354   *) Fix content-length computation.  We ONLY compute a content-length if
2355      We are not in a 1.1 request and we cannot chunk, and this is a keepalive
2356      or we already have all the data.  [Ryan Bloom]
2357
2358   *) Report unbounded containers in the config file.  Previously, a typo
2359      in the </container> directive could result in the rest of the config
2360      file being silently ignored, with undesired defaults used.
2361      [Jeff Trawick]
2362
2363   *) Make the old_write filter use the ap_f* functions for the buffering.
2364      [Ryan Bloom]
2365
2366   *) Move more code from the http module into the core server.  This
2367      is core code, basically the default handler, the default input
2368      and output filters, and all of the core configuration directives.
2369      All of this code is required in order for the server to work, with or
2370      without HTTP.  The server is closer to working without the HTTP
2371      module, although there is still more to do.  [Ryan Bloom]
2372
2373   *) Fix a number of SGI compile warnings throughout the server.  Fix some
2374      bad parameters to apr_bucket_read().  Fix a bad statement in 
2375      ap_method_in_list().  For the mod_rewrite cache use apr_time_t 
2376      consistently; we were mixing apr_time_t and time_t in invalid ways 
2377      before.  In load_file(), call apr_dso_error() instead of 
2378      apr_strerror() so that we get a more specific string on some platforms.
2379      PR #6980  [Jeff Trawick]
2380
2381   *) Allow modules to query the MPM about it's execution profile.  This
2382      query API can and should be extended in the future, but for now,
2383      max_daemons, and threading or forking is a very good start.
2384      [Jon Travis <jtravis@covalent.net>]
2385
2386   *) Modify mod_include to send blocks of data no larger than 9k.
2387      Without this, mod_include will wait until the whole file is parsed,
2388      or the first tag is found to send any data to the client.
2389      [Paul J. Reder <rederpj@raleigh.ibm.com>]
2390
2391   *) Fix mod_info, so that <Directory> and <Location> directives are
2392      not displayed twice when displaying the current configuration.
2393      [Ryan Morgan <rmorgan@covalent.net>]
2394
2395   *) Add config directives to override DEFAULT_ERROR_MSG and
2396      DEFAULT_TIME_FORMAT.  This was sent in as PR 6193.
2397      [Dan Rench <drench@xnet.com>]
2398
2399   *) Get mod_info building and loading on Win32.  [William Rowe]
2400
2401   *) Begin to move protocol independant functions out of mod_http.  The goal
2402      is to have only functions that are HTTP specific in the http directory.
2403      [Ryan Bloom]
2404
2405 Changes with Apache 2.0.13
2406
2407   *) Don't assume that there will always be multiple calls to the byterange 
2408      filter.  It is possible that we will need to do byteranges with only
2409      one call to the filter.  [Ryan Morgan <rmorgan@covalent.net>]
2410
2411   *) Move the error_bucket definition from the http module to the
2412      core server.  Every protocol will need this ability, not just
2413      HTTP.  [Ryan Bloom]
2414
2415 Changes with Apache 2.0.12
2416
2417   *) Modify mod_file_cache to save pre-formatted strings for 
2418      content-length and last-modified headers for performance. 
2419      [Mike Abbot <mja@trudge.engr.sgi.com>]
2420
2421   *) Namespace protect IOBUFSIZ since it is exposed in the API.
2422      [Jon Travis <jtravis@covalent.net>]
2423
2424   *) Use "Basic" authentication instead of "basic" in ab, as the spec
2425      says we should.  [Andre Breiler <andre.breiler@rd.bbc.co.uk>]
2426
2427   *) Fix a seg fault in mod_userdir.c.  We used to use the pw structure
2428      without ever filling it out.  This fixes PR 7271.
2429      [Taketo Kabe <kabe@sra-tohoku.co.jp> and 
2430       Cliff Woolley <cliffwoolley@yahoo.com>]
2431
2432   *) Add a couple of GCC attribute tags to printf style functions.
2433      [Jon Travis <jtravis@covalent.net>]
2434
2435   *) Add the correct language tag for interoperation with the Taiwanese
2436      versions of MSIE and Netscape. [Clive Lin <clive@CirX.ORG>] PR#7142
2437
2438   *) Migrate the perchild MPM to use the new apr signal child, and 
2439      APR thread functions.  [Ryan Bloom]
2440
2441   *) Close one copy of the CGI's stdout before creating the new process.
2442      The CGI will still have stdout, because we have already dup'ed it.
2443      This keeps Apache from waiting forever to send the results of a CGI
2444      process that has forked a long-lived child process.
2445      [Taketo Kabe <kabe@sra-tohoku.co.jp>]
2446
2447   *) Remove the rest of the pthreads functions from the threaded MPM.
2448      This requires the APR support for a signal thread that was just
2449      added.  [Ryan Bloom]
2450
2451   *) Make mod_dir use a fixup for sending a redirect to the browser.
2452      Before this, we were using a handler, which doesn't make much
2453      sense, because the handler wasn't generating any data, it would
2454      either return a redirect error code, or DECLINED.  This fits the
2455      current hooks better.  [Ryan Morgan <rmorgan@covalent.net>]
2456
2457   *) Make the threaded MPM use APR threads instead of pthreads.
2458      [Ryan Bloom]
2459
2460   *) Get mod_tls to the point where it actually appears to work in all cases.
2461      [Ben Laurie]
2462
2463   *) implement --enable-modules and --enable-mods-shared for "all" and
2464      "most".  [Greg Stein]
2465
2466   *) Move the threaded MPM to use APR locks instead of pthread locks.
2467      [Ryan Bloom]
2468
2469   *) Rename mpmt_pthread to threaded.  This is more in line with the
2470      fact that mpmt_pthread shouldn't be using pthreads directly, and
2471      it is a smaller name that doesn't tie into anything.
2472      [Ryan Bloom]
2473
2474   *) Rename the module structures so that the exported symbol matches
2475      the file name, and it is easier to automate the installation
2476      process (generating LoadModule directives from the module filenames).
2477      [Martin Kraemer]
2478
2479   *) Remove the coalesce filter.  With the ap_f* functions, this filter
2480      is no longer needed. [Ryan Bloom]
2481
2482 Changes with Apache 2.0.11
2483
2484   *) Remove the dexter MPM.  Perchild is the same basic idea, but it has the
2485      added feature of allowing a uid/gid per child process.  If no
2486      uid/gid is specified, then Perchild behaves exactly like dexter.
2487      [Ryan Bloom]
2488
2489   *) Get perchild building again. [Ryan Bloom]
2490
2491   *) Don't disable threads just because we are using the prefork MPM.
2492      If somebody wants to compile without threads, they must now add
2493      --disable-threads to the configure command line.  [Ryan Bloom]
2494
2495   *) Begin to move the calls to update_child_status into common code, so
2496      that each individual MPM does not need to update the scoreboard itself.
2497      [Ryan Bloom]
2498
2499   *) Allow mod_tls to compile under Unix boxes where openssl has been
2500      installed to the system include files.
2501      [Gomez Henri <new-httpd@slib.fr>]
2502
2503   *) Cleanup the mod_tls configure process.  This should remove any need
2504      to hand-edit any files.  We require OpenSSL 0.9.6 or later, but 
2505      configure doesn't check that yet.  [Ryan Bloom]
2506
2507   *) Add a very early prototype of SSL support (in mod_tls.c). It is
2508      vital that you read modules/tls/README before attempting to build
2509      it. [Ben Laurie]
2510
2511   *) Fix a potential seg fault on all platforms.  David Reid fixed this
2512      on BEOS, but the problem could happen anywhere, so we don't want
2513      to #ifdef it. [Cliff Woolley <cliffwoolley@yahoo.com>]
2514  
2515   *) Add new LogFormat directive, %D, to log time it takes to serve a
2516      request in microseconds. [Bill Stoddard]
2517
2518   *) Change AddInputFilter and AddOutputFilter to SetInputFilter and
2519      SetOutputFilter.  This corresponds nicely with the other Set 
2520      directives, which operate on containers while the Add* directives
2521      tend to work directly on extensions.  [Ryan Bloom]
2522
2523   *) Cleanup the header handling a bit.  This uses the apr_brigade_*
2524      functions for the buffering so that we don't need to compute
2525      the length of the headers before we actually create the header
2526      buffer.  [Ryan Bloom]
2527
2528   *) Allow filters to buffer data using the ap_f* functions.  These have
2529      become macros that resolve directly to apr_brigade_*.  
2530      [Ryan Bloom]
2531
2532   *) Get the Unix MPM's to do a graceful restart again.  If we are going
2533      to register a cleanup with ap_cleanup_scoreboard, then we have to
2534      kill the cleanup with the same function,  and that function can't be
2535      static.  [Ryan Bloom]
2536
2537   *) Install all required header files.  Without these, it was not
2538      possible to compile some modules outside of the server.
2539      [Ryan Bloom]
2540
2541   *) Fix the AliasMatch directive in Apache 2.0.  When we brought a patch
2542      forward from 1.3 to 2.0, we missed a single line, which broke regex
2543      aliases.  [Ryan Bloom]
2544
2545   *) We have a poor abstraction in the protocol.  This is a temporary
2546      hack to fix the bug, but it will need to be fixed for real.  If
2547      we find an error while sending out a custom error response, we back
2548      up to the first non-OK request and send the data.  Then, when we send
2549      the EOS from finalize_request_protocol, we go to the last request,
2550      to ensure that we aren't sending an EOS to a request that has already
2551      received one.  Because the data is sent on a different request than
2552      the EOS, the error text never gets sent down the filter stack.  This
2553      fixes the problem by finding the last request, and sending the data
2554      with that request.  [Ryan Bloom]
2555
2556   *) Make the server status page show the correct restart time, and
2557      thus the proper uptime. [Ryan Bloom]
2558
2559   *) Move the CGI creation logic from mod_include to mod_cgi(d).  This
2560      should reduce the amount of duplicate code that is required to
2561      create CGI processes.
2562      [Paul J. Reder <rederpj@raleigh.ibm.com>]
2563
2564   *) ap_new_connection() closes the socket and returns NULL if a socket
2565      call fails.  Usually this is due to a connection which has been 
2566      reset.  [Jeff Trawick]
2567
2568   *) Move the Apache version information out of httpd.h and into release.h.
2569      This is in preparation for the first tag with the new tag and release
2570      system.  [Ryan Bloom]
2571
2572   *) Begin restructuring scoreboard code to enable adding back in
2573      the ability to use IPC other than shared memory.
2574      Get mod_status working on Windows again. [Bill Stoddard]
2575
2576   *) Make mod_status work with 2.0.  This will work for prefork,
2577      mpmt_pthread, and dexter.  [Ryan Bloom]
2578
2579   *) Correct a typo in httpd.conf.
2580      [Kunihiro Tanaka <tanaka@apache.or.jp>] PR#7154 
2581
2582   *) Really fix mod_rewrite map lookups this time. [Tony Finch]
2583
2584   *) Get the correct IP address if ServerName isn't set and we can't
2585      find a fully-qualified domain name at startup.
2586      PR#7170 [Danek Duvall <dduvall@eng.sun.com>]
2587
2588   *) Make mod_cgid work with SuExec.  [Ryan Bloom]
2589
2590   *) Adopt apr user/group name features for mod_rewrite.  Eliminates some
2591      'extra' stat's for user/group since they should never occur, and now
2592      resolves the SCRIPT_USER and SCRIPT_GROUP, including on WinNT NTFS
2593      volumes.  [William Rowe]
2594
2595   *) Adopt apr features to simplify mod_includes.  This changes the
2596      behavior of the USER_NAME variable, unknown uid's are now reported
2597      as USER_NAME="<unknown>" rather than the old user#000 result.
2598      WinNT now resolves USER_NAME on NTFS volumes.  [William Rowe]
2599
2600   *) Adopt apr features for simplifing mod_userdir, and accept the new
2601      Win32/OS2 exceptions without hiccuping.  [William Rowe]
2602
2603   *) Replace configure --with-optim option by using and saving the
2604      environment variable OPTIM instead.  This is needed because configure
2605      options do not support multiple flags separated by spaces.
2606      [Roy Fielding]
2607
2608   *) Fix some byterange handling.  If we get a byte range that looks like
2609      "-999999" where that is past the end of the file, we should return 
2610      a PARTIAL CONTENT status code, and return the whole file as one big
2611      byterange.  This matches the 1.3 handling now.  [Ryan Bloom]
2612
2613   *) Make the error bucket a real meta-data bucket.  This means that the
2614      bucket length is 0, and a read returns NULL data.  If one of these
2615      buckets is passed down after the headers are sent, this data will
2616      just be ignored.  [Greg Stein]
2617
2618   *) The prefork MPM wasn't killing child processes correctly if a restart
2619      signal was received while the process was serving a request.  The child
2620      process would become the equivalent of a second parent process.  If
2621      we break out of the accept loop, then we need to do die after cleaning
2622      up after ourselves.  [Ryan Bloom]
2623
2624   *) Change the Prefork MPM to use SIGWINCH instead of SIGUSR1 for graceful
2625      restarts.  [Ryan Bloom]
2626
2627   *) Modify the apr_stat/lstat/getfileinfo calls within apache to use
2628      the most optimal APR_FINFO_wanted bits.  This spares Win32 from
2629      performing very expensive owner, group and permission lookups
2630      and allows the server to function until these apr_finfo_t fields
2631      are implemented under Win32.  [William Rowe]
2632
2633   *) Support for typedsafe optional functions - that is functions exported by
2634      optional modules, which, therefore, may or may not be present, depending
2635      on configuration. See the experimental modules mod_optional_fn_{ex,im}port
2636      for sample code. [Ben Laurie]
2637
2638   *) filters can now report an HTTP error to the server.  This is done
2639      by sending a brigade where the first bucket is an error_bucket.
2640      This bucket is a simple bucket that stores an HTTP error and
2641      a string.  Currently the string is not used, but it may be needed
2642      to output an error log.  The http_header_filter will find this
2643      bucket, and output the error text, and then return 
2644      AP_FILTER_ERROR, which informs the server that the error web page
2645      has already been sent.  [Ryan Bloom]
2646
2647   *) If we get an error, then we should remove all filters except for
2648      those critical to serving a web page.  This fixes a bug, where
2649      error pages were going through the byterange filter, even though
2650      that made no sense.  [Ryan Bloom]
2651
2652   *) Relax the syntax checking of Host: headers in order to support
2653      iDNS. PR#6635 [Tony Finch]
2654
2655   *) Cleanup the byterange filter to use the apr_brigade_partition
2656      and apr_bucket_copy functions.  This removes a lot of very messy
2657      code, and hopefully makes this filter more stable.
2658      [Ryan Bloom]
2659
2660   *) Remove AddModule and ClearModuleList directives.  Both of these
2661      directives were used to ensure that modules could be enabled
2662      in the correct order.  That requirement is now gone, because
2663      we use hooks to ensure that modules are in the correct order.
2664      [Ryan Bloom]
2665
2666   *) When SuExec is specified, we need to add it to the list of
2667      targets to be built.  If we don't, then any changes to the
2668      configuration won't affect SuExec, unless 'make suexec' is
2669      specifically run.  [Ryan Bloom]
2670
2671   *) Cleaned out open_file from mod_file_cache, as apr now accepts
2672      the APR_XTHREAD argument to open a file for consumption by
2673      parallel threads on win32.  [William Rowe]
2674
2675   *) Correct a bug in determining when we follow symlinks.  The code
2676      expected a stat -1 result, not an apr_status_t positive error.
2677      Also check if the APR_FINFO_USER fields are valid before we
2678      follow the link.  [William Rowe]
2679
2680   *) Move initgroupgs, ap_uname2id and ap_gname2id from util.c to
2681      mpm_common.c.  These functions are only valid on some platforms,
2682      so they should not be in the main-line code. [Ryan Bloom]
2683
2684   *) Remove ap_chdir_file().  This function is not thread-safe,
2685      and nobody is currently using it.  [Ryan Bloom]
2686
2687   *) Do not try to run make depend if there are no .c files in the
2688      current directory, doing so makes `make depend` fail.
2689      [Ryan Bloom]
2690
2691    *) Update highperformance.conf to work with either prefork or
2692       pthreads mpms.  [Greg Ames] 
2693
2694   *) Stop checking to see if this is a pipelined request if we know
2695      for a fact that it isn't.  Basically, if r->connection->keepalive == 0.
2696      This keeps us from making an extra read call when serving a 1.0
2697      request.  [Ryan Bloom and Greg Stein]
2698
2699   *) Fix the handling of variable expansion look-ahead in mod_rewrite,
2700      i.e. syntax like %{LA-U:REMOTE_USER}, and also fix the parsing of
2701      more complicated nested RewriteMap lookups. PR#7087 [Tony Finch]
2702
2703   *) Fix the RFC number mentioned when complaining about a missing
2704      Host: header. PR#7079 [Alexey Toptygin <alexeyt@wam.umd.edu>]
2705
2706   *) Fix an endless loop in ab which occurred when ab was posting
2707      and the server dropped the connection unexpectedly.
2708      [Jeff Trawick]
2709
2710   *) Fix a segfault while handling request bodies in ap_http_filter().  
2711      This problem has been seen with mod_dav usage as well as with 
2712      requests where the body was just being discarded.  [Jeff Trawick]
2713
2714   *) Some adjustment on the handling and automatic setting (via
2715      hints.m4) of various compilation flags (eg: CFLAGS). Also,
2716      add the capability to specify flags (NOTEST_CFLAGS and
2717      NOTEST_LDFLAGS) which are used to compile Apache, but
2718      not used during the configuration process. Useful for
2719      flags like "-Werror". [Jim Jagielski]
2720
2721   *) Stop using environment variables to force debug mode or
2722      no detach.  We now use the -D command line argument to 
2723      specify the correct mode.  -DONE_PROCESS and -DNO_DETACH.
2724      [Greg Stein, Ryan Bloom]
2725
2726   *) Change handlers to use hooks. [Ben Laurie]
2727
2728   *) Stop returning copies of filenames from both apr_file_t and
2729      apr_dir_t.  We pstrdup the filenames that we store in the
2730      actual structures, so we don't need to pstrdup the strings again.
2731      [Ryan Bloom]
2732
2733   *) mod_cgi: Fix some problems where the wrong error value was being
2734      traced.  [Jeff Trawick]
2735
2736   *) EBCDIC: Fix some missing ASCII conversion on some protocol data.
2737      [Jeff Trawick]
2738
2739   *) Add generic hooks. [Ben Laurie]
2740
2741   *) Use a real pool to dup the error log descriptor.  [Ryan Bloom]
2742
2743   *) Fix a segfault caused by mod_ext_filter when the external filter 
2744      program does not exist. [Jeff Trawick]
2745
2746   *) Fix an output truncation error when on an HTTP >= 1.0 request an
2747      object of size between DEFAULT_BUCKET_SIZE and AP_MIN_BYTES_TO_WRITE 
2748      was served through mod_charset_lite (or anything else that would
2749      create a transient bucket in this size range).  ap_bucket_make_heap()
2750      silently failed (fixed), transient_setaside() discovered it, but
2751      ap_save_brigade() ignored it (fixed). [Jeff Trawick]
2752      
2753   *) Ignore \r\n or \n when using PEEK mode for input filters.  The problem
2754      is that some browsers send extra lines at the end of POST requests, and
2755      we don't want to delay sending data back to the user just because the
2756      browser isn't well behaved. [Ryan Bloom]
2757
2758   *) Get SuEXEC working again.  We can't send absolute paths to suExec
2759      because it refuses to execute those programs.  SuEXEC also wasn't
2760      always recognizing configuration changes made using the autoconf
2761      setup.  [Ryan Bloom]
2762
2763   *) Allow the buildconf process to find the config.m4 files in the correct
2764      order.  Basically, we can now name config.m4 files as config\d\d.m4,
2765      and we will sort them correctly when inserting them into the build
2766      process.  [Ryan Bloom]
2767
2768   *) Get mod_cgid to use apr calls for creating the actual CGI process.
2769      This also allows mod_cgid to use ap_os_create_priviledged_process,
2770      thus allowing for SuExec execution from mod_cgid.  Currently, we do
2771      not support everything that standard SuExec supports, but at least
2772      it works minimally now. [Ryan Bloom]
2773
2774   *) Allow SuExec to be configured from the ./configure command line.
2775      [Ryan Bloom]
2776
2777   *) Update some of the docs in README and INSTALL to reflect some of
2778      the changes in Apache 2.0 [Cliff Woolley <cliffwoolley@yahoo.com>]
2779
2780   *) If we get EAGAIN returned from the call to apr_sendfile, then we
2781      need to call sendfile again.  This gets us serving large files
2782      such as apache_2.0a9.tar.gz on FreeBSD again. [Ryan Bloom]
2783
2784   *) Get the support programs building cleanly again.
2785      [Cliff Woolley <cliffwoolley@yahoo.com>]
2786
2787   *) The Apache/Win32 Apache.exe and dll's now live in bin.  The 
2788      current directory logic now backs up over bin/ to determine the
2789      server root from the Apache.exe path.
2790
2791   *) Apache/Win32 now follows the standard conventions of mod_foo.so
2792      loadable modules, dynamic libs are all named libfoo.dll, and the
2793      makefile.win populates the include, lib and libexec directories.
2794
2795   *) Apache is now IPv6-capable.  On systems where APR supports IPv6,
2796      Apache gets IPv6 listening sockets by default.  Additionally, the
2797      Listen, NameVirtualHost, and <VirtualHost> directives support IPv6
2798      numeric address strings (e.g., "Listen [fe80::1]:8080").
2799      [Jeff Trawick]
2800
2801   *) Modify the install directory layout.  Modules are now installed in
2802      modules/.  Shared libraries should be installed in libraries/, but
2803      we don't have any of those on Unix yet.  All install directories
2804      are modifyable at configure time. [Ryan Bloom]
2805
2806   *) Install all header files in the same directory on Unix. [Ryan Bloom]
2807
2808   *) Get the functions in server/linked into the server, regardless of
2809      which modules linked into the server.  This uses the same hack 
2810      for Apache that we use for APR and apr-util to ensure all of the
2811      necessary functions are linked.  As a part of thise, the CHARSET_EBCDIC
2812      was renamed to AP_CHARSET_EBCDIC for namespace protection, and to make
2813      the scripts a bit easier.
2814      [Ryan Bloom]
2815
2816   *) Rework the RFC1413 handling to make it thread-safe, use a timeout
2817      on the query, and remove IPv4 dependencies.  [Jeff Trawick]
2818
2819   *) Get all of the auth modules to the point that they will install and
2820      be loadable into the server.  Our new build/install mechanism expects
2821      that all modules will have a common name format.  The auth modules 
2822      didn't use that format, so we didn't install them properly.
2823      [Ryan Bloom]
2824
2825   *) API routines ap_pgethostbyname() and ap_pduphostent() are no longer
2826      available.  Use apr_getaddrinfo() instead.  [Jeff Trawick]
2827
2828   *) Get "NameVirtualHost *" working in 2.0.  [Ryan Bloom]
2829
2830   *) Return HTTP_RANGE_NOT_SATISFIABLE if the every range requested starts
2831      after the end of the response. [Ryan Bloom]
2832
2833   *) Get byterange requests working with responses that do not have a
2834      content-length.  Because of the way byterange requests work, we have to
2835      have all of the data before we can actually do the byterange, so we
2836      can compute the content-length in the byterange filter.
2837      [Ryan Bloom]
2838
2839   *) Get exe CGI's working again on Windows.
2840      [Allan Edwards]
2841
2842   *) Get mod_cgid and mod_rewrite to work as DSOs by changing the way
2843      they keep track of whether or not their  post config hook has been
2844      called before.  Instead of a static variable (which is replaced when 
2845      the DSO is loaded a second time), use userdata in the process pool.
2846      [Jeff Trawick]
2847
2848 Changes with Apache 2.0a9
2849
2850   *) Win32 now requires perl to complete the final install step for users
2851      to build + install on Win32.  Makefile.win now rewrites @@ServerRoot@
2852      and installs the conf, htdocs and htdocs/manual directories.
2853      [William Rowe]
2854
2855   *) Make mod_include use a hash table to associate directive tags with
2856      functions.  This allows modules to implement their own SSI tags easily.
2857      The idea is simple enough, a module can insert it's own tag and function
2858      combination into a hash table provided by mod_include.  While mod_include
2859      parses an SSI file, when it encounters a tag in the file, it does a
2860      hash lookup to find the function that implements that tag, and passes
2861      all of the relevant data to the function.  That function is then
2862      responsible for processing the tag and handing the remaining data back
2863      to mod_include for further processing.
2864      [Paul J. Reder <rederpj@raleigh.ibm.com>]
2865
2866   *) Get rid of ap_new_apr_connection().  ap_new_connection() now has 
2867      fewer parameters: the local and remote socket addresses were removed
2868      from the parameter list because all required information is available
2869      via the APR socket.  [Jeff Trawick]
2870
2871   *) Distribution directory structure reorganized to reflect a
2872      normal source distribution with external install targets.
2873      [Roy Fielding]
2874
2875   *) The MPMs that need multiple segments of shared memory now create
2876      two apr_shmem_t variables, one for each shared memory allocation.
2877      the problem is that we can't determine how much memory will be required
2878      for shared memory allocations once we try to allocate more than one
2879      variable.  The MM code automatically aligns the shared memory allocations,
2880      so we end up needing to pad the amount of shared memory we want based
2881      on how many variables will be allocated out of the shared memory segment.
2882      It is just easier to create a second apr_shmem_t variable, and two
2883      shmem memory blocks.
2884      [Ryan Bloom]
2885
2886   *) Cleanup the export list a bit.  This creates a single unified list of
2887      functions exported by APR.  The export list is generated at configure
2888      time, and that list is then used to generate the exports.c file.
2889      Because of the way the export list is generated, we only export those
2890      functions that are valid on the platform we are building on.
2891      [Ryan Bloom]
2892
2893   *) Enable logging the cookie with mod_log_config
2894      [Sander van Zoest <sander@covalent.net>]
2895
2896   *) Fix a segfault in mod_info when it reaches the end of the configuration.
2897      [Jeff Trawick]
2898
2899   *) Added lib/aputil/ as a placeholder for utility functions which are not
2900      specific to the Apache HTTP Server (but do not make sense with APR).
2901      The first utility is "apu_dbm": a set of functions to work with DBM
2902      files. This first version can be compiled for SDBM or GDBM databases.
2903      [Greg Stein]
2904
2905   *) Complete re-write of mod_include.  This makes mod_include a filter that
2906      uses buckets directly.  This has now served the FAQ correctly.
2907      [Paul Reder <rederpj@raleigh.ibm.com>]
2908
2909   *) Allow modules to specify the first filter in a sub_request when
2910      making the sub_request.  This keeps modules from having to change the
2911      output_filter immediately after creating the sub-request, and therefore
2912      skip the sub_req_output_filter.  [Ryan Bloom]
2913
2914   *) Update ab to accept URLs with IPv6 literal address strings (in the
2915      format described in RFC 2732), and to build Host header fields in
2916      the same format.  This allows IPv6 literal address strings to be
2917      used with ab.  This support has been tested against Apache 1.3 with 
2918      the KAME patch, but Apache 2.0 does not yet work with this format
2919      of the Host header field.  [Jeff Trawick]
2920
2921   *) Accomodate an out-of-space condition in the piped logs and the
2922      rotatelogs.c code, and no longer churn log processes for this
2923      condition.  [Victor J. Orlikowski]
2924
2925   *) Add support for partial writes with apr_sendfile() to core_output_filter.
2926      [Greg Ames] 
2927
2928 Changes with Apache 2.0a8
2929
2930   *) Add a directive to mod_mime so that filters can be associated with
2931      a given mime-type.
2932      [Ryan Bloom]
2933
2934   *) Get multi-views working again.  We were setting the path_info
2935      field incorrectly if we couldn't find the specified file.
2936      [Ryan Bloom]
2937
2938   *) Fix 304 processing.  The core should never try to send the headers
2939      down the filter stack.  Always, just setup the table in the request
2940      record, and let the header filter convert it to data that is ready
2941      for the network.
2942      [Ryan Bloom]
2943
2944   *) More fixes for the proxy.  There are still bugs in the proxy code,
2945      but this has now proxied www.yahoo.com and www.ntrnet.net (my ISP)
2946      successfully.
2947      [Ryan Bloom]
2948
2949   *) Fix params for apr_getaddrinfo() call in connect proxy handler.
2950      [Chuck Murcko]
2951
2952   *) APR: Add new apr_getopt_long function to handle long options.
2953      [B. W. Fitzpatrick <fitz@red-bean.com>]
2954
2955   *) APR: Change apr_connect() to take apr_sockaddr_t instead of hostname.
2956      Add generic apr_create_socket().  Add apr_getaddrinfo() for doing
2957      hostname resolution/address string parsing and building
2958      apr_sockaddr_t.  Add apr_get_sockaddr() for getting the address
2959      of one of the apr_sockaddr_t structures for a socket.  Change
2960      apr_bind() to take apr_sockaddr_t.  [David Reid and Jeff Trawick]
2961
2962   *) Remove the BUFF from the HTTP proxy.  This is still a bit ugly, but
2963      I have proxied pages with it, cleanup will commence soon.
2964      [Ryan Bloom]
2965
2966   *) Make the proxy work with filters.  This isn't perfect, because we
2967      aren't dealing with the headers properly.  [Ryan Bloom]
2968
2969   *) Do not send a content-length iff the C-L is 0 and this is a head
2970      request.  [Ryan Bloom]
2971
2972   *) Make cgi-bin work as a regular directory when using mod_vhost_alias
2973      with no VirtualScriptAlias directives. PR#6829 [Tony Finch]
2974
2975   *) Remove BUFF from the PROXY connect handling. [Ryan Bloom]
2976
2977   *) Get the default_handler to stop trying to deal with HEAD requests.
2978      The idea is to let the content-length filter compute the C-L before
2979      we try to send the data.  If we can get the C-L correctly, then we
2980      should send it in the HEAD response.
2981      [Ryan Bloom]
2982      
2983   *) The Header filter can now determine if a body should be sent based
2984      on r->header_only.  The general idea of this is that if we delay
2985      deciding to send the body, then we might be able to compute the
2986      content-length correctly, which will help caching proxies to cache
2987      our data better.  Any handler that doesn't want to try to compute
2988      the content-length can just send an EOS bucket without data and
2989      everything will just work.
2990      [Ryan Bloom]
2991
2992   *) Add the referer to the error log if one is available.
2993      [Markus Gyger <mgyger@itr.ch>]
2994
2995   *) Mod_info.c has now been ported to Apache 2.0.  As a part of this
2996      change, the root of the configuration tree has been exposed to modules
2997      as ap_conftree.
2998      [Ryan Morgan <rmorgan@covalent.net>]
2999
3000   *) Get the core_output_filter to use the bucket interface directly.
3001      This keeps us from calling the content-length filter multiple times
3002      for a simple static request.
3003      [Ryan Bloom]
3004
3005   *) We are sending the content-type correctly now.
3006      [Ryan Bloom and Will Rowe]
3007
3008   *) APR on FreeBSD: Fix a bug in apr_sendfile() which caused us to report
3009      a bogus bytes-sent value when the only thing being sent was trailers
3010      and writev() returned an error (or EAGAIN).  [Jeff Trawick]
3011
3012   *) Get SINGLE_LISTEN_UNSERIALIZED_ACCEPT working again.  This uses the
3013      hints file to determine which platforms define 
3014      SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
3015      [Ryan Bloom]
3016
3017   *) APR: add apr_get_home_directory()  [Jeff Trawick]
3018
3019   *) Initial import of 1.3-current mod_proxy. [Chuck Murcko]
3020
3021   *) Not all platforms have INADDR_NONE defined by default.  Apache
3022      used to make this check and define INADDR_NONE if appropriate,
3023      but APR needs the check too, and I suspect other applications will
3024      as well.  APR now defines APR_INADDR_NONE, which is always a valid
3025      value on all platforms.
3026      [Branko Èibej <brane@xbc.nu>]
3027
3028   *) Destroy the pthread mutex in lock_intra_cleanup() for PR#6824.
3029      [Shuichi Kitaguchi <ki@hh.iij4u.or.jp>] 
3030
3031   *) Relax the syntax checking of Host: headers in order to support
3032      iDNS. PR#6635 [Tony Finch]
3033
3034   *) When reading from file buckets we convert to an MMAP if it makes
3035      sense.  This also simplifies the default handler because the
3036      default handler no longer needs to try to create MMAPs.
3037      [Ryan Bloom]
3038
3039   *) BUFF has been removed from the main server.  The BUFF code will remain
3040      in the code until it has been purged from the proxy module as well.
3041      [Ryan Bloom]
3042
3043   *) Byteranges have been completely re-written to be a filter.  This
3044      has been tested, and I believe it is working correctly, but it could
3045      doesn't work for the Adobe Acrobat plug-in.  The output almost matches
3046      the output from 1.3, the only difference being that 1.3 includes
3047      a content-length in the response, and this does not.
3048      [Ryan Bloom]
3049
3050   *) APR read/write functions and bucket read functions now operate
3051      on unsigned integers, instead of signed ones.  It doesn't make
3052      any sense to use signed ints, because we return the error codes,
3053      so if we have an error we should report 0 bytes read or written.
3054      [Ryan Bloom]
3055
3056   *) Always compute the content length, whether it is sent or not.
3057      The reason for this, is that it allows us to correctly report
3058      the bytes_sent when logging the request.  This also simplifies
3059      content-length filter a bit, and fixes the actual byte-reporing
3060      code in mod_log_config.c
3061      [Ryan Bloom]
3062
3063   *) Remove AP_END_OF_BRIGADE definition.  This does not signify what
3064      it says, because it was only used by EOS and FLUSH buckets.  Since
3065      neither of those are required at the end of a brigade, this was
3066      really signifying FLUSH_THE_DATA, but that can be determined better
3067      by checking AP_BUCKET_IS_EOS() or AP_BUCKET_IS_FLUSH.  EOS and FLUSH
3068      buckets now return a length of 0, which is actually the amount of data
3069      read, so they make more sense.
3070      [Ryan Bloom]
3071
3072   *) Allow the core_output_filter to save some data past the end of a
3073      request.  If we get an EOS bucket, we only send the data if it 
3074      makes sense to send it.  This allows us to pipeline request
3075      responses.  As a part of this, we also need to allocate mmap
3076      buckets out of the connection pool, not the request pool.  This
3077      allows the mmap to outlive the request.
3078      [Ryan Bloom]
3079
3080   *) Make blocking and non-blocking bucket reads work correctly for
3081      sockets and pipes.  These are the only bucket types that should
3082      have non-blocking reads, because the other bucket types should
3083      ALWAYS be able to return something immediately.
3084      [Ryan Bloom]
3085
3086   *) In the Apache/Win32 console window, accept Ctrl+C to stop the 
3087      server, but use Ctrl+Break to initiate a graceful restart 
3088      instead of duplicating behavior. [John Sterling]
3089
3090   *) Patch mod_autoindex to set the Last-Modified header based on
3091      the directory's mtime, and add the ETag header.  [William Rowe]
3092
3093   *) Merge the 1.3 patch to add support for logging query string in 
3094      such a way that "%m %U%q %H" is the same as "%r".
3095      [Bill Stoddard]
3096
3097   *) Port three log methods from mod_log_config 1.3 to 2.0: 
3098      CLF compliant '-' byte count, method and protocol.
3099      [Bill Stoddard]
3100
3101   *) Add a new LogFormat directive, %c, that will log connection
3102      status at the end of the response as follows:
3103      'X' - connection aborted before the response completed.
3104      '+' - connection may be kept-alive by the server.
3105      '-' - connection will be closed by the server.
3106      [Bill Stoddard]
3107
3108   *) Expand APR for WinNT to fully accept and return utf-8 encoded
3109      Unicode file names and paths for Win32, and tag the Content-Type 
3110      from mod_autoindex to reflect that charset if the the feature
3111      macro APR_HAS_UNICODE_FS is true.  [William Rowe]
3112
3113   *) Compute the content length (and add appropriate header field) for
3114      the response when no content length is available and we can't use 
3115      chunked encoding.  [Jeff Trawick]
3116
3117   *) Changed ap_discard_request_body() to use REQUEST_CHUNKED_DECHUNK,
3118      so that content input filters get dechunked data when using
3119      the default handler. Also removed REQUEST_CHUNKED_PASS.
3120      [Sascha Schumann]
3121      
3122   *) Add mod_ext_filter as an experimental module.  This module allows
3123      the administrator to use external programs as filters.  Currently,
3124      only filtering of output is supported.  [Jeff Trawick]
3125
3126   *) Most Apache functions work on EBCDIC machines again, as protocol
3127      data is now translated (again).  [Jeff Trawick]
3128
3129   *) Introduce ap_xlate_proto_{to|from}_ascii() to clean up some of
3130      the EBCDIC support.  They are noops on ASCII machines, so this
3131      type of translation doesn't have to be surrounded by #ifdef
3132      CHARSET_EBCDIC.  [Jeff Trawick]
3133
3134   *) Fix mod_include.  tag commands work again, and the server will
3135      send the FAQ again.  This also allows mod_include to set aside
3136      buckets that include partial buckets.
3137      [Ryan Bloom and David Reid]
3138
3139   *) Add suexec support back.  [Manoj Kasichainula]
3140
3141   *) Lingering close now uses the socket directly instead of using
3142      BUFF.  This has been tested, but since all we can tell is that it
3143      doesn't fail, this needs to be really hacked on.
3144      [Ryan Bloom]
3145
3146   *) Allow filters to modify headers and have those headers be sent to
3147      the client.  The idea is that we have an http_header filter that
3148      actually sends the headers to the network.  This removes the need
3149      for the BUFF to send headers.
3150      [Ryan Bloom]
3151
3152   *) Charset translation: mod_charset_lite handles translation of
3153      request bodies.  Get rid of the xlate version of ap_md5_digest()
3154      since we don't compute digests of filtered (e.g., translated) 
3155      response bodies this way anymore.  (Note that we don't do it at
3156      all at the present; somebody needs to write a filter to do so.)
3157      [Jeff Trawick]
3158
3159   *) Input filters and ap_get_brigade() now have a input mode parameter 
3160      (blocking, non-blocking, peek) instead of a length parameter.
3161      [hackathon]
3162
3163   *) Update the mime.types file to the registered media types as
3164      of 2000-10-19. PR#6613 [Carsten Klapp <carsten.klapp@home.net>,
3165      Tony Finch]
3166
3167   *) Namespace protect some macros declared in ap_config.h
3168      [Ryan Bloom]
3169
3170   *) Support HTTP header line folding with input filtering.
3171      [Greg Ames]
3172
3173   *) Mod_include works again.  This should still be re-written, but at
3174      least now we can serve an SHTML page again.
3175      [Ryan Bloom]
3176
3177   *) Begin to remove BUFF from the core.  Currently, we keep a pointer
3178      to both the BUFF and the socket in the conn_rec.  Functions that
3179      want to use the BUFF can, functions that want to use the socket,
3180      can.  They point to the same place.
3181      [Ryan Bloom]
3182
3183   *) apr_psprintf doesn't understand %lld as a format.  Make it %ld.
3184      [Tomas "Ögren" <stric@ing.umu.se>]
3185
3186   *) APR pipes on Unix and Win32 are now cleaned up automatically when the 
3187      associated pool goes away.  (APR pipes on OS/2 were already had this
3188      logic.)  This resolvs a fatal file descriptor leak with CGIs.  
3189      [Jeff Trawick]
3190
3191   *) The final line of the config file was not being read if there was
3192      no \n at the end of it.  This was caused by apr_fgets returning 
3193      APR_EOF even though we had read valid data.  This is solved by
3194      making cfg_getline check the buff that was returned from apr_fgets.
3195      If apr_fgets return APR_EOF, but there was data in the buf, then we
3196      return the buf, otherwise we return NULL.
3197      [Ryan Bloom]
3198
3199   *) Piped logs work again in the 2.0 series.
3200      [Ryan Bloom]
3201
3202   *) Restore functionality broken by the mod_rewrite security fix:
3203      rewrite map lookup keys and default values are now expanded
3204      so that the lookup can depend on the requested URI etc.
3205      PR #6671 [Tony Finch]
3206
3207   *) Tighten up the syntax checking of Host: headers to fix a
3208      security bug in some mass virtual hosting configurations
3209      that can allow a remote attacker to retrieve some files
3210      on the system that should be inaccessible. [Tony Finch]
3211
3212   *) Add a pool bucket type.  This bucket is used for data allocated out
3213      of a pool.  If the pool is cleaned before the bucket is destroyed, then
3214      the data is converted to a heap bucket, allowing it to survive the
3215      death of the pool.
3216      [Ryan Bloom]
3217
3218   *) Add a flush bucket.  This allows modules to signal that the filters
3219      should all flush whatever data they currently have.  There is no way
3220      to actually force them to do this, so if a filter ignores this bucket,
3221      that's life, but at least we can try with this.
3222      [Ryan Bloom]
3223
3224   *) Add an output filter for sub-requests.  This filter just strips the
3225      EOS bucket so that we don't confuse the main request's core output
3226      filter by sending multiple EOS buckets.  This change also makes sub
3227      requests start to send EOS buckets when they are finished.
3228      [Ryan Bloom]
3229
3230   *) Make ap_bucket_(read|destroy|split|setaside) into macros.  Also
3231      makes ap_bucket_destroy a return void, which is okay because it
3232      used to always return APR_SUCCESS, and nobody ever checked its
3233      return value anyway.
3234      [Cliff Woolley <cliffwoolley@yahoo.com>]
3235
3236   *) Remove the index into the bucket-type table from the buckets
3237      structure.  This has now been replaced with a pointer to the
3238      bucket_type.  Also add some macros to test the bucket-type.
3239      [Ryan Bloom]
3240
3241   *) Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
3242      for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
3243      and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
3244      All _VAR_ flavors changes to _DATA to be absolutely clear.
3245      [William Rowe]
3246
3247   *) Add support for /, //, //servername and //server/sharename 
3248      parsing of <Directory> blocks under Win32 and OS2.
3249      [Tim Costello, William Rowe, Brian Harvard]
3250
3251   *) Remove the function pointers from the ap_bucket type.  They have been
3252      replaced with a global table.  Modules are allowed to register bucket
3253      types and use then use those buckets.
3254      [Ryan Bloom]
3255
3256   *) mod_cgid: In the handler, shut down the Unix socket (only for write) 
3257      once we finish writing the request body to the cgi child process; 
3258      otherwise, the client doesn't hit EOF on stdin.  Small request bodies 
3259      worked without this change (for reasons I don't understand), but large 
3260      ones didn't.  [Jeff Trawick]
3261
3262   *) Remove file bucket specific information from the ap_bucket type.
3263      This has been moved to a file_bucket specific type that hangs off
3264      the data pointer in the ap_bucket type.
3265      [Ryan Bloom]
3266
3267   *) Input filtering now has a third argument.  This is the amount of data
3268      to read from lower filters.  This argument can be -1, 0, or a positive
3269      number.  -1 means give me all the data you have, I'll deal with it and
3270      let you know if I need more.  0 means give me one line and one line
3271      only.  A positive number means I want no more than this much data.
3272
3273      Currently, only 0 and a positive number are implemented.  This allows
3274      us to remove the remaining field from the conn_rec structure, which
3275      has also been done.
3276      [Ryan Bloom] 
3277     
3278   *) Big cleanup of the input filtering.  The goal is that http_filter
3279      understands two conditions, headers and body.  It knows where it is
3280      based on c->remaining.  If c->remaining is 0, then we are in headers,
3281      and http_filter returns a line at a time.  If it is not 0, then we are
3282      in body, and http_filter returns raw data, but only up to c->remaining
3283      bytes.  It can return less, but never more.
3284      [Greg Ames, Ryan Bloom, Jeff Trawick]
3285
3286   *) mod_cgi: Write all of the request body to the child, not just what
3287      the kernel would accept on the first write.  [Jeff Trawick]
3288
3289   *) Back out the change that moved the brigade from the core_output_filters
3290      ctx to the conn_rec.  Since all requests over a given connection
3291      go through the same core_output_filter, the ctx pointer has the
3292      correct lifetime.
3293      [Ryan Bloom]
3294
3295   *) Fix another bug in the send_the_file() read/write loop. A partial
3296      send by apr_send would cause unsent data in the read buffer to
3297      get clobbered. Complete making send_the_file handle partial
3298      writes to the network.
3299      [Bill Stoddard]
3300
3301   *) Fix a couple of type fixes to allow compilation on AIX again
3302      [Victor J. Orlikowski <v.j.orlikowski@gte.net>]
3303
3304   *) Fix bug in send_the_file() which causes offset to be ignored
3305      if there are no headers to send.
3306      [Bill Stoddard]
3307
3308   *) Handle APR_ENOTIMPL returned from apr_sendfile in the core
3309      filter. Useful for supporting Windows 9* with a binary
3310      compiled on Windows NT.
3311      [Bill Stoddard]
3312
3313 Changes with Apache 2.0a7
3314
3315   *) Reimplement core_output_filter to buffer/save bucket brigades
3316      across multiple calls to the core_filter. The brigade will be
3317      sent when either MIN_BYTES_TO_SEND or MAX_IOVEC_TO_WRITE
3318      thresholds are hit or the EOS bucket is received.
3319      [Bill Stoddard]
3320
3321   *) Create experimental filter (buffer_filter) that coalesces bytes 
3322      into one large buffer before invoking the next filter in the
3323      chain. This filter is particularly useful with the current 
3324      implementation of mod_autoindex when it inserted above the
3325      chunk_filter. mod_autoindex generates a lot of brigades that
3326      containing buckets holding just a few bytes each. The
3327      buffer_filter coalesces these buckets into a single large bucket.
3328      [Bill Stoddard]
3329
3330   *) Add apr_sendfile() support into the core_output_filter.
3331      [Bill Stoddard]
3332
3333   *) Add apr_sendv() support into the core_output_filter.
3334      [Bill Stoddard]
3335
3336   *) Fix mod_log_config so that it compiles cleanly with BUFFERED_LOGS
3337      [Mike Abbott <mja@sgi.com>]
3338
3339   *) Remove ap_send_fb.  This is no longer used in Apache, and it doesn't
3340      make much sense, because Apache uses buckets instead of BUFFs now.
3341      [Ryan Bloom]
3342
3343   *) send_the_file now falls back to a read/write loop on platforms that
3344      do not have sendfile.
3345      [Ryan Bloom and Brian Havard]
3346
3347   *) Install apachectl correctly, and substitute the proper values so
3348      that it works again.  [Ryan Bloom]
3349
3350   *) Better(??) handle platforms that lack sendfile().
3351      [Jim Jagielski]
3352
3353   *) APR now has UUID generation/formatting/parsing support.
3354      [Greg Stein]
3355
3356   *) Begin the http_filter.  This is an input filter that understands
3357      the absolute basic amount required to parse an HTTP Request.  The
3358      goal is to be able to split headers from request body before passing
3359      the data back to the other filters.
3360      [Ryan Bloom]
3361
3362   *) Bring forward from 1.3.13 the config directory implementation
3363      [Jim Jagielski]
3364
3365   *) install apxs if it is created
3366      [Ryan Bloom]
3367
3368   *) Added APR_IS_STATUS_condition test macros to eliminate canonical error
3369      conversions.  [William Rowe]
3370
3371   *) Now that we have ap_add_input_filter(), rename ap_add_filter() to 
3372      ap_add_output_filter().  [Jeff Trawick]
3373
3374   *) Multiple build and configuration fixes
3375     Build process:
3376
3377       -add datadir and localstatedir substitutions
3378       -fix layout name
3379       -fix logfilename misspelling
3380       -fix evaluation of installation dir variables and
3381       -replace $foobar by $(foobar) to be usefull in the makefile
3382     
3383     Cross compile:
3384     
3385       -add rules for cross-compiling in rules.mk. Okay, rule to check for
3386        $CC_FOR_BUILD is still missing
3387       -use CHECK_TOOL instead of CHECK_PROG for ranlib
3388       -add missing "AR=@AR@" to severaly Makefile.in's
3389       -cache result for "struct rlimit"
3390       -compile all helper programs with native and cross compiler
3391        and use the native version to generate header file
3392      ["Rüdiger" Kuhlmann <Tadu@gmx.de>]
3393
3394   *) Prepare our autoconf setup for autoconf 2.14a and for cross-
3395      compiling.
3396      ["Rüdiger" Kuhlmann <Tadu@gmx.de>]
3397
3398   *) Fix a bug where a client which only sends \n to delimit header
3399      lines (netcat) gets a strange looking HTTP_NOT_IMPLEMENTED 
3400      message.  Start working on ebcdic co-existance with input 
3401      filtering.
3402      [William Rowe, Greg Ames]
3403
3404   *) If mod_so is enabled in the server always create libexec, even
3405      if there are no modules installed in this directory.  This is a
3406      requirement for APXS to work correctly.
3407      [Ryan Bloom]
3408
3409   *) Connection oriented output filters are now stored in the 
3410      conn_rec instead of the request_rec.  This allows us to add the
3411      output filter in the pre-connection phase instead of the
3412      post_read_request phase, which keeps us from trying to write an
3413      error page before we have a filter to write to the network.
3414      [Ryan Bloom, Jeff Trawick, and Greg Ames]
3415
3416   *) Cleaning up an mmap bucket no longer deletes the mmap.  An
3417      mmap can be used across multiple buckets (default_handler with
3418      byte ranges, mod_file_cache, mod_mmap_static), so cleanup of
3419      the mmap itself can't be associated with the bucket.
3420      [Jeff Trawick]
3421
3422   *) Add .dll caching directive ISAPICacheFile to mod_isapi.
3423      [William Rowe]
3424
3425   *) Radical surgery to improve mod_isapi support under Win32.
3426      Includes a number of newer ServerSupportFunction calls, support
3427      for ReadClient (in order to retrieve POSTs greater than 48KB),
3428      and general bug fixes to more reliably load ISAPI .dll's and
3429      prevent leaking handle resources.  Note: There are still 
3430      discrepancies between IIS's and Apache's ServerVariables, and
3431      async calls are still not supported.  Additional warnings are
3432      logged to facilitate debugging of unsupported ISAPI calls.
3433      [William Rowe]
3434
3435   *) Add input filtering to Apache.  The basic idea for the input
3436      filters is the same as the ideas for output filters.  The biggest
3437      difference is that instead of calling ap_pass_brigade, ap_get_brigade
3438      should be called, and the order of execution for the filter itself is
3439      different.  When writing an output filter, a brigade is passed in,
3440      and filters operate directly on that brigade, when done, they call
3441      ap_pass_brigade.  Input filters are the exact opposite.  Because input
3442      is not a push operation, filters first call ap_get_brigade.  When this
3443      function returns, the input filter will be left with a valid brigade.
3444      The input filter should then operate on the brigade, and return.
3445      [Ryan Bloom]
3446
3447   *) Fix building on BSD/OS using its native make. The build system
3448      falls back to the BSD .include directive on that host platform.
3449      [Sascha Schumann]
3450
3451   *) Expand dbmmanage to allow -d -m -s -p options for Crypt, MD5,
3452      SHA1 and plaintext password encodings.  Make feature tests a
3453      bit more flexible.  [William Rowe]
3454
3455   *) Charset translation: mod_charset_lite handles output content 
3456      translation in a filter.  mod_charset_lite no longer ignores 
3457      subrequests.  A bunch of cruft related to BUFF's support for
3458      translating request and response bodies was removed.  
3459      [Jeff Trawick]
3460
3461   *) Move the addition of the CORE filter to the post_read_request
3462      hook in http_core.c.  This removes the need to add the filter in
3463      multiple places and allows for an SSL module to be added much
3464      simpler. [Ryan Bloom]
3465
3466   *) Fix a security problem that affects certain configurations of
3467      mod_rewrite. If the result of a RewriteRule is a filename that
3468      contains expansion specifiers, especially regexp backreferences
3469      $0..$9 and %0..%9, then it may be possible for an attacker to
3470      access any file on the web server. [Tony Finch]
3471
3472   *) Fix a bug where errors that are detected during early request parsing
3473      don't produce visible HTTP error messages at the browser, because
3474      the core_filter wasn't present.  [Greg Ames]
3475
3476   *) Provide apr_socklen_t as a portability aid. 
3477      [Victor  J. Orlikowski]
3478
3479   *) Overhaul of dbmmanage to allow a groups arg (as in Apache 1.2)
3480      as well as a comment arg to the add, adduser and update cmds.
3481      update allows the user to clear or preserve pw/groups/comment.
3482      Fixed a bug in dbmmanage that prevented the check option from 
3483      parsing a password followed by :group... text.  Corrected the
3484      seed calcualation for Win32 systems, and added -lsdbm support.
3485      [William Rowe]
3486
3487   *) Configured mod_auth_dbm to compile with sdbmlib under Win32.
3488      [William Rowe]
3489
3490   *) Avoid a segfault when parsing .htaccess files.  An 
3491      uninitialized tree pointer was passed to ap_build_config().
3492      [Jeff Trawick]
3493
3494   *) Change the way that inet_addr & inet_network are checked for
3495      in APR's configure process to allow BeOS BONE to correctly
3496      find them. With this change BeOS BONE now builds from source
3497      with no problems.  [David Reid]
3498
3499   *) Fix a bug in apr_create_process() for Unix.  The NULL signifying
3500      the end of the parameters to execve() was stored in the wrong
3501      location, overlaying the storage beyond the newargs[] array and 
3502      also passing uninitialized storage to execve(), which would 
3503      sometimes fail with EFAULT.  [Jeff Trawick]
3504
3505   *) Fix a bug parsing configuration file containers.  With a sequence
3506      like this in the config file
3507
3508        <IfModule mod_kilroy.c>
3509        any stuff
3510        </IfModule>
3511        <IfModule mod_lovejoy.c>
3512        (blank line)
3513        any stuff
3514        </IfModule>
3515
3516      the second container would be terminated at the blank line due to
3517      sediment in the buffer from reading the prior </IfModule> and an 
3518      error message would be generated for the real </IfModule> for the
3519      second container.  Also due to this problem, any two characters 
3520      could be used for "</" in the close of a container.  
3521      [Jeff Trawick]
3522
3523   *) ap_add_filter prototype changed to remove the ctx pointer.  The
3524      pointer still remains in the filter structure, but it can not be
3525      a part of the ap_add_filter prototype.  The reason is that when
3526      the core uses AddFilter to add a filter to the stack it doesn't
3527      know how to allocate the ctx pointer, or even how much memory should
3528      be allocated.  The filters will have to be responsible for allocating
3529      the ctx memory when they need it.
3530      [Ryan Bloom]
3531
3532   *) Add an AddFilter directive.  This directive takes a list of filters
3533      that should be activated for the requested resource.
3534      [Ryan Bloom]
3535
3536   *) apr_snprintf(): Get quad format strings working on OS/390 (and perhaps
3537      some other platforms).  [Jeff Trawick]
3538
3539   *) Modify mod_include to be a filter.  Currently, it has only been tested
3540      on actual files, but it should work for CGI scripts too.
3541      [Ryan Bloom]
3542
3543   *) apr_putc(), apr_puts() for Unix: handle buffered files and interrupted
3544      writes.  apr_flush() for Unix: handle interrupted writes.
3545      [Jeff Trawick]
3546
3547   *) NameVirtualHost can now take "*" as an argument instead of
3548      an IP address. This allows you to create a purely name-based
3549      virtual hosting server that does not have any IP addresses in
3550      the configuration file and which ignores the local address
3551      of any connections. PR #5595, PR #4455 [Tony Finch]
3552
3553   *) Fix some compile warnings in mod_mmap_static.c
3554      [Mike Abbott <mja@sgi.com>]
3555
3556   *) Fix chunking problem with CGI scripts.  The general problem was that
3557      the CGI modules were adding an EOS bucket and then the core added an
3558      EOS bucket.  The chunking filter finalizes the chunked response when it
3559      encounters an EOS bucket.  Because two EOS buckets were sent, we
3560      finalized the response twice.  The fix is to make sure we only send one
3561      EOS, by utilizing a flag in the request_rec.
3562      [Ryan Bloom]
3563
3564   *) apr_put_os_file() now sets up the unget byte appropriately on Unix
3565      and Win32.  Previously, the first read from an apr_file_t set up via
3566      apr_put_os_file() would return a '\0'.  [Jeff Trawick]
3567
3568   *) Mod_cgid now creates a single element bucket brigade, with a pipe
3569      bucket, instead of using BUFF's and ap_r*.
3570      [Ryan Bloom]
3571
3572   *) APRVARS.in no longer overwrites the EXTRA_LIBS variable.
3573      [Mike Abbott <mja@sgi.com>]
3574
3575   *) Remove ap_bopenf from buff code.  This required modifying the file_cache
3576      code to use APR file's directly instead of going through BUFFs.
3577      [Ryan Bloom]
3578
3579   *) Fix compile break on some platforms for mod_mime_magic.c
3580      [John K. Sterling <sterling@covalent.net>]
3581
3582   *) Fix merging of AddDefaultCharset directive.
3583      PR #5872 (1.3) [Jun Kuriyama <kuriyama@imgsrc.co.jp>]
3584
3585   *) Minor revamp of the rlimit sections of code. We now test
3586      explicitly for setrlimit and getrlimit. Also, unixd_set_rlimit()
3587      is now "available" even if the platform doesn't support
3588      the rlimit family (it's just a noop though). [Jim Jagielski]
3589
3590   *) Migrate the pre-selection of which MPM to use for specific
3591      platforms to hints.m4, which contains (or should contain)
3592      all platform specific "hints". [Jim Jagielski]
3593
3594   *) Remove IOLs from Apache.  With filtering, IOLs are no longer necessary
3595      [Ryan Bloom]
3596
3597   *) Add tables with non-string/binary values to APR.
3598      [Ken Coar]
3599
3600   *) Fix some bad calls to ap_log_rerror() in mod_rewrite. 
3601      [Jeff Trawick]
3602
3603   *) Update PCRE to version 3.2.  [Ryan Bloom]
3604
3605   *) Change the way buckets' destroy functions are called so that
3606      they can be more directly used when changing the type of a
3607      bucket in place. [Tony Finch]
3608
3609   *) Add generic support for reference-counting the resources used by
3610      buckets, and alter the HEAP and MMAP buckets to use it. Change
3611      the way buckets are initialised to support changing the type of
3612      buckets in place, and use it when setting aside TRANSIENT buckets.
3613      Change the implementation of TRANSIENT buckets so that it can be
3614      mostly shared with IMMORTAL buckets, which are now implemented.
3615      [Tony Finch]
3616
3617 Changes with Apache 2.0a6
3618
3619   *) Add support to Apache and APR for dsos on OS/390.  [Greg Ames]
3620
3621   *) Add a chunking filter to Apache.  This brings us one step closer
3622      to removing BUFF. [Ryan Bloom]
3623
3624   *) ap_add_filter now adds filters in a LIFO fashion.  The first filter
3625      added to the stack is the last filter to be called.  [Ryan Bloom]
3626
3627   *) Apache 2.0 has been completely documented using Scandoc.  The
3628      docs can be generated by running 'make docs'.  [Ryan Bloom]
3629
3630   *) Add filtered I/O to Apache.  This is based on bucket brigades,
3631      Currently the buckets still use BUFF under the covers, but that
3632      should change quickly.  The only currently written filter is the
3633      core filter which just calls ap_bwrite.  [The Apache Group]
3634
3635   *) APR locks on Unix: Let APR_LOCKALL locks work when APR isn't
3636      built with thread support.  [Jeff Trawick]
3637
3638   *) Abort configuration if --with-layout was specified and there's
3639      no layout definition file.  [Ken Coar]
3640
3641   *) Add support for '--with-port=n' option to configure.  [Ken Coar]
3642
3643   *) Add support for extension methods for the Allow response header
3644      field, and an API routine for accessing r->allowed and the
3645      list of extension methods in a unified manner.  [Ken Coar]
3646
3647   *) mod_cern_meta: fix broken file reading loop in scan_meta_file().
3648      [Rob Simonson <simo@us.ibm.com>]
3649
3650   *) Get xlate builds working again.  The apr renaming in 2.0a5 broke
3651      APACHE_XLATE builds.  [Jeff Trawick]
3652
3653   *) A configuration file parsing problem was fixed.  When the 
3654      configuration file started with an IfModule/IfDefine container, 
3655      only the last statement in the container would be retained.  
3656      [Jeff Trawick]
3657
3658 Changes with Apache 2.0a5
3659
3660   *) Perchild is serving pages after passing them to different child
3661      processes.  There are still a lot of bugs, but this does work.  I
3662      have made requests against the same installation of Apache, and had
3663      different servers use different user IDs to serve the responses.
3664      This change moves to using socketpair instead of an AF_UNIX socket.
3665      [Ryan Bloom]
3666
3667   *) Perchild MPM still doesn't work perfectly, but it is serving pages.
3668      It can't seem to pass between child processes yet, but I think we
3669      are closer now than before.  This moves us back to using Unix
3670      Domain Sockets.  [Ryan Bloom]
3671
3672   *) libapr functions and types renamed with apr_ prefix.
3673      #include "apr_compat.h" for 1.3.x backwards compat
3674      [Perl]
3675
3676   *) Fix problems with APR sockaddr handling on Win32.  It didn't always
3677      return the right information on the local socket address.
3678      [Gregory Nicholls <gnicholls@level8.com>]
3679
3680   *) ap_recv() on Win32: Set bytes-read to 0 on error.  
3681      [Gregory Nicholls <gnicholls@level8.com>]
3682
3683   *) Add an option to not detach from the controlling terminal without
3684      going into single process mode.  This allows for much easier
3685      debugging of the process startup code. [Ryan Bloom]
3686
3687   *) ab: don't use perror() to report the failure of an APR function.
3688      [Jeff Trawick]
3689
3690   *) Make dexter, mpmt_pthread, and perchild MPMs not destroy the
3691      scoreboard on graceful restarts.
3692      [Ryan Bloom]
3693
3694   *) Fix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
3695      An invalid ap_proc_t was passed to ap_create_process().
3696      [Jeff Trawick]
3697
3698   *) Allow modules to register filters.  Those filters are still
3699      never called, but this is a step in the right direction.
3700      [Ryan Bloom and Greg Stein]
3701
3702   *) Register the mod_cgid daemon process for cleanup so that it is
3703      killed at termination if it does not die when the parent gets
3704      SIGTERM.  This change is to fix occasional problems where the
3705      process stays around.  Bugs in similar logic in mod_rewrite and
3706      mod_include were also fixed.  [Jeff Trawick]
3707
3708   *) Fix a bug in the time handling.  Basically, we were imploding a time
3709      in ap_parseHTTPdate, but it had bogus data in the exploded time format.
3710      Namely, tm_usec and tm_gmtoff were not filled out.  ap_implode_time
3711      uses those two fields to adjust the time value.  Because of the HTTP
3712      spec, both of those values can be zero'ed out safely.  This fixes
3713      the bug correctly.  [Ryan Bloom]
3714
3715   *) Fix a couple of place in the Windows code where the wrong error
3716      code was being returned. [Gregory Nicholls <gnicholls@level8.com>]
3717
3718   *) Fix POOL_DEBUG (at least for prefork mpm). [Dean Gaudet]
3719
3720   *) Added the APR_EOL_STR macro for platform dependent differences in 
3721      logfiles and other raw text (such as all APR files).  Fixes logfiles
3722      not terminated with cr/lf sequences in Win32.  [William Rowe]
3723
3724   *) Move all strings functions in APR to src/lib/apr/strings and create
3725      apr_strings.h for the prototypes. [Ryan Bloom]
3726
3727   *) APR lock fixes: when using SysV sems, flock(), or fcntl(), be sure
3728      to repeat the syscall until we stop getting EINTR.  I noticed a
3729      related problem at termination (SIGTERM) on FreeBSD when using
3730      fcntl().  Apache 1.3 had these new loops too.  Also, make the flock() 
3731      implementation work properly with child init.  Previously, ap_lock()
3732      was essentially a no-op because all children were using different
3733      locks and thus nobody ever blocked.  [Jeff Trawick]
3734
3735   *) The htdocs/ tree has been moved out of the CVS source tree into
3736      a separate area for easier development.  This has NO EFFECT on
3737      end-users or Apache installations.  [Ken Coar]
3738
3739   *) Integrate the mod_dav module for WebDAV protocol handling. This
3740      adds the dav and dav_fs modules, the SDBM library, and additional
3741      XML handling utilities. [Greg Stein]
3742
3743   *) Clean out obsolete names (from httpd.h) for the HTTP Status Codes
3744      [Greg Stein]
3745
3746   *) Update the lib/expat-lite/ library (bring forward changes from
3747      the Apache 1.3 repository). [Greg Stein]
3748
3749   *) If sizeof(long long) == sizeof(long), then prefer long in APR
3750      configure.in.  [Dave Hill <ddhill@zk3.dec.com>]
3751
3752   *) Add ap_sendfile for Tru64 Unix.  Also, add an error message for
3753      machines where sendfile is detected, but nobody has written ap_sendfile.
3754      [Dave Hill <ddhill@zk3.dec.com>]
3755
3756   *) Compile fixes in mod_mmap_static.  [Victor J. Orlikowski]
3757
3758   *) ab would start up more connections than needed, then quit when the
3759      desired number were finished. Also fixed a logic error involving
3760      ab keepalives.  [Victor J. Orlikowski]
3761
3762   *) WinNT: Implement non-blocking pipes with timeouts to communicate
3763      with CGIs. Apache 2.0a4 had non-blocking pipes but without 
3764      timeouts (i.e, if a timeout was specified, the pipe reverted to
3765      a full blocking pipe). Now the behaviour is more in line with
3766      Unix non-blocking pipes.
3767      [Bill Stoddard]
3768
3769   *) WinNT: Implement accept socket reuse. Using mod_file_cache to
3770      cache open file handles along with accept socket reuse enables
3771      Apache 2.0 to serve non-keepalive requests for static files at
3772      3x the rate of Apache 1.3.(e.g, Apache 1.3 will serve 400 rps
3773      and Apache 2.0 will serve almost 1200 rps on my system).
3774      [Bill Stoddard]
3775
3776   *) Merge mod_mmap_static function into mod_file_cache. mod_file_cache
3777      supports two config directives, mmapfile (same behavious as
3778      mod_mmap_static) and cachefile. Use the cachefile directive
3779      to cache open file handles. This directive only works on systems
3780      that have implemented the ap_sendfile API. cachefile works today
3781      on Windows NT, but has not been tested on any flavors of Unix.
3782      [Bill Stoddard]
3783
3784   *) Cleanup the configuration.  With the last few changes the
3785      configuration process automatically:
3786          inherits information about how to build from APR.  Allowing
3787          APR to inform Apache that it should or should not use -ldl
3788         
3789          Detects which mod_cgi should be used mod_cgi or mod_cgid,
3790          based on the threading model
3791
3792          Apache calls APR's configure process before finishing it's
3793          configuration processing, allowing for more information flow
3794          between the two.
3795      [Ryan Bloom]
3796          
3797
3798   *) Change Unix and Win32 ap_setsockopt() so that APR_SO_NONBLOCK
3799      with non-zero argument makes the socket non-blocking.  BeOS and
3800      OS/2 already worked this way.  [Jeff Trawick]
3801
3802   *) ap_close() now calls ap_flush() for buffered files, so write
3803      operations work a whole lot better on buffered files.
3804      [Jeff Trawick]
3805
3806   *) Fix error messages issued from MPMs which explain where to change
3807      compiled-in limits (e.g., ThreadsPerChild, MaxClients, StartTreads).
3808      [Greg Ames]
3809
3810   *) ap_create_pipe() now leaves pipes in blocking state.  (This helps 
3811      reduce the number of syscalls on Unix.)  ap_set_pipe_timeout() is
3812      now the way that the blocking state of a pipe is manipulated.
3813      ap_block_pipe() is gone.  [Jeff Trawick]
3814
3815   *) Correct the problem where the only local host name that the IP stack
3816      can discover are 'undotted' private names.  If no fully qualified
3817      domain name can be identified, the default ServerName will be set to
3818      the machine's IP address string. A warning is always provided if the
3819      ServerName not specified, but assumed.  Solves PR6215 [William Rowe]
3820
3821   *) Repair problems with config file processing which caused segfault
3822      at init when virtual hosts were defined and which caused ServerName to
3823      be ignored when there was no valid DNS setup.  [Jeff Trawick]
3824
3825   *) Removed pointless ap_is_aborted macro function. [Roy Fielding]
3826
3827   *) Add ap_sendfile implementation for AIX
3828      [Victor J. Orlikowski]
3829
3830   *) Repair C++ compatibility in ap_config.h, apr_file_io.h, 
3831      apr_network_io.h, and apr_thread_proc.h.  
3832      [Tyler J. Brooks <tylerjbrooks@home.com>, Jeff Trawick]
3833
3834   *) Bring the allocation and pool debugging code back into a working
3835      state.  This will need to be tested as so far it's only been used on
3836      BeOS. [David Reid]
3837
3838   *) Change configuration command setup to be properly typesafe when in
3839      maintainer mode. Note that this requires a compiler that can initialise
3840      unions. [Ben Laurie]
3841
3842   *) Turn on buffering for config file reads.  Part of this was to
3843      repair buffered I/O support in Unix and implement buffered
3844      ap_fgets() for all platforms.  [Brian Havard, Jeff Trawick]
3845
3846   *) Win32: Fix problem where UTC offset was not being set correctly
3847      in the access log. Problem reported on news group by Jerry Baker.
3848      [Bill Stoddard]
3849
3850   *) Fix segfault when reporting this type of syntax error:
3851      "</container> without matching <container> section", where
3852      container is VirtualHost or Directory or whatever.
3853      [Jeff Trawick]
3854
3855   *) Prevent the source code for CGIs from being revealed when using
3856      mod_vhost_alias and the CGI directory is under the document root
3857      and a user makes a request like http://www.example.com//cgi-bin/cgi
3858      as reported in <news:960999105.344321@ernani.logica.co.uk>
3859      [Tony Finch]
3860
3861   *) Add support for the new Beos NetwOrking Environment (BONE)
3862      [David Reid]
3863
3864   *) xlate: ap_xlate_conv_buffer() now tells the caller when the
3865      final input char is incomplete; ap_bwrite_xlate() now handles
3866      incomplete final input chars.  [Jeff Trawick]
3867
3868   *) Yet another update to saferead/halfduplex stuff -- need to ensure
3869      that a bhalfduplex call occurs before logging or else DNS and
3870      such can delay the last packet of the response.  [Dean Gaudet]
3871
3872   *) Some syscall reduction in APR on unix -- don't seek when setting
3873      up an mmap; and don't fcntl() more than once per socket.
3874      [Dean Gaudet]
3875
3876   *) When mod_cgid is started as root, the cgi daemon now switches 
3877      to the configured User/Group (like other httpd processes) 
3878      instead of continuing as root.  [Jeff Trawick]
3879
3880   *) The prefork MPM now uses an APR lock for the accept() mutex.
3881      It has not been getting a lock at all recently.  httpd -V now 
3882      displays APR's selection of the lock mechanism instead of the 
3883      symbols previously respected by prefork.  [Jeff Trawick]
3884
3885   *) Change the mmap() feature test to check only for existence.
3886      The previous check required features not used by Apache.
3887      [Greg Ames]
3888
3889   *) Fix a couple of bugs in mod_cgid:  The cgi arguments were
3890      sometimes mangled.  The len parm to accept() was not 
3891      initialized, leading sometimes to an endless loop of failed
3892      accept() calls on OS/390 and anywhere else that failed the call
3893      if the len was negative.  Use <sys/un.h> for struct sockaddr_un
3894      instead of declaring it ourselves to fix a compilation problem
3895      on Solaris.  [Jeff Trawick]
3896
3897   *) Add Resource limiting code back into Apache 2.0. [Ryan Bloom]
3898
3899   *) Fix zombie process problem with mod_cgi.  [Jeff Trawick]
3900
3901   *) Port mod_mmap_static to 2.0.  Make it go faster.  [Greg Ames]
3902
3903   *) Fix storage overlay when loading dsos.  Symptom: Apache dies at
3904      initialization if ALLOC_DEBUG is defined; no known symptom 
3905      otherwise.  [Jeff Trawick]
3906
3907   *) Fix typo in configure script when checking for mod_so.  bash
3908      doesn't seem to have a problem but /bin/sh on Solaris does.
3909      Symptom: "./configure: test: unknown operator =="
3910      [Jeff Trawick]
3911    
3912   *) Rebind the Win32 NT and 9x services control into the MPM.  
3913      All console, WinNT SCM and Win9x pseudo-service control code is
3914      now wrapped within the WinNT MPM.
3915      [William Rowe]
3916
3917   *) Make a copy of getenv("PATH") before storing for later use.  Some
3918      getenv() implementations use the same storage for successive calls.
3919      CGIs on OS/390 had a bad PATH due to this.  [Jeff Trawick]
3920
3921   *) Server Tokens work in 2.0 again.  This also propogates the change
3922      to allow just the product name in the server string using
3923      PRODUCT_ONLY.
3924      [Ryan Bloom]
3925
3926 Changes with Apache 2.0a4
3927
3928   *) EBCDIC: Rearrange calls to ap_checkconv() so that most handlers
3929      won't need to call it.  [Greg Ames, Jeff Trawick]
3930
3931   *) Move pre_config hook call to between configuration read and config
3932      tree walk.  This allows all modules to implement pre_config hooks
3933      and know that they will be called at an appropriate time.
3934      [Ryan Bloom] 
3935
3936   *) mod_cgi, mod_cgid: Make ScriptLog directive work again.  
3937      [Jeff Trawick]
3938
3939   *) Add pre-config hooks back to all modules.
3940      [Ryan Bloom]
3941
3942   *) Fix a SIGSEGV in ap_md5digest(), which is used when you have
3943      ContentDigest enabled and we can't/don't mmap the file. 
3944      [Jeff Trawick]
3945
3946   *) We now report the correct line number for syntax errors in config
3947      files.  [Ryan Bloom, Greg Stein, Jeff Trawick]
3948
3949   *) Brought mod_auth_digest up to synch with 1.3, fixed ap_time_t-
3950      related bugs, and changed shmem/locking to use apr API. Shared-mem
3951      is currently disabled, however, because of problems with graceful
3952      restarts. [Ronald Tschalär]
3953
3954   *) Fix corruption of IFS variable in --with-module= handling.  
3955      Depending on the user's shell or customization thereof, there 
3956      would be errors generating ap_config_auto.h later in the configure
3957      procedure.  [Jeff Trawick]
3958
3959   *) mod_cgi: Restore logging of stderr from child process when ScriptLog 
3960      isn't used (as in 1.3), except that on Unix it is now logged via 
3961      ap_log_rerror() instead of by the child having STDERR_FILENO refer
3962      to the error log.  [Greg Ames, Jeff Trawick]
3963
3964   *) Add '-D' argument processing for run time configuration defines.
3965      [William Rowe]
3966
3967   *) Organize http_main.c as independent code, such that no code or
3968      global data is exported from it.  WIN32 will dynamically link it
3969      to the server core, so this will prevent mutual dependency.
3970      [William Rowe]
3971
3972   *) Add separate dynamic linkage tags APR_EXPORT(), APR_EXPORT_NONSTD()
3973      and APR_VAR_EXPORT to correctly resolve apr functions and globals.
3974      [William Rowe]
3975
3976   *) Add Win9x service execution and Ctrl+C/Ctrl+Break/Shutdown handlers.
3977      [William Rowe, Jan Just Keijser <KEIJSERJJ@logica.com>]
3978
3979   *) Add mod_charset_lite for configuring character set translation.
3980      [Jeff Trawick]
3981
3982   *) Add '-n' option to htpasswd to make it print its user:pw record
3983      on stdout rather than having to frob a text file.  [Ken Coar]
3984
3985   *) Fix saferead.  Basically, we flush the output buffer if a read on the
3986      input will block.
3987      [Ryan Bloom]
3988  
3989   *) APR: Add ap_xlate_get_sb() so that an app can find out whether or not
3990      a conversion is single-byte only. [Jeff Trawick]
3991
3992   *) BEOS: ap_shutdown should return APR_SUCCESS or errno. Note that
3993      the BeOS 5.0 documentation says that shutdown doesn't work yet.
3994      [Roy Fielding]
3995
3996   *) Fix some minor errors where pid was being manipulated as an int
3997      instead of the portable pid_t.  [Roy Fielding]
3998
3999   *) Fix some error log prints that were printing the pointer to a
4000      structure rather than the pid within the structure.
4001      [Jeff Trawick, Roy Fielding]
4002
4003   *) ab: Fix a command-line processing bug; track bad headers in 
4004      err_response; support reading headers up to 2K. 
4005      [Ask Bjoern Hansen <ask@valueclick.com>]
4006
4007   *) Fix ap_resolve_env() so that it handles new function added in a prior
4008      alpha (see "Added the capability to do ${ENVVAR} constructs in the
4009      config file.") as well as the constructs used by mod_rewrite.
4010      [Paul Reder <rederpj@raleigh.ibm.com>]
4011
4012   *) Apache 2.0 builds and runs on OS/390. [Jeff Trawick, Greg Ames]
4013
4014   *) Change the EBCDIC support in functions for MD5, SHA1, and base 64 to use
4015      APR to perform translation, instead of accessing the hard-coded tables
4016      in 1.3's ebcdic.c. [Jeff Trawick]
4017
4018   *) Fix some bugs (mostly lost 1.3 code) in ab's command-line processing. 
4019      [Jeff Trawick]
4020
4021   *) Add the ability to hook into the config file reading phase.  Basically
4022      if a directive is specified EXEC_ON_READ, then when that directive is
4023      read from the config file, the assocaited function is executed.  This
4024      should only be used for those directives that must muck with HOW the
4025      server INTERPRETS the config.  This should not be used for directives
4026      that re-order or replace items in the config tree.  Those changes should
4027      be made in the pre-config step.
4028      [Ryan Bloom]
4029
4030   *) Add mod_example to the build system.
4031      [Tony Finch]
4032
4033   *) APR: Add ap_xlate_conv_byte() to convert one char between single-
4034      byte character sets. [Jeff Trawick]
4035
4036   *) Pick up various EBCDIC fixes from 1.3 (from Martin
4037      Kraemer and Oliver Reh originally according to the change log).
4038      [Jeff Trawick]
4039
4040   *) Fix a couple of problems in RFC1413 support (controlled by the
4041      IdentityCheck directive).  Apache did not build the request string
4042      properly and more importantly Apache would loop forever if the 
4043      would-be ident server dropped the connection before sending a
4044      properly terminated response. [Jeff Trawick]
4045
4046   *) apxs works in 2.0.
4047      [Ryan Bloom]
4048
4049   *) Reliable piped logs work in 2.0.
4050      [Ryan Bloom]
4051
4052   *) Introduce a hash table implementation into APR to be used for
4053      replacing tables and other random data structures in Apache.
4054      [Tony Finch]
4055
4056   *) Add some more error reporting to htpasswd in the case of problems
4057      generating or accessing the temporary file.  Also, pass in a
4058      buffer if the implementation knows how to use it (i.e., if L_tmpnam
4059      is defined).  [Ken Coar]
4060
4061   *) Configure creates config.nice now containing your configure
4062      options. Syntax: ./config.nice [--more-options]
4063      [Sascha Schumann]
4064
4065   *) Fix various return code problems in APR on Win32.  For most of
4066      these, APR was returning APR_EEXIST instead of GetLastError()/
4067      WSAGetLastError().  [Jeff Trawick]
4068
4069   *) Make piped logs work again in version 2.0
4070      [Ryan Bloom]
4071
4072   *) Add VPATH support to UNIX build system of Apache and APR.
4073      [Sascha Schumann]
4074
4075   *) Fix ap_tokenize_to_argv to respect the const arguments that are
4076      passed to it.
4077      [Ryan Bloom]
4078
4079   *) Fix mm's memcpy/memset macros, pointer arithmetic was broken.
4080      Patch submitted to author.
4081      [Sascha Schumann]
4082
4083   *) Fix mm configuration on Solaris 8 x86 and OS/390.  Don't require
4084      /sbin in PATH on FreeBSD (all submitted to rse previously) 
4085      [Jeff Trawick]
4086
4087   *) Fix building Pthread-based MPMs on OpenBSD
4088      [Sascha Schumann] PR#26
4089
4090   *) Fix ap_readdir() problem on systems where d_name[] field in
4091      struct dirent is declared with only one byte.  (This problem only 
4092      affected multithreaded builds.)  This caused a segfault during
4093      pool cleanup with mod_autoindex on Solaris (Solaris 8 x86, at 
4094      least). [Jeff Trawick]
4095
4096   *) Fix some make-portability problems on at least Tru64, Irix
4097      and UnixWare.
4098      [Sascha Schumann] PR#18, PR#39
4099
4100   *) Add ap_sigwait() to support old-style sigwait() on systems
4101      like OS/390 and UnixWare.
4102      [Sascha Schumann] 
4103
4104   *) Add POSIX-thread flags for more platforms.
4105      [Sascha Schumann]
4106
4107   *) Fix some minor bugs in ap_strerror().  Teach ap_strerror()
4108      (on Unix, at least) to handle resolver errors.  Fix a bug in
4109      the definition of APR_ENOMEM so that ap_strerror() can spit
4110      out the correct error message for it.
4111      [Jeff Trawick]
4112
4113 Changes with Apache 2.0a3
4114
4115   *) mod_so reports ap_os_dso_error() if ap_dso_load() fails
4116      [Doug MacEachern]
4117
4118   *) API: *HOOK* macros now have an AP_ prefix
4119      [Doug MacEachern]
4120
4121   *) Win32: Eliminate redundant calls to initialize winsock.
4122      [Tim Costello <timcostello@ozemail.com.au>]
4123
4124   *) Fix bugs initializing ungetchar for pipes. 
4125      [Chia-liang Kao <clkao@CirX.ORG>]
4126
4127   *) The ab program in the src/support directory is now portable using
4128      APR.
4129      [Ryan Bloom]
4130
4131   *) Support directory is being compiled when the server is built
4132      [Ryan Bloom]
4133
4134   *) The configure option --with-program-name has been added to allow
4135      developers to rename the executable at configure time.  This also
4136      changes the name of the config files to match the executable's name.
4137      [Ryan Bloom]
4138
4139   *) mod_autoindex: Add `IndexOptions +VersionSort', to nicely sort filenames
4140      containing version numbers. [Martin Pool]
4141
4142   *) ap_open(..,APR_OS_DEFAULT,..) uses perms 0666 instead of 0777 on
4143      Unix; access_log and error_log now created with these perms; non-
4144      Unix is unaffected [Jeff Trawick]
4145      
4146   *) Finished move of ap_md5 routines to apr_md5.  Removed ap_md5.h.
4147      Replaced more magic numbers with MD5_DIGESTSIZE.
4148      [William Rowe, Roy Fielding]
4149
4150   *) Win32: Get mod_auth_digest compiling and added to the Windows
4151      build environment. Not tested and I'd be suprised if it 
4152      actually works. [Bill Stoddard]
4153
4154   *) Revamp the Win32 make environment. Makefiles have been removed and
4155      Apache.dsw created to bring together all the pieces. Create new file
4156      os/win32/BaseAddr.ref to define module base addresses (to prevent
4157      dll relocation at start-up).
4158      [William Rowe, Greg Marr, Tim Costello, Bill Stoddard]
4159
4160   *) [EBCDIC] Port Paul Gilmartin's CRLF patch from 1.3.  This replaces most
4161      of the \015, \012, and \015\012 constants with macros.
4162      [Greg Ames]
4163      
4164   *) Add ap_xlate_open() et al for translation of text between different 
4165      character sets.  The initial implementation requires iconv().
4166      [Jeff Trawick]
4167
4168   *) More FAQs and answers from comp.infosystems.www.servers.unix.
4169      [Joshua Slive <slive@finance.commerce.ubc.ca>]
4170
4171   *) CGI output is being timed out now.
4172      [Ryan Bloom]
4173
4174   *) Fix the problem with dieing quietly.  dupfile now takes a pool which
4175      is used by the new apr file.  There is no reason to create a new file
4176      with the same lifetime as the original file.
4177      [Ryan Bloom] 
4178
4179   *) Win32: Attempt to eliminate dll relocation at start-up by specifying
4180      module base addresses. This will help shooting seg faults
4181      in the field. [William Rowe <wrowe@lnd.com>]
4182
4183   *) Update Apache on Windows documentation. Add new document
4184      describing how to compile Apache on Windows.
4185      [William Rowe <wrowe@lnd.com>]
4186
4187   *) ap_set_pipe_timeout(), ap_poll(), and APR_SO_TIMEOUT now take 
4188      microseconds instead of seconds.  Some storage leaks and other
4189      minor bugs in related code were fixed.  [Jeff Trawick]
4190
4191   *) Win32: First cut at getting mod_isapi working under 2.0
4192      [William Rowe <wrowe@lnd.com>]
4193
4194   *) First stab at getting mod_auth_digest working under 2.0
4195      quick change summary:
4196      - moved the random byte generation (ap_generate_random_bytes) into APR
4197      - now uses ap_time_t
4198      - compiles and runs on linux
4199      - tested with amaya
4200      [Brian Martin <bmartin@penguincomputing.com>]
4201
4202   *) Win32: Move the space stripping of physical service names
4203      fix up from Apache 1.3. #include'ing "ap_mpm.h" fixes up an
4204      unresolved symbol. Add dependency checking to the
4205      CreateService call to ensure TCPIP and AFP (winsock) is started
4206      before Apache.
4207      [William Rowe <wrowe@lnd.com>]
4208
4209   *) Win32: Add code to perform latebinding on functions that may
4210      not exist on all levels of Windows where Apache runs. This
4211      is needed to allow Apache to start-up on Win95/98. All calls
4212      to non portable functions should be protected with
4213      ap_oslevel checks to prevent runtime segfaults. 
4214      [William Rowe <wrowe@lnd.com>]
4215
4216   *) Fix fallback default values for SHM_R and SHM_W [Martin Kraemer]
4217
4218   *) Get lingering_close() working again. [Dean Gaudet, Jeff Trawick]
4219
4220   *) Win32: Get non-blocking CGI pipe reads working under Windows NT.
4221      This addresses PR 1623. Still need to address timing out runaway
4222      CGI scripts. [Bill Stoddard]
4223  
4224   *) Win32: Make ap_stat Windows 95/98 friendly
4225      [William Rowe <wrowe@lnd.com>]                                            
4226
4227   *) Win32: Fix a bug in ap_get_oslevel which causes GetVersionEx() to 
4228      always fail. Need to initialise the dwOSVersionInfoSize member of the 
4229      OSVERSIONINFO struct before calling GetVersionEx, so GetVersionEx 
4230      always fails. 
4231
4232      The patch also enhances ap_get_oslevel (and the associated enum) to 
4233      handle selected service packs for NT4, and adds recognition for 
4234      Windows 2000. This is useful, eg. if we can recognise NT4 SP2 then 
4235      we can use ReadFileScatter and WriteFileGather in readwrite.c. 
4236      [Tim Costello <Tim.Costello@BTFinancialgroup.com>]
4237
4238   *) Get mod_rewrite building and running, and mod_status building for Win NT
4239      [Allan Edwards <ake@raleigh.ibm.com>]
4240
4241   *) Patch to port mod_auth_db to the 2.0 api and also to support 
4242      Berlekey DB 3.0. It works for me with both Berkeley DB 3.0.55 and 
4243      2.7.7.  It should work with version 1 as well but I haven't tested it.  
4244      [Brian Martin <bmartin@penguincomputing.com>]
4245
4246   *) Get APR DSO code working under Windows. Includes cross platform
4247      fixes to mod_so.c.
4248      [Tim.Costello@BTFinancialgroup.com]
4249
4250   *) Fix some of the Windows APR time functions.
4251      [William Rowe]
4252
4253   *) FAQ changes related to tidying up historical documents on the web site.
4254      [Joshua Slive <slive@finance.commerce.ubc.ca>]
4255
4256   *) Move Windows DSO code into APR.
4257      [Bill Stoddard]
4258
4259   *) Eliminate apr_win.h and apr_winconfig.h (and the ugly #ifdefs they cause).
4260      Now, apr.h and apr_config.h are generated from apr.hw and apr_config.hw
4261      at build time. At this point, the server will not compile on Windows because
4262      of the recent DSO commits. Fixing those next.
4263      [Bill Rowe & Bill Stoddard]
4264
4265   *) Added error checking for file I/O APR routines.
4266      [Jon Travis <jtravis@covalent.net>]
4267
4268   *) APR: Don't use the values of resolver error codes for the 
4269      corresponding APR error codes.  On Unix and Win32, return the 
4270      proper APR error code after a resolver error. [Jeff Trawick]
4271
4272 Changes with Apache 2.0a2
4273
4274   *) Renamed the executable back to httpd on all platforms other 
4275      than Win32
4276      [Ryan Bloom]
4277
4278   *) Allow BeOS to survive restarts, log properly and a few
4279      small things it had problems with due to the way it setup
4280      users and groups. [David Reid]
4281
4282   *) Get mod_rewrite working with APR locks
4283      [Paul Reder <rederpj@raleigh.ibm.com>]
4284
4285   *) Actually remove the sempahore when the lock cleanup routine
4286      is called on BeOS. [David Reid]
4287
4288   *) Clear hook registrations between reads of the config file.
4289      When DSOs are unloaded and re-loaded the old hook pointers may
4290      no longer be valid. This fix eliminates potential segfaults.
4291      [Allan Edwards <ake@raleigh.ibm.com>]
4292
4293   *) Fix a problem with Sigfunc not being defined or bypassed
4294      if sigaction() wasn't found. [Jim Jagielski]
4295
4296   *) Fix the locking mechanism on BSD variants.  They now use fcntl
4297      locks.  This allows the server to start and serve pages.
4298      [Ryan Bloom]
4299
4300   *) First cut at getting the Win32 installer to work
4301      [William Rowe <wrowe@lnd.com>]
4302
4303   *) Get htpasswd compiling under Windows
4304      [William Rowe <wrowe@lnd.com>]
4305
4306   *) Change the log message for a bind() failure to show the
4307      interface and port number. [Jeff Trawick]
4308
4309   *) Import the documentation from 1.3.12 and bring parts of it
4310      up-to-date with respect to the changes that have occurred
4311      in 2.0.
4312      [Tony Finch]
4313
4314   *) BeOS MPM updated.  CGI bug on BeOS fixed.  IP addresses
4315      now logged correctly on BeOS.
4316      [David Reid]
4317
4318   *) Create one makefile for all Win32 distributions (NT/2000/95/98).
4319      Makefile.win includes the same user interface as the old 
4320      Makefile.nt 
4321      [William Rowe <wrowe@lnd.com>, Jeff Trawick <trawick@us.ibm.com>]
4322
4323   *) Win32 exec now uses COMSPEC environment string for command 
4324      shell path resolution.
4325      [William Rowe <wrowe@lnd.com>] PR#3715
4326
4327   *) Win32: ap_connect() was not returning correct error condition
4328      PR5866
4329      [Allen Prescott <allen@clanprescott.com>]
4330
4331   *) Win32: ap_open() was broken on Win9x because an NT-specific
4332      flag was passed to CreateFile.  ap_puts() added an unnecessary
4333      '\n'.
4334      [Jeff Trawick <trawick@us.ibm.com>]
4335
4336   *) Put in Korean and Norwegian index.html pages (2.0 and 1.3)
4337      which where donated by Lee Kuk Hyun and Lorant Czaran. 'Fixed'
4338      confusing ee/et name and made all extensions language/dialect
4339      rather than country reflecting. Changed example files to
4340      explicit reflect the ISO charset and added a few common 
4341      ones to the example config [dirkx]
4342
4343   *) Extend external module capability.  To use this, you call
4344      configure with --with-module=path/to/mod1,path/to/mod2,etc.
4345      [Ryan Bloom]
4346
4347   *) Backported the various "default charset" fixes from 1.3.12,
4348      including the AddDefaultCharset directive. [Jim Jagielski]
4349
4350   *) Added the capability to do ${ENVVAR} constructs in the
4351      config file. E.g. 'ServerAdmin ${POSTMASTER}'. As commited
4352      it does this on a line by line basis; i.e. if the envvar
4353      expands to something with spaces you have to protect it
4354      by adding quotes around it (Unless of course you expect it
4355      to contains more than one argument. Alternatively you
4356      can compile it on a per token basis; which is what people
4357      usually expect by setting RESOLVE_ENV_PER_TOKEN. But this
4358      hampers fancier hacks.
4359      [Dirk-Willem van Gulik]
4360
4361   *) Changed the 'ErrorDocument' syntax in that it NO longer
4362      supports the asymetric
4363
4364                 ErrorDocument 301 "Some message
4365
4366      Note the opening " quote, without a closing quote. It now
4367      has either the following syntaxes
4368
4369                 ErrorDocument XXX /local/uri
4370                 ErrorDocument XXX http://valid/url
4371                 ErrorDocument XXX "Some Message"
4372
4373      The recognition heuristic is: if it has a space it
4374      is a message. If it has no spaces and starts with a /
4375      or is a valid URL then treat it that way. Otherwise it
4376      is assumed to be a message.
4377
4378      This breaks backward compatibility but makes live a hell
4379      of a lot easier for GUI's and config file parsers.
4380      [Dirk-Willem van Gulik]
4381
4382   *) Changed 'CacheNegotiatedDocs' from its present/not-present
4383      syntax into a 'on' or 'off' syntax. As it currently is the
4384      only non nesting token which uses NO_ARGS and thus is an
4385      absolute pain for any config interface automation. This
4386      breaks backward compatibility. [Dirk-Willem van Gulik]
4387
4388   *) Add ability to add external modules to the build process.  This is
4389      done with --with-module=/path/to/module.  Modules can only be added
4390      as static modules at this point.
4391      [Ryan Bloom]
4392
4393 Changes with Apache 2.0a1
4394
4395   *) Fix FreeBSD 3.3 core dump.
4396      Basically, ap_initialize() needs to get called before 
4397      create_process(), since create_process() passes op_on structure
4398      to semop() to get a lock, but op_on isn't initialized until 
4399      ap_initialize() calls setup_lock().  Here is a slight
4400      rearrangement to main() which calls ap_initialize() earlier...
4401      [Jeff Trawick <trawick@us.ibm.com>]
4402
4403   *) Enable Apache to use sendfile/TransmitFile API
4404      [Bill Stoddard, David Reid, Paul Reder]
4405
4406   *) Re-Implement Win32 APR network I/O APIs and most of the file I/O
4407      APIs.
4408      [Bill Stoddard]
4409
4410   *) Make file I/O and network I/O writev/sendv APIs consistent.
4411      Eliminate use of ap_iovec_t and use Posix struct iovec.
4412      Use seperate variable on ap_writev to set the number of iovecs
4413      passed in and number of bytes written.
4414      [Bill Stoddard]
4415
4416   *) Adapt file iol to use APR functions. Replaced ap_open_file() 
4417      with ap_create_file_iol(). ap_create_file_iol() requires that 
4418      the file be opened prior to the call using ap_open().
4419      [Bill Stoddard]
4420
4421   *) Port mod_include and mod_cgi to 2.0
4422      [Paul Reder, Bill Stoddard]
4423
4424   *) ap_send{,v}, ap_recv, ap_sendfile API clarification --
4425      bytes_read/bytes_written is always valid (never -1).  Plus
4426      some fixes to buff.c to correct problems introduced by the
4427      errno => ap_status_t changes a while back.  Plus a fix to
4428      chunked encoding introduced right at the beginning of 2.0.
4429      [Dean Gaudet]
4430
4431   *) Revamped UNIX build system to use autoconf and libtool.
4432      [Manoj Kasichainula, Sascha Schumann]
4433
4434   *) port mod_rewrite to 2.0. [Paul J. Reder <rederpj@raleigh.ibm.com>]
4435
4436   *) More rigorous checking of Host: headers to fix security problems
4437      with mass name-based virtual hosting (whether using mod_rewrite
4438      or mod_vhost_alias).
4439      [Ben Hyde, Tony Finch]
4440   
4441   *) Add back support for UseCanonicalName in <Directory> containers.
4442      [Manoj Kasichainula]
4443
4444   *) Added APLOG_STARTUP log type.  This allows us to write an error
4445      message without any of the date and time information.  As a part
4446      of this change, I also removed all of the calls to fprintf(stderr
4447      and replaced them with calls to ap_log_error using APLOG_STARTUP
4448      writing to stderr is no longer portable, because we don't direct 
4449      stderr to the error log on all platforms.
4450      [Ryan Bloom] 
4451  
4452   *) Convert error logging functions to take errno as an argument.
4453      This makes our error logs more portable, because some Windows API's 
4454      don't set errno.  This change allows us to still output a valid
4455      message on all of our platforms.
4456      [Ryan Bloom]
4457
4458   *) mod_mime_magic runs in 2.0-dev now.
4459      [Paul Reder <rederpj@raleigh.ibm.com>]
4460
4461   *) sendfile has been added to APR.
4462      [John Zedlewski <zedlwski@Princeton.EDU>]
4463
4464   *) buff.c has been converted to no longer use errno.
4465      [Manoj Kasichainula]
4466
4467   *) mod_speling runs in 2.0-dev now: a bug in readdir_r handling and
4468      interface adaption to APR functions did it. [Martin Kraemer]
4469
4470   *) Support DSOs properly on 32-bit HP-UX 11.0
4471      [Dilip Khandekar <dilip@cup.hp.com>]
4472
4473   *) Updated MM in APR source tree from version 1.0.8 to 1.0.11
4474      [Ralf S. Engelschall]
4475
4476   *) Cleaned APR build environment integration and bootstrap APR 
4477      automatically for developers from src/Configure.
4478      [Ralf S. Engelschall]
4479
4480   *) Fixed building of src/support/htpasswd.c
4481      [Ralf S. Engelschall]
4482
4483   *) When generating the Location: header, mod_speling forgot
4484      to escape the spelling-fixed uri. (Forw-Port from 1.3)
4485      [Martin Kraemer]
4486
4487   *) Moved mod_auth_digest.c from experimental to standard. [Roy Fielding]
4488
4489   *) Change all pools to APR contexts.  This is the first step to
4490      incorporating APR into Apache. [Ryan Bloom]
4491
4492   *) Move "handler not found" warning message to below the check
4493      for a wildcard handler.  [Dirk <dirkm@teleport.com>, Roy Fielding]
4494      PR#2584, PR#2751, PR#3349, PR#3436, PR#3548, PR#4384, PR#4795, PR#4807
4495
4496   *) Support line-continuation feature in config.option file and
4497      allow the loading of multiple option sections at once via
4498      ``--with-option=<section1>,<section2>,...''
4499      [Ralf S. Engelschall]
4500
4501   *) Rebuilt CVS repository with Apache 1.3.9 as basis.  [Roy Fielding]
4502
4503 Changes with Apache MPM
4504
4505   *) Use asynchronous AcceptEx() and a completion port to accept and
4506      dispatch connections to threads in Windows NT/2000. 
4507      [Bill Stoddard]
4508
4509   *) Implement WINNT Win32 MPM from original Win32 code in http_main.c
4510      [Bill Stoddard]  
4511
4512   *) Implement the APACI --with-option facility 
4513      (per default used the config.option file).
4514      [Ralf S. Engelschall]
4515
4516   *) MPM BEOS port.  [David Reid <abb37@dial.pipex.com>]
4517
4518   *) Start to implement module-defined hooks that are a) fast and b) typesafe.
4519      Replace pre_connection module call with a register_hook call and
4520      implement pre_connection as a hook. The intent is that these hooks will
4521      be extended to allow Apache to be multi-protocol, and also to allow the
4522      calling order to be specified on a per-hook/per-module basis.
4523      [Ben Laurie]
4524
4525   *) Implement mpm_* methods as "modules". Each method gets its own
4526      subdir in src/modules (eg: src/modules/prefork). Selection
4527      of method uses Rule MPM_METHOD.  [Jim Jagielski]
4528
4529   *) Port the hybrid server from the apache-apr repository as
4530      mpm_mpmt_pthread.  [Manoj Kasichainula]
4531
4532   *) os/unix/unixd.[ch]: detach, setuid, setgid, stuff which will be common
4533      amongst the unix MPMs.
4534
4535   *) mpm_prefork: throw away all the alarm/timeout crud; and clean up the
4536      signal handling for the new world order.  [Dean Gaudet]
4537
4538   *) Crude ap_thread_mutex abstraction so that we get the pthread stuff out
4539      of alloc.c for now.  [Dean Gaudet]
4540
4541   *) Handle partial large writes correctly.  [Ben Laurie]
4542
4543   *) Eliminate conn_rec's pointer to server. All it knows is the base server
4544      based on IP/port.  [Ben Laurie]
4545
4546   *) Port a bunch of modules to the new module structure.
4547      ["Michael H. Voase" <mvoase@midcoast.com.au>]
4548
4549   *) I/O layering and BUFF revamp.  See docs/buff.txt.  [Dean Gaudet]
4550
4551   *) Basic restructuring to introduce the MPM concept; includes various
4552      changes to the module API... better described by
4553      docs/initial_blurb.txt.  [Dean Gaudet]
4554
4555 Changes with Apache pthreads
4556
4557   *) New buff option added: BO_TIMEOUT. It describes the timeout for
4558      buff operations (generally over a network).
4559      [Dean Gaudet, Ryan Bloom, Manoj Kasichainula]
4560
4561   *) Created http_accept abstraction. Added 4 new functions (not exported):
4562      init_accept(), begin_accepting_requests(), get_request(), 
4563      stop_accepting_requests() [Bill Stoddard]
4564
4565   *) Fix to ap_rprintf call that allows mod_info to work properly.
4566      [James Morris <jmorris@intercode.com.au>]
4567
4568   *) user and ap_auth_type fields were moved from connection_rec to 
4569      request_rec. [Ryan Bloom] 
4570
4571   *) Removed the ap_block_alarms and ap_unblock_alarm calls.  These aren't
4572      needed in a threaded server.
4573
4574   *) Initial pthread implementation from from Dean's apache-nspr code.
4575      [Bill Stoddard, Ryan Bloom]
4576
4577
4578 Changes with Apache 1.3.9
4579
4580   *) Remove bogus error message when a redirect doesn't set Location.
4581      Instead, use an empty string to avoid coredump if the error message
4582      was supposed to include a location.  [Roy Fielding]
4583
4584   *) Don't allow configure to include mod_auth_digest unless it is
4585      explicitly requested, even if the user asked for all modules.
4586      [Roy Fielding]
4587
4588   *) Translate module names to dll names for OS/2 so that they are no more
4589      than 8 characters long and have an extension of "dll" instead of "so".
4590      [Brian Havard]
4591
4592   *) Print out pointer to Rule DEV_RANDOM when truerand lib not found.
4593      Fix test-compile check to check for randbyte instead of trand32.
4594      Use ap_base64encode_binary/decode instead of copy in mod_auth_digest.c
4595      and tweak to make Amaya happier.  [Ronald Tschalär]
4596
4597   *) Ensure that the installed expat include files are world readable,
4598      just like the other header files.  [Martin Kraemer]
4599
4600   *) Fixed generated AddModule adjustments in APACI's `configure' script
4601      in order to allow (new) modules like mod_vhost_alias to be handled
4602      correctly (which was touched by the adjustments for mod_alias).
4603      [Ralf S. Engelschall]
4604
4605   *) For binary builds, add -R flag to apachectl to work around the lack of
4606      an absolute path to the ./libexec directory where the libhttp.ep file
4607      is needed for SHARED_CORE architectures.  [Randy Terbush]
4608
4609   *) WIN32: Create the CGI script process as DETACHED.  This may solve the
4610      problem observed by some Win95/98 users where they get CGI script
4611      output sent to the console.  [Bill Stoddard]
4612
4613   *) Fix (re)naming in the uuencode/decode section. The ap/ap_
4614      routines are now called ap_base64* and are 'plain' (i.e., no 
4615      pool access or anything clever). Inside util.c the routines acting
4616      like pstrdup are called ap_pbase64encode() and ap_pbase64decode().
4617      The oddly named ap_uuencode(), ap_uudecode() are kept around for
4618      now but deprecated.  [dirkx]
4619
4620   *) Clean up the base64 and SHA1 additions and make sure they are
4621      represented in the ApacheCore.def, ApacheCoreOS2.def, and httpd.exp
4622      files.  [Roy Fielding]
4623
4624   *) WIN32: Migrate to InstallShield 5.5 and provide a bit more error
4625      checking.  Allow compiling on VS 6.0.  [Randy Terbush]
4626
4627   *) Fixed assumption of absolute paths in binbuild.sh.  [Tony Finch]
4628
4629   *) Use TestCompile to search for the truerand library (rather than blindly
4630      assuming its existence). If it is not found, complain (but do not
4631      exit - yet).  [Martin Kraemer]
4632
4633   *) We forgot to add the new exported function names to
4634      src/support/httpd.exp.  [Bill Stoddard, Randy Terbush]
4635
4636   *) Add description of -T command-line option to usage().
4637      [Ralf S. Engelschall]
4638
4639   *) For "some" platforms (notably, EBCDIC based ones), libos needs to be
4640      searched only AFTER libap has been searched, because libap needs
4641      some symbols from libos.  [Martin Kraemer]
4642
4643   *) Fix conflict with original mod_digest related to the symbol of the
4644      module dispatch list (which has to be unique for DSO and follow the
4645      usual conventions for the installation procedure).
4646      [Ralf S. Engelschall]
4647
4648   *) Add a dbm-library check for the "usual places" (-ldbm, -lndbm, -ldb)
4649      for other platforms as well.  [Martin Kraemer]
4650
4651   *) Make ap_sha1.c compile for EBCDIC platforms: replace remaining LONG
4652      types by AP_LONG and replace reference to renamed variable 'ubuf'
4653      by 'buffer'.  [Martin Kraemer]
4654
4655 Changes with Apache 1.3.8 [not released]
4656
4657   *) Flush the output buffer immediately after sending an error or redirect
4658      response, since the result may be needed by the client to abort a
4659      long data transfer or restart a series of pipelined requests.
4660      [Tom Vaughan <tvaughan@aventail.com>, Roy Fielding]
4661
4662   *) PORT: Improved compilation and DSO support on Sequent DYNIX/ptx.
4663      [Ian Turner <iant@sequent.com>] PR#4735
4664
4665   *) Local struct mmap in http_core.c conflicted with system structure
4666      name on DYNIX -- changed to mmap_rec.  [Roy Fielding] PR#4735
4667
4668   *) Added updated mod_digest as modules/experimental/mod_auth_digest.
4669      [Ronald Tschalär <ronald@innovation.ch>]
4670
4671   *) Fix a memory leak where the module counts were getting messed
4672      up across restarts.  [David Harris <dharris@drh.net>]
4673
4674   *) CIDR addresses such as a.b.c.d/24 where d != 0 weren't handled
4675      properly in mod_access.
4676      ["Paul J. Reder" <rederpj@raleigh.ibm.com>] PR#4770
4677
4678   *) RewriteLock/RewriteMap didn't work properly with virtual hosts.
4679      [Dmitry Khrustalev <dima@bog.msu.su>] PR#3874
4680
4681   *) PORT: Support for compaq/tandem/com.
4682      [Michael Ottati <michael.ottati@compaq.com>, dirkx]
4683
4684   *) Added SHA1 password encryption support to easy migration from 
4685      Netscape servers. See support/SHA1 for more information.
4686      Caused the separation of ap_md5.c into md5, sha1 and a general
4687      ap_checkpass.c with just a validate_passwd routine. Added a
4688      couple of flags to support/htpasswd. Some reuse of the to64()
4689      function; hence renamed to ap_to64().
4690      [Dirk-Willem van Gulik, Clinton Wong <clintdw@netcom.com>]
4691
4692   *) Change for EBCDIC platforms (TPF and BS2000) to correctly deal
4693      with ASCII/EBCDIC conversions in "ident" query.
4694      [David McCreedy <McCreedy@us.ibm.com>]
4695
4696   *) Get rid of redefinition warning on MAC_OS_X_SERVER platform.
4697      Change "Power Macintosh" to Power* so if uname prints "Power Book"
4698      we're still happy on Rhapsody platforms.  [Wilfredo Sanchez]
4699
4700   *) Fix SIGSEGV on some systems because the Vary fix below included
4701      a call to table_do with a variable argument list that was not
4702      NULL terminated.  Replaced with better implementation. [Roy Fielding]
4703
4704 Changes with Apache 1.3.7 [not released]
4705
4706   *) The "Vary" response header field is now sanitised right before
4707      the header is sent back to the client.  Multiple "Vary" fields
4708      are combined, and duplicate tokens (e.g., "Vary: host, host" or
4709      "Vary: host, negotiate, host, accept-language") are reduced to
4710      single instances.  This is a better solution than the force-no-vary
4711      one (which is still valid for clients that can't cope with Vary
4712      at all).  PR#3118 [Dean Gaudet, Roy Fielding, Ken Coar]
4713
4714   *) Portability changes for BeOS. [David Reid abb37@dial.pipex.com]
4715
4716   *) Link DSO's with "gcc -shared" instead of "ld -Bshareable" at 
4717      least on Linux and FreeBSD for now.  
4718      [Rasmus Lerdorf]
4719
4720   *) Win32: More apache -k restart work. Restarts are now honored
4721      immediately and connections in the listen queue are -not- lost.
4722      This is made possible by the use of the WSADuplicateSocket()
4723      call.  The listeners are opened in the parent, duplicated, then
4724      the duplicates are passed to the child. The original listen sockets 
4725      are not closed by the parent across a restart, thus the listen queue 
4726      is preserved.
4727      [Bill Stoddard <stoddard@raleigh.ibm.com>]
4728
4729   *) Fix handling of case when a client has sent "Expect: 100-continue"
4730      and we are going to respond with an error, but get stuck waiting to
4731      discard the body in the pointless hope of preserving the connection.
4732      [Roy Fielding, Joe Orton <jeo101@york.ac.uk>] PR#4499, PR#3806
4733
4734   *) Fix 'configure' to work correctly with SysV-based versions of
4735      'tr' (consistent with Configure's use as well). [Jim Jagielski]
4736
4737   *) apxs: Add "-S var=val" option which allows for override of CFG_*
4738      built-in values. Add "-e" option which works like -i but doesn't
4739      install the DSO; useful for editing httpd.conf with apxs. Fix
4740      editing code so that multiple invocations of apxs -a will not
4741      create duplicate LoadModule/AddModule entries; apxs can now be
4742      used to re- enable/disable a module.  [Wilfredo Sanchez]
4743
4744   *) Win32: Update the server to use Winsock 2. Specifically, link with
4745      ws2_32.lib rather than wsock32.lib.  This gives us access to 
4746      WSADuplcateSocket() in addition to some other enhanced comm APIs.
4747      Win 95 users may need to update their TCP/IP stack to pick up
4748      Winsock 2. (See http://www.microsoft.com/windows95/downloads/)
4749      [Bill Stoddard stoddard@raleigh.ibm.com]
4750
4751   *) Win32: Redirect CGI script stderr (script debug info) into the 
4752      error.log when CGI scripts fail. This makes Apache on Win32 
4753      behave more like Unix.      
4754      [Bill Stoddard stoddard@raleigh.ibm.com]
4755
4756   *) Fixed `httpd' usage display: -D was missing.
4757      [Ralf S. Engelschall] PR#4614
4758
4759   *) Fix `make r' test procedure in src/regex/: ap_isprint was not found.
4760      [Ralf S. Engelschall] PR#4561, PR#4562
4761
4762   *) OS/2: Fix problem with accept lock semaphores where server would die with
4763      "OS2SEM: Error 105 getting accept lock. Exiting!" 
4764      [Brian Havard] PR#4505
4765
4766   *) Add DSO support for DGUX 4.x using gcc. Tested on x86 platforms.
4767      [Randy Terbush <randy@covalent.net>]
4768  
4769   *) Add the new mass-vhost module (mod_vhost_alias.c) developed and
4770      used by Demon Internet, Ltd. [Tony Finch <fanf@demon.net>]
4771
4772   *) Better GCC detection for DSO flags under Solaris 2 where the `cc' 
4773      command potentially _is_ GCC. [Ralf S. Engelschall]
4774
4775   *) Fix apxs build issues on AIX 
4776      [Rasmus Lerdorf <rasmus@raleigh.ibm.com>]
4777
4778   *) DocumentRoot Checking: Under previous versions, when Apache
4779      first started up, it used to do a stat of each DocumentRoot to
4780      see if it existed and was a directory. If not, then an error
4781      message was printed. THIS HAS BEEN DISABLED. If DocumentRoot
4782      does not exist, you will get error messages in error_log. If
4783      the '-t' command line option is used (to check the configuration)
4784      the check of DocumentRoot IS performed. An additional command
4785      line option, '-T', has been added if you want to avoid the
4786      DocumentRoot check even when checking the configuration.
4787      [Jim Jagielski]
4788
4789   *) Win32: The query switch "apache -S" didn't exit after showing the
4790      vhost settings. That was inconsistent with the other query functions.
4791      [Bill Stoddard - Fixed by Martin on Unix in 1.3.4]
4792
4793   *) Win32: Changed behaviour of apache -k restart. 
4794      Previously, the server would drain all connections in the stack's
4795      listen queue before honoring the restart. On a busy server, this
4796      could take hours.  Now, a restart is honored almost immediately. 
4797      All connections in Apache's queues are handled but connections in 
4798      the stack's listen queue are discarded. Restart triggered by 
4799      MaxRequestPerChild is unchanged.
4800      [Bill Stoddard <stoddard@raleigh.ibm.com>]
4801
4802   *) Win32: Eliminated unnecessary call to wait_for_multiple_objects in
4803      the accept loop. Good for a 5% performance boost. Cleaned up 
4804      parent/child process management code. 
4805      [Bill Stoddard <stoddard@raleigh.ibm.com>]
4806
4807   *) Added ceiling on file size for memory mapped files.
4808      [John Giannandrea <jg@meer.net>] PR#4122
4809
4810   *) Fix ndbm.h include problems with brain-dead glibc >= 2.1 which 
4811      has ndbm.h in a non-standard db1/ subdir. PR#4431, PR#4528
4812      [Henri Gomez <gomez@slib.fr>, Ralf S. Engelschall] 
4813
4814   *) Determine AP_BYTE_ORDER for ap_config_auto.h and already
4815      use this at least for Expat. [Ralf S. Engelschall]
4816
4817   *) Allow .module files to specify libraries with Lib:.
4818      [Ben Laurie]
4819
4820   *) Allow SetEnvIf[NoCase] to test environment variables as well
4821      as header fields and request attributes.  [Ken Coar]
4822
4823   *) Fix mod_autoindex's handling of ScanHTMLTitles when file
4824      content-types are "text/html;parameters".  PR#4524  [Ken Coar]
4825
4826   *) Remove "mxb" support from mod_negotiation -- it was a draft feature
4827      never accepted into any standard, and it opens up certain DoS
4828      attacks.  [Koen Holtman <Koen.Holtman@cern.ch>]
4829
4830   *) TestCompile updated. We can now run programs and output the
4831      results during the Configure process. [ Jim Jagielski]
4832
4833   *) The source is now quad (long long) aware as needed. Specifically,
4834      the Configure process determines the correct size of off_t and
4835      *void. When the OS/platform/compiler supports quads, ap_snprintf()
4836      provides for the 'q' format qualifier (if quads are not available,
4837      'q' is silently "demoted" to long). [Jim Jagielski]
4838
4839   *) When the username or password fed to htpasswd is too long, include the
4840      size limit in the error message.  Also report illegal characters
4841      (currently only ':') in the username.  Add the size restrictions
4842      to the man page.  [Ken Coar]
4843
4844   *) Fixed the configure --without-support option so it doesn't result in
4845      an infinite loop.  [Marc Slemko]
4846
4847   *) Piped error logs could cause a segfault if an error occured
4848      during configuration after a restart.
4849      [Aidan Cully <aidan@panix.com>] PR#4456
4850
4851   *) If a "Location" field was stored in r->err_headers_out rather
4852      than r->headers_out, redirect processing wouldn't find it and
4853      the server would core dump on ap_escape_html(NULL).  Check both
4854      tables and raise HTTP_INTERNAL_SERVER_ERROR with a log message
4855      if Location isn't set.  [Doug MacEachern, Ken Coar]
4856
4857   *) Add RULE_EXPAT, the src/lib/ directory structure, and a modified copy
4858      of the Expat 1.0.2 distribution. [Greg Stein]
4859
4860   *) Replace regexec() calls with calls to a new API stub function
4861      ap_regexec().  This solves problems with DSO modules which use the regex
4862      library. [Jens-Uwe Mager <jum@helios.de>, Ralf S. Engelschall]
4863
4864   *) Add 'Request_Protocol' special keyword to mod_setenvif so that
4865      environment variables can be set according to the protocol version
4866      (e.g., HTTP/0.9 or HTTP/1.1) of the request.  [Ken Coar]
4867
4868   *) Add DSO support for OpenStep (Mach 4.2) platform.
4869      [Ralf S. Engelschall, Rex Dieter <rdieter@math.unl.edu>] PR#3997
4870
4871   *) Fix sed regex for generating ap_config_auto.h in src/Configure.
4872      [Jan Gallo <gallo@pvt.sk>] PR#3690, PR#4373
4873  
4874   *) Switch to /bin/sh5 in APACI on Ultrix and friends to avoid problems with
4875      their brain-dead /bin/sh. [Ralf S. Engelschall] PR#4372
4876
4877   *) Better DSO flags recognition on NetBSD platforms using ELF.
4878      [Todd Vierling <tv@pobox.com>] PR#4310
4879
4880   *) Always log months in english format for %t in mod_log_config.
4881      [Petr Lampa <lampa@fee.vutbr.cz>] PR#4366, 679
4882
4883   *) Support for server-parsed and multiview-determined ReadmeName and
4884      HeaderName files in mod_autoindex. Removed the restriction on
4885      "/"s in ReadmeName and HeaderName directives since the *sub_req*
4886      routines will deal with the access issues. (It's now possible to
4887      have {site|group|project|customer|...} wide readmes and headers.)
4888      [Raymond S Brand <rsbx@rsbx.net>, Ken Coar] PR#1574, 3026, 3529,
4889      3569, 4256
4890
4891   *) When stat() fails, don't assume anything about the contents of
4892      the struct stat.  [Ed Korthof <ed@bitmechanic.com>]
4893
4894   *) It's OK for a semop to return EINTR, just loop around and try
4895      again.  [Dean Gaudet]
4896
4897   *) Fix configuration engine re-entrant hangups, which solve a
4898      handful of problems seen with mod_perl <Perl> configuration sections
4899      [Salvador Ortiz Garcia <sog@msg.com.mx>]
4900
4901   *) Mac OS and Mac OS X Server now use the appropriate custom layout
4902      by default when building with APACI; allow for platform-specific
4903      variable defaults in configure. [Wilfredo Sanchez]
4904
4905   *) Do setgid() before initgroups() in http_main; some platforms
4906      zap the grouplist when setgid() is called.  This was fixed in
4907      suexec earlier, but the main httpd code missed the change.
4908      [Rob Saccoccio <robs@InfiniteTechnology.com>]  PR#2579
4909
4910   *) Add recognition of .tgz as a gzipped tarchive.
4911      [Bertrand de Singly <bertrand.de-singly@polytechnique.fr>]  PR#2364
4912
4913   *) mod_include's fsize/flastmod should allow only relative paths, just
4914      like "include file".  [Jaroslav Benkovsky <benkovsk@pha.pvt.cz>]
4915
4916   *) OS/2: Add support for building loadable modules using DLLs.
4917      [Brian Havard]
4918
4919   *) Add iconsdir, htdocsdir, and cgidir to config.layout.
4920      [Wilfredo Sanchez]
4921
4922   *) Fix minor but annoying bug with the test for Configuration.tmpl
4923      being newer than Configuration so that it is less likely to fail
4924      when using APACI and shadow sources. [Wilfredo Sanchez]
4925
4926   *) PORT: Add initial support for Mac OS (versions 10.0 and
4927      greater). Use Mac OS X Server layout for now. Clean up dyld code
4928      in unix/os.c, and don't install the dyld error handlers, which
4929      are no longer needed in Mac OS. [Wilfredo Sanchez]
4930
4931   *) Rename Rhapsody layout to "Mac OS X Server". Change install
4932      locations to appropriate ones for user-built (as opposed to
4933      system) installs. [Wilfredo Sanchez]
4934
4935   *) Modify mod_autoindex's handling of AddDescription so that the
4936      behaviour matches the documentation.  [Ken Coar] PR#1898, 3072.
4937
4938   *) Add functionality to the install-bindist.sh script created by
4939      binbuild.sh to use tar when copying distribution files to the
4940      serverroot. This allows upgrading an existing installation
4941      without nesting the new distribution in the old.
4942
4943      install-bindist.sh now detects the local perl5 path to install
4944      apxs and dbmmanage with proper path to perl interpreter.
4945
4946      Add an install-binsupport target which copies the source files
4947      for apxs and dbmmanage to bindist to allow these scripts to
4948      be properly installed relative to the destination serverroot.
4949      [Randy Terbush, Covalent Technologies, randy@covalent.net]
4950
4951   *) Fix intermittent SEGV in ap_proxy_cache_error() in
4952      src/modules/proxy_util.c where a NULL filepointer and
4953      temporary filename were closed and unlinked.
4954      [Graham Leggett <minfrin@sharp.fm>,
4955      Tim Costello <tjcostel@socs.uts.edu.au>] PR#3178
4956
4957   *) Fix inconsistent error messages reported by mod_proxy.
4958      [Graham Leggett <minfrin@sharp.fm>]
4959
4960   *) OS/2: Fix terminating CGIs that aren't compiled by EMX GCC when a 
4961      connection is aborted.  [Brian Havard]
4962
4963   *) Force the LANG envariable to the known state of "C" so that we
4964      have assurance about how string manipulators (e.g., tr) will
4965      function.  [Ken Coar]  PR#1630
4966
4967   *) Add a directive to allow customising of the tracking cookie name.
4968      [Ken Coar]  PR#2921, 4303
4969
4970   *) Add "force-no-vary" envariable to allow servers to work around
4971      clients that choke on "Vary" fields in the response header.
4972      [Ken Coar, Dmitry Khrustalev <dima@zippy.machaon.ru>]  PR#4118
4973
4974   *) Fixed a bug in mod_dir that causes a child process will infinitely
4975      recurse when it attemps to handle a request for a directory wnd the
4976      value of the DirectoryIndex directive is a single dot. Also likely
4977      to happen for anyother values of DirectoryIndex that will map back
4978      to the same directory. The handler now only considers regular files
4979      as being index candidates. No PR#s found.
4980      [Raymond S Brand <rsbx@rsbx.net>]
4981
4982   *) Ease configuration debugging by making TestCompile fall back to
4983      using "make" if the $MAKE variable is unset [Martin Kraemer]
4984
4985   *) Fixed the ServerSignature directive to work as documented.
4986      [Raymond S Brand <rsbx@rsbx.net>] PR#4248
4987
4988   *) Add "opt" (SysV-style) layout to config.layout. [Raymond S Brand
4989      <rsbx@rsbx.net>]
4990
4991   *) Add APACI --without-execstrip option which can be used to disable the
4992      stripping of executables on installation.  This is very important for DSO
4993      and debugging situations. [Ralf S. Engelschall]
4994
4995   *) Add support for OS/2 (case insenstive filesystem, .exe suffix, etc)
4996      to APACI files and related scripts. 
4997      [Yitzchak Scott-Thoennes <sthoenna@efn.org>, Ralf S. Engelschall] PR#4269
4998
4999   *) Add support for standalone mode in TPF
5000      [Joe Moenich <moenich@us.ibm.com>]
5001
5002   *) Fix number of bytes copied by read_connection() in src/support/ab.c
5003      [Jim Cox <jc@superlink.net>] PR#4271
5004
5005   *) Fix special RewriteCond "-s" pattern matching.
5006      [Bob Finch <bob@nas.com>]
5007
5008   *) Fix value quoting in src/Configure script for ap_config_auto.h 
5009      [Paul Sutton <paul@awe.com>]
5010
5011   *) Make sure RewriteLock can be used only in the global context, (i.e.
5012      outside of any <VirtualHost> sections) because it's a global facility of
5013      the rewrite engine. [Ralf S. Engelschall]
5014
5015   *) Fix the ownership delegation for proxy directory under `make install'.
5016      [Ralf S. Engelschall]
5017
5018   *) APACI would not correctly build suexec. [Maria Verina
5019      <mariav@icgeb.trieste.it>] PR#4260
5020
5021   *) mod_mime_magic passed only the first 4k of a file to
5022      uncompress/gzip, but those tools sometimes do not produce
5023      any output unless a sufficient portion of the compressed
5024      file is input.  Change to pass the entire file -- but
5025      only read 4k of output.
5026      [Marcin Cieslak <saper@system.pl>] PR#4097
5027
5028   *) "IndexOptions None" generated extra spaces at the end of each
5029      line.  [inkling@firstnethou.com] PR#3770
5030
5031   *) The "100 Continue" response wasn't being sent after internal
5032      redirects. [Jose KAHAN <kahan@w3.org>] PR#3910, 3806, 3575
5033
5034   *) When padding the name with spaces for display, mod_autoindex would
5035      count &, <, and > in their escaped width, messing up the display.
5036      [Dean Gaudet] PR#4075, 3758
5037
5038   *) PORT: fixed a compilation problem on NEXT.
5039      [Jacques Distler <distler@golem.ph.utexas.edu>] PR#4130
5040
5041   *) r->request_time wasn't being set properly in certain error conditions.
5042      [Dean Gaudet] PR#4156
5043
5044   *) PORT: deal with UTS compiler error in http_protocol.c
5045      [Dave Dykstra <dwd@bell-labs.com>] PR#4189
5046
5047   *) Add ap_vrprintf() function.  [John Tobey <jtobey@banta-im.com>] PR#4246
5048
5049   *) Fix the mod_mime hash table to work properly with locales other
5050      than C.  [Dean Gaudet] PR#3427
5051
5052   *) Fix a memory leak which is exacerbated by certain configurations.
5053      [Dean Gaudet] PR#4225
5054
5055   *) Prevent clobbering saved IFS values in APACI. [Jim Jagielski]
5056
5057   *) Fix buffer overflows in ap_uuencode and ap_uudecode pointed out
5058      by "Peter 'Luna' Altberg <peter@altberg.nu>" and PR#3422
5059      [Peter 'Luna' Altberg <peter@altberg.nu>, Ronald Tschalär]
5060
5061   *) Make {Set,Unset,Pass}Env per-directory instead of per-server.
5062      [Ben Laurie]
5063
5064   *) Correct an apparent typo: on the Windows and MPE platforms, the
5065      htpasswd utility was limiting passwords to only 8 characters.
5066      [Ken Coar]
5067
5068   *) EBCDIC platforms: David submitted patches for two bugs in the
5069      MD5 digest port for EBCDIC machines:
5070      a) the htdigest utility overwrote the old contents of the digest file
5071      b) the Content-MD5 header value (ContentDigest directive) was wrong
5072      when the returned file was not converted from EBCDIC, but was a
5073      binary (e.g., image file) in the first place.
5074      [David McCreedy <mccreedy@us.ibm.com>]
5075
5076   *) support/htpasswd now permits the password to be specified on the
5077      command line with the '-b' switch.  This is useful when passwords
5078      need to be maintained by scripts -- particularly in the Win32
5079      environment.  [Ken Coar]
5080
5081   *) Win32: Win32 multiple services patch. Added capability to install and
5082      run multiple copies of apache as individual services.
5083
5084      Example 1:
5085      apache -n apache1 -i -f c:/httpd.conf
5086         Installs apache as service 'apache1' and associates c:/httpd.conf
5087         with that service.
5088      net start apache1
5089         Starts apache1 service.
5090      net stop apache1
5091         Stops apache1 service
5092
5093      Example 2:
5094      apache -n apache2 -i
5095         Installs apache as service 'apache2'. httpd.conf is located under
5096         the default server root (/apache/conf/httpd.conf).
5097      net start apache2
5098         Starts apache2 service.
5099
5100      Example 3:
5101      apache -n apache3 -i -d c:/program files/apache
5102         Install apache as service 'apache3' and sets server root to
5103         c:/program files/apache.
5104
5105      Example 4:
5106      apache -n apache2 -k restart
5107         Restart apache2 service 
5108
5109      [Keith Wannamaker, Ken Parzygnat, Bill Stoddard]
5110
5111   *) Correct the signed/unsigned character handling for the MD5 routines;
5112      mismatches were causing compilation problems with gcc -pedantic and
5113      in the TPF cross-compilation.  [Ken Coar]
5114
5115   *) OS/2: Rework CGI handling to use spawn*() instead of fork/exec, achieving
5116      a roughly 5 fold speed up. [Brian Havard]
5117
5118   *) proxy ftp: instead of using the hardwired string "text/plain" as
5119      a fallback type for files served by the ftp proxy, use the
5120      ap_default_type() function to determine the configured type.
5121      This allows for special configurations like
5122         <Directory proxy:ftp://some.host>
5123         DefaultType gargle/blurb
5124         </Directory>
5125      Additionally, add the Content-Encoding: header to FTP proxy replies
5126      when the encoding is defined (by the AddEncoding directive).
5127      Because it was missing, it was almost impossible to browse compressed
5128      files using the FTP proxy (works now perfectly in Communicator).
5129      The ftp proxy now also returns the Date: and Server: header lines (if not
5130      much else... This code is "somewhat" broken) like normal requests do.
5131      [Martin Kraemer]
5132
5133   *) Be more smart in APACI's configure script when determining the UID/GID
5134      for User/Group directives and use the determined UID/GID to initialize
5135      the permissions on the proxycachedir.
5136      [Dirk-Willem van Gulik, Ralf S. Engelschall]
5137
5138   *) Changed the forking-prior-to-cleanup in the proxy module to first
5139      check wether it actually needs to collect garbage. This reduces 
5140      the number of fork()s from one/request to just the odd one an hour.
5141      [Dirk-Willem van Gulik]
5142
5143   *) Added proxy, auth and header support to src/support/ab.c. Added a
5144      README file to src/support/
5145      [Dirk-Willem van Gulik]
5146
5147   *) Don't hard-code the path to AWK in --shadow bootstrapping Makefile.
5148      [Ralf S. Engelschall] PR#4050
5149
5150   *) Add support for DSO module compilation on BSD/OS 3.x.
5151      [Randy Terbush, Covalent Technologies]
5152
5153   *) Fix sed-substitutions in `make install': path elements like `httpd/conf'
5154      (for instance from an APACI configure --sysconfdir=/etc/httpd/conf
5155      option) were substituted with $(TARGET).conf, etc. Same for other strings
5156      with dots where the dot wasn't matched as plain text. 
5157      [Ralf S. Engelschall]
5158
5159   *) PORT: Add support for FreeBSD 4.x [Ralf S. Engelschall]
5160
5161   *) Fix verbose output of APACI configure (option -v) 
5162      [Martin Kraemer, Ralf S. Engelschall]
5163
5164 Changes with Apache 1.3.6
5165
5166   *) Removed new PassAllEnv code due to DSO problems. [Lars Eilebrecht]
5167
5168 Changes with Apache 1.3.5 [not released]
5169
5170   *) M_INVALID needed a value within the scope of METHODS so that unknown
5171      methods can be access controlled.  [Roy Fielding] PR#3821
5172
5173   *) Added PassAllEnv; makes server's entire environment available
5174      to CGIs and SSIs executed within directive's scope.  [Ken Coar]
5175
5176   *) ap_uuencode() always added two trailing '='s and encoding of
5177      8 bit characters on a machine with signed char may produced
5178      incorrect results. Additionally ap_uuencode() should now
5179      work correctly on EBCDIC platforms.
5180      [Ronald Tschalär <ronald@innovation.ch>] PR#3411
5181
5182   *) WIN32: Binary installer now runs the configuration DLL before
5183      the reboot prompt (which is only given if MSVCRT.DLL system
5184      DLL is new or updated). This should avoid the configuration
5185      directory being empty after installation. [Paul Sutton]
5186      PR#3767, 3800, 3827, 3850, 3900, 3953, 3988
5187
5188   *) WIN32: Binary installer now creates Start menu options to start
5189      and stop Apache as a console application and to uninstall
5190      the Apache service on NT. [Paul Sutton] PR#3741
5191
5192   *) WIN32: Apache.exe now contains an icon. [Paul Sutton]
5193
5194   *) PORT: Switch back to using fcntl() locking on Linux -- instabilities
5195      have been reported with flock() locking (probably related to kernel
5196      version).  [Dean Gaudet] PR#2723, 3531
5197
5198   *) Using APACI, the main config file (usually httpd.conf) was
5199      not being adjusted as $(TARGET).conf. [Wilfredo Sanchez
5200      <wsanchez@apple.com>]
5201
5202   *) PORT: AIX does not require the SHARED_CODE "hack"
5203      [Ryan Bloom <rbb@raleigh.ibm.com>]
5204
5205   *) Set-Cookie headers were being doubled up for some CGIs by the O(n^2)
5206      avoidance code added in 1.3.3.
5207      [Dean Gaudet, Jeff Lewis <lewis@stanford.edu>] PR#3872
5208
5209   *) ap_isxdigit was somehow neglected when adding the ap_isfoo() macros
5210      for 8-bit safeness.  [Dean Gaudet]
5211
5212   *) PORT: Use -fPIC instead of -fpic on Solaris and SunOS for compiling DSOs
5213      because SPARCs have a small machine-specific maximum size for the Global
5214      Offset Table which is often exceeded when compiling one of the larger
5215      third-party modules with Apache. [Peter Urban <Peter.Urban@epfl.ch>] PR#3977
5216
5217   *) Move the directive `ExtendedStatus' in httpd.conf-dist-win _after_ the
5218      DSO/DLL section because it's a directive from mod_status and isn't
5219      available before the DLL of mod_status is loaded.
5220      [Martin POESCHL <mpoeschl@gmx.net>] PR#3936
5221
5222   *) SECURITY: Fix a bug in the calculation of the buffer size for the line 
5223      continuation facility in Apache's configuration files which could 
5224      lead to a buffer overflow situation.
5225      [Thomas Devanneaux <Thomas.Devanneaux@enst.fr>] PR#3617
5226
5227   *) Make documentation and error messages of APACI's --activate-module=FILE 
5228      option more clear. [Jan Wolter <janc@wwnet.net>] PR#3995
5229
5230   *) Fix the gcc version check (for enabling the `inline' facility) to 
5231      really support all future gcc versions >= 2.7 until we know more.
5232      [John Tobey <jtobey@banta-im.com>] PR#3983
5233
5234   *) Let APACI's configure script correctly complain for unknown --enable-XXX
5235      and --disable-XXX options. [Ralf S. Engelschall] PR#3958
5236
5237   *) Link the shared core bootstrap program (``Rule SHARED_CORE=yes'') also
5238      against libap.a and use its ap_snprintf() instead of sprintf() to avoid
5239      possible buffer overflows. [Ralf S. Engelschall]
5240
5241   *) Remove no longer used non-API function ap_single_module_init().
5242      [Ralf S. Engelschall]
5243
5244   *) Add Apple's Mac OS X Server Layout "Rhapsody" to config.layout.
5245      [Wilfredo Sanchez]
5246
5247   *) Add cgidir, htdocsdir, iconsdir variables to Makefile.tmpl in order
5248      to make platform installations easier.  [Wilfredo Sanchez]
5249
5250   *) In configure, do not append the target name to the directory path if
5251      the path already contains "apache".  [Ralf S. Engelschall]
5252
5253   *) SIGPIPE is now ignored by the server core.  The request write routines
5254      (ap_rputc, ap_rputs, ap_rvputs, ap_rwrite, ap_rprintf, ap_rflush) now
5255      correctly check for output errors and mark the connection as aborted.
5256      Replaced many direct (unchecked) calls to ap_b* routines with the
5257      analogous ap_r* calls.  [Roy Fielding]
5258
5259   *) Enhanced mod_rewrite's mapfile handling: The in-core cache for text and
5260      DBM format mapfiles now uses a 4-way hash table with LRU functionality.
5261      Furthermore map lookups for non-existent keys are now cached as well.
5262      Additionally "txt" maps are now parsed with simple string functions
5263      instead of using ap_pregcomp(). As a side effect a bug that prevented
5264      the usage of keys containing the "," character was fixed.
5265      The changes drastically improve the performance when large rewrite maps
5266      are in use.
5267      [Michael van Elst <mlelstv@serpens.swb.de>, Lars Eilebrecht] PR#3160
5268
5269   *) Added ap_sub_req_method_uri() for doing a subrequest with a method
5270      other than GET, and const'd the definition of method in request_rec.
5271      [Greg Stein]
5272
5273   *) Use proper pid_t type for saving PIDs in alloc.c.  [John Bley]
5274
5275   *) Replaced use of WIN32 define with HAVE_DRIVE_LETTERS to indicate
5276      when the OS allows a DOS drive letter within pathnames.  [Brian Havard]
5277
5278   *) Add %V to mod_log_config, this logs the hostname according to the
5279      UseCanonicalName setting (this is the pre-1.3.4 behaviour of
5280      %v).  Useful for mass vhosting.  [Tony Finch <dot@dotat.at>]
5281
5282   *) Add support for \n and \t to mod_log_config, can be used to produce
5283      more reliable logs with multiline entries.  [Tony Finch <dot@dotat.at>]
5284
5285   *) Fixed a few compiler nits.  [John Bley <jbb6@acpub.duke.edu>]
5286
5287   *) Added informative error messages for failed munmap() and fseek() calls
5288      in http_core.c. [John Bley, Roy Fielding]
5289
5290   *) Added some informative error messages for some failed malloc()
5291      calls. [John Bley <jbb6@acpub.duke.edu>, Jim Jagielski]
5292
5293   *) OS/2 ap_os_canonical_filename()'s behaviour is improved: ap_assert()
5294      is removed. This allows <Directory proxy:*> directives to work and
5295      prevents invalid requests from killing the process.
5296      [Brian Havard <brianh@kheldar.apana.org.au>]
5297
5298   *) Reorganised FAQ document.
5299      [Joshua Slive <slive@finance.commerce.ubc.ca>] PR#2497
5300
5301   *) src/support/: The ApacheBench benchmark program was overhauled by
5302      David N. Welton: you can now have it generate an HTML TABLE, presumably
5303      for integration into other HTML sources. David updated the ab man page
5304      as well and added some missing descriptions. Thanks!
5305      [David N. Welton <davidw@prosa.it>]
5306
5307   *) Win32: The filename validity checker now allows filenames containing
5308      characters in the range 0x80 to 0xff (for example accented characters).
5309      [Paul Sutton] PR#3890
5310
5311   *) Added conditional logging based upon environment variables to
5312      mod_log_config.  mod_log_referer and mod_log_agent
5313      are now deprecated.  [Ken Coar]
5314
5315   *) Allow apache acting as a proxy server to relay the real
5316      reason of a failure to a client rather than the "internal
5317      server error" it does currently. The general exposure mechanism
5318      can be triggered by any module by setting the "verbose-error-to"
5319      note to "*"; this allows more than just proxy errors to be exposed.
5320      [Cliff Skolnick, Roy Fielding, Martin Kraemer] Related to PR#3455, 4086
5321
5322   *) Moved man pages for ab and apachectrl to section 8.
5323      [Wilfredo Sanchez, Roy Fielding]
5324
5325   *) Added -S option to install.sh so that options can be passed to
5326      strip on some platforms. [Ralf S. Engelschall, Wilfredo Sanchez]
5327
5328   *) Tweak modules Makefile generated by Configure so that it handles
5329      the test case of no modules being selected. [chaz@reliant.com]
5330
5331   *) Added a <LimitExcept method ...> sectioning directive that allows
5332      the user to assign authentication control to any HTTP method that
5333      is *not* given in the argument list; i.e., the logical negation
5334      of the <Limit> directive.  This is particularly useful for controlling
5335      access on methods unknown to the Apache core, but perhaps known by
5336      some module or CGI script. [Roy Fielding, Tony Finch]
5337
5338   *) Prevent apachectl from complaining if the PIDFILE exists but
5339      does not contain a process id, as might occur if the server is
5340      being rapidly restarted. [Wilfredo Sanchez]
5341
5342   *) Win32: Add global symbols missing from ApacheCore.def. [Carl Olsen]
5343
5344   *) Entity tag comparisons for If-Match and If-None-Match were not being
5345      performed correctly -- weak tags might cause false positives.  Also,
5346      strong comparison wasn't properly enforced in all cases.
5347      [Roy Fielding, Ken Coar, Dean Gaudet] PR#2065, 3657
5348
5349   *) OS/2: Supply OS/2 error code instead of errno on semaphore errors.
5350      [Brian Havard]
5351
5352   *) Work around a bug in Lynx regarding its sending "Negotiate: trans"
5353      even though it doesn't understand TCN.  [Koen Holtman, Roy Fielding]
5354
5355   *) Added ap_size_list_item(), ap_get_list_item(), and ap_find_list_item()
5356      to util.c for parsing an HTTP header field value to extract the next
5357      list item, taking into account the possible presence of nested comments,
5358      quoted-pairs, and quoted-strings. ap_get_list_item() also removes
5359      insignificant whitespace and lowercases non-quoted tokens.
5360      [Roy Fielding] PR#2065
5361
5362   *) proxy: The various calls to ap_proxyerror() can return HTTP/1.1 status
5363      code different from 500. This allows the proxy to, e.g., return
5364      "403 Forbidden" for ProxyBlock'ed URL's. [Martin Kraemer] Related to PR#3455
5365
5366   *) Fix ordering of language variants for the case where the traditional
5367      negotiation algorithm is being used with multiple language variants
5368      and no Accept-Language. [James Treacy <treacy@debian.org>] PR#3299, 3688
5369
5370   *) Do not round the TCN quality calculation to 5 decimal places,
5371      unlike RFC 2296, because the calculation might need 12 decimal places
5372      to get the right result.  [Roy Fielding]
5373
5374   *) Remove unused code to disable transparent negotiation when
5375      negotiating on encoding only, as we now handle encoding too
5376      (though this is nonstandard for TCN), remove charset=ISO-8859-1
5377      fiddle from the fiddle-averse RVSA comparison, and fix bugs in
5378      some debugging statements within mod_negotiation. [Koen Holtman]
5379
5380   *) Fixed a rare memory corruption possibility in mod_dir if the index
5381      file is negotiable and no acceptable variant can be found.
5382      [Dean Gaudet, Roy Fielding, Martin Kraemer]
5383
5384   *) Win32: Add new config directive, ScriptInterpreterSource, to enable
5385      searching the Win32 registry for script interpreters.
5386      [Bill Stoddard]
5387
5388   *) Win32: The compiled-in default filename for the error log is now
5389      error.log, which matches the default in the distributed httpd.conf.
5390      [Paul Sutton]
5391
5392   *) Win32: Any error messages from -i or -u command line options are now
5393      displayed on the console output rather than sent to the error log.
5394      Also the "Running Apache..." message is not output unless Apache is
5395      going to serve requests. [Paul Sutton]
5396
5397   *) Rework the MD5 authentication scheme to use FreeBSD's algorithm,
5398      and use a private significator ('$apr1$') to mark passwords as
5399      being smashed with our own algorithm.  Also abstract the password
5400      checking into a new ap_validate_password() routine.  [Ken Coar]
5401
5402   *) Win32: The filename validity checker now allows "COM" but refuses 
5403      access to "COM1" through "COM4". This allows filenames such
5404      as "com.name" to be served. [Paul Sutton] PR#3769.
5405
5406   *) BS2000: Adapt to the new ufork() system call interface which will
5407      make subtasking easier on the OSD/POSIX mainframe environment.
5408      [Martin Kraemer]
5409
5410   *) Add a compatibility define for escape_uri() -> ap_escape_uri() to
5411      ap_compat.h. [David White <david@persimmon.com>] PR#3725
5412
5413   *) Make NDBM file suffix determination for mod_rewrite more accurate, i.e.
5414      use `.db' instead of `.pag' not only for FreeBSD, but also when
5415      the NDBM library looks like Berkeley-DB based.
5416      [Ralf S. Engelschall] PR#3773
5417
5418   *) Add ability to handle DES or MD5 authentication passwords.
5419      [Ryan Bloom <rbb@Raleigh.IBM.Com>]
5420
5421   *) Fix O(n^2) memory consumption in mod_speling.  [Dean Gaudet]
5422
5423   *) SECURITY: Avoid some buffer overflow problems when escaping
5424      quoted strings.  (This overflow was on the heap and we believe
5425      impossible to exploit.)  [Rick Perry <perry@ece.vill.edu>]
5426
5427   *) Let src/Configure be aware of CFLAGS options starting with plus
5428      signs as it's the case for the HP/UX compiler.
5429      [Doug Yatcilla <yatcilda@umdnj.edu>] PR#3681
5430
5431   *) Remove the hard-wire of TAR=tar (we now check for gtar and gnutar first)
5432      and check to see if the tar we wind up with supports '-h'.
5433      [Jim Jagielski] PR#3671
5434
5435   *) A consistent and conservative style for all shell scripts has been
5436      implemented. Basically, all shell string tests use the traditional
5437      hack of 'if [ "x$var" != "x" ]' or 'if [ "x$var" = "xstring" ]'
5438      to protect against bare null variable strings (ie: wrapping both
5439      sides with double quotes and prepending 'x'). 'x' was chosen
5440      because it's more universal and hopefully easier for old shell
5441      prgrammers, as well as being easier to search for in 'vi' (/x\$) :)
5442      [Jim Jagielski]
5443
5444   *) The status module now prints out both the main server generation as
5445      well as the generation of each process. Also, the vhost info is
5446      printed with '?notable'. [Jim Jagielski]
5447
5448   *) Move src/main/md5c.c to src/ap/ap_md5c.c; it's httpd-neutral
5449      and this makes its functions available to things in src/support.
5450      [Ken Coar]
5451
5452 Changes with Apache 1.3.4
5453
5454   *) Renamed macros status_drops_connection to ap_status_drops_connection
5455      and vestigial scan_script_header to ap_scan_script_header_err,
5456      mostly for aesthetic reasons. [Roy Fielding]
5457
5458   *) The query switch "httpd -S" didn't exit after showing the
5459      vhost settings. That was inconsistent with the other query functions.
5460      [Martin Kraemer]
5461
5462   *) Moved the MODULE_MAGIC_COOKIE from before the versions and
5463      filename to the end of the STANDARD_MODULE_STUFF.  Its
5464      presence at the beginning prevented reporting of the filename
5465      for modules compiled before 1 January 1999.  [Ken Coar]
5466
5467   *) SECURITY: ap_os_is_filename_valid() has been added to Win32
5468      to detect and prevent access to special DOS device file names.
5469      [Paul Sutton, Ken Parzygnat]
5470      
5471   *) WIN32: Created new makefiles Makefile_win32.txt (normal build)
5472      and Makefile_win32_debug.txt (debug build) that work on Win95.
5473      Run each of the following from the src directory:
5474         nmake /f Makefile_win32.txt           # compiles normal build
5475         nmake /f Makefile_win32.txt install   # compiles and installs
5476         nmake /f Makefile_win32.txt clean     # removes compiled junk
5477         nmake /f Makefile_win32_debug.txt     # compiles debug build
5478         nmake /f Makefile_win32_debug.txt install
5479         nmake /f Makefile_win32_debug.txt clean
5480      [Roy Fielding]
5481
5482   *) Added binbuild.sh and findprg.sh helpers to make it easier for us
5483      to build binary distributions. [Lars Eilebrecht]
5484
5485   *) IndexOptions SuppressColumnSorting only turned off making
5486      the column headers anchors; you could still change the display
5487      order by manually adding a '?N=A' or similar query string to the
5488      URL.  Now SuppressColumnSorting locks in the sort order so
5489      it can't be overridden this way.  [Ken Coar]
5490
5491   *) Added IndexOrderDefault directive to supply a default sort order
5492      for FancyIndexed directory listings.  [Ken Coar] PR#1699
5493
5494   *) Change the ap_assert macro to a variant that works on all platforms.
5495      [Richard Prinz <richard.prinz@cso.net>] PR#2575
5496
5497   *) Make sure under ELF-based NetBSD (now) and OpenBSD (future) we don't
5498      search for an underscore on dlsym() (as it's already the case
5499      for FreeBSD 3.0). [Todd Vierling <tv@pobox.com>] PR#2462
5500   
5501   *) Small fix for mod_env.html: The module was documented as to be _not_
5502      compiled into Apache per default, although it _IS_ compiled into 
5503      Apache per default. [Sim Harbert <sim@mindspring.com>] PR#3572
5504
5505   *) Instead of fixing a bug in the generation procedure for config.status (a
5506      backslash was missing) we remove the bug together with it's complete
5507      context because the special cases of the past can now no longer occur
5508      because of the recent magic for the --with-layout default.
5509      [Ralf S. Engelschall] PR#3590
5510  
5511   *) Make top-level Makefile aware of a parallel build procedures (make -j) by
5512      making sure the src/support/ tools are _forced_ to be build last (they
5513      depend on other libraries).
5514      [Markus Theissinger <markus.theissinger@gmx.de>]
5515
5516   *) Fix installation procedure: Now that os-inline.c is actually used (a
5517      recently fixed bug prevented this) we need to also install os-include.c
5518      in addition to os.h into the PREFIX/include/ location or building of
5519      module DSOs with APXS fails. [Ralf S. Engelschall] PR#3527
5520
5521   *) Added MODULE_MAGIC_COOKIE as the first field in a module structure to
5522      allow us to distinguish between a garbled DSO (or even a file which isn't
5523      an Apache module DSO at all) and a DSO which doesn't match the current
5524      Apache API. [Ralf S. Engelschall] PR#3152
5525  
5526   *) Two minor enhancements to mod_rewrite: First RewriteRule now also
5527      supports the ``nocase|NC'' flag (as RewriteCond already does for ages) to
5528      match case insensitive (this especially avoids nasty patterns like
5529      `[tT][eE][sS][tT]'). Second two additional internal map functions
5530      `escape' and `unescape' were added which can be used to escape/unescape
5531      to/from hex-encodings in URLs parts (this is especially useful in
5532      combination with map lookups). 
5533      [Magnus Bodin, Ian Kallen, Ralf S. Engelschall]
5534
5535   *) Renamed the macro escape_uri() to ap_escape_uri() which was
5536      forgotten (because it was a macro) in the symbol renaming process.
5537      [Ralf S. Engelschall]
5538
5539   *) Fix some inconsistencies related to the scopes of directives. The only
5540      user visible change is that the directives `UseCanonicalName' and
5541      `ContentDigest' now use the (more correct) `Options' scope instead of
5542      (less correct) `AuthConfig' scope.  [Ralf S. Engelschall]
5543
5544   *) Using DSO, the Server token was being mangled. Specifically, the
5545      module's token was being added first before the Apache token. This
5546      has been fixed. [Jim Jagielski]
5547
5548   *) Major overhaul of mod_negotiation.c, part 2.
5549      - properly handle "identity" within Accept-Encoding.
5550      - allow encoded variants in RVSA negotiation and let them appear in
5551        the Alternates field using the non-standard "encoding" tag-list.
5552      - fixed both negotiation algorithms so that an explicitly accepted
5553        encoding is preferred over no encoding if "identity" is not
5554        included within Accept-Encoding.
5555      - added ap_array_pstrcat() to alloc.c for efficient concatenation
5556        of large substring sequences.
5557      - replaced O(n^2) memory hogs in mod_negotiation with ap_array_pstrcat.
5558      [Roy Fielding]
5559
5560   *) Major overhaul of mod_negotiation.c, part 1.
5561      - cleanups to mod_negotiation comments and code structure
5562      - made compliant with HTTP/1.1 proposed standard (rfc2068) and added
5563        support for everything in the upcoming HTTP/1.1
5564        revision (draft-ietf-http-v11-spec-rev-06.txt).
5565          - language tag matching also handles tags with more than 2
5566            levels like x-y-z
5567          - empty Accept, Accept-Language, Accept-Charset headers are
5568            processed correctly; previously an empty header would make all
5569            values acceptable instead of unacceptable.
5570          - allowed for q values in Accept-Encoding
5571      - added support for transparent content negotiation (rfc2295 and
5572        rfc2296) (though we do not implement all features in these drafts,
5573        e.g. no feature negotiation).  Removed old experimental version.
5574      - implemented 'structured entity tags' for better cache correctness
5575        (structured entity tags ensure that caches which can deal with Vary
5576        will (eventually) be updated if the set of variants on the server
5577        is changed)
5578          - this involved adding a vlist_validator element to request_rec
5579          - this involved adding the ap_make_etag() function to the global API
5580      - modified guessing of charsets used by Apache negotiation algorithm 
5581        to guess 'no charset' if the variant is not a text/* type
5582      - added code to sort multiviews variants into a canonical order so that
5583        negotiation results are consistent across backup/restores and mirrors
5584      - removed possibility of a type map file resolving to another type map
5585        file as its best variant
5586      [Koen Holtman, Roy Fielding, Lars Eilebrecht] PR#3451, 3299, 1987
5587
5588   *) RFC2396 allows the syntax http://host:/path (with no port number)
5589      but the proxy disallowed it (ap_proxy_canon_netloc()).
5590      [David Kristol <dmk@bell-labs.com>] PR#3530
5591
5592   *) When modules update/modify the file name in the configfile_t structure,
5593      syntax errors will report the updated name, not the original one.
5594      [Fabien Coelho <coelho@cri.ensmp.fr>] PR#3573
5595
5596   *) Correct some filename case assumptions from WIN32 to
5597      CASE_BLIND_FILESYSTEM.  [Brian Havard <brianh@kheldar.apana.org.au>]
5598
5599   *) For %v log ServerName regardless of the UseCanonicalName
5600      setting (similarly for %p).  [Dean Gaudet]
5601
5602   *) Configure was initializing the variables $OSDIR, $INCDIR and $SHELL
5603      rather late (too late for some invocations of TestCompile).
5604      This improves the make environment available to TestCompile and
5605      the *.module scripts. [Martin Kraemer]
5606
5607   *) The hashbang emulation code in ap_execve.c would interpret
5608      #!/hashbang/scripts correctly, but failed to fall back to a
5609      standard shell for scripts which did NOT start with #!
5610      Now SHELL_PATH is started in these cases. [Martin Kraemer]
5611
5612   *) PORT: Added the Cyberguard V2 port [Richard Stagg <stagg@lentil.org>]
5613      PR#3336
5614
5615   *) Update APXS manual page: some -q option arguments were missing
5616      and another was incorrect. [Mark Anderson <mda@discerning.com>] PR#3553
5617
5618   *) Cleanup the command line options: `-?' was documented to show
5619      the usage list but does it with an error because `?' is not a valid
5620      command. OTOH a lot of users expect `-h' to print such a usage list and
5621      instead are annoyed for ages by our huge unreadable list of directives.
5622      So we now changed the command line options this way:
5623      1. `-L' => `-R' 
5624         Intent: we need `-L' to be free, and `-R' for the DSO run-time path is
5625         very similar to the popular linker option.
5626      2. `-h' => `-L'
5627         Intent: while -l gives the small list of modules, -L now gives the
5628         large list of directives implemented by these modules.  This is also
5629         consistent with -v (short version info) and -V (large version info).
5630      3. `-?' => `-h' 
5631         Intent: it's now the expected option ;-)
5632      The manual page was adjusted accordingly. 
5633      [Ralf S. Engelschall] PR#2714
5634
5635   *) Fixed problem of fclose() on an unopened file in suexec if LOG_EXEC
5636      wasn't defined.  [Rick Franchuk <rickf@transpect.net>]
5637
5638   *) Removed recently introduced bugs and disfigurements in APACI:
5639      o fixed argument line processing: using $args was broken: It was not
5640        initialized and using args="$args $apc_option" and even args="$args
5641        \"$apc_option\"" fails in the second processing round for any arguments
5642        containing whitespaces. The only correct way is to use the construct
5643        "$@" (but not possible here) or iterate _both_ times over the implicit
5644        argument line (no argument to for-loop) which is what we now use.
5645      o make --with-layout=Apache the default without creating
5646        redundancy (copying the --with-layout block in the argument parsing
5647        loop).  We achieve this by using the "$@" construct together with the
5648        `set' command to prepend --with-layout=Apache to the command line in
5649        case --with-layout is not used.
5650      o fixed auto-suffix handling now that config.layout exists.
5651        Paths which are auto-suffixed are marked with a trailing plus sign in
5652        config.layout and every path now can be marked this way (not only the
5653        four paths for which we do it currently).  Additionally the suffix is
5654        no longer a static one. Instead it's now `/<target>' where <target> is
5655        the argument of the --target option or per default `httpd'.
5656      o allow also tabs (and only spaces) where we match whitespaces
5657      o various fixes and cleanups related to used shell coding style
5658      o made Jim happy by replacing `Written by' with `Initially written by' ;-)
5659      o trimmed output of --help to fit into 80 columns
5660      [Ralf S. Engelschall]
5661
5662   *) Added two new core API functions, ap_single_module_configure() and
5663      ap_single_module_init(), which are now used by mod_so to configure a module
5664      after loading. [Ralf S. Engelschall]
5665
5666   *) PORT: Add defines for USE_FLOCK_SERIALIZED_ACCEPT and
5667      SINGLE_LISTEN_UNSERIALIZED_ACCEPT to NetBSD/OpenBSD section
5668      of ap_config.h to allow serialized accept for multiport listens.
5669      [Roy Fielding, Curt Sampson] PR#3120
5670
5671   *) PORT: Fixed a misplaced #endif for NetBSD/OpenBSD section
5672      of ap_config.h that would skip several defines if DEFAULT_GROUP
5673      was overridden. [Roy Fielding]
5674
5675   *) PORT: The I86 version of DGUX has support for strncasecmp and 
5676      strcasecmp, so allow it in ap_config.h. [Amiel Lee Yee] PR#3247
5677
5678   *) Fix ordering of definitions in ap_config.h so that ap_inline is
5679      defined before it might be used. [Victor Khimenko]
5680
5681   *) PORT: Add Dynamic Shared Object (DSO) support for BSDI (v4.0).
5682      [Tom Serkowski <tks@bsdi.com>] PR#3453
5683
5684   *) Make generation of src/Configuration.apaci more robust: It failed to
5685      differenciate between modules when one module name was a postfix of
5686      another (e.g. cgi vs. fastcgi). We now check for mod_XXX, libXXX and even
5687      just XXX (think about totally non-standard names like "apache_ssl", too).
5688      [Ralf S. Engelschall] PR#3380
5689
5690   *) In src/Configure remove the SERVER_SUBVERSION support (already deprecated
5691      since 1.3b7) and make whitespace handling more robust (it failed horrible
5692      when whitespaces were present in the arguments of -D options).
5693      [Ralf S. Engelschall] PR#3240
5694
5695   *) Add APACI --shadow=DIR variant (in addition to --shadow). This now first
5696      creates an external package shadow tree in DIR before the local build
5697      shadow tree is generated under DIR. This way one can have the extracted
5698      Apache distribution tree read-only on NFS or CDROM and still build Apache
5699      from these sources. An automatically triggered VPATH-like mechanism is
5700      provided through the TOP variable, too.
5701      [Ralf S. Engelschall, Wilfredo Sanchez <wsanchez@apple.com>]
5702
5703   *) Fix negotiation so that a Vary response header is correctly 
5704      generated when, for a particular dimension, variants only vary
5705      in having or not having a value for that dimension. [Paul Sutton]
5706
5707   *) Fix negotiation so that we prefer an encoded variant over an
5708      unencoded variant if the user-agent explicitly says it can
5709      accept that encoding. Previously we always preferred the unencoded
5710      variant.
5711      [Paul Ausbeck <paula@alumni.cse.ucsc.edu>, Paul Sutton] PR#3447
5712  
5713   *) Fix APXS tool: query variables LIBS_SHLIB and TARGET were not recognized
5714      and the usage page was inconsistent with the functionality and manpage.
5715      [Ralf S. Engelschall]
5716
5717   *) Allow special options -Wc,xxx and -Wl,xxx on APXS compile/link command.
5718      They can occur multiple times and their arguments (`xxx') are passed AS
5719      IS to the compiler/linker command.  [Ralf S. Engelschall]
5720
5721   *) Fixed possible (but harmless in practice) bug in the DBM lookup
5722      procedure of mod_rewrite: very long keys were truncated.
5723      [Ralf S. Engelschall]
5724
5725   *) Added a generic --with-layout=[FILE:]ID option. ID here is a layout
5726      identifier, currently "Apache" and "GNU" are pre-defined in the file
5727      config.layout.  Custom layouts are possible by using FILE:ID as the
5728      argument where the layout ID is taken from FILE.
5729
5730      The config.layout file consists of <Layout ID>..</Layout> sections
5731      where inside those sections "path_variable: path_value" pairs can be
5732      specified. These lines are converted to path_variable='path_value'.
5733
5734   *) Add a DefaultLanguage directive so that files missing a language
5735      extension (e.g., .fr, .de) can be labelled as being some other
5736      default language. DefaultLanguage can appear in <Directory> and 
5737      <Files> containers as well as .htaccess files.  [Paul Sutton]
5738      PR#1180
5739
5740   *) Fix TARGET configuration when configuring and installing using
5741      APACI configure. TARGET now defines the basename of the configuration
5742      file, startup script, manual page, etc. log_error_core() now reports
5743      the server binary name given by argv[0]. TARGET can now also be defined
5744      with --target=TARGET parameter passed to APACI configure.
5745      [Ralf Engelschall, Randy Terbush]
5746
5747   *) mod_include.c:handle_perl() now properly tests for OPT_INCNOEXEC
5748      rather than OPT_INCLUDES [Rainer Schoepf <schoepf@uni-mainz.de>]
5749
5750   *) ap_md5_binary() was using sprintf() rather than a table lookup
5751      to convert binary bytes to hex digits.
5752      [Ronald Tschalär <ronald@innovation.ch>] PR#3409
5753
5754   *) Fix SEGV in TCN negotiation if no variants are acceptable.
5755      [Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>] PR#1987
5756
5757   *) API: ap_exists_config_define() function is now "public" [Doug MacEachern]
5758
5759   *) Fix documentation of `Action' directive: It can activate a CGI script
5760      when either a handler or a MIME content type is triggered by the request.
5761      [Andrew Pimlott <pimlott@math.harvard.edu>] PR#3340
5762
5763   *) Document the `add' command of `dbmmanage' in `dbmmanage.1' manpage.
5764      [David MacKenzie <djm@uu.net>] PR#3394
5765
5766   *) Ignore a "ErrorDocument 401" directive with a full URL and write a
5767      notice to the error log. It is not possible to send a 401 response
5768      and a redirect at the same time.  [Lars Eilebrecht]
5769
5770   *) Fallback to native compilers for IRIX-32 platform. It seems that
5771      a gcc 2.8.1 compiled apache is logging client addresses with all
5772      bits set (255.255.255.255). This is the second such problem caused
5773      by gcc 2.8.1 compiler. The first being broken semaphore locking.
5774      [Randy Terbush]
5775
5776   *) Updated mime.types to reflect current Internet media types
5777      and include a URL to the registry.
5778      [Manoj Kasichainula, Roy Fielding] PR#2380, 2286, 2246
5779
5780   *) SECURITY: Do a more complete check in mod_include to avoid 
5781      an infinite loop of recursive SSI includes.  [Marc Slemko] PR#3323
5782
5783   *) Add APACI --suexec-docroot and --suexec-logfile options which can be
5784      used to set the document root directory (DOC_ROOT) and the suexec
5785      logfile (LOG_EXEC), respectively. Additionally the --layout option
5786      was changed to show more information about the suEXEC setup.
5787      [Lars Eilebrecht] PR#3316, 3357, 3361
5788
5789   *) Added the last two WebDAV status codes of 424 (Failed Dependency)
5790      and 507 (Insufficient Storage) for use by third-party modules.
5791      [Roy Fielding]
5792
5793   *) Enabled all of the WebDAV method names for use by third-party
5794      modules, Limit, and Script directives.  That includes PATCH,
5795      PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, and UNLOCK.
5796      Improved mod_actions.c so that it can use any of the methods
5797      defined in httpd.h.  Added ap_method_number_of(method) for
5798      getting the internal method number.  [Roy Fielding]
5799
5800   *) PORT: Add a port to the TPF OS. [Joe Moenich <moenich@us.ibm.com> and
5801      others at IBM]
5802
5803   *) Fix problems with handling of UNC names (e.g., \\host\path)
5804      on Win32.  [Ken Parzygnat <kparz@us.ibm.com>]
5805
5806   *) Rework os_canonical_*() on Win32 so it's simpler, more
5807      robust, and works.  [Ken Parzygnat <kparz@us.ibm.com>]
5808      PR#2555, 2915, 3064, 3232
5809
5810   *) Work around incomplete implementation of strftime on Win32.
5811      [Manoj Kasichainula, Ken Parzygnat <kparz@us.ibm.com>]
5812
5813   *) Move a typedef to fix compile problems on Linux with 1.x kernels.
5814      [Manoj Kasichainula] PR#3177
5815
5816   *) PORT: Add a port to the Concurrent PowerMAX OS. [Tom Horsley
5817      <Tom.Horsley@mail.ccur.com>]
5818
5819   *) WIN32: Log more explicit error messages if spawning an interpreted 
5820      script failed, including the command line used to attempt to execute 
5821      the interpreter and the Win32 error code returned.  [Marc Slemko]
5822
5823   *) Disable sending of error-notes on a 500 (Internal Server Error) response
5824      since it often includes file path info.  Enable sending of error-notes
5825      on a 501 (Method Not Implemented).  [Roy Fielding] PR#3173
5826
5827   *) http_config.c would respond with 501 (Method Not Implemented) if a
5828      content type handler was specified but could not be found, which
5829      should have been a 500 response.  Likewise, mod_proxy.c would responsd
5830      with a 501 if the URI scheme is unrecognized instead of the correct
5831      response of 403 (Forbidden).  [Roy Fielding]
5832
5833   *) SECURITY: Eliminate DoS attack when a bad URI path contains what
5834      looks like a printf format escape.  [Marc Slemko, Studenten Net Twente]
5835
5836   *) Fix in mod_autoindex: for files where the last modified time stamp was
5837      unavailable, an empty string was printed which was 2 bytes short.
5838      The size and description columns were therefore not aligned correctly.
5839      [Martin Kraemer] (no PR#)
5840
5841   *) Update BS2000 OS code to work with recent versions. Starting with
5842      release A17, the child fork() must be replaced by a _rfork().
5843      (BS2000 only) [Martin Kraemer]
5844
5845   *) Add the actual server_rec structure of the specific Vhost to the
5846      scoreboard file and avoid a string copy (as well as allow some
5847      further future enhancements). [Harrie Hazewinkel
5848      <harrie.hazewinkel@jrc.it>]
5849
5850   *) Add APACI --permute-module=foo:bar option which can be used to
5851      on-the-fly/batch permute the order of two modules (mod_foo and mod_bar)
5852      in the Configuration[.apaci] file. Two special and important variants are
5853      supported for the option argument: first BEGIN:foo which permutes module
5854      mod_foo with the begin of the module list, i.e. it `moves' the module to
5855      the begin of the list (gives it lowest priority).  And second foo:END
5856      which permutes mod_foo with the end of the module list, i.e. it `moves'
5857      the module to the end of the list (gives it highest priority). 
5858      [Ralf S. Engelschall]
5859
5860   *) Fix problem with 'apache -k shutdown' and startup event
5861      synchronisation (Win32).  [Ken Parzygnat <kparz@raleigh.ibm.com>]
5862      PR#3255
5863
5864   *) The config parser wasn't correctly noticing a missing '>'
5865      on container start lines (e.g., it wouldn't spot
5866      "<Directory /" as a syntax error).  [Ryan Bloom <rbbloom@us.ibm.com>]
5867      PR#3279
5868
5869   *) Add a 'RemoveHandler' directive which will selectively remove
5870      all handler associations for the specified file extensions.
5871      [Ryan Bloom <rbbloom@us.ibm.com>] PR#1799.
5872
5873   *) Properly handle & allow "nul" and ".*/null" in AccessConfig and
5874      ResourceConfig directives on Win32.  Also add a note to the effect
5875      of 'useless User directive ignored on Win32' to the errorlog if
5876      a User directive is encountered on Win32.
5877      [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2078, 2303.
5878
5879   *) Fix multiple whitespace handling in imagemaps for mod_imap which was
5880      broken since Apache 1.3.1 where we took out compressing of multiple
5881      spaces in ap_cfg_getline().
5882      [Ivan Richwalski <ivan@seppuku.net>] PR#3249
5883
5884   *) Fix Berkeley-DB/2.x support in mod_auth_db: The data structures were not
5885      initialized correctly and the db_open() call used an invalid mode
5886      parameter. [Ron Klatchko <ron@ckm.ucsf.edu>] PR#3171
5887
5888   *) PORT: DSO support for UnixWare 7
5889      [Ralf S. Engelschall, Ron Record <rr@sco.com>]
5890
5891   *) Merge the contents of the {srm,access}.conf-dist* files into the
5892      httpd.conf-dist* files.  The srm and access files now contain
5893      only comments, and httpd.conf has all the combined contents in
5894      a rational order.  [Ken Coar]
5895
5896   *) PORT: DSO/ELF support for FreeBSD 3.0.
5897      [Ralf S. Engelschall, Dirk Froemberg <ibex@physik.TU-Berlin.DE>]
5898   
5899   *) Add a "default-handler" handler that calls the default_hander()
5900      function which is normally called for static content.  This allows
5901      you to override a specific handler.  [Marc Slemko]
5902
5903   *) Further simplify checking for absolute paths by replacing an
5904      hard-coded syntax check with a call to a routine we already created to
5905      do this.  [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2976, 3074
5906
5907   *) Log an error if we encounter a malformed "require" directive 
5908      in mod_auth if we know that we know that no other module can
5909      deal with it.  [Marc Slemko]
5910
5911   *) Remove ap_private_extern method of hiding conflicting symbols
5912      on the NEXT platform because it is not correct for all versions,
5913      and the versions for which it is correct are unknown.
5914      [Wilfredo Sanchez <wsanchez@apple.com>]
5915
5916   *) Fix inheritance of IndexOptions NameWidth and remove unintended
5917      restriction on +NameWidth, +IconHeight, and +IconWidth.  [Ken Coar]
5918
5919   *) Fix per-directory config merging for cases in which a 500 error
5920      is encountered in an .htaccess file somewhere down the tree.
5921      [Ken Coar]  PR#2409
5922
5923   *) Minor performance improvement to ap_escape_html(). [Roy Fielding]
5924
5925   *) Fixed a segmentation violation in mod_proxy when a response is
5926      non-cachable.  [Roy Fielding, traced by Doug Bloebaum]. PR#2950, 3056
5927
5928 Changes with Apache 1.3.3
5929
5930   *) Added a complete implementation of the Expect header field as
5931      specified in rev-05 of HTTP/1.1.  Disabled the 100 Continue
5932      response when we already know the final status, which is mighty
5933      useful for PUT responses that result in 302 or 401. [Roy Fielding]
5934
5935   *) Remove extra trailing whitespace from the getline results as part
5936      of the protocol processing, which is extra nice because it works
5937      between continuation lines, is almost no cost in the normal case
5938      of no extra whitespace, and saves memory. [Roy Fielding]
5939
5940   *) Added new HTTP status codes and default response bodies from the
5941      revised HTTP/1.1 (307, 416, 417), WebDAV (102, 207, 422, 423), and 
5942      HTTP Extension Framework (510) specifications.  Did not add the
5943      WebDAV 424 and 425 codes because they are bogus.  We don't use any
5944      of these codes yet, but they are now available to 3rd-party modules.
5945      [Roy Fielding]
5946
5947   *) Fix a possible race condition between timed-out requests and the
5948      ap_bhalfduplex select that might result in an infinite loop on
5949      platforms that do not validate the descriptor. [Roy Fielding]
5950
5951   *) WIN32: Add "-k shutdown" and "-k restart" options to signal a
5952      running Apache server [Paul Sutton]
5953
5954   *) Fix mod_autoindex bug where directories got a size of "0k" instead
5955      of "-".  [Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>, Marc Slemko]
5956      PR#3130
5957
5958   *) PORT: DRS 6000 machine. [Paul Debleecker <pdebleecker@jetair.be>]
5959
5960   *) Add the server signature text (from the core ServerSignature directive)
5961      to the list of envariables available to scripts, SSI, and the like.
5962      [Ken Coar]
5963
5964   *) PORT: Fix sys/resource.h handling for SCO 3.x platform.
5965      [M. Laak <maert@proinv.ee>] PR#3108
5966  
5967   *) Fallback from sysconf-based to plain HZ-based `ticks per second'
5968      calculation in mod_status for all systems which don't have POSIX
5969      sysconf() (like UTS 2.1) and not only for the NEXT platform.
5970      [Dave Dykstra <dwd@bell-labs.com>] PR#3055
5971
5972   *) Fix `require ...' directive parsing in mod_auth, mod_auth_dbm and
5973      mod_auth_db by using ap_getword_white() (which uses ap_isspace()) 
5974      instead of ap_getword(..., ' ') (which parses only according to spaces 
5975      but not tabs).  [James Morris <jmorris@intercode.com.au>, 
5976      Ralf S. Engelschall] PR#3105
5977
5978   *) Fix the SERVER_NAME variable under sub-request situations (where
5979      `UseCanonicalName off' is used) like CGI's called from SSI pages or
5980      RewriteCond variables by adopting r->hostname to sub-requests.
5981      [James Grinter <jrg@blodwen.demon.co.uk>] PR#3111
5982
5983   *) Fix stderr redirection under syslog-based error logging situation.
5984      [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#3095
5985
5986   *) Document `ErrorLog syslog:facility' variant of error logging.
5987      [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#3096
5988
5989   *) Fix http://localhost/ hints in top-level INSTALL document.
5990      [Rob Jenson <robjen@spotch.com>, Ralf S. Engelschall] PR#3088
5991
5992   *) Quote paths in default configuration files.  [Wilfredo Sanchez]
5993
5994   *) PORT: Remove extra HAVE_SYS_RESOURCE_H define for RHAPSODY since
5995      it is now taken care of properly by the header file tests.
5996      [Wilfredo Sanchez <wsanchez@apple.com>]
5997
5998   *) Fix problem with scripts and filehandle inheritance on Win32.
5999      [Ken Parzygnat <kparz@raleigh.ibm.com>]  PR#2884, 2910
6000
6001   *) Win32 name canonicalisation could end up using the server's
6002      working directory to fill in some blanks.  [Ken Parzygnat
6003      <kparz@raleigh.ibm.com>] PR#3001
6004
6005   *) Correct invalid assumption by ap_sub_req_lookup_file() that all
6006      absolute paths begin with "/" -- because they don't on Win32.
6007      [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2976, 3074
6008
6009   *) Add [REDIRECT_]VARIANTS environment variable to mod_speling
6010      so that ErrorDocument 300 processors can reformat the list
6011      if desired.  [Ken Coar] PR#2859
6012
6013   *) Add +/- incremental prefixes to IndexOptions keywords, and
6014      enable merging of multiple IndexOptions directives.  [Ken Coar]
6015
6016   *) PORT: Allow GuessOS to recognize Unixware 7.0.1 [Steve Cameron
6017      <steve.cameron@compaq.com>]
6018
6019   *) Reconstructed the loop through multiple htaccess file names so
6020      that missing files are not confused with unreadable files.
6021      [Roy Fielding]
6022
6023   *) The ap_pfopen and ap_pfdopen routines were failing to protect the
6024      errno on an error, which leads to one error being mistaken for
6025      another when reading non-existent .htaccess files.
6026      [Jim Jagielski]
6027
6028   *) OS/2: The new header tests get things right, need to update
6029      ap_config.h.  [Brian Havard]
6030
6031   *) The Perl %ENV hash will now be setup by default when using the
6032      mod_include `perl' command [Doug MacEachern]
6033
6034   *) PORT: Add Pyramid DC/OSx support to configuration mechanism.
6035      [Earle Ake <akee@wpdiss1.wpafb.af.mil>]
6036
6037   *) PORT: Fix sys/resource.h handling for Amdahl's UTS 2.1
6038      [Dave Dykstra <dwd@bell-labs.com>] PR#3054
6039
6040   *) Correct comment in mod_log_config.c about its internals.
6041      [Elf Sternberg <elf@halcyon.com>]
6042
6043   *) Avoid possible line overflow in Configure: Use an awkfile to
6044      handle the creation of modules.c [Jim Jagielski]
6045
6046 Changes with Apache 1.3.2
6047
6048   *) Fix bug in ap_remove_module(), which caused problems for dso's 
6049      who were the top_module.  [Doug MacEachern]
6050
6051   *) Add support for Berkeley-DB/2.x (in addition to Berkeley-DB/1.x) to
6052      mod_auth_db to both be friendly to users who wants to use this version
6053      and to avoid problems under platforms where only version 2.x is present.
6054      [Dan Jacobowitz <drow@false.org>, Ralf S. Engelschall]
6055
6056   *) When using ap_log_rerror(), make the error message available to the
6057      *ERROR_NOTES envariables by default.  [Ken Coar]
6058
6059   *) BS2000 platform only: get rid of the nasty BS2000AuthFile.
6060      You now must define a BS2000Account name for the server User.
6061      This has fewer security implications than the old approach.
6062      [Martin Kraemer]
6063
6064   *) Fix SHARED_CORE feature for HPUX platform: We now use extension `.sl'
6065      instead of `.so' and `SHLIB_PATH' instead of `LD_LIBRARY_PATH' on this
6066      platform to make the braindead HPUX linker happy. Notice, for the module
6067      DSOs we don't have to use this, because these are loaded manually (and
6068      not via HPUX' dld). [Ralf S. Engelschall] PR#2905, PR#2968
6069
6070   *) Remove 64 thread limit on Win32.
6071      [Bill Stoddard <stoddard@raleigh.ibm.com>]
6072
6073   *) Remove redundant substitutions in top-level Makefile.tmpl.
6074      [Ralf S. Engelschall]
6075
6076   *) Fix APACI's `Group' configuration adjustment - especially for Linux
6077      platforms where `nogroup' exists in /etc/group. [Ralf S. Engelschall]
6078  
6079   *) Make PrintPath work generically instead of having one version
6080      strictly for OS/2. [Jim Jagielski, Brian Havard]
6081
6082   *) Fix the recently introduced C header file checking: We now use the C
6083      pre-processor pass only (and no longer the complete compiler pass) to
6084      determine whether a C header file exists or not. Because only this way
6085      we're safe against inter-header dependencies (which caused horrible
6086      portability problems). The only drawback is that we now have a CPP
6087      configuration variable which has to be determined first (we do a similar
6088      approach as GNU Autoconf does here). When all fails the user still has
6089      the possibility to override it manually via APACI or src/Configuration.
6090      As a fallback for the header check itself we can directly check the
6091      existance of the file under /usr/include, too.
6092      [Ralf S. Engelschall] PR#2777
6093
6094   *) PORT: Added RHAPSODY (Mac OS X Server) support. MAP_TMPFILE defined
6095      as an alternate mechanism for mmap'd shared memory for RHAPSODY.
6096      ap_private_extern defined to hide symbols that conflict with loaded
6097      dynamic libraries on the NEXT and RHAPSODY platforms.
6098      [Wilfredo Sanchez <wsanchez@apple.com>]
6099
6100   *) Delete PID file on clean shutdowns.
6101      [Charles Randall <crandall@matchlogic.com>] PR#2947
6102
6103   *) Fix mod_auth_*.html documents: NSCA -> NCSA
6104      [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#2991
6105
6106   *) Fix INSTALL document: www.gnu.ai.mit.edu -> www.gnu.org
6107      [Karl Berry <karl@gnu.org>] PR#2994
6108
6109   *) Fix dbmmanage.1 manual page.
6110      [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#2992
6111      
6112   *) Fix possible buffer overflow situation in suexec.c.
6113      [Jeff Stewart <jws@purdue.edu>] PR#2790
6114
6115   *) Add some more LIBS for the SCO5 platform which are needed for the already
6116      used -lprot. It's actually a bug in SCO5, of course.
6117      [Ronald Record <rr@sco.com>] PR#2533
6118
6119   *) Fix documentation of ProxyPass/ProxyPassReverse according to the
6120      trailing slash problem. [Jon Drukman <jsd@gamespot.com>] PR#2933
6121   
6122   *) Remove `-msym' option from LDFLAGS_SHLIB for the Digital UNIX (OSF/1)
6123      platform, because it's only supported under version 4.0 and higher. But
6124      because our GuessOS is still unaware of Digital UNIX versions and the
6125      -msym is just to optimize the DSO statup time a little bit it's safe and
6126      best when we leave it out now.  [Ralf S. Engelschall] PR#2969
6127
6128   *) Fix the ap_log_error_old(), ap_log_unixerr() and ap_log_printf()
6129      functions: First all three functions no longer fail on strings containing
6130      "%" chars and second ap_log_printf() no longer does a double-formatting
6131      (instead it directly passes through the message to be formatted to the
6132      real internal formatting function). [Ralf S. Engelschall] PR#2941
6133
6134   *) Allow "Include" directives anywhere in the server config
6135      files (but not .htaccess files).  [Ken Coar] PR#2727
6136
6137   *) The proxy was refusing to serve CONNECT requests except to
6138      port 443 (https://) and 563 (snews://). The new AllowCONNECT
6139      directive allows the configuration of the ports to which a
6140      CONNECT is allowed.  [Sameer Parekh, Martin Kraemer]
6141
6142   *) mod_expires will now act on content that is not sent from a file
6143      on disk.  Previously it would never add an Expires: header to
6144      any response that did not come from a file on disk; the only
6145      case where it still doesn't (and can't) add one for that type of 
6146      content is if you are using a modification date based setting.  
6147      [Marc Slemko, Paul Phillips <paulp@go2net.com>]
6148
6149   *) Problems encountered during .htaccess parsing or CGI execution
6150      that lead to a "500 Server Error" condition now provide explanatory
6151      text (in the *ERROR_NOTES envariable) to ErrorDocument 500 scripts.
6152      [Ken Coar] PR#1291
6153
6154   *) Add NameWidth keyword to IndexOptions directive so that the
6155      width of the filename column is customisable.  [Ken Coar, Dean Gaudet]
6156      PR#1949, 2324.
6157
6158   *) Recognize lowercase _and_ uppercase `uname' results under
6159      SCO OpenServer. [David Coelho <drc@ppt.com>]
6160
6161   *) As duplicate "HTTP/1.0 200 OK" lines within the header seem to be
6162      a common problem of (mis-administrated?) IIS servers, make the apache
6163      proxy immune to these errors (and ignore the duplicates, but log
6164      the fact to error_log). [Martin Kraemer], after the proposal in PR#2914 
6165      
6166   *) The <IfModule and <IfDefine block starting directives now only
6167      allow exactly one argument. Previously, the optional negation
6168      character '!' could be separated by whitespace without a syntax
6169      error being reported, albeit defeating the IfModule functionality
6170      (enclosed directives would ALWAYS be executed). By using the
6171      stricter syntax, these hard-to-track errors can be avoided.
6172      [Martin Kraemer]
6173
6174   *) Simplify handling of IndexOptions in mod_autoindex -- and BTW
6175      cause the standalone FancyIndexing directive to logically OR
6176      into any existing IndexOptions settings rather than wiping
6177      them out.  [Ken Coar]
6178
6179   *) Changes in ftp proxy: make URL parsing simpler by using the
6180      parsed_uri stuff.
6181      + Add display of the "current directory" in cases where it's
6182      different from the supplied path (e.g., ftp://user@host/ lives
6183      in /home/user, not in /, therefore clicking on "../" in the
6184      starting directory might send us to /home/).
6185      + When ftp login fails, (esp. when a user name was part of the
6186      URL already), we now return [401 Unauthorized ] to allow the
6187      browser to pop up an authorization dialog. This makes passwords
6188      slightly less visible (they don't appear in the regular log files)
6189      and implements a functionality that other www proxy servers
6190      already offered.
6191      [Martin Kraemer]
6192
6193   *) Triggered by the recent "Via:" header changes, the proxy module would
6194      dump core for replies with invalid headers (e.g., duplicate
6195      "HTTP/1.0 200 OK" lines). These errors are now logged and the
6196      core dump is avoided. Also, broken replies are not cached.
6197      [Martin Kraemer] PR#2914
6198
6199   *) new `GprofDir' directive when compiled with -DGPROF, where gprof can
6200      plop gmon.out profile data for each child [Doug MacEachern]
6201    
6202   *) Use the construct ``"$@"'' instead of ``$*'' in the generated
6203      config.status script to be immune against arguments with whitespaces.
6204      [Yves Arrouye <yves@apple.com>] PR#2866
6205
6206   *) Replace the inlined information grabbing stuff for the configuration
6207      adjustment feature (no --without-confadjust) with calls to a new helper
6208      script `buildinfo.sh' which is both more flexible and already proofed to
6209      be more robust against platform differences. This mainly fixes the
6210      recently occured ``sed: command garbled: ...'' problems.
6211      [Ralf S. Engelschall] PR#2776, PR#2848
6212
6213   *) Make ab.c again pass ``gcc -Wall -Wshadow -Wpointer-arith -Wcast-align
6214      -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''
6215      without complains after we recently added the POST feature.
6216      [Ralf S. Engelschall]
6217
6218   *) Renamed is_HTTP_xxx() macros to ap_is_HTTP_xxx() name. They are used inside
6219      modules as API functions and we forgot them at the big symbol renaming.
6220      [Ralf S. Engelschall]
6221
6222   *) Remove bad reference to non-existing SERVER_VERSION in mod_rewrite.html
6223      [Youichirou Koga <y-koga@jp.FreeBSD.ORG>] PR#2895
6224
6225   *) Dynamically size the filename column of mod_autoindex output.
6226      [Dean Gaudet]
6227
6228   *) Add the ability to do POST requests to the ab benchmarking tool.
6229      [Kurt Sussman <kls@best.com>] PR#2871
6230
6231   *) Bump up MAX_ENV_FLAGS in mod_rewrite.h from the too conservatice limit of
6232      5 to 10 because there are some users out there who always have 5 to 8
6233      variables in one RewriteRule and had to patch mod_rewrite.h for every
6234      release. So 15 should be now more than enough, even for them. (I never
6235      needed more than 4 in my RewriteRules ;-)
6236      [Ralf S. Engelschall]
6237
6238   *) Make the proxy generate and understand Via: headers
6239      [Martin Kraemer]
6240
6241   *) Change the proxy to use tables instead of array_headers for
6242      the header lines. [Martin Kraemer]
6243
6244   *) Make sure the config.status file is not overridden when just
6245      ``configure --help'' is used. [Ralf S. Engelschall] PR#2844
6246
6247   *) Split MODULE_MAGIC_NUMBER into _MAJOR/_MINOR numbers. This should
6248      provide a way to trace API changes that add functionality but do
6249      not create a compatibility issue for precompiled modules, etc.
6250      See include/ap_mmn.h for more details.  [Randy Terbush]
6251
6252   *) Fix suexec installation under `make install root=xxx' situation.
6253      [Ralf S. Engelschall]
6254
6255   *) Extend the output of the -V switch to include the paths of all
6256      compiled-in configuration files, if they were overridden at
6257      compile time, for least astonishment of the user.
6258      [Martin Kraemer]
6259
6260   *) When READing a request in ExtendedStatus mode, the "old"
6261      vhost, request and client information is not displayed.
6262      [Jim Jagielski]
6263
6264   *) STATUS is no longer available. Full status information now
6265      run-time configurable using the ExtendedStatus directive.
6266      [Jim Jagielski]
6267
6268   *) SECURITY: Eliminate O(n^2) space DoS attacks (and other O(n^2)
6269      cpu time attacks) in header parsing.  Add ap_overlap_tables(),
6270      a function which can be used to perform bulk update operations
6271      on tables in a more efficient manner.  [Dean Gaudet]
6272
6273   *) SECURITY: Added compile-time and configurable limits for
6274      various aspects of reading a client request to avoid some simple
6275      denial of service attacks, including limits on maximum request-line
6276      size (LimitRequestLine), number of header fields (LimitRequestFields),
6277      and size of any one header field (LimitRequestFieldsize).  Also added
6278      a configurable directive LimitRequestBody for limiting the size of the
6279      request message body.  [Roy Fielding]
6280
6281   *) Make status module aware of DNS and logging states, even if
6282      STATUS not defined.  [Jim Jagielski]
6283
6284   *) Fix a problem with the new OS/2 mutexes.  [Brian Havard]
6285
6286   *) Enhance mod_speling so that CheckSpelling can be used in
6287      <Directory> containers and .htaccess files.  [Ken Coar]
6288
6289   *) API: new ap_custom_response() function for hooking into the
6290      ErrorDocument mechanism at runtime [Doug MacEachern]
6291
6292   *) API: new ap_uuencode() function [Doug MacEachern]
6293
6294   *) API: scan_script_header_err_core() now "public" and renamed
6295      ap_scan_script_header_err_core() [Doug MacEachern]
6296
6297   *) The 'status' module will now show the process pid's and their
6298      state even without full STATUS accounting. [Jim Jagielski]
6299
6300   *) Restore the client IP address to the error log messages, this
6301      was lost during the transition from 1.2 to 1.3.  Add a new
6302      function ap_log_rerror() which takes a request_rec * and
6303      formats it appropriately.  [Dean Gaudet] PR#2661
6304
6305   *) Cure ap_cfg_getline() of its nasty habit of compressing internal
6306      whitespace in input lines -- including within quoted strings.
6307      [Ken Coar]
6308      but leading and trailing whitespace should continue to be
6309      stripped [Martin Kraemer]
6310
6311   *) Cleanup of the PrintPath/PrintPathOS2 helper functions. Avoid
6312      the ugly use of an env. variable and use command-line args for
6313      alternate $PATH. Make more like advanced 'type's as well.
6314      [Jim Jagielski]
6315
6316   *) The IRIXN32 Rule was being ignored. Configure now correctly adds
6317      -n32 only if IRIXN32 says to. [Jim Jagielski, Alain St-Denis
6318      <alain.st-denis@ec.gc.ca>] PR#2736
6319
6320   *) Clean up a warning in mod_proxy. [Ralf S. Engelschall]
6321
6322   *) Renamed __EMX__ (internal define of the gcc port under OS/2) to OS2
6323      following the same idea as "MSVC vs WIN32". Additionally the src/os/emx/
6324      directory was renamed to src/os/os2/ for consistency.
6325      [Brian Havard, Ralf S. Engelschall]
6326
6327   *) Add new Rule SHARED_CHAIN which can be used to enable linking of DSO
6328      files (here modules) against other DSO files (here shared libraries).
6329      This is done by determining a subset of LIBS which can be safely used for
6330      linking the DSOs, i.e. PIC libs and shared libs.  Currently the rule is
6331      disabled for all platforms to avoid problems with this (experimental)
6332      rule. But we provide it now for those people how ran into problems and
6333      want to came out by forcing linking against DSOs.
6334      [Ralf S. Engelschall] PR#2587
6335
6336   *) Fix suEXEC start message: Has to be of `notice' level to really get
6337      printed together with the standard startup message because the `notice'
6338      level is handled special inside ap_log_error() for startup messages.
6339      [Ralf S. Engelschall] PR#2761 PR#2761 PR#2765
6340
6341   *) Add correct `model' MIME types from RFC2077 to mime.types file.
6342      [Ralf S. Engelschall] PR#2732
6343
6344   *) Fixed examples in mod_rewrite.html document. 
6345      [Youichirou Koga <y-koga@jp.FreeBSD.org>, Ralf S. Engelschall] PR#2756
6346
6347   *) Allow ap_read_request errors to propagate through the normal request
6348      handling loop so that the connection can be properly closed with
6349      lingering_close, thus avoiding a potential TCP reset that would
6350      cause the client to miss the HTTP error response.  [Roy Fielding]
6351
6352   *) One more portability fix for APACI shadow tree support: Swap order of awk
6353      and sed in top-level configure script to avoid sed fails on some
6354      platforms (for instance SunOS 4.1.3 and NCR SysV) because of the
6355      non-newline-termined output of Awk. [Ralf S. Engelschall] PR#2729
6356
6357   *) PORT: NEC EWS4800 support.
6358      [MATSUURA Takanori <t-matsuu@protein.osaka-u.ac.jp>]
6359
6360   *) Fix a segfault in the proxy on OS/2.  [Brian Havard]
6361
6362   *) Fix Win32 part of ap_spawn_child() by providing a reasonable child_info
6363      structure instead of just NULL. This fixes at least the RewriteMap
6364      programs under Win32. [Marco De Michele <mdemichele@tin.it>] PR#2483
6365
6366   *) Add workaround to top-level `configure' script for brain dead 
6367      `echo' commands which interpet escape sequences per default.
6368      [Ralf S. Engelschall] PR#2654
6369
6370   *) Make sure that the path to the Perl interpreter is correctly
6371      adjusted under `make install' also for the printenv CGI script.
6372      [Ralf S. Engelschall] PR#2595
6373  
6374   *) Update the mod_rewrite.html document to correctly reflect the situation
6375      of the `proxy' (`[P]') feature. [Ralf S. Engelschall] PR#2679
6376
6377   *) Fix `install-includes' sub-target of `install' target in top-level
6378      Makefile.tmpl: The umask+cp approach didn't work as expected (especially
6379      for users which extracted the distribution under 'umask 077'), so replace
6380      it by an explicit cp+chmod approach.
6381      [Richard Lloyd, Curt Sampson, Ralf S. Engelschall] PR#2656 PR#2626
6382  
6383   *) Fix `distclean' and `clean' targets in src/Makefile.tmpl to have same
6384      behavior and to cleanup correctly even under enabled SHARED_CORE rule.
6385      [Ralf S. Engelschall]
6386
6387   *) Use a more straight forward and thus less problematic Sed command in
6388      src/helper/mkdir.sh script.  [Ralf S. Engelschall]
6389
6390   *) Make sure the `configure' scripts doesn't fail when trying to guess the
6391      domainname of the machine and there are multiple `domainname' and
6392      `search' entries in /etc/resolv.conf.
6393      [Ralf S. Engelschall] PR#2710
6394
6395   *) Add note about the SHARED_CORE requirement on some platforms also to the
6396      INSTALL file because a lot of users don't read htdocs/manual/dso.html
6397      first. [Ralf S. Engelschall] PR#2701
6398
6399   *) Fix document "hyperlink" for dso.html in src/Configuration.tmpl
6400      [Knut A.Syed <Knut.Syed@nhh.no>] PR#2674
6401
6402   *) Modify mod_rewrite to update the Vary response field if the URL rewriting
6403      engine does any manipulations or decisions based upon request fields. 
6404      [Ken Coar] PR#1644
6405
6406   *) Document the special APACI behavior for installation paths where
6407      ``/apache'' is appended to paths under some (well defined, of course)
6408      situations to prevent pollution of system locations with Apache files.
6409      [Ralf S. Engelschall] PR#2660
6410
6411   *) Fixed problem with buffered response message not being sent for
6412      the read_request error conditions of URI-too-long (414) and
6413      malformed header fields (400).  [Roy Fielding] PR#2646
6414
6415   *) Add support for the Max-Forwards: header line required by RFC2068 for
6416      the TRACE method. This allows apache to TRACE along a chain of proxies
6417      up to a predetermined depth. [Martin Kraemer]
6418
6419   *) Fix SHARED_CORE rule: The CFLAGS_SHLIB variable is no longer doubled
6420      (compilers complained) and the .so.V.R.P filename extension was adjusted
6421      to correctly reflect the 1.3.2 version.
6422      [Ralf S. Engelschall] PR#2644
6423
6424   *) SECURITY: Plug "..." and other canonicalization holes under OS/2.
6425      [Brian Havard]
6426   
6427   *) PORT: implement serialized accepts for OS/2.  [Brian Havard]
6428
6429   *) mod_include had problems with the fsize and flastmod directives
6430      under WIN32.  Fix also avoids the minor security hole of using
6431      ".." paths for fsize and flastmod.
6432      [Manoj Kasichainula <manojk@raleigh.ibm.com>] PR#2355
6433
6434   *) Fixed some Makefile dependency problems.  [Dean Gaudet]
6435
6436 Changes with Apache 1.3.1
6437
6438   *) Disable the incorrect entry for application/msword in the 
6439      mod_mime_magic "magic" file because it also matches other Office
6440      documents.  [Ralf S. Engelschall] PR#2608
6441
6442   *) Fix broken RANLIB handling in src/Configure (the entry from
6443      src/Configuration.tmpl was ignored) and additionally force RANLIB to
6444      /bin/true under HP/UX where ranlib exists but is deprecated.
6445      [Ralf S. Engelschall] PR#2627
6446      
6447   *) 'apachectl status' failed on some systems.
6448      [Steve VanDevender <stevev@darkwing.uoregon.edu>, Lars Eilebrecht] PR#2613
6449
6450   *) Add new flags for ap_unparse_uri_components() to make it generate
6451      the scheme://sitepart string only, or to omit the query string.
6452      [Martin Kraemer]
6453
6454   *) WIN32: Canonicalize ServerRoot before checking to see if it
6455      is a valid directory.  The failure to do this caused certain
6456      ServerRoot settings (eg. "ServerRoot /apache") to be improperly
6457      rejected.  [Marc Slemko]
6458
6459   *) Global renaming of C header files to both get rid of conflicts with third
6460      party packages and to again reach consistency:
6461        1. conf.h      -> ap_config.h
6462        2. conf_auto.h -> ap_config_auto.h \ these are now merged
6463        3. ap_config.h -> ap_config_auto.h / in the config process
6464        4. compat.h    -> ap_compat.h
6465        5. apctype.h   -> ap_ctype.h
6466      Backward compatibility files for conf.h and compat.h were created.
6467
6468   *) mod_mmap_static will no longer take action on requests unless at 
6469      least one "mmapfile" directive is present in the configuration. 
6470      This experimental module has to do some black magic to operate 
6471      inside the current API and thus creates side-effects for other 
6472      modules under some circumstances.
6473      [Ralf S. Engelschall]
6474  
6475   *) Add conservative ticks around more egrep arguments in top-level configure
6476      to avoid problems under brain-dead platforms like Digital UNIX (OSF1).
6477      [Ralf S. Engelschall] PR#2596
6478
6479   *) mod_rewrite created RewriteLock files under the UID of the parent
6480      process, thus the child processes had no write access to the files.
6481      Now a chown() is done on the file to the uid of the children,
6482      if applicable.  [Lars Eilebrecht, Ralf S. Engelschall] PR#2341
6483
6484   *) Autogenerate some HAVE_XXXXX_H defines in conf_auto.h (determined via
6485      TestCompile) instead of defining them manually in conf.h based on less
6486      accurate platform definitions.  This way we no longer have to fiddle with
6487      OS-type and/or OS-version identifiers to discover whether a system header
6488      file exists or not.  Instead we now directly check for the existence of
6489      those esoteric ones. 
6490      [Ralf S. Engelschall] PR#2093, PR#2361, PR#2377, PR#2434,
6491                            PR#2524, PR#2525, PR#2533, PR#2569
6492
6493   *) mod_setenvif (BrowserMatch* and friends) will now match a missing
6494      field with "^$".  [Ken Coar]
6495
6496   *) Set the RTLD_GLOBAL dlopen mode parameter to allow dynamically loaded
6497      modules to load their own modules dynamically.  This improves mod_perl
6498      and mod_php3 when these modules are loaded dynamically into Apache.
6499      [Rasmus Lerdorf]
6500
6501   *) Cache a proxied request in the event that the client cancels the
6502      transfer, provided that the configured percentage of the file has
6503      already been transfered. It works for HTTP transfers only.  The 
6504      new configuration directive is called CacheForceCompletion. 
6505      [Glen Parker <glenebob@nwlink.com>] PR#2277
6506
6507   *) Add the "<!DOCTYPE HTML" magic cookie used by modern documents (and
6508      required by HTML 3.2 and later) to mod_mime_magic's conf/magic.
6509      [Anna Shergold <anna@inext.co.uk>]
6510
6511   *) Fix yet another signal-based race condition involving nested timers.
6512      Signals suck.  [Dean Gaudet]
6513
6514   *) suexec's error messages have been clarified a little bit.  [Ken Coar]
6515
6516   *) Clean up some, but perhaps not all, 8-bit character set problems
6517      with config file parsing, and URL parsing.  We now define
6518      ap_isdigit(), ap_isupper(), ... which cast to an (unsigned char).
6519      This should work on most modern unixes.
6520      [Dean Gaudet] PR#800, 2282, 2553  (and others)
6521
6522   *) The "handler not found" error was issued in cases where the handler
6523      really did exist, but was just declining to serve the request.
6524      [John Van Essen <jve@gamers.org>] PR#2529
6525
6526   *) Add Dynamic Shared Object (DSO) support for SCO5 (OpenServer 5.0.x).
6527      [Ronald Record <rr@sco.com>] PR#2533
6528
6529   *) The APACI libexecdir was not extended with an "apache/" subdir
6530      if the installation prefix didn't already contain "apache", but
6531      it should be because the DSO files are Apache-specific.  Now
6532      libexecdir is treated the same way sysconfdir, datadir, localstatedir
6533      and includedir are already treated.
6534      [Charles Levert <charles@comm.polymtl.ca>] PR#2551
6535
6536   *) The <Limit> parsing routine was incorrectly treating methods as
6537      case-insensitive.  [Ken Coar]
6538
6539   *) The ap_bprintf() code neglected to test if there was an error on
6540      the connection.  ap_bflush() misdiagnosed a failure as a success.
6541      [Dean Gaudet]
6542
6543   *) add support for #perl arg interpolation in mod_include
6544      [Doug MacEachern]
6545
6546   *) API: Name changes of table_elts to ap_table_elts, is_table_empty
6547      to ap_is_table_empty and bgetflag to ap_bgetflag. [Ben Laurie]
6548
6549   *) PORT: Add UnixWare 7 support
6550      [Vadim Kostoglodoff <vadim@olly.ru>] PR#2463
6551
6552   *) Fix the Guess-DSO-flags-from-Perl stuff in src/Configure: "perl" was
6553      used instead of "$PERL" which contains the correctly determined Perl
6554      interpreter (important for instance on systems where "perl" and "perl5"
6555      exists, like BSDI or FreeBSD, etc).
6556      [Ralf S. Engelschall] PR#2505
6557
6558   *) Move the initial suEXEC-related startup message from plain
6559      fprintf()/stderr to a delayed ap_log_error()-based one to avoid problems
6560      when Apache is started from inetd (instead of standalone). Under this
6561      situation startup messages on stderr lead to problems (the line is sent
6562      to the client in front of the requested document).
6563      [Ralf S. Engelschall] PR#871, PR#1318
6564
6565   *) Add a flag so ap_fnmatch() can be used for case-blind pattern matching.
6566      [Ken Coar, Dean Gaudet]
6567
6568   *) WIN32: Don't collapse multiple slashes in PATH_INFO.
6569      [Ben Laurie, Bill Stoddard <wgstodda@us.ibm.com>] PR#2274
6570
6571   *) WIN32 SECURITY: Eliminate trailing "."s in path components. These are
6572      ignored by the Windows filesystem, and so can be used to bypass security.
6573      [Ben Laurie, Alexei Kosut].
6574
6575   *) We now attempt to dump core when we get SIGILL. [Jim Jagielski]
6576
6577   *) PORT: remove broken test for MAP_FILE in http_main.c.
6578      [Wilfredo Sanchez <wsanchez@apple.com>]
6579
6580   *) PORT: Change support/apachectl to use "kill -0 $pid" to test if the
6581      httpd is running.  This should be more portable than figuring out
6582      which of three dozen different versions of "ps" are installed.
6583      [a cast of dozens]
6584
6585   *) WIN32: If we can't figure out how to execute a file in a script
6586      directory, bail out of the request with an error message.  [W G Stoddard]
6587
6588   *) WIN32 SECURITY: Eliminate directories consisting of three or more dots;
6589      these are treated by Win32 as if they are ".." but are not detected by
6590      other machinery within Apache. This is something of a kludge but
6591      eliminates a security hole. [Manoj Kasichainula, Ben Laurie]
6592
6593   *) Move ap_escape_quotes() from src/ap to src/main/util.c; it uses
6594      pools and thus pollutes libap (until the pool stuff is moved there).
6595      [Ken Coar]
6596
6597   *) IndexIgnore should be case-blind on Win32 (and any other case-aware
6598      but case-insensitive platforms).  New #define for this added to conf.h
6599      (CASE_BLIND_FILESYSTEM).  [Ken Coar] PR#2455
6600
6601   *) Enable DSO support for OpenBSD in general, not only for 2.x, because it
6602      also works for OpenBSD 1.x. [Ralf S. Engelschall]
6603
6604   *) PORT: Fix compilation problem on ARM Linux.
6605      [Sam Kington <sam@illuminated.co.uk>] PR#2443
6606
6607   *) Let APACI's configure script determine some configuration parameters
6608      (Group, Port, ServerAdmin, ServerName) via some intelligent tests to
6609      remove some of the classical hurdles for new users when setting up
6610      Apache. This is done per default because it is useful for the average
6611      user. Package authors can use the --without-confadjust option to disable
6612      these configuration adjustments.
6613      [Ralf S. Engelschall]
6614
6615   *) Added an EXTRA_DEPS configuration parameter which can be used
6616      to add an extra Makefile dependency for the httpd target, for instance
6617      to external third-party libraries, etc.
6618      [Ralf S. Engelschall]
6619
6620   *) Add <IfDefine>..</IfDefine> sections to the core module (with same spirit
6621      as <IfModule>..</IfModule> sections) which can be used to skip or process
6622      contained commands dependend of ``-D PARAMETER'' options on the command
6623      line. This can be used to achieve logical conditions like <IfDefine
6624      ReverseProxy> instead of physically ones (e.g. <IfModule mod_proxy.c>)
6625      and thus especially can be used for conditionally loading DSO-based
6626      modules via LoadModule, etc. [Ralf S. Engelschall]
6627
6628   *) PORT: clean up a warning in mod_status for OS/2.  [Brian Havard]
6629
6630   *) Make table elements const. This may prevent obscure errors. [Ben Laurie]
6631
6632   *) Fix parsing of FTP `SIZE' responses in proxy module: The newline was not
6633      truncated which forced following HTTP headers to be data in the HTTP
6634      reponse. [Ralf S. Engelschall, Charles Fu <ccwf@bacchus.com>] 
6635      PR#2412, 2367
6636
6637   *) Portability fix for APACI shadow tree support: Swap order of awk and sed
6638      in top-level configure script to avoid sed fails on some platforms (for
6639      instance SunOS 4.1.3 and NCR SysV) because of the non-newline-termined
6640      output of Awk. [Bill Houle <bhoule@sandiegoca.ncr.com>] PR#2435
6641
6642   *) Improve performance of directory listings (mod_autoindex) by comparing
6643      integer keys (last-modified and size) as integers rather than converting
6644      them to strings first.  Also use a set of explicit byte tests rather
6645      than strcmp() to check for parent directory-ness of an entry.  Oh, and
6646      make sure the parent directory (if displayed) is *always* listed first
6647      regardless of the sort key.  Overall performance winnage should be good
6648      in CPU time, instruction cache, and memory usage, particularly for large
6649      directories.  [Ken Coar]
6650
6651   *) Add a tiny but useful goody to APACI's configure script: The generation
6652      of a config.status script (as GNU Autoconf does) which remembers the used
6653      configure command and hence can be used to restore the configuration by
6654      just re-running this script or for remembering the configuration between
6655      releases.
6656      [Ralf S. Engelschall]
6657
6658   *) Add httpd -t (test) option for running configuration syntax tests only.
6659      If something is broken it complains and exits with a return code
6660      non-equal to 0. This can be used manually by the user to check the Apache
6661      configuration after editing and is also automatically used by apachectl
6662      on (graceful) restart command to make sure Apache doesn't die on restarts
6663      because of a configuration which is now broken since the last (re)start.
6664      This way `apachectl restart' can be used inside cronjobs without having
6665      to expect Apache to be falling down. Additionally the httpd -t can be run
6666      via `apachectl configtest'.
6667      [Ralf S. Engelschall] PR#2393
6668   
6669   *) Minor display fix for "install" target of top-level Makefile:
6670      the displayed installation command was incorrect although the
6671      executed command was correct. Now they are in sync.
6672      [Ralf S. Engelschall] PR#2402
6673
6674   *) Correct initialization of variable `allowed_globals' in http_main.c
6675      [Justin Bradford <justin@ukans.edu>] PR#2400
6676
6677   *) Apache would incorrectly downcase the entire Content-Type passed from
6678      CGIs.  This affected server-push scripts and such which use
6679      multipart/x-mixed-replace;boundary=ThisRandomString.
6680      [Dean Gaudet] PR#2394
6681
6682   *) PORT: QNX update to properly guess 32-bit systems.
6683      [Sean Boudreau <seanb@qnx.com>] PR#2390
6684
6685   *) Make sure the DSO emulation code for HPUX finds the proprietary shl_xxx()
6686      functions which are in libdld under HPUX 9/10.
6687      [Ralf S. Engelschall] PR#2378
6688
6689   *) Make sure the "install" target of the top-level Makefile doesn't break
6690      because of a return code of 1 from an "if" (for instance under braindead
6691      Ultrix the result code of an "if" construct is 1 if the "then" clause
6692      didn't match). [Ralf S. Engelschall]
6693
6694   *) Add an additional "dummy" target to the "$(LIB)" target in generated
6695      modules/xxx/Makefile's to avoid problems with SVR4 Make under "full-DSO"
6696      situation (no libxxx.a built, only mod_xxx.so's) where LIB and OBJS are
6697      empty. [Ralf S. Engelschall, Dean Gaudet, Martin Kraemer]
6698
6699   *) Replace two bad sprintf() calls with ap_snprintf() variants in
6700      mod_rewrite. [Ralf S. Engelschall]
6701
6702   *) Fix missing usage description for MetaFiles directive.
6703      [David MacKenzie <djm@va.pubnix.com>] PR#2384
6704
6705   *) mod_log_config wouldn't let vhosts use log formats defined in the
6706      main server.  [Christof Damian <damian@mediaconsult.com>] PR#2090
6707
6708   *) mod_usertrack was corrupting the client hostname.  As part of the
6709      fix, the cookie values were slightly extended to include the
6710      fully qualified hostname of the client.
6711      [Dean Gaudet] PR#2190, 2229, 2366
6712
6713   *) Fix a typo in pool debugging code.  [Alvaro Martinez Echevarria]
6714
6715   *) mod_unique_id did not work on alpha linux (in general on any
6716      architecture that has 64-bit time_t).
6717      [Alvaro Martinez Echevarria]
6718
6719   *) PORT: Make SCO 5 (and probably 3) compile again. [Ben Laurie]
6720
6721   *) PORT: NCR MPRAS systems have the same bug with SIGHUP restart that
6722      Solaris systems experience.  So define WORKAROUND_SOLARIS_BUG.
6723      [Klaus Weber <kweber@chephren.germany.ncr.com>] PR#1973
6724
6725   *) Change "Options None" to "Options FollowSymLinks" in the 
6726      <Directory /> section of the default access.conf-dist
6727      (and -win even though it doesn't matter there).  This has better
6728      performance, and more intuitive semantics.  [Dean Gaudet]
6729
6730   *) PORT: Updated support for UTS 2.1.2.
6731      [Dave Dykstra <dwd@bell-labs.com>] PR#2320
6732
6733   *) Fix symbol export list (src/support/httpd.exp) after recent
6734      API changes in the child spawning area.
6735      [Jens-Uwe Mager <jum@helios.de>]
6736
6737   *) Workaround for configure script and old `test' commands which do not
6738      support the -x flag (for instance under platforms like Ultrix). This is
6739      solved by another helper script findprg.sh which searches for Perl and
6740      Awk like PrintPath but _via different names_.
6741      [Ralf S. Engelschall]
6742
6743   *) Remove the system() call from htpasswd.c, which eliminates a system
6744      dependancy.  ["M.D.Parker" <mdpc@netcom.com>] PR#2332
6745
6746   *) PORT: Fix compilation failures on NEXTSTEP.
6747      [Rex Dieter <rdieter@math.unl.edu>] PR#2293, 2316
6748
6749   *) PORT: F_NDELAY is a typo, should have been FNDELAY.  There's also
6750      O_NDELAY on various systems.  [Dave Dykstra <dwd@bell-labs.com>] PR#2313
6751
6752   *) PORT: helpers/GuessOS updates for various versions for NCR SVR4.
6753      [juerg schreiner <j.schreiner@zh.ch>,
6754      Bill Houle <Bill.Houle@SanDiegoCA.NCR.COM>] PR#2310
6755
6756   *) Fix recently introduced Win32 child spawning code in mod_rewrite.c which
6757      was broken because of invalid ap_pstrcat() -> strcat() transformation.
6758      [Ralf S. Engelschall]
6759
6760   *) Proxy Cache Fixes: account for directory sizes, fork off garbage collection
6761      to continue in background, use predefined types (off_t, size_t, time_t),
6762      log the current cache usage percentage at LogLevel debug
6763      [Martin Kraemer, based on discussion between Dean Gaudet & Dirk vanGulik]
6764
6765 Changes with Apache 1.3.0
6766
6767   *) Using a type map file as a custom error document was not possible.
6768      [Lars Eilebrecht] PR#1031
6769
6770   *) Avoid problems with braindead Awks by additionally searching for gawk 
6771      and nawk in APACI's configure script.
6772      [Dave Dykstra <dwd@bell-labs.com>, Ralf S. Engelschall] PR#2319
6773
6774   *) Rename md5.h to ap_md5.h to avoid conflicts with native MD5 on
6775      some systems. [Randy Terbush]
6776
6777   *) Change usage of perror()+fprintf(stderr,...) in mod_rewrite to
6778      more proper ap_log_error() variants.
6779      [Ralf S. Engelschall]
6780
6781   *) Make sure the argument for the --add-module option to APACI's configure
6782      script is of type [path/to/]mod_xxx.c because all calculations inside
6783      configure and src/Configure depend on this.
6784      [Ralf S. Engelschall] PR#2307
6785
6786   *) Changes usage of perror/fprintf to stderr to more proper ap_log_error
6787      in mod_mime, mod_log_referer, mod_log_agent, and mod_log_config.
6788      [Brian Behlendorf]
6789
6790   *) Various OS/2 cleanups ["Brian Havard" <brianh@kheldar.apana.org.au>]
6791
6792   *) PORT: QNX needed a #include <sys/mman.h>; and now it uses flock
6793      serialized accept to handle multiple sockets.
6794      [Rob Saccoccio <robs@InfiniteTechnology.com>] PR#2295, 2296
6795  
6796   *) Have NT properly set the directory for CGI scripts 
6797      (& other spawned children)
6798      [W G Stoddard <wgstodda@us.ibm.com>]
6799
6800   *) Propagate environment to CGI scripts correctly in Win32.
6801      [W G Stoddard <wgstodda@us.ibm.com>] PR#2294
6802
6803   *) Some symbol renaming:
6804      ap_spawn_child_err became ap_spawn_child
6805      ap_spawn_child_err_buff became ap_bspawn_child
6806      spawn_child was obsoleted and moved to compat.h
6807      [Brian Behlendorf]
6808
6809   *) Upgrade the child spawning code in mod_rewrite for the RewriteMap
6810      programs: ap_spawn_child_err() is used and the Win32 case now uses
6811      CreateProcess() instead of a low-level execl() (which caused problems in
6812      the past under Win32).
6813      [Ralf S. Engelschall]
6814
6815   *) A few cosmetics and trivial enhancements to APXS to make the
6816      generated Makefile more user friendly. [Ralf S. Engelschall]
6817
6818   *) Proxy Fix: The proxy special failure routine ap_proxyerror()
6819      was updated to use the normal apache error processing, thereby allowing
6820      proxy errors to be treated by ErrorDocument's as well. For this
6821      purpose, a new module-to-core communication variable "error-notes"
6822      was introduced; the proxy (and possibly other modules) communicates
6823      its error text using this variable. Its content is copied to a new
6824      cgi-env-var REDIRECT_ERROR_NOTES for use by ErrorDocuments.
6825      The old proxy special error routine ap_proxy_log_uerror()
6826      was replaced by regular ap_log_error() calls, many messages were made
6827      more informative. 
6828      [Martin Kraemer] PR#494, 1259
6829
6830   *) SECURITY: A possible buffer overflow in the ftp proxy was fixed.
6831      [Martin Kraemer]
6832
6833   *) Transform the configure message "You need root privileges for suEXEC"
6834      from a fatal error into a (more friendly) warning because the building
6835      ("make") of Apache we can allow, of course. Root privileges are needed
6836      only for the installation step ("make install"). So make sure the
6837      user is aware of this fact but let him proceed as long as he can.
6838      [Ralf S. Engelschall] PR#2288
6839   
6840   *) Renamed three more functions to common ap_ prefix which we missed at the
6841      Big Symbol Renaming because they're #defines and not real C functions:
6842      is_default_port(), default_port(), http_method().
6843      [Ralf S. Engelschall]
6844
6845   *) A zero-length name after a $ in an SSI document should cause
6846      just the $ to be in the expansion.  This was broken during the
6847      security fixes in 1.2.5.  [Dean Gaudet] PR#1921, 2249
6848
6849   *) Call ap_destroy_sub_req() in ap_add_cgi_vars() to reclaim some
6850      memory.  [Rob Saccoccio <robs@InfiniteTechnology.com>] PR#2252
6851
6852   *) Fix src/support/httpd.exp (DSO export file which is currently only
6853      used under AIX) because of recent changes to function names.
6854      [Ralf S. Engelschall]
6855
6856 Changes with Apache 1.3b7
6857
6858   *) Make sure a MIME-type can be forced via a RewriteRule even when no
6859      substitution takes place, for instance via the following rule:
6860      ``RewriteRule ^myscript$ - [T=application/x-httpd-cgi]'' This was often
6861      requested by users in the past to force a single script without a .cgi
6862      extension and outside any cgi-bin dirs to be executed as a CGI program.
6863      [Ralf S. Engelschall] PR#2254
6864
6865   *) A fix for protocol issues surrounding 400, 408, and
6866      414 responses. [Ed Korthof]
6867
6868   *) Ignore MaxRequestsPerChild on WIN32. [Brian Behlendorf]
6869
6870   *) Fix discrepancy in proxy_ftp.c which was causing failures when 
6871      trying to connect to certain ftpd's, such as anonftpd.  
6872      [Rick Ohnemus <rick@ecompcon.com>]
6873
6874   *) Make mod_rewrite use ap_open_piped_log() for RewriteLog directive's
6875      logfile instead of fiddling around itself with child spawning stuff.
6876      [Ralf S. Engelschall]
6877
6878   *) Made RefererIgnore case-insensitive.
6879
6880   *) Mod_log_agent, mod_log_referer now use ap_open_piped_log for piped logs.
6881      [Brian Behlendorf]
6882
6883   *) Replace use of spawn_child with ap_spawn_child_err_buff, to make everything
6884      "safe" under Win32.  In: mod_include.c, mod_mime_magic.c
6885      [Brian Behlendorf]
6886
6887   *) Improve RFC1413 support. [Bob Beck <beck@bofh.ucs.ualberta.ca>]
6888
6889   *) Fix support script `dbmmanage': It was unable to handle some sort
6890      of passwords, especially passwords with "0" chars.
6891      [Ralf S. Engelschall] PR#2242
6892
6893   *) WIN32: Clicking on "Last Modified" in a fancy index caused a crash. Fixed.
6894      [Ben Laurie] PR#2238
6895
6896   *) WIN32: CGIs could cause a hang (because of a deadlock in the standard C
6897      library), so CGI handling has been changed to use Win32 native handles
6898      instead of C file descriptors.
6899      [Ben Laurie and Bill Stoddard <wgstodda@us.ibm.com>] PR#1129, 1607
6900
6901   *) The proxy cache would store an incorrect content-length in the cached
6902      file copy after a cache update. That resulted in repeated fetching
6903      of the original copy instead of using the cached copy.
6904      [Ernst Kloppenburg <kloppen@isr.uni-stuttgart.de>] PR#2094
6905
6906   *) The Makefiles assumed that DSO files are build via $(LD). This
6907      is broken for two reasons: First we never defined at least LD=ld
6908      somewhere to make sure this works (it was silently assumed that most Make
6909      provide a built-in LD definition - ARGL!) and second using the generic LD
6910      variable is not the truth. Instead a special variable named LD_SHLIB is
6911      reasonable because although "ld" is usually the default, the command for
6912      building DSO files can be "libtool" or even "cc" on some systems.
6913      [Ralf S. Engelschall]
6914
6915   *) Replace the AddVersionPlatform directive with ServerTokens which
6916      provides for more control over the format of the Server:
6917      header line. SERVER_SUBVERSION is no longer supported;
6918      all module should use the ap_add_version_component()
6919      API function instead. [Jim Jagielski]
6920
6921   *) Support for the NCR MP/RAS 3.0
6922      [John Withers <withers@semi.kcsc.mwr.irs.gov>]
6923
6924   *) The LDFLAGS_SHLIB_EXPORT variable of src/Configuration[.tmpl] was
6925      not retrieved in src/Configure and thus was not useable.
6926      [Ralf S. Engelschall]
6927  
6928   *) Various Makefile consistency cleanups:
6929      - make OSDIR also automatically be relative to src/ like INCDIR
6930      - SUBDIRS is now generated in src/Makefile only and not in
6931        Makefile.config because it is a local define for this location.
6932      - remove BROKEN_BPRINTF_FLAGS because is it no longer used inside
6933        any Makefile but make sure that at least the "-K inline" is kept in
6934        CFLAGS for SCO 5.
6935      - update the "depend" targets in Makefile.tmpl files to use $(OSDIR), too.
6936      - updated the dependencies theirself
6937      - removed not existing SHLIB variable from "clean" targets
6938      - replaced SHLIB_OBJS/SHLIBS_OBJ consistently with OBJS_PIC because OBJS
6939        already exists and OBJS_PIC are also just plain objects and have not
6940        directly to do with "shared" things. The only difference is that they
6941        contain PIC. So OBJS_PIC is the more canonical name.
6942      - Updated the Makefile-dependency lines for OBJS_PIC
6943      - Removed the Makefile-dependency line in Configure to avoid double
6944        definitions
6945      - replaced ugly xx-so.o/xx.so-o hack with a clean and consistent usage
6946        of xxx.lo as GNU libtool does with its PIC objects
6947      - reduce local complexity in modules Makefile.tmpl by moving the last
6948        existing target "depend" to the generation section in Configure, too.
6949      - removed the historical $(SPACER) which was used in the past together
6950        with BROKEN_BPRINTF_FLAGS to avoid zig-zags in the build process. This
6951        is no longer needed.
6952      - force the build and run of the gen_xxx programs under main/ as the
6953        first step before building the objects because it looks cleaner
6954      [Ralf S. Engelschall]
6955
6956   *) WIN32: Make Win32 work again after the /dev/null DoS fix.
6957      [Ben Laurie]
6958
6959   *) WIN32: Check for buffer overflows in ap_os_canonical_filename.
6960      [Ben Laurie]
6961
6962   *) WIN32: Don't force ISAPI headers to finish with \n.
6963      [Jim Patterson <Jim.Patterson@Cognos.COM>, Ben Laurie] PR#2060
6964
6965   *) When opening "configuration" files (like httpd.conf, htaccess
6966      and htpasswd), Apache will not allow them to be non-/dev/null
6967      device files. This closes a DoS hole. At the same time,
6968      we use ap_pfopen to open these files to handle timeouts.
6969      [Jim Jagielski, Martin Kraemer]
6970
6971   *) Apache will now log the reason its httpd children exit if they exit
6972      due to an unexpected signal.  (It requires a new porting define,
6973      SYS_SIGLIST, which if defined should point to a list of text
6974      descriptions of the signals available.  See PORTING.)  [Dean Gaudet]
6975
6976   *) WIN32: chdir() doesn't make sense in a multithreaded environment 
6977      like WIN32.  Before, Win32 CGI's could have had sporadic failures 
6978      if a chdir call from one thread was made between another chdir call 
6979      and a spawn in another thread.  So, for now don't chdir for CGI scripts 
6980      in WIN32.  The current CGI "spec" is unclear as to whether it's 
6981      necessary.  Long-term fix is to either serialize the chdir/spawn combo 
6982      or use WIN32 native calls to spawn a process.  This temp fix was 
6983      necessary to remove this as a showstopper for 1.3's release. 
6984      [Brian Behlendorf]
6985
6986   *) Cleanup the suEXEC support in APACI and make it more safe:
6987      1. Add big fat hint in INSTALL about risks and to read the
6988         htdocs/manual/suexec.html document before using the suexec-related
6989         configure options.
6990      2. Make sure the user has at least provided one --suexec-xxxx option
6991         (specifies suEXEC parameters) in addition to --enable-suexec option.
6992         If only --enable-suexec is given APACI stops with a hint to INSTALL
6993         and htdocs/manual/suexec.html documents.
6994      3. Provide two additional --suexec-xxxx options to make the suEXEC
6995         configuration complete (especially for package maintainers who else
6996         had to patch the source tree) by providing ways to configure minimal
6997         UID/GID and safe PATH, too.
6998      [Ralf S. Engelschall]
6999
7000   *) Cleanup of the `configure --shadow' process:
7001      - make sure the configure script creates its temporary files in the
7002        shadow tree to avoid conflicts with parallel configure runs
7003      - removed unnecessary option "-r" from "rm" call for Makefiles
7004      - make sure the configure scripts creates the shadow-wrapper Makefile
7005        only when no shadow trees already exists
7006      - make sure "make distclean" removes the shadow-wrapper Makefile but only
7007        when no more shadow trees exists
7008      - overhauled mkshadow.sh script: now its more IFS-safe and approx. twice
7009        as fast (in the past it needed 70sec, now it runs just 38sec)
7010      - make sure CVS does not complain about the created files
7011        Makefille.<gnutriple> and directories src.<gnutriple>
7012      [Ralf S. Engelschall]
7013
7014   *) Added the ap_add_version_component() API routine and the
7015      AddVersionPlatform core directive.  The first allows modules to
7016      declare themselves in the Server response header field value,
7017      augmenting the SERVER_SUBVERSION define in the Configuration file
7018      with run-time settings (more useful in a loadable-module environment).
7019      AddVersionPlatform inserts a comment such as "(UNIX)" or "(Win32)"
7020      into the server version string.  [Ken Coar] PR#2056
7021
7022   *) Minor stability tweaks to avoid core dumps in ap_snprintf.
7023      [Martin Kraemer]
7024
7025   *) Emit the "Accept-Range" header for the default handler.
7026      [Brian Behlendorf] PR#1464
7027
7028   *) Add a note to httpd.conf-dist that apache will on some systems fail
7029      to start when the Group # is set to a negative or large positive value.
7030      [Martin Kraemer]
7031
7032   *) Make sure the module execution order is correct even when some modules
7033      are loaded under runtime (`LoadModule') via the DSO mechanism:
7034      1. The list of loaded modules is now a dynamically allocated one
7035         and not the original statically list from modules.c
7036      2. The loaded modules are now correctly setup by LoadModule for
7037         later use by the AddModule command.
7038      3. When the DSO mechanism for modules is used APACI's `install'
7039         target now enables all created `LoadModule' lines per default because
7040         this is both already expected by the user _and_ needed to avoid
7041         confusion with the next point and reduces the Makefile.tmpl complexity
7042      4. When the DSO mechanism for modules is used, APACI's `install'
7043         target now additionally makes sure the module list is reconstructed
7044         via a complete `ClearModuleList+AddModule...' entry.
7045      5. The support tool `apxs' now also makes sure an AddModule command
7046         is added in addition to the LoadModule command.
7047      6. The modules.c generation was extended to now contain two
7048         comments to make sure no one is confused by the confusing terminology
7049         of loading/linking (we use load=link+load & link=activate instead of
7050         the obvious load=activate & link=link :-( )
7051      This way now there is no longer a difference under execution time between
7052      statically and dynamically linked modules.
7053      [Ralf S. Engelschall]
7054
7055   *) Fix the generated mod_xxx.c from "apxs -g -f xxx" after the
7056      Big Symbol Renaming. [Ralf S. Engelschall]
7057
7058   *) Add a comment to mod_example.c showing the format of a FLAG command
7059      handler.  [Ken Coar]
7060
7061   *) Standardized the time format in mod_status to match that of other 
7062      places in the code (e.g. DATE_GMT).  PR#1551
7063
7064   *) Fix handling of %Z in timefmt strings for those platforms with no time
7065      zone information in their tm struct. [Paul Eggert <eggert@twinsun.com>]
7066      PR#754
7067
7068   *) Makes mod_rewrite, mod_log_config, mod_status and the ServerSignature 
7069      feature compatible with 'UseCanonicalName off' by changing  
7070      r->server->server_hostname to ap_get_server_name().  And I changed some 
7071      functions which use r->server->port to use ap_get_server_port() instead, 
7072      because if there's no Port directive in the config r->server->port is 0.
7073      [Lars Eilebrecht]
7074
7075   *) get/set_module_config are trivial enough to be better off inline.  Worth
7076      1.5% performance boost. [Dean Gaudet]
7077
7078   *) Fix off-by-one error in ap_proxy_date_canon() in proxy_util.c
7079      when ensuring 'x' is at least 30-chars big. [Jim Jagielski,
7080      Brian Behlendorf]
7081
7082   *) [BS2000 security] BS2000 needs an extra authentication to initialize
7083      the task environment to the unprivileged User id. Otherwise CGI scripts
7084      would have a way to gain super user access. [Martin Kraemer]
7085
7086   *) Fix debug log messages for BS2000/OSD: instead of logging the whole
7087      absolute path, only log base name of logging source as is done
7088      in unix. [Martin Kraemer]
7089
7090   *) Ronald Tschalaer's Accept-Encoding patch - preserve the "x-" in
7091      the encoding type from the Accept-Encoding header (if it's there)
7092      and use it in the response, as that's probably what it'll be expecting.
7093      [Ronald.Tschalaer@psi.ch]
7094
7095   *) Fix to mod_alias: translate_alias_redir is dealing with
7096      a URI, not a filename, so the check for drive letters for win32 
7097      and emx is not necessary. [Dean Gaudet]
7098
7099   *) WIN32: Allow .cmd as an executable extension.
7100      [Kari Likovuori <Kari.Likovuori@mol.fi>] PR#2146
7101
7102   *) Make Apache header files, and some variables, C++ friendly.
7103      [Michael Anderson's <mka@redes.int.com.mx>]
7104
7105   *) Child processes can now "signal" (by exiting with a status
7106      of APEXIT_CHILDFATAL) the parent process to abort and
7107      shutdown the server if the error in the child process was
7108      fatal enough. [Jim Jagielski]
7109
7110   *) mod_autoindex's find_itme() was sensitive to MIME type case.
7111      [Jim Jagielski] PR#2112
7112
7113   *) Make sure the referer_log and agent_log entries in the default httpd.conf
7114      file are also adjusted for the actual relative installation paths.
7115      [Ralf S. Engelschall] PR#2175
7116
7117   *) WIN32: Extensive overhaul of the way UNCs are handled. [Ben Laurie]
7118
7119   *) WIN32: Make roots of filesystems (e.g. c:/) work. [Ben Laurie]
7120      PR#1558
7121
7122   *) PORT: Various porting changes to support AIX 3.2, 4.1.5, 4.2 and 4.3.
7123      Additionally the checks for finding the vendor DSO library were moved
7124      from mod_so.c to Configure because first it needs $PLAT etc. and second
7125      mod_so already uses an abstraction layer and does not fiddle with the
7126      vendor functions itself.
7127      [Jens-Uwe Mager, Ralf S. Engelschall]
7128
7129   *) PORT: Some optimization defines for NetBSD
7130      [Jaromir Dolecek <dolecek@ics.muni.cz>] PR#2165
7131
7132   *) PORT: Dynamic Shared Object (DSO) support for NetBSD.
7133      [Jaromir Dolecek <dolecek@ics.muni.cz>, Ralf S. Engelschall] PR#2158
7134
7135   *) Add Dynamic Shared Object (DSO) support for AIX (at least 4.2 but older
7136      AIX variants should work fine, too. Even AIX 3.x should work). This is
7137      accomplished by using the free DSO emulation code from Jens-Uwe Mager
7138      which we put into a os/unix/os-dso-aix.c file.
7139      [Ralf S. Engelschall]
7140   
7141   *) PORT: Fix compiler warnings under AIX >= 4.2 where the manual pages imply
7142      that we should use NET_SIZE_T == int but the include files force size_t.
7143      [Ralf S. Engelschall]
7144
7145   *) Fix two bugs in select() handling in http_main.c.
7146      [Roy Fielding]
7147
7148   *) Suppress "error(0)" messages for ap_log_error() when the APLOG_NOERRNO
7149      is unset (as it is in situations like timeouts) where it is unclear
7150      whether errno is set or not.  [Martin Kraemer]
7151
7152   *) Just having APACI's localstatedir is too general and not enough for most
7153      of the systems. 1.3b6 again required manual APACI patches by package
7154      maintainers from Red Hat and FreeBSD because for their filesystem layout a
7155      little bit more flexibility in configuring the paths is needed. Hence we
7156      provide three additional configure options (--runtimedir, --logfiledir,
7157      --proxycachedir) which now can be used for more granular adjustments if
7158      --localstatedir is not enough to fit the particular needs. As a nice
7159      side-effect this reduces some subdir fiddling in configure+Makefile.tmpl.
7160      [Ralf S. Engelschall]
7161
7162   *) Make the install root for "make install" in APACI's Makefile overrideable
7163      by package authors.  This way we are even more friendly to package
7164      maintainers (especially Debian and Red Hat) who build for the real prefix
7165      via "configure --prefix=/<real>" but use a different local prefix via
7166      "make root=/tmp/apache install" for rolling the package without bristling
7167      the target location on their system. 
7168      [Ralf S. Engelschall]
7169
7170   *) Workaround sed limitations in APACI's configure script by now
7171      substituting in chunks of 50 commands (because for instance HPUX's vendor
7172      sed has a limit of max. 98 commands)
7173      [Ralf S. Engelschall] PR#2136
7174
7175   *) Adding SOCKS5 support and fixing existing SOCKS4 support.
7176      [Ralf S. Engelschall] PR#2140
7177
7178   *) Manually fix some symbols which were not renamed to prefix ap_ in the BIG
7179      RENAMING process because they are defined as pre-processor macros instead
7180      of real functions: bputc, bgetc, piped_log_write_fd, piped_log_read_fd
7181      [Ralf S. Engelschall]
7182
7183   *) Workaround braindead AWK's when generating ap_config.h: The split() and
7184      substr() functions cannot be nested under vendor AWK from Solaris 2.6.
7185      [Ralf S. Engelschall] PR#2139
7186
7187   *) Various bugfixes and cleanups for the APACI configure script:
7188      o fix IFS handling for _nested_ situation
7189      o fix Perl interpreter search: take first one found instead of last one
7190      o fix DSO consistency check
7191      o print error messages to stderr instead of stdout
7192      o add install-quiet for --shadow situation to Makefile stub
7193      o reduce complexity by avoiding sed-hacks for rule and module list loops
7194      [Ralf S. Engelschall]
7195
7196   *) Fix DEBUG_CGI situation in mod_cgi.c [David MacKenzie] PR#2114
7197
7198   *) Make sure the input field separator (IFS) shell variable is explicitly
7199      initialized correctly before _every_ `for' loop and also restored after
7200      the loops. [Ralf S. Engelschall]
7201
7202   *) Make sure that "make install" doesn't overwrite the `mime.types' and
7203      `magic' files from an existing Apache installation. Because people often
7204      customize these for own MIME and content types.
7205      [Ralf S. Engelschall]
7206
7207   *) PORT: Dynamic Shared Object (DSO) support for OpenBSD 2.x
7208      [Peter Galbavy, Ralf S. Engelschall] PR#2109
7209
7210   *) Fix the path to the ScoreBoardFile in the install-config target, too.
7211      [Ralf S. Engelschall] PR#2105
7212
7213   *) Let "configure" clear out the users parameters (provided as shell
7214      variables) to avoid side-effects in "src/Configure" when the user
7215      exported them (which is not needed, but some users do it). 
7216      [Ralf S. Engelschall] PR#2101
7217
7218   *) Provide backward compatibility from some old src/Configuration.tmpl
7219      parameter names to the canonical Autoconf-style shell variable names. For
7220      instance CFLAGS vs. EXTRA_CFLAGS. The EXTRA_xxx variants are accepted now
7221      but a hint message is displayed. [Ralf S. Engelschall]
7222   
7223   *) Make sure that "make install" doesn't overwrite the DocumentRoot and
7224      CGI scripts from an existing Apache installation. 
7225      [Ralf S. Engelschall, Jim Jagielski] PR#2084
7226
7227   *) Make `configure --compat' more "compatible" by first 
7228      let the libexecdir default to EPREFIX/libexec instead of EPREFIX/bin and
7229      second by making sure the "avoid-bristling-suffix" /apache is not
7230      appended to sysconfdir, datadir, localstatedir and includedir when
7231      --compat is used. [Ralf S. Engelschall, Lars Eilebrecht]
7232
7233   *) NeXT required strdup() in support/logresolve.c
7234      [Francisco Tomei <fatomei@sandburg.unm.edu>] PR#2082
7235
7236   *) AIX required sys/select.h in support/ab.c
7237      [Jens Schleusener <Jens.Schleusener@dlr.de>] PR#2081
7238
7239   *) Fix the path to the MimeMagicFile in the install-config target, too.
7240      [Ralf S. Engelschall] PR#2089
7241
7242   *) PORT: Added HP-UX 11 patches [Jeff Earickson <jaearick@colby.edu>]
7243
7244   *) If you start apache with the -S command line option it will dump
7245      out the parsed vhost settings.  This is useful for folks trying
7246      to figure out what is wrong with their vhost configuration.
7247      (Other dumps may be added in the future.) [Dean Gaudet]
7248
7249   *) Add %pA, %pI, and %pp codes to ap_vformatter (and hence ap_bprintf,
7250      ap_snprintf, and ap_psprintf).  See include/ap.h for docs.
7251      [Dean Gaudet]
7252
7253   *) Because /usr/local/apache is the default prefix the ``configure
7254      --compat'' option no longer has to set prefix, again. This way the
7255      --compat option honors a leading --prefix option. [Lars Eilebrecht]
7256
7257   *) PORT: Cast the first argument of dlopen() in ap_os_dso_load()
7258      to `char *' under OSF1 and FreeBSD 2.x where it is defined this way
7259      to avoid "discard const" warnings. [Ralf S. Engelschall]
7260
7261   *) If a specific handler is set for a file yet the request still
7262      ends up being handled by the default handler, log an error
7263      message before handling it.  This catches things such as trying 
7264      to use SSIs without mod_include enabled.  [Marc Slemko]
7265
7266   *) Fix error logging for the startup case where ap_log_error() still uses
7267      stderr as the target. Now the default log level is honored here, too.
7268      [Ralf S. Engelschall]
7269     
7270   *) PORT: Make sure some AWK's don't fail in src/Configure with "string too
7271      long" errors when generating the MODULES entry for src/Makefile
7272      [Ben Hyde, Ralf S. Engelschall]
7273
7274   *) Make sure src/Configure doesn't complain about the old directory
7275      /usr/local/etc/httpd/ when APACI is used.  [Lars Eilebrecht]
7276    
7277 Changes with Apache 1.3b6
7278
7279   *) PORT: Clean up warnings on Ultrix and HPUX.  [Ben Hyde]
7280  
7281   *) Adding DSO support for the HP/UX platform by emulating the dlopen-style
7282      interface via the similar but proprietary HP/UX shl_xxx-style system
7283      calls. [Ralf S. Engelschall]
7284
7285   *) PORT: Updated UnixWare 2.0.x and 2.1.x entries for DSO support and made
7286      APACI Makefile.tmpl "install" target more robust for sensible UnixWare
7287      Make. [Ralf S. Engelschall]
7288
7289   *) ++++ THE BIG SYMBOL RENAMING ++++
7290      To avoid symbol clashes with third-party code compiled into the server,
7291      we globally applied the prefix "ap_" to the following classes of
7292      functions:
7293         - Apache provided general functions (e.g., ap_cpystrn)
7294         - Public API functions (e.g., palloc, bgets)
7295         - Private functions which we can't make static (because of
7296           cross-object usage) but should be (e.g., new_connection)
7297      For backward source compatibility a new header file named compat.h was
7298      created which provides defines for the old symbol names and can be used
7299      by third-party module authors.
7300      [The Apache Group]
7301
7302   *) Added dynamic shared object (DSO) support for SVR4-derivates: The
7303      problem under SVR4 is that there is no command flag to force the linker
7304      to export the global symbols of the httpd executable therewith they are
7305      available to the DSO's. Instead of problematic hacks like creating a
7306      dummy.so file (containing dummy references to all global symbols) the
7307      httpd binary is linked against, we use a clean trick stolen from Perl 5:
7308      Placing the Apache core code itself into a DSO library named libhttpd.so.
7309      This way the global symbols _HAVE_ to be exported and thus are available
7310      to any manually loaded DSO's under runtime. To reduce the impact to the
7311      user to null we go even further and create a stub httpd executable which
7312      automatically keeps track of the DSO library loading itself and thus
7313      hides the complete mechanism from the user. Although the generation of
7314      this DSO library is automatically triggered for platforms which
7315      essentially need it (mostly all SVR4-derivates) it can be also enabled
7316      manually via the Rule SHARED_CORE. This can be interesting in the future
7317      where we perhaps exploit this libhttpd.so mechanism for providing nifty
7318      features like graceful upgrades, or whatever. 
7319      [Ralf S. Engelschall, Martin Kraemer]
7320
7321   *) Build the libraries before building the rest of the tools. [Ben Hyde]
7322
7323   *) Add "distclean" target to src/-Makefiles to provide "make distclean" also
7324      inside the src subtree (i.e. for non-APACI users). Following GNU Makefile
7325      conventions while "clean" removes only stuff created by "all" targets,
7326      "distclean" additionally removes the stuff from the configuration
7327      process. This way "make distclean" (hence the name) provides a fresh
7328      source tree as it was for distribution.
7329      [Ralf S. Engelschall]
7330
7331   *) Allow top-level (APACI) Makefile to break on build errors
7332      the same way the src/ subtree Makefiles breaks on them by replacing the
7333      initial APACI sed-subdir-display-kludge with a more clean
7334      variable-passing-solution: variable SDP can optionally hold the subdir
7335      prefix which is consistently used for displaying the subdir movement.
7336      This way even the top-level Makefile can stop correctly on errors as the
7337      user expects. [Ralf S. Engelschall]
7338
7339   *) Fixed ordering of argument checks for RewriteBase directive.
7340      [Todd Eigenschink <eigenstr@mixi.net>] PR#2045
7341
7342   *) Change Win32 IS_MODULE to SHARED_MODULE to match Unix' method of
7343      indicating that a module is being compiled for dynamic loading. Also
7344      remove #define IS_MODULE from modules and add SHARED_MODULE define
7345      to the mak/dsp files. [Alexei Kosut]
7346
7347   *) Reduce logging level of "normal" warning messages to APLOG_INFO,
7348      since we are now logging APLOG_WARNING by default. [Roy Fielding]
7349
7350   *) PORT: OS/2 tweak to deal with multiple .exe targets. [Brian Havard]
7351  
7352   *) Add documentation file and src/Configuration.tmpl entry for the
7353      experimental mod_mmap_static module. Because although it is and marked as
7354      an experimental one it is distributed and thus should be documented and
7355      prepared for configuration the same way as all others modules. 
7356      [Ralf S. Engelschall]
7357
7358   *) Add query (-q) option to apxs support tool to be able to manually query
7359      specific settings from apxs. This is needed for instance when you
7360      manually want to access Apache's header files and you need to assemble
7361      the -I option.  Now you can do -I`apxs -q INCLUDEDIR`.
7362      [Ralf S. Engelschall]
7363
7364   *) Now src/Configure uses a fallback strategy for the shared object support
7365      on platforms where no explicit information is available: If a Perl
7366      installation exists we ask it about its shared object support and if it's
7367      the dlopen-style one we shamelessly guess the compiler and linker flags
7368      for creating shared objects from Perls knowledge. Of course, the user is
7369      warning about what we are doing and informed that he should send us
7370      the guessed flags when they work. [Ralf S. Engelschall]
7371
7372   *) Provide APACI --without-support option to be able to disable the build
7373      and installation of the support tools from the src/support/ area.
7374      Although its useful to have these installed per default we should provide
7375      a way to compile and install without them for backward-compatibility.
7376      [Ralf S. Engelschall]
7377
7378   *) Add of the new APache eXtenSion (apxs) support tool for building and
7379      installing modules into an _already installed_ Apache package through the
7380      dynamic shared object (DSO) mechanism [mod_so.c]. The trick here is that
7381      this approach actually doesn't need the Apache source tree.  The
7382      (APACI-installed) server package is enough, because this now includes the
7383      Apache C header files (PREFIX/include) and the new APXS tool
7384      (SBINDIR/apxs).  The intend is to provide a handy tool for third-party
7385      module authors to build their Apache modules _OUTSIDE_ the Apache source
7386      tree while avoiding them to fiddle around with the totally platform
7387      dependend way of compiling DSO files. The tool supports all ranges of
7388      modules, from trivial ones (single mod_foo.c) to complex ones (like PHP3
7389      which has a mod_php3.c plus a pre-built libmodphp3-so.a) and even can
7390      on-the-fly generate a minimalistic Makefile and sample module for the
7391      first step to provide both a quick success event and to demonstrate the
7392      APXS mechanism to module authors. [Ralf S. Engelschall]
7393
7394   *) Fix core dumps in use of CONNECT in proxy.  
7395      [Rainer.Scherg@rexroth.de] PR#1326, #1573, #1942
7396
7397   *) Modify the log directives in httpd.conf-dist files to use CustomLog
7398      so that users have examples of how CustomLog can be used.
7399      [Lars Eilebrecht]
7400
7401   *) Add the new Apache Autoconf-style Interface (APACI) for the top-level of
7402      the Apache distribution tree.  Until Apache 1.3 there was no real
7403      out-of-the-box batch-capable build and installation procedure for the
7404      complete Apache package. This is now provided by a top-level "configure"
7405      script and a corresponding top-level "Makefile.tmpl" file.  The goal is
7406      to provide a GNU Autoconf-style frontend which is capable to both drive
7407      the old src/Configure stuff in batch and additionally installs the
7408      package with a GNU-conforming directory layout. Any options from the old
7409      configuration scheme are available plus a lot of new options for flexibly
7410      customizing Apache. [Ralf S. Engelschall]
7411
7412   *) The floating point ap_snprintf code wasn't threadsafe.
7413      Had to remove the HAVE_CVT macro in order to do threadsafe
7414      calling of the ?cvt() floating point routines.  [Dean Gaudet]
7415
7416   *) PORT: Add the SCO_SV port. [Jim Jagielski] PR#1962
7417
7418   *) PORT: IRIX needs the -n32 flag iff using the 'cc' compiler
7419      [Jim Jagielski] PR#1901
7420
7421   *) BUG: Configure was using TCC and CC inconsistently. Make sure
7422      Configure knows which CC we are using. [Jim Jagielski]
7423
7424   *) "Options +Includes" wasn't correctly merged if "+IncludesNoExec"
7425      was defined in a parent directory. [Lars Eilebrecht]
7426
7427   *) API: ap_snprintf() code mutated into ap_vformatter(), which is
7428      a generic printf-style routine that can call arbitrary output
7429      routines.  Use this to replace http_bprintf.c.  Add new routines
7430      psprintf(), pvsprintf() which allocate the exact amount of memory
7431      required for a string from a pool.  Use psprintf() to clean up
7432      various bits of code which used ap_snprintf()/pstrdup().
7433      [Dean Gaudet]
7434
7435   *) PORT: HAVE_SNPRINTF doesn't do anything any longer.  This is because
7436      ap_snprintf() has different semantics and formatting codes than
7437      snprintf().  [Dean Gaudet]
7438
7439   *) SIGXCPU and SIGXFSZ are now reset to SIG_DFL at boot-time.  This
7440      is necessary on at least Solaris where the /etc/rc?.d scripts
7441      are run with these signals ignored, and "SIG_IGN" settings are
7442      maintained across exec().
7443      [Rein Tollevik <reint@sys.sol.no>] PR#2009
7444
7445   *) Fix the check for symbolic links in ``RewriteCond ... -l'': stat() was
7446      used instead of lstat() and thus this flag didn't work as expected.
7447      [Rein Tollevik <reint@sys.sol.no>] PR#2010
7448
7449   *) Fix the proxy pass-through feature of mod_rewrite for the case of
7450      existing QUERY_STRING now that mod_proxy was recently changed because of
7451      the new URL parsing stuff. [Ralf S. Engelschall]
7452
7453   *) A few changes to scoreboard definitions which helps gcc generate
7454      better code.  [Dean Gaudet]
7455
7456   *) ANSI C doesn't guarantee that "int foo : 2" in a structure will
7457      be a signed bitfield.  So mark a few bitfields as signed to
7458      ensure correct code.  [Dean Gaudet]
7459
7460   *) The default for HostnameLookups was changed to Off, but there
7461      was a problem and it wasn't taking effect. [Dean Gaudet]
7462
7463   *) PORT: Clean up undefined signals on some platforms (SCO, BeOS).
7464      [Dean Gaudet]
7465
7466   *) After a SIGHUP the listening sockets in the parent weren't
7467      properly marked for closure on fork().
7468      [Jürgen Keil <jk@tools.de>] PR#2000
7469  
7470   *) Allow %2F in two situations: 1) it is in the query part of the URI,
7471      therefore not exposed to %2F -> '/' translations and 2) the request
7472      is a proxy request, so we're not dealing with a local resource anyway.
7473      Without this, the proxy would fail to work for any URL's with
7474      %2f in them (occurs quite often in
7475      http://.../cgi-bin/...?http%3A%2F%2F... references) [Martin Kraemer]
7476
7477   *) Protect against FD_SETSIZE mismatches.  [Dean Gaudet]
7478
7479   *) Make the shared object compilation command more portable by avoiding
7480      the direct combination of `-c' & `-o' which is not honored by some
7481      compilers like UnixWare's cc. [Ralf S. Engelschall]
7482
7483   *) WIN32: the proxy was creating filenames missing the last four
7484      characters.  While this normally doesn't stop anything from 
7485      working, it can result in extra collisions.  
7486      [Tim Costello <tjcostel@socs.uts.edu.au>] PR#1890
7487
7488   *) Now mod_proxy uses the response string (in addition to the response status
7489      code) from the already used FTP SIZE command to setup the Content-Length
7490      header if available. [Ralf S. Engelschall] PR#1183
7491
7492   *) Reanimated the (still undocumented) proxy receive buffer size directive:
7493      Renamed from ReceiveBufferSize to ProxyReceiveBufferSize because the old
7494      name was really too generic, added documentation for this directive to
7495      the mod_proxy.html and corrected the hyperlink to it in the
7496      new_features_1.3.html document.  [Ralf S. Engelschall] PR#1348
7497
7498   *) Fix a bug in the src/helpers/fp2rp script and make it a little bit
7499      faster [Martin Kraemer]
7500   
7501   *) Make Configure die when you give it an unknown command switch.
7502      [Ben Hyde]
7503
7504   *) Add five new and fresh manpages for the support programs: dbmmanage.1,
7505      suexec.8, htdigest.1, rotatelogs.8 and logresolve.8.  Now all up-to-date
7506      and per default compiled support programs have manual pages - just to
7507      document our stuff a little bit more and to be able to do really
7508      Unix-like installations ;-) [Ralf S. Engelschall]
7509
7510   *) Major cleanups to the Configure script to make it and its generated
7511      Makefiles again readable and maintainable: add SRCDIR option, removed
7512      INCLUDES_DEPTH[0-2] kludge, cleanup of TARGET option, cleanup of
7513      generated sections, consequently added Makefile headers with inheritance
7514      information, added subdir movement messages for easier following where
7515      the build process currently stays (more verbose then standard Make, less
7516      verbose than GNU make), same style to comments in the Configure script,
7517      added Apache license header, fixed a few bugs, etc. [Ralf S. Engelschall]
7518      
7519   *) Add the new ApacheBench program "ab" to src/support/: This is derived
7520      from the ZeusBench benchmarking program and can be used to determine the
7521      response performance of an Apache installation. This version is
7522      officially licensed with Zeus Technology, Ltd. See the license agreement
7523      statements in <199803171224.NAA24547@en1.engelschall.com> in apache-core.
7524      [Ralf S. Engelschall]
7525
7526   *) API: Various core functions that are definately not part of the API
7527      have been made static, and a few have been marked API_EXPORT.  Still
7528      more have been marked CORE_EXPORT and are not intended for general
7529      use by modules.  [Doug MacEachern, Dean Gaudet]
7530
7531   *) mod_proxy was not clearing the Proxy-Connection header from
7532      requests; now it does.  This did not violate any spec, however 
7533      causes poor interactions when you are talking to remote proxies.  
7534      [Marc Slemko] PR#1741
7535
7536   *) Various cleanups to the command line interface and manual pages.
7537      [Ralf S. Engelschall]
7538
7539   *) cfg_getline() was not properly handling lines that did not end
7540      with a line termination character.  [Marc Slemko] PR#1869, 1909
7541
7542   *) Performance tweak to mod_log_config.  [Dmitry Khrustalev]
7543
7544   *) Clean up some undocumented behavior of mod_setenvif related to
7545      "merging" two SetEnvIf directives when they match the same header
7546      and regex.  Document that mod_setenvif will perform comparisons in
7547      the order they appear in the config file.  Optimize mod_setenvif by
7548      doing more work at config time rather than at runtime.
7549      [Dean Gaudet]
7550
7551   *) src/include/ap_config.h now wraps it's #define's with #ifndef/#endif's
7552      to allow for modules to overrule them and to reduce redefinition
7553      warnings [Jim Jagielski]
7554
7555   *) [PORT] For A/UX change the OS-#define for -DAUX to -DAUX3.
7556      [Jim Jagielski]
7557
7558   *) Making the hard-coded cross-module function call mime_find_ct() (from
7559      mod_proxy to mod_mime) obsolete by making sure the API hook for MIME type
7560      checking is really called even for proxy requests except for URLs with
7561      HTTP schemes (because there we can optimize by not running the type
7562      checking hooks due to the fact that the proxy gets the MIME Content-type
7563      from the remote host later). This change cleans up mod_mime by removing
7564      the ugly export kludge, makes the one-liner file mod_mime.h obsolete, and
7565      especially unbundles mod_proxy and mod_mime. This way they both now can
7566      be compiled as shared objects and are no longer tied together. 
7567      [Ralf S. Engelschall]
7568
7569   *) util.c cleanup and speedup. [Dean Gaudet]
7570
7571   *) API: Clarification, pstrndup() will always copy n bytes of the source
7572      and NUL terminate at the (n+1)st byte.  [Dean Gaudet]
7573
7574   *) Mark module command_rec and handler_rec structures const so that they
7575      end up in the read-only data section (and are friendlier to systems
7576      that don't do optimistic memory allocation on fork()). [Dean Gaudet]
7577
7578   *) Add check to the "Port" directive to make sure the specified 
7579      port is in the appropriate range.  [Ben Hyde]
7580
7581   *) Performance improvements to invoke_handler().
7582      [Dmitry Khrustalev <dima@bog.msu.su>]
7583
7584   *) Added support for building shared objects even for library-style modules
7585      (which are built from more than one object file). This now provides the
7586      ability to build mod_proxy as a shared object module. Additionally
7587      modules like mod_example are now also supported for shared object
7588      building because the generated Makefiles now no longer assume there is at
7589      least one statically linked module. [Ralf S. Engelschall]
7590
7591   *) API: Clarify usage of content_type, handler, content_encoding,
7592      content_language and content_languages fields in request_rec.  They
7593      must always be lowercased; and the strings pointed to shouldn't
7594      be modified (you must copy them to modify them).  Fix a few bugs
7595      related to this.  [Dean Gaudet]
7596
7597   *) API: Clarification: except for RAW_ARGS, all command handlers can
7598      treat the char * parameters as permanent, and modifiable.  There
7599      is no need to pstrdup() them.  Clean up some needless pstrdup().
7600      [Dean Gaudet]
7601
7602   *) Now mod_so keeps track of which module shared objects with which names
7603      are loaded and thus avoids multiple loading and unloading and irritating
7604      error_log messages. [Ralf S. Engelschall]
7605
7606   *) Prior to the existence of mod_setenv it was necessary to tweak the TZ
7607      environment variable in the apache core.  But that tweaking interferes
7608      with mod_setenv.  So don't tweak if the user has specified an explicit
7609      TZ variable.  [Jay Soffian <jay@cimedia.com>] PR#1888
7610
7611   *) rputs() did not calculate r->sent_bodyct properly.
7612      [Siegmund Stirnweiss <siegst@kat.ina.de>] PR#1900
7613
7614   *) The CGI spec says that REMOTE_HOST should be set to the remote hosts's
7615      name, or left unset if this value is unavailable.  Apache was setting
7616      it to the IP address when unavailable.
7617      [Tony Finch <fanf@demon.net>] PR#1925
7618
7619   *) Various improvements to the configuration and build support for compiling
7620      modules as shared objects. Especially Solaris 2.x, SunOS 4.1, IRIX and
7621      OSF1 support with GCC and vendor compilers was added.  This way shared
7622      object support is now provided out-of-the-box for FreeBSD, Linux,
7623      Solaris, SunOS, IRIX and OSF1. In short: On all major platforms!
7624      [Ralf S. Engelschall]
7625
7626   *) Minor cleanup in http_main -- split QNX and OS2 specific "mmap"
7627      scoreboard code into separate #defines -- USE_POSIX_SCOREBOARD
7628      and USE_OS2_SCOREBOARD.  [Dean Gaudet]
7629
7630   *) Fix one more special locking problem for RewriteMap programs in
7631      mod_rewrite: According to the documentation of flock(), "Locks are on
7632      files, not file descriptors.  That is, file descriptors duplicated
7633      through dup(2) or fork(2) do not result in multiple instances of a lock,
7634      but rather multiple references to a single lock. If a process holding a
7635      lock on a file forks and the child explicitly unlocks the file, the
7636      parent will lose its lock.". To overcome this we have to make sure the
7637      RewriteLock file is opened _AFTER_ the childs were spawned which is now
7638      the case by opening it in the child_init instead of the module_init API
7639      hook. [Ralf S. Engelschall] PR#1029
7640
7641   *) Change to Location and LocationMatch semantics.  LocationMatch no
7642      longer lets a single slash match multiple adjacent slashes in the
7643      URL.  This change is for consistency with RewriteRule and
7644      AliasMatch.  Multiple slashes have meaning in URLs that they do
7645      not have in (some) filesystems.  Location on the other hand can
7646      be considered a shorthand for a more complicated regex, and it
7647      does match multiple slashes with a single slash -- which is
7648      also consistent with the Alias directive.
7649      [Dean Gaudet] related PR#1440
7650
7651   *) Fix bug with mod_mime_magic causing certain files, including files
7652      of length 0, to result in no response from the server.
7653      [Dean Gaudet]
7654
7655   *) The Configure script now generates src/include/ap_config.h which
7656      contains the set of defines used when Apache is compiled on a platform.
7657      This file can then be included by external modules before including
7658      any Apache header files in case they are being built separately from
7659      Apache.  Along with this change, a couple of minor changes were
7660      made to make Apache's #defines coexist peacefully with any autoconf
7661      defines an external module might have. [Rasmus Lerdorf]
7662
7663   *) Fix mod_rewrite for the ugly API case where <VirtualHost> sections exist
7664      but without any RewriteXXXXX directives. Here mod_rewrite is given no
7665      chance by the API to initialize its per-server configuration and thus
7666      receives the wrong one from the main server. This is now avoided by
7667      remembering the server together with the config structure while
7668      configuring and later assuming there is no config when we see a
7669      difference between the remembered server and the one calling us. 
7670      [Ralf S. Engelschall] PR#1790
7671
7672   *) Fixed the DBM RewriteMap support for mod_rewrite: First the support now
7673      is automatically disabled under configure time when the dbm_xxx functions
7674      are not available. Second, two heavy source code errors in the DBM
7675      support code were fixed.  This makes DBM RewriteMap's usable again after
7676      a long time of brokenness. [Ralf S. Engelschall] PR#1696
7677
7678   *) Now all configuration files support Unix-style line-continuation via 
7679      the trailing backslash ("\") character. This enables us to write down
7680      complex or just very long directives in a more readable way.  The
7681      backslash character has to be really the last character before the
7682      newline and it has not been prefixed by another (escaping) backslash.
7683      [Ralf S. Engelschall]
7684
7685   *) When using ProxyPass the ?querystring was not passed correctly.
7686      [Joel Truher <truher@wired.com>]
7687
7688   *) To deal with modules being compiled and [dynamically] linked
7689      at a different time from the core, the SERVER_VERSION and
7690      SERVER_BUILT symbols have been abstracted through the new
7691      API routines apapi_get_server_version() and apapi_get_server_built().
7692      [Ken Coar]  PR#1448
7693
7694   *) WIN32: Preserve trailing slash in canonical path (and hence
7695      in PATH_INFO). [Paul Sutton, Ben Laurie]
7696
7697   *) PORT: USE_PTHREAD_SERIALIZED_ACCEPT has proven unreliable
7698      depending on the rev of Solaris and what mixture of modules
7699      are in use.  So it has been disabled, and Solaris is back to
7700      using USE_FCNTL_SERIALIZED_ACCEPT.  Users may experiment with
7701      USE_PTHREAD_SERIALIZED_ACCEPT at their own risk, it may speed
7702      up static content only servers.  Or it may fail unpredictably.
7703      [Dean Gaudet] PR#1779, 1854, 1904
7704
7705   *) mod_test_util_uri.c created which tests the logic in util_uri.c.
7706      [Dean Gaudet]
7707
7708   *) API: Rewrite of absoluteURI handling, and in particular how
7709      absoluteURIs match vhosts.  Unless a request is a proxy request, a
7710      "http://host" url is treated as if a similar "Host:" header had been
7711      supplied.  This change was made to support future HTTP/1.x protocols
7712      which may require clients to send absoluteURIs for all requests.
7713
7714      In order to achieve this change subtle changes were made to the API.  In a
7715      request_rec, r->hostlen has been removed.  r->unparsed_uri now exists so
7716      that the unmodified uri can be retrieved easily.  r->proxyreq is not set
7717      by the core, modules must set it during the post_read_request or
7718      translate_names phase.
7719
7720      Plus changes to the virtualhost test suite for absoluteURI testing.
7721
7722      This fixes several bugs with the proxy proxying requests to vhosts
7723      managed by the same httpd.
7724      [Dean Gaudet]
7725
7726   *) API: Cleanup of code in http_vhost.c, and remove vhost matching
7727      code from mod_rewrite.  The vhost matching is now performed by a
7728      globally available function matches_request_vhost().  [Dean Gaudet]
7729
7730   *) Reduce memory usage, and speed up ServerAlias support.  As a
7731      side-effect users can list multiple ServerAlias directives
7732      and they're all considered.
7733      [Chia-liang Kao <clkao@cirx.org>] PR#1531
7734
7735   *) The "poly" directive in image maps did not include the borders of the
7736      polygon, whereas the "rect" directive does.  Fix this inconsistency.
7737      [Konstantin Morshnev <moko@design.ru>] PR#1771
7738
7739   *) Make \\ behave as expected.  [Ronald.Tschalaer@psi.ch]
7740
7741   *) Add the `%a' construct to LogFormat and CustomLog to log the client IP
7742      address. [Todd Eigenschink <eigenstr@mixi.net>] PR#1885
7743
7744   *) API: A new source module main/util_uri.c; It contains a routine
7745      parse_uri_components() and friends which breaks a URI into its component
7746      parts.  These parts are stored in a uri_components structure called
7747      parsed_uri within each request_rec, and are available to all modules.
7748      Additionally, an unparse routine is supplied which re-assembles the URI
7749      components back to an URI, optionally hiding the username:password@ part
7750      from ftp proxy requests, and other useful routines.  Within the structure,
7751      you find on a ready-for-use basis:
7752         scheme;     /* scheme ("http"/"ftp"/...) */
7753         hostinfo;   /* combined [user[:password]@]host[:port] */
7754         user;       /* user name, as in http://user:passwd@host:port/ */
7755         password;   /* password, as in http://user:passwd@host:port/ */
7756         hostname;   /* hostname from URI (or from Host: header) */
7757         port_str;   /* port string (integer representation is in "port") */
7758         path;       /* the request path (or "/" if only scheme://host was given) */
7759         query;      /* Everything after a '?' in the path, if present */
7760         fragment;   /* Trailing "#fragment" string, if present */
7761      This is meant to serve as the platform for *BIG* savings in
7762      code complexity for the proxy module (and maybe the vhost logic).
7763      [Martin Kraemer]
7764
7765   *) Make all possible meta-construct expansions ($N, %N, %{NAME} and
7766      ${map:key}) available for all location where a string is created in
7767      mod_rewrite rewriting rulesets: 1st arg of RewriteCond, 2nd arg of
7768      RewriteRule and for the [E=NAME:STRING] flag of RewriteRule. This way the
7769      possible expansions are consequently usable at all string creation
7770      locations. [Ralf S. Engelschall]
7771
7772   *) Fix initialization of RewriteLogLevel (default now is 0 as documented 
7773      and not 1) and the per-virtual-server merging of directives. Now all
7774      directives except `RewriteEngine' and `RewriteOption' are either
7775      completely overridden (default) or completely inherited (when
7776      `RewriteOptions inherit') is used. [Ralf S. Engelschall] PR#1325
7777
7778   *) Fix `RewriteMap' program lookup in situations where such maps are
7779      defined but disabled (`RewriteEngine off') in per-server context. 
7780      [Ralf S. Engelschall] PR#1431
7781
7782   *) Fix bug introduced in 1.3b4-dev, config with no Port setting would cause
7783      server to bind to port 0 rather than 80.  [Dean Gaudet]
7784
7785   *) Fix long-standing problem with RewriteMap _programs_ under Unix derivates
7786      (like SunOS and FreeBSD) which don't accept the locking of pipes
7787      directly.  A new directive RewriteLock is introduced which can be used to
7788      setup a separate locking file which then is used for synchronization.
7789      [Ralf S. Engelschall] PR#1029
7790
7791   *) WIN32: The server root is obtained from the registry key
7792      HKLM\SOFTWARE\Apache Group\Apache\<version> (version is currently
7793      "1.3 beta"), unless overridden by the -d command line flag. The
7794      value is stored by running "apache -i -d serverroot". [Paul Sutton]
7795
7796   *) Merged os/win32/mod_dll.c into modules/standard/mod_so.c to support
7797      dynamic loading on Win32 and Unix via the same module. [Paul Sutton]
7798
7799   *) Now mod_rewrite no longer makes problematic assumptions on the characters
7800      a username can contain when trying to expand it via /etc/passwd. 
7801      [Ralf S. Engelschall]
7802
7803   *) The mod_setenvif BrowserMatch backwards compatibility command did not
7804      work properly with spaces in the regex.  [Ronald Tschalaer] PR#1825
7805
7806   *) Add new RewriteMap types: First, `rnd' which is equivalent to the `txt'
7807      type but with a special post-processing for the looked-up value: It
7808      parses it into alternatives according to `|' chars and then only one
7809      particular alternative is chosen randomly (this is an essential
7810      functionality needed for balancing between backend-servers when using
7811      Apache as a Reverse Proxy.  The looked up value here is a list of
7812      servers). Second, `int' with the built-in maps named `tolower' and
7813      `toupper' which can be used to map URL parts to a fixed case (this is an
7814      essential feature to fix the case of server names when doing mass
7815      virtual-hosting with the help of mod_rewrite instead of using
7816      <VirtualHost> sections). [Ralf S. Engelschall, parts based on code from
7817      Jay Soffian <jay@cimedia.com>] PR#1631
7818
7819   *) Add a new directive to mod_proxy similar to ProxyPass: `ProxyPassReverse'.
7820      This directive lets Apache adjust the URL in Location-headers on HTTP
7821      redirect responses sent by the remote server. This way the virtually
7822      mapped area is no longer left on redirects and thus by-passed which is
7823      especially essential when running Apache as a reverse proxy.  
7824      [Ralf S. Engelschall]
7825
7826   *) Hide Proxy-Authorization from CGI/SSI/etc just like Authorization is
7827      hidden. [Alvaro Martinez Echevarria]
7828
7829   *) Apache will, when started with the -X (single process) debugging flag,
7830      honor the SIGINT or SIGQUIT signals again now. This capability got lost
7831      a while ago during OS/2 signal handling changes.
7832
7833   *) [PORT] Work around the fact that NeXT runs on more than the
7834      m68k chips in mod_status [Scott Anguish and Timothy Luoma
7835      <luomat@peak.org>]
7836
7837   *) [PORT] Recognize FreeBSD versions so we can use the OS regex as well
7838      as handling unsigned-chars for FreeBSD v3 and v2 [Andrey Chernov
7839      <ache@nagual.pp.ru> and Jim] PR#1450
7840
7841   *) Use SA_RESETHAND or SA_ONESHOT when installing the coredump handlers.
7842      In particular the handlers could trigger themselves into an infinite
7843      loop if RLimitMem was used with a small amount of memory -- too small
7844      for the signal stack frame to be set up.  [Dean Gaudet]
7845
7846   *) Fix problems with absoluteURIs introduced during 1.3b4.  [Dean Gaudet,
7847      Alvaro Martinez Echevarria <alvaro@lander.es>]
7848
7849   *) Fix multiple UserDir problem introduced during 1.3b4-dev.
7850      [Dean Gaudet] PR#1850
7851
7852   *) ap_cpystrn() had an off-by-1 error.
7853      [Charles Fu <ccwf@klab.caltech.edu>] PR#1847
7854
7855   *) API: As Ken suggested the check_cmd_context() function and related
7856      defines are non-static now so modules can use 'em.  [Martin Kraemer]
7857
7858   *) mod_info would occasionally produce an unpaired <tt> in its
7859      output. Fixed. [Martin Kraemer]
7860
7861   *) By default AIX binds a process (and it's children) to a single
7862      processor.  httpd children now unbind themselves from that cpu
7863      and re-bind to one selected at random via bindprocessor()
7864      [Doug MacEachern]
7865
7866   *) Linux 2.0 and above implement RLIMIT_AS, RLIMIT_DATA has almost no
7867      effect.  Work around it by using RLIMIT_AS for the RLimitMEM
7868      directive.  [Enrik Berkhan <enrik@inka.de>] PR#1816
7869
7870   *) mod_mime_magic error message should indicate the filename when
7871      reads fail.  ["M.D.Parker" <mdpc@netcom.com>] PR#1827
7872
7873   *) Previously Apache would permit </Files> to end <FilesMatch> (and
7874      similary for Location and Directory), now this is diagnosed as an
7875      error.  Improve error messages for mismatched sections (<Files>,
7876      <FilesMatch>, <Directory>, <DirectoryMatch>, ...).
7877      [Dean Gaudet, Martin Kraemer]
7878
7879   *) <Files> is not permitted within <Location> (because of the
7880      semantic ordering).  [Dean Gaudet] PR#379
7881
7882   *) <Files> with wildcards was broken by the change in wildcard
7883      semantics (* does not match /).  To fix this, <Files> now
7884      apply only to the basename of the request filename.  This
7885      fixes some other inconsistencies in <Files> semantics
7886      (such as <Files a*b> not working).  [Dean Gaudet] PR#1817
7887
7888   *) Removed bogus "dist.tar" target from Makefile.tmpl and make sure
7889      backup files are removed on "clean" target [Ralf S. Engelschall]
7890
7891   *) PORT: Add -lm to LIBS for HPUX.  [Dean Gaudet] PR#1639
7892
7893   *) Various errors from select() and accept() in child_main() would
7894      result in an infinite loop.  It seems these two tickle kernel
7895      or library bugs occasionally, and result in log spammage and
7896      a generally bad scene.  Now the child exits immediately,
7897      which seems to be a good workaround.
7898      [Dean Gaudet] PR#1747, 1107, 588, 1787, 987, 588
7899
7900   *) Cleaned up some race conditions in unix child_main during
7901      initialization. [Dean Gaudet]
7902
7903   *) SECURITY: "UserDir /abspath" without a * in the path would allow
7904      remote users to access "/~.." and bypass access restrictions
7905      (but note /~../.. was handled properly).
7906      [Lauri Jesmin <jesmin@ut.ee>] PR#1701
7907
7908   *) API: os_is_path_absolute() now takes a const char * instead of a char *.
7909      [Dean Gaudet]
7910
7911 Changes with Apache 1.3b5
7912
7913   *) Source file dependencies in Makefile.tmpl files throughout the
7914      source tree were updated to accurately reflect reality.
7915      [Dean Gaudet]
7916
7917   *) Preserve the content encoding given by the AddEncoding directive
7918      when the client doesn't otherwise specify an encoding.
7919      [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>]
7920
7921   *) Sort out problems with canonical filename handling happening too late.
7922      [Dean Gaudet, Ben Laurie]
7923
7924 Changes with Apache 1.3b4
7925
7926   *) The module structure was modified to include a *dynamic_load_handle
7927      in the STANDARD_MODULE_STUFF portion, and the MODULE_MAGIC_NUMBER
7928      has been bumped accordingly.  [Paul Sutton]
7929
7930   *) All BrowserMatch directives mentioned in
7931      htdocs/manual/known_client_problems.html are in the default
7932      configuration files.  [Lars Eilebrecht]
7933
7934   *) MiNT port update. [Jan Paul Schmidt]
7935
7936   *) HTTP/1.1 requires x-gzip and gzip encodings be treated
7937      equivalent, similarly for x-compress and compress.  Apache
7938      now ignores a leading x- when comparing encodings.  It also
7939      preserves the encoding the client requests (for example if
7940      it requests x-gzip, then Apache will respond with x-gzip
7941      in the Content-Encoding header).
7942      [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>] PR#1772
7943
7944   *) Fix a memory leak on keep-alive connections.  [Igor Tatarinov]
7945
7946   *) Added mod_so module to support dynamic loading of modules on Unix
7947      (like mod_dld for Win32). This replaces mod_dld.c. Use SharedModule
7948      instead of AddModule in Configuration to build shared modules
7949      [Sameer Parekh, Paul Sutton]
7950
7951   *) Minor cleanups to r->finfo handling in some modules.
7952      [Dean Gaudet]
7953
7954   *) Abstract read()/write() to ap_read()/ap_write().
7955      Makes it easier to add other types of IO code such as SFIO.
7956      [Randy Terbush]
7957
7958   *) API: Generalize default_port manipulations to make support of
7959      different protocols easier. [Ben Laurie, Randy Terbush]
7960
7961   *) There are many cases where users do not want Apache to form
7962      self-referential urls using the "canonical" ServerName and Port.
7963      The new UseCanonicalName directive (default on), if set to off
7964      will cause Apache to use the client-supplied hostname and port.
7965      API: Part of this change required a change to the construct_url()
7966      prototype; and the addition of get_server_name() and
7967      get_server_port().
7968      [Michael Douglass <mikedoug@texas.net>, Dean Gaudet]
7969      PR#315, 459, 485, 1433
7970
7971   *) Yet another rearrangement of the source tree.. now all the common
7972      header files are in the src/include directory.  The -Imain -Iap
7973      references in Makefiles have been changed to the simpler -Iinclude
7974      instead.  In addition to simplifying the build a little bit, this
7975      also makes it clear when a module is referencing something in a
7976      other than kosher manner (e.g., the proxy including mod_mime.h).
7977      Module-private header files (the proxy, mod_mime, the regex library,
7978      and mod_rewrite) have not been moved to src/include; nor have
7979      the OS-abstraction files.  [Ken Coar]
7980
7981   *) Fix a bug where r->hostname didn't have the :port stripped
7982      from it.  [Dean Gaudet]
7983
7984   *) Tweaked the headers_out table size, and the subprocess_env
7985      table size guess in rename_original_environment().  Added
7986      MAKE_TABLE_PROFILE which can help discover make_table()
7987      calls that use too small an initial guess, see alloc.c.
7988      [Dean Gaudet]
7989
7990   *) Options and AllowOverride weren't properly merging in the main
7991      server setting inside vhosts (only an issue when you have no
7992      <Directory> or other section containing an Options that affects
7993      a request).  Options +foo or -foo in the main_server wouldn't
7994      affect the main_server's lookup defaults.  [Dean Gaudet]
7995
7996   *) Variable 'cwd' was being used pointlessly before being set.
7997      [Ken Coar] PR#1738
7998
7999   *) r->allowed handling cleaned up in the standard modules.
8000      [Dean Gaudet]
8001
8002   *) Some case-sensitivity issues cleaned up to be consistent with
8003      RFC2068.  [Dean Gaudet]
8004
8005   *) SIGURG doesn't exist everywhere.
8006      [Mark Andrew Heinrich <heinrich@tinderbox.Stanford.EDU>]
8007
8008   *) mod_unique_id was erroneously generating a second unique id when
8009      an internal redirect occured.  Such redirects occur, for example,
8010      when processing a DirectoryIndex match.  [Dean Gaudet]
8011
8012   *) API: table_add, table_merge, and table_set include implicit pstrdup()
8013      of the key and value.  But in many cases this is not required
8014      because the key/value is a constant, or the value has been built
8015      by pstrcat() or other similar means.  New routines table_addn,
8016      table_mergen, and table_setn have been added to the API, these
8017      routines do not pstrdup() their arguments.  The core code and
8018      standard modules were changed to take advantage of these routines.
8019      The resulting server is up to 20% faster in some situations.
8020
8021      Note that it is easy to get code subtly wrong if you pass a key/value
8022      which is in a pool other than the pool of the table.  The only
8023      safe thing to do is to pass key/values which are in the pool of
8024      the table, or in one of the ancestors of the pool of the table.
8025      i.e. if the table is part of a subrequest, a value from the main
8026      request's pool is OK since the subrequest pool is a sub_pool of the
8027      main request's pool (and therefore has a lifespan at most as long as
8028      the main pool).  There is debugging code which can detect improper
8029      usage, enabled by defining POOL_DEBUG.  See alloc.c for more details.
8030      [Dmitry Khrustalev <dima@bog.msu.su>, Dean Gaudet]
8031
8032   *) More mod_mime_magic cleanup:  fewer syscalls; should handle "files"
8033      which don't exist on disk more gracefully; handles vhosts properly.
8034      Update documentation to reflect the code -- if there's no
8035      MimeMagicFile directive then the module is not enabled.
8036      [Dean Gaudet]
8037
8038   *) PORT: Some older *nix dialects cannot automatically start scripts
8039      which begin with a #! interpreter line (the shell starts the scripts
8040      appropriately on these platforms). Apache now supports starting of
8041      "hashbang-scripts" when the NEED_HASHBANG_EMUL define is set.
8042      [Martin Kraemer, with code from peter@zeus.dialix.oz.au (Peter Wemm)
8043      taken from tcsh]
8044
8045   *) API: "typedef array_header table" removed from alloc.h, folks should
8046      have been writing to use table as if it were an opaque type, but even
8047      some standard modules got this wrong.  By changing the definition
8048      to "typedef struct table table" module authors will receive compile
8049      time warnings that they're doing the wrong thing.  This change
8050      facilitates future changes with more sophisticated table
8051      structures.  Specifically, module authors should be using table_elts()
8052      to get access to an array_header * for the table. [Dean Gaudet]
8053
8054   *) API: Renamed new_connection() to avoid namespace collision with LDAP
8055      library routines.  [Ken Coar, Rasmus Lerdorf]
8056
8057   *) WIN32: mod_speling is now available on the Win32 platform.
8058      [Marc Slemko]
8059
8060   *) For clarity the following compile time definition was changed:
8061
8062         SAFE_UNSERIALIZED_ACCEPT  ->   SINGLE_LISTEN_UNSERIALIZED_ACCEPT
8063
8064      Also, for example, HAVE_MMAP would mean to use mmap() scoreboards
8065      and not be a general notice that the OS has mmap(). Now the
8066      HAVE_MMAP/SHMGET #defines strictly are informational that the
8067      OS has that method of shared memory; the type to use for
8068      the scoreboard is a seperate #define (USE_MMAP_SCOREBOARD
8069      and USE_SHMGET_SCOREBOARD). This allows outside modules to
8070      determine if shared memory is available and allows Apache
8071      to determine the best method to use for the scoreboard.
8072      [Jim Jagielski]
8073
8074   *) PORT: UnixWare 2.1.2 SMP appears to require USE_FCNTL_SERIALIZED_ACCEPT,
8075      as do various earlier versions.  It should be safe on all versions.
8076      Unixware 1.x appears to have the same SIGHUP bug as solaris does with
8077      the slack code.  A few other cleanups for Unixware.
8078      [Tom Hughes <thh@cyberscience.com>] PR#1082, PR#1282, PR#1499, PR#1553
8079
8080   *) PORT: A/UX can handle single-listen accepts without mutex
8081      locking, so we add SINGLE_LISTEN_UNSERIALIZED_ACCEPT. [Jim Jagielski]
8082
8083   *) When die() happens we need to eat any request body if one exists.
8084      Otherwise we can't continue with a keepalive session.  This shows up
8085      as a POST problem with MSIE 4.0, typically against pages which are
8086      authenticated.  [Roy Fielding] PR#1399
8087
8088   *) If you define SECURITY_HOLE_PASS_AUTHORIZATION then the Authorization
8089      header will be passed to CGIs.  This is generally a security hole, so
8090      it's not a default.  [Marc Slemko] PR#549
8091
8092   *) Fix Y2K problem with date printing in suexec log.
8093      [Paul Eggert <eggert@twinsun.com>] PR#1343
8094
8095   *) WIN32 deserves a pid file.  [Ben Hyde]
8096
8097   *) suexec errors now include the errno/description.  [Marc Slemko] PR#1543
8098
8099   *) PORT: OSF/1 now uses USE_FLOCK_SERIALIZED_ACCEPT to solve PR#467.
8100      The choice of flock vs. fcntl was made based on timings which showed that
8101      even on non-NFS, non-exported filesystems fcntl() was an order of
8102      magnitude slower.  It also uses SINGLE_LISTEN_UNSERIALIZED_ACCEPT so
8103      that single socket users will see no difference. [Dean Gaudet] PR#467
8104
8105   *) "File does not exist" error message was erroneously including the
8106      errno.  [Marc Slemko]
8107
8108   *) Improve the warning message generated when a client drops the
8109      connection (hits stop button, etc.) during a send.  [Roy Fielding]
8110
8111   *) Defining GPROF will disable profiling in the parent and enable it
8112      in the children.  If you're profiling under Linux this is pretty much
8113      necessary because SIGPROF is lost across a fork(). [Dean Gaudet]
8114
8115   *) htdigest and htpasswd needed slight tweaks to work on OS/2 and WIN32.
8116      [Brian Havard]
8117
8118   *) The NeXT cc (which is gcc hacked up) doesn't appear to support some
8119      gcc functionality.  Work around it.
8120      [Keith Severson <keith@sssd.navy.mil>] PR#1613
8121
8122   *) Some linkers complain when .o files contain no functions.
8123      [Keith Severson <keith@sssd.navy.mil>] PR#1614
8124
8125   *) Some const declarations in mod_imap.c that were added for debugging
8126      purposes caused some compilers heartburn without adding any
8127      significant value, so they've been removed.  [Ken Coar]
8128
8129   *) The src/main/*.h header files have had #ifndef wrappers added to
8130      insulate them against duplicate calls if they get included through
8131      multiple paths (e.g., in .c files as well as other .h files).
8132      [Ken Coar]
8133
8134   *) The libap routines now have a header file for their prototypes,
8135      src/ap/ap.h, to ease their use in non-httpd applications.  [Ken Coar]
8136
8137   *) mod_autoindex with a plaintext header file would emit the <PRE>
8138      start-tag before the HTML preamble, rather than after the preamble
8139      but before the header file contents.  [John Van Essen <jve@gamers.org>]
8140      PR#1667
8141
8142   *) SECURITY: Fix a possible buffer overflow in logresolve.  This is
8143      only an issue on systems without a MAXDNAME define or where
8144      the resolver returns domain names longer than MAXDNAME.  [Marc Slemko]
8145
8146   *) SECURITY: Eliminate possible buffer overflow in cfg_getline, which
8147      is used to read various types of files such as htaccess and
8148      htpasswd files.  [Marc Slemko]
8149
8150   *) SECURITY: Ensure that the buffer returned by ht_time is always
8151      properly null terminated.  [Marc Slemko]
8152
8153   *) The "Connection" header could be sent back with multiple "close"
8154      tokens.  Not an error, but a waste.
8155      [Ronald.Tschalaer@psi.ch] PR#1683
8156
8157   *) mod_rewrite's RewriteLog should behave like mod_log_config, it
8158      shouldn't force hostname lookups.  [Dean Gaudet] PR#1684
8159
8160   *) "basic" auth needs a case-insensitive comparison.
8161      [Ronald.Tschalaer@psi.ch] PR#1666
8162
8163   *) For maximum portability, the environment passed to CGIs should
8164      only contain variables whose names match the regex
8165      /[a-zA-Z][a-zA-Z0-9_]*/.  This is now enforced by stamping
8166      underscores over any character outside the regex.  This
8167      affects HTTP_* variables, in a way that should be backward
8168      compatible for all the standard headers; and affects variables
8169      set with SetEnv/BrowserMatch and similar directives.
8170      [Dean Gaudet]
8171
8172   *) mod_speling returned incorrect HREF's when an ambigous match
8173      was found. Noticed by <robinton@amtrash.comlink.de> (Soeren Ziehe)
8174      [robinton@amtrash.comlink.de (Soeren Ziehe), Martin Kraemer]
8175
8176   *) PORT: Apache now compiles & runs on an EBCDIC mainframe
8177      (the Siemens BS2000/OSD family) in the POSIX subsystem
8178      [Martin Kraemer]
8179
8180   *) PORT: Fix problem killing children when terminating.  Allow ^C
8181      to shut down the server.  [Brian Havard]
8182
8183   *) pstrdup() is implicit in calls to table_* functions, so there's
8184      no need to do it before calling.  Clean up a few cases.
8185      [Marc Slemko, Dean Gaudet]
8186
8187   *) new -C and -c command line arguments
8188      usage:
8189      -C "directive" : process directive before reading config files
8190      -c "directive" : process directive after reading config files
8191      example:
8192      httpd -C "PerlModule Apache::httpd_conf"
8193      [Doug MacEachern, Martin Kraemer]
8194
8195   *) WIN32: Fix the execution of CGIs that are scripts and called 
8196      with path info that does not have an '=' in.
8197      (eg. http://server/cgi-bin/printenv?foobar)  
8198      [Marc Slemko] PR#1591
8199
8200   *) WIN32: Fix a call to os_canonical_filename so it doesn't try to 
8201      mess with fake filenames.  This fixes proxy caching on 
8202      win32. PR#1265
8203
8204   *) SECURITY: General mod_include cleanup, including fixing several
8205      possible buffer overflows and a possible infinite loop.
8206      [Dean Gaudet, Marc Slemko]
8207
8208   *) SECURITY: Numerous changes to mod_imap in a general cleanup
8209      including fixing a possible buffer overflow.  [Dean Gaudet]
8210
8211   *) WIN32: overhaul of multithreading code. Shutdowns are now graceful
8212      (connections are not dropped). Code can handle graceful restarts
8213      (but there is as yet no way to signal this to Apache). Various
8214      other cleanups. [Paul Sutton]
8215
8216   *) The aplog_error changes specific to 1.3 introduced a buffer
8217      overrun in the (now legacy) log_printf function.  Fixed.
8218      [Dean Gaudet]
8219
8220   *) mod_digest didn't properly deal with proxy authentication.  It
8221      also lacked a case-insensitive comparision of the "Digest"
8222      token.  [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>] PR#1599
8223
8224   *) A few cleanups in mod_status for efficiency.  [Dean Gaudet]
8225
8226   *) A few cleanups in mod_info to make it thread-safe, and remove an
8227      off-by-5 bug that could hammer \0 on the stack. [Dean Gaudet]
8228
8229   *) no2slash() was O(n^2) in the length of the input.  Make it O(n).
8230      [Dean Gaudet]
8231
8232   *) API: migration from strncpy() to our "enhanced" version called
8233      ap_cpystrn() for performance and functionality reasons.
8234      Located in libap.a.  [Jim Jagielski]
8235
8236   *) table_set() and table_unset() did not deal correctly with
8237      multiple occurrences of the same key.
8238      [Stephen Scheck <sscheck@infonex.net>, Ben Laurie] PR#1604
8239
8240   *) The AuthName must now be enclosed in quotes if it is to contain
8241      spaces.  [Ken Coar] PR#1195
8242
8243   *) API: new function: ap_escape_quotes(). [Ken Coar] PR#1195
8244
8245   *) WIN32: Work around optimiser bug that killed ISAPI in release
8246      versions. [Ben Laurie] PR#1533
8247
8248   *) PORT: Update the MPE port [Mark Bixby, Jim Jagielski]
8249
8250   *) Interim (slow) fix for p->sub_pool critical sections in
8251      alloc.c (affects win32 only).  [Ben Hyde]
8252
8253   *) non-WIN32 was missing destroy_mutex definition.  [Ben Hyde]
8254
8255   *) send_fd_length() did not calculate total_bytes_sent properly.
8256      [Ben Reser <breser@regnow.com>] PR#1366
8257
8258   *) The bputc() macro was not properly integrated with the chunking
8259      code; in many cases modules using bputc() could cause completely
8260      bogus chunked output.  (Typically this will show up as problems
8261      with Internet Explorer 4.0 reading a page, but other browsers
8262      having no problem.) [Dean Gaudet]
8263
8264   *) Create LARGE_WRITE_THRESHOLD define which determines how many
8265      bytes have to be supplied to bwrite() before it will consider
8266      doing a writev() to assemble multiple buffers in one system
8267      call.  This is critical for modules such as mod_include,
8268      mod_autoindex, mod_php3 which all use bputc()/bputs() of smaller
8269      strings in some cases.  The result would be extra effort
8270      setting up writev(), and in many cases extra effort building
8271      chunks.  The default is 31, it can be overriden at compile
8272      time. [Dean Gaudet]
8273
8274   *) Move the gid switching code into the child so that log files
8275      and pid files are opened with the root gid.
8276      [Gregory A Lundberg <lundberg@vr.net>]
8277
8278   *) WIN32: Check for binaries by looking for the executable header
8279      instead of counting control characters.
8280      [Jim Patterson <Jim.Patterson@Cognos.COM>] PR#1340
8281
8282   *) ap_snprintf() moved from main/util_snprintf.c to ap/ap_snprintf.c
8283      so the functionality is available to applications other than the
8284      server itself (like the src/support tools).  [Ken Coar]
8285
8286   *) ap_slack() moved out of main/util.c into ap/ap_slack.c as part of
8287      the libap consolidation work.  [Ken Coar]
8288
8289   *) ap_snprintf() with a len of 0 behaved like sprintf().  This is not
8290      useful, and isn't what the standards require.  Now it returns 0
8291      and writes nothing.  [Dean Gaudet]
8292
8293   *) When an error occurs in fcntl() locking suggest the user look up
8294      the docs for LockFile.  [Dean Gaudet]
8295
8296   *) Eliminate some dead code from writev_it_all().
8297      [Igor Tatarinov <tatarino@prairie.NoDak.edu>]
8298
8299   *) mod_autoindex had an fread() without checking the result code.
8300      It also wouldn't handle "AddIconByType (TXT,/icons/text.gif text/*"
8301      (note the missing closing paren) properly.  [Dean Gaudet]
8302
8303   *) It appears the "257th byte" bug (see
8304      htdocs/manual/misc/known_client_problems.html#257th-byte) can happen
8305      at the 256th byte as well.  Fixed.  [Dean Gaudet]
8306
8307   *) PORT: Fix mod_mime_magic under OS/2, no support for block devices.
8308      [Brian Havard]
8309
8310   *) Fix memory corruption caused by allocating auth usernames in the
8311      wrong pool.  [Dean Gaudet] PR#1500
8312
8313   *) Fix an off-by-1, and an unterminated string error in
8314      mod_mime_magic.  [Dean Gaudet]
8315
8316   *) Fix a potential SEGV problem in mod_negotiation when dealing
8317      with type-maps.  [Dean Gaudet]
8318
8319   *) Better glibc support under Linux.  [Dean Gaudet] PR#1542
8320
8321   *) "RedirectMatch gone /" would cause a SIGSEGV. [Dean Gaudet] PR#1319
8322
8323   *) WIN32: avoid overflows during file canonicalisations.
8324      [malcolm@mgdev.demon.co.uk] PR#1378
8325
8326   *) WIN32: set_file_slot() didn't detect absolute paths. [Ben Laurie]
8327      PR#1511, 1508
8328
8329   *) WIN32: mod_status display header didn't match fields. [Ben Laurie]
8330
8331   *) The pthread_mutex_* functions return an error code, and don't
8332      set errno.  [Igor Tatarinov <tatarino@prairie.NoDak.edu>]
8333
8334   *) WIN32: Allow spaces to prefix the interpreter in #! lines.
8335      [Ben Laurie] PR#1101
8336
8337   *) WIN32: Cure file leak in CGIs. [Peter Tillemans <pti@net4all.be>] PR#1523
8338
8339   *) proxy_ftp: the directory listings generated by the proxy ftp module
8340      now have a title in which the path components are clickable and allow
8341      quick navigation to the clicked-on directory on the currently listed
8342      ftp server. This also fixes a bug where the ".." directory links would
8343      sometimes refer to the wrong directory.  [Martin Kraemer]
8344
8345   *) WIN32: Allocate the correct amount of memory for the scoreboard.
8346      [Ben Hyde] PR#1387
8347
8348   *) WIN32: Only lowercase the part of the path that is real. [Ben Laurie]
8349      PR#1505
8350
8351   *) Fix problems with timeouts in inetd mode and -X mode.  [Dean Gaudet]
8352
8353   *) Fix the spurious "(0)unknown error: mmap_handler: mmap failed"
8354      error messages. [Ben Hyde]
8355
8356 Changes with Apache 1.3b3
8357
8358   *) WIN32: Work around brain-damaged spawn calls that can't deal
8359      with spaces and slashes.  [Ben Laurie]
8360
8361   *) WIN32: Fix the code so CGIs can use socket calls on Windows.  
8362      The problem was that certain undocumented environment variables
8363      needed for sockets to work under Win32 were not being passed.
8364      [Frank Faubert <frank@sane.com>]
8365
8366   *) Add a "-V" command line flag to the httpd binary.  This 
8367      flag shows some of the defines that Apache was compiled with.
8368      It is useful for debugging purposes.  [Martin Kraemer]
8369
8370   *) Start separating the ap_*() routines into their own library, so they
8371      can be used by items in src/support among other things.  
8372      [Ken Coar] PR#512, 905, 1252, 1308 
8373
8374   *) Give a more informative error when no AuthType is set.
8375      [Lars Eilebrecht]
8376
8377   *) Remove strtoul() use from mod_proxy because it isn't available
8378      on all platforms.   [Marc Slemko] PR#1214
8379
8380   *) WIN32: Some Win32 systems terminated all responses after 16 kB. 
8381      This turns out to be a bug in Winsock - select() doesn't always 
8382      return the correct status.  [Ben Laurie]
8383
8384   *) Directives owned by http_core can now use the new check_cmd_context()
8385      routine to ensure that they're not being used within a container
8386      (e.g., <Directory>) where they're invalid.  [Martin Kraemer]
8387
8388   *) PORT: Recent changes made it necessary to add explicit prototype
8389      for fgetc() and fgets() on SunOS 4.x.  [Martin Kraemer, Ben Hyde]
8390
8391   *) It was necessary to distinguish between resources which are
8392      allocated in the parent, for cleanup in the parent, and resources
8393      which are allocated in each child, for cleanup in each child.
8394      A new pool was created which is passed to the module child_init
8395      and child_exit functions; modules are free to register per-child
8396      cleanups there.  This fixes a bug with reliable piped logs.
8397      [Dean Gaudet]
8398
8399   *) mod_autoindex wasn't displaying the ReadmeName file at the bottom
8400      unless it was also doing FancyIndexes, but it displayed the
8401      HeaderName file at the top under all circumstances.  It now shows
8402      the ReadmeName file for simple indices, too, as it should.  
8403      [Ken Coar] PR#1373
8404
8405   *) http_core was mmap()ing even in cases where it wasn't going to
8406      read the file.  [Ben Hyde <bhyde@gensym.com>]
8407
8408   *) Complete rewrite ;-) of mod_rewrite's URL rewriting engine:
8409      Now the rewriting engine (the heart of mod_rewrite) is organized more
8410      straight-forward, first time well documented and reduced to the really
8411      essential parts. All redundant cases were stripped off and processing now
8412      is the same for both per-server and per-directory context with only a
8413      minimum difference (the prefix stripping in per-dir context). As a
8414      side-effect some subtle restrictions and two recently discovered problems
8415      are gone: Wrong escaping of QUERY_STRING on redirects in per-directory
8416      context and restrictions on the substitution URL on redirects.
8417      Additionally some minor source cleanups were done. 
8418      [Ralf S. Engelschall] 
8419
8420   *) Lars Eilebrecht wrote a whole new set of Apache Vhost Internals
8421      documentation, examples, explanations and caveats. They live in a new
8422      subdirectory htdocs/manual/vhost/. [Lars Eilebrecht <sfx@unix-ag.org>]
8423
8424   *) If ap_slack fails to allocate above the low slack line it's a good
8425      indication that further problems will occur; it's a better indication
8426      than many external libraries give us when we actually run out of
8427      descriptors.  So report it to the user once per restart.
8428      [Dean Gaudet] PR#1181
8429
8430   *) Change mod_include and mod_autoindex to use Y2K-safe date formats
8431      by default.  [Ken Coar]
8432
8433   *) Add a "SuppressColumnSorting" option to the IndexOptions list,
8434      which will keep the column heading from being links for sorting
8435      the display.  [Ken Coar, suggested by Brian Tiemann <btman@pacific.net>]
8436      PR #1261
8437
8438   *) PORT: Update the LynxOS port.  [Marius Groeger <mag@sysgo.de>]
8439
8440   *) Fix logic error when issuing a mmap() failed message
8441      with a non-zero MMAP_THRESHOLD.
8442      [David Chambers <davidc@flosun.salk.edu>] PR#1294
8443
8444   *) Preserve handler value on ProxyPass'ed requests by not
8445      calling find_types on a proxy'd request; fixes problems
8446      where some ProxyPass'ed URLs weren't actually passed
8447      to the proxy.
8448      [Lars Eilebrecht] PR#870
8449
8450   *) Fix a byte ordering problem in mod_access which prevented
8451      the old-style syntax (i.e. "a.b.c." to match a class C)
8452      from working properly. [Dean Gaudet] PR#1248, 1328, 1384
8453
8454   *) Fix problem with USE_FLOCK_SERIALIZED_ACCEPT not working
8455      properly. Each child needs to open the lockfile instead
8456      of using the passed file-descriptor from the parent. 
8457      [Jim Jagielski] PR#1056
8458
8459   *) Fix the error logging in mod_cgi; the recent error log changes
8460      introduced a bug that prevented it from working correctly.
8461      [M.D.Parker] PR#1352
8462
8463   *) Default to USE_FCNTL_SERIALIZED_ACCEPT on HPUX to properly 
8464      handle multiple Listen directives.  [Marc Slemko] PR#872
8465
8466   *) Inherit a bugfix to fnmatch.c from FreeBSD sources.
8467      ["[KOI8-R] áÎÄÒÅÊ þÅÒÎÏ×" <ache@nagual.pp.ru>] PR#1311
8468
8469   *) When a configuration parse complained about a bad directive,
8470      the logger would use whatever (unrelated) value was in errno.
8471      errno is now forced to EINVAL first in this case.  [Ken Coar]
8472
8473   *) A sed command in the Configure script pushed the edge of POSIXness,
8474      breaking on some systems.  [Bhaba R.Misra <system@vt.edu>] PR#1368
8475
8476   *) Solaris >= 2.5 was totally broken due to a mess up using pthread
8477      mutexes.  [Roy Fielding, Dean Gaudet]
8478
8479   *) OS/2 Port updated; it should be possible to build OS/2 from the same
8480      sources as Unix now.  [Brian Havard <brianh@kheldar.apana.org.au>]
8481
8482   *) Fix a year formatting bug in mod_usertrack.
8483      [Paul Eggert <eggert@twinsun.com>] PR#1342
8484
8485   *) A mild SIGTERM/SIGALRM race condition was eliminated.
8486      [Dean Gaudet] PR#1211
8487
8488   *) Warn user that default path has changed if /usr/local/etc/httpd
8489      is found on the system.  [Lars Eilebrecht]
8490
8491   *) Various mod_mime_magic bug fixes and cleanups: Uncompression
8492      should work, it should work on WIN32, and a few resource
8493      leaks and abort conditions are fixed.
8494      [Dean Gaudet] PR#1205
8495
8496   *) PORT: On AIX 1.x files can't be named '@', fix the proxy cache
8497      to use '%' instead of '@' in its encodings.
8498      [David Schuler <schuld@btv.ibm.com>] PR#1317
8499
8500   *) Improve the warning message generated when the "server is busy".
8501      [Dean Gaudet] PR#1293
8502
8503   *) PORT: All ports which don't otherwise define DEF_WANTHSREGEX will
8504      get Spencer regex by default.  This is to avoid having to
8505      discover bugs in operating system libraries.  [Dean Gaudet]
8506
8507   *) PORT: "Fix" PR#467 by generating warnings on systems which we have
8508      not been able to get working USE_*_SERIALIZED_ACCEPT settings for.
8509      Document this a bit more in src/PORTING.  [Dean Gaudet] PR#467
8510
8511   *) Ensure that one copy of config warnings makes it to the
8512      error_log.  [Dean Gaudet]
8513
8514   *) Invent new structure and associated methods to handle config file
8515      reading. Add "custom" hook to use config file cfg_getline() on
8516      something which is not a FILE*  [Martin Kraemer]
8517
8518   *) Make single-exe Windows install. [Ben Laurie and Eric Esselink]
8519
8520   *) WIN32: Make CGI work under Win95. [Ben Laurie and Paul Sutton]
8521
8522   *) WIN32: Make index.html and friends work under Win95. [Ben Laurie]
8523
8524   *) PORT: Solaris 2.4 needs Spencer regex, the system regex is broken.
8525      [John Line <jml4@cam.ac.uk>] PR#1321
8526
8527   *) Default pathname has been changed everywhere to /usr/local/apache
8528      [Sameer <sameer@c2.net>]
8529
8530   *) PORT: AIX now uses USE_FCNTL_SERIALIZED_ACCEPT.
8531      [David Bronder <David-Bronder@uiowa.edu>] PR#849
8532
8533   *) PORT: i386 AIX does not have memmove.
8534      [David Schuler <schuld@btv.ibm.com>] PR#1267
8535
8536   *) PORT: HPUX now defaults to using Spencer regex.
8537      [Philippe Vanhaesendonck <pvanhaes@be.oracle.com>,
8538      Omar Del Rio <al112263@academ01.lag.itesm.mx>] PR#482, 1246
8539
8540   *) PORT: Some versions of NetBSD don't automatically define
8541      __NetBSD__.  Workaround by defining NETBSD.
8542      [Chris Craft <ccraft@cncc.cc.co.us>] PR#977
8543
8544   *) PORT: UnixWare 2.x requires -lgen for syslog.
8545      [Hans Snijder <hs@meganet.nl>] PR#1249
8546
8547   *) PORT: ULTRIX appears to not have syslog.
8548      [Lars Eilebrecht <Lars.Eilebrecht@unix-ag.org>]
8549
8550   *) PORT: Basic Gemini port (treat it like unixware212).
8551      ["Pavel Yakovlev (Paul McHacker)" <hac@tomcat.olly.ru>]
8552
8553   *) PORT: All SVR4 systems now use NET_SIZE_T = size_t, and
8554      use USE_SHMGET_SCOREBOARD.
8555      [Martin Kraemer]
8556
8557   *) Various improvements in detecting config file errors (missing closing
8558      directives for <Directory>, <Files> etc. blocks, prohibiting global
8559      server settings in <VirtualHost> blocks, flagging unhandled multiple
8560      arguments to <Directory>, <Files> etc.)
8561      [Martin Kraemer]
8562
8563   *) Add support to suexec wrapper program for mod_unique_id's UNIQUE_ID
8564      variable to provide this one to suexec'd CGIs, too.
8565      [M.D.Parker <mdpc@netcom.com>] PR#1284
8566
8567   *) New support tool: src/support/split-logfile, a sample Perl script which
8568      splits up a combined access log into separate files based on the
8569      name of the virtual host (listed first in the log records by "%v").
8570      [Ken Coar]
8571
8572 Changes with Apache 1.3b2 (there is no 1.3b1)
8573
8574   *) TestCompile was not passing $LIBS [Dean Gaudet]
8575
8576   *) Makefile.tmpl was not using $CFLAGS in the link phase. 
8577      [Martin Kraemer]
8578
8579   *) Add debugging code to alloc.c.  Defining ALLOC_DEBUG provides a
8580      rudimentary memory debugger which can be used on live servers with
8581      low impact -- it sets all allocated and freed memory bytes to 0xa5.
8582      Defining ALLOC_USE_MALLOC will cause the alloc code to use malloc()
8583      and free() for each object.  This is far more expensive and should
8584      only be used for testing with tools such as Electric Fence and
8585      Purify.  See main/alloc.c for more details.  [Dean Gaudet]
8586
8587   *) Configure uses a sh trap and didn't set its exitcode properly.
8588      [Dean Gaudet] PR#1159
8589
8590   *) Yet another vhost revamp.  Add the NameVirtualHost directive which
8591      explicitly lists the ip:port pairs that are to be used for name-vhosts.
8592      From a given ip:port, regardless what the Host: header is, you can
8593      only reach the vhosts defined on that ip:port.  The precedence of
8594      vhosts was reversed to match other precedences in the config --
8595      the earlier vhosts override the later vhosts.  All vhost matching was
8596      moved into http_vhost.[ch].  [Dean Gaudet]
8597
8598   *) ap_inline can be used to force inlining.  GNUC __attribute__() can
8599      be used for whatever reason is appropriate (i.e. format() warnings
8600      for printf style functions).  Both are enabled only with
8601      gcc >= 2.7.x (so that we have fewer support issues with older
8602      versions).  [Dean Gaudet]
8603
8604   *) Fix support for Proxy Authentication (we were testing the response
8605      status too early). [Marc Slemko]
8606
8607   *) CoreDumpDirectory directive directs where the core file is
8608      written when a SIGSEGV, SIGBUS, SIGABORT or SIGABRT are
8609      received.  [Marc Slemko, Dean Gaudet]
8610
8611   *) PORT: Support for Atari MINT.
8612      [Jan Paul Schmidt <Jan.P.Schmidt@mni.fh-giessen.de>]
8613
8614   *) When booting, apache will now detach itself from stdin, stdout,
8615      and stderr.  stderr will not be detached until after the config
8616      files have been read so you will be able to see initial error
8617      messages.  After that all errors are logged in the error_log.
8618      This makes it more convenient to start apache via rsh, ssh,
8619      or crontabs.  [Dean Gaudet] PR#523
8620
8621   *) mod_proxy was sending HTTP/1.1 responses to ftp requests by mistake.
8622      Also removed the auto-generated link to www.apache.org that was the
8623      source of so many misdirected bug reports.  [Roy Fielding, Marc Slemko]
8624
8625   *) send_fb would not detect aborted connections in some situations.
8626      [Dean Gaudet]
8627
8628   *) mod_include would use uninitialized data when parsing certain
8629      expressions involving && and ||. [Brian Slesinsky] PR#1139
8630
8631   *) mod_imap should only handle GET methods.  [Jay Bloodworth]
8632
8633   *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
8634
8635   *) mod_autoindex improperly counted &escapes; as more than one
8636      character in the description.  It also improperly truncated
8637      descriptions that were exactly the maximum length.
8638      [Martin Kraemer]
8639
8640   *) RedirectMatch was not properly escaping the result (PR#1155).  Also
8641      "RedirectMatch /advertiser/(.*) $1" is now permitted.
8642      [Dean Gaudet]
8643
8644   *) mod_include now uses symbolic names to check for request success
8645      and return HTTP errors, and correctly handles all types of
8646      redirections (previously it only did temporary redirect correctly).
8647      [Ken Coar, Roy Fielding]
8648
8649   *) mod_userdir was modifying r->finfo in cases where it wasn't setting
8650      r->filename.  Since those two are meant to be in sync with each other
8651      this is a bug.  ["Paul B. Henson" <henson@intranet.csupomona.edu>]
8652
8653   *) PORT: Support Unisys SVR4, whose uname returns mostly useless data.
8654      ["Kaufman, Steven E" <Steven.Kaufman@unisys.com>]
8655
8656   *) Inetd mode (which is buggy) uses timeouts without having setup the
8657      jmpbuffer. [Dean Gaudet] PR#1064
8658
8659   *) Work around problem under Linux where a child will start looping
8660      reporting a select error over and over.
8661      [Rick Franchuk <rickf@transpect.net>] PR#1107, 987, 588
8662
8663   *) Fixed error in proxy_util.c when looping through multiple host IP
8664      addresses. [Lars Eilebrecht] PR#974
8665
8666   *) If BUFFERED_LOGS is defined then mod_log_config will do atomic
8667      buffered writes -- that is, it will buffer up to PIPE_BUF (i.e. 4k)
8668      bytes before writing, but it will never split a log entry across a
8669      buffer boundary.  [Dean Gaudet]
8670
8671   *) API: the short_score record has been split into two pieces, one which
8672      the parent writes on, and one which the child writes on.  As part of
8673      this change the get_scoreboard_info() function was removed, and
8674      scoreboard_image was exported.  This change fixes a race condition
8675      in file based scoreboard systems, and speeds up changes involving the
8676      scoreboard in earlier 1.3 development.  [Dean Gaudet]
8677
8678   *) API: New register_other_child() API (see http_main.h) which allows
8679      modules to register children with the parent for maintenance.  It
8680      is disabled by defining NO_OTHER_CHILD.  [Dean Gaudet]
8681
8682   *) API: New piped_log API (see http_log.h) which implements piped logs,
8683      and will use register_other_child to implement reliable piped logs
8684      when it is available.  The reliable piped logs part can be disabled
8685      by defining NO_RELIABLE_PIPED_LOGS.  At the moment reliable piped
8686      logs is only available on Unix. [Dean Gaudet]
8687
8688   *) API: set_last_modified() broken into set_last_modified(), set_etag(), and
8689      meets_conditions().  This allows conditional HTTP selection to be
8690      handled separately from the storing of the header fields, and provides
8691      the ability for CGIs to set their own ETags for conditional checking.
8692      [Ken Coar, Roy Fielding]  PR#895
8693
8694   *) Changes to mod_log_config to allow naming of format strings.
8695      Format nicknames are defined with "LogFormat fmt nickname", and can
8696      be used with "LogFormat nickname" and "CustomLog logtarget nickname".
8697      [Ken Coar]
8698
8699   *) New module, "mod_speling", which can help find files even when 
8700      the URL is slightly misspelled. [Martin Kraemer, Alexei Kosut]
8701
8702   *) API: New function child_terminate() triggers the child process to
8703      exit, while allowing the child finish what it needs to for the
8704      current request first.  
8705      [Doug MacEachern, Alexei Kosut]
8706
8707   *) Windows now defaults to using full status reports with mod_status.
8708      [Alexei Kosut] PR #1094
8709
8710   *) *Really* disable all mod_rewrite operations if the engine is off.
8711      Some things (like RewriteMaps) were checked/performed even if they
8712      weren't supposed to be.  [Ken Coar] PR #991
8713
8714   *) Implement a new timer scheme which eliminates the need to call alarm() all
8715      the time.  Instead a counter in the scoreboard for each child is used to
8716      show when the child has made forward progress.  The parent samples this
8717      counter every scoreboard maintenance cycle, and issues SIGALRM if no
8718      progress has been made in the timeout period.  This reduces the static
8719      request best-case syscall count to 22 from 29.  This scheme is only
8720      used by systems with memory-based scoreboards.  [Dean Gaudet]
8721
8722   *) The proxy now properly handles CONNECT requests which are sent
8723      to proxy servers when using ProxyRemote.  [Marc Slemko] PR#1024
8724
8725   *) A script called apachectl has been added to the support 
8726      directory.  This script allows you to do things such as 
8727      "apachectl start" and "apachectl restart" from the command
8728      line.  [Marc Slemko]
8729
8730   *) Modules and core routines are now put into libraries, which
8731      simplifies the link line tremendously (among other advantages).
8732      [Paul Sutton]
8733
8734   *) Some of the MD5 names defined in Apache have been renamed to have
8735      an `ap_' prefix to avoid conflicts with routines supplied by
8736      external libraries.  [Ken Coar]
8737
8738   *) Removal of mod_auth_msql.c from the distribution. There are many
8739      other options for databases today. Rather than offer one option,
8740      offer none at this time. mod_auth_msql and other SQL database
8741      authentication modules can be found at the Apache Module Registry.
8742      http://modules.apache.org/ It would be nice to offer a generic
8743      mod_auth_sql option in the near future.
8744
8745   *) PORT: BeOS support added [Alexei Kosut]
8746
8747   *) Configure no longer accepts the -make option, since it creates
8748      Makefile on the fly based on Makefile.tmpl and Configuration.
8749
8750   *) Apache now gracefully shuts down when it receives a SIGTERM, instead
8751      of forcibly killing off all its processes and exiting without
8752      cleaning up. [Alexei Kosut]
8753
8754   *) API: A new field in the request_rec, r->mtime, has been added to
8755      avoid gratuitous parsing of date strings.  It is intended to hold
8756      the last-modified date of the resource (if applicable).  An
8757      update_mtime() routine has also been added to advance it if
8758      appropriate.  [Roy Fielding, Ken Coar]
8759
8760   *) SECURITY: If a htaccess file can not be read due to bad permissions,
8761      deny access to the directory with a HTTP_FORBIDDEN.  The previous
8762      behavior was to ignore the htaccess file if it could not be read.
8763      This change may make some setups with unreadable htaccess files
8764      stop working.  [Marc Slemko] PR#817
8765
8766   *) Add aplog_error() providing a mechanism to define levels of
8767      verbosity to the server error logging. This addition also provides
8768      the ability to log errors using syslogd. Error logging is configurable
8769      on a per-server basis using the LogLevel directive. Conversion
8770      of log_*() in progress. [Randy Terbush]
8771
8772   *) Further enhance aplog_error() to not log filename, line number, and
8773      errno information when it isn't applicable. [Ken Coar, Dean Gaudet]
8774
8775   *) WIN32: Canonicalise filenames under Win32. Short filenames are
8776      converted to long ones. Backslashes are converted to forward
8777      slashes. Case is converted to lower. Parts of URLs that do not
8778      correspond to files are left completely alone. [Ben Laurie]
8779
8780   *) PORT: 2 new OSs added to the list of ports:
8781       Encore's UMAX V: Arieh Markel <amarkel@encore.com>
8782       Acorn RISCiX: Stephen Borrill <sborrill@xemplar.co.uk>
8783
8784   *) Add the server version (SERVER_VERSION macro) to the "server
8785      configured and running" entry in the error_log.  Also build an
8786      object file at link-time that contains the current time
8787      (SERVER_BUILT global const char[]), and include that in the
8788      message.  [Ken Coar]
8789
8790   *) Set r->headers_out when sending responses from the proxy.
8791      This fixes things such as the logging of headers sent from
8792      the proxy.  [Marc Slemko] PR#659
8793
8794   *) support/httpd_monitor is no longer distributed because the 
8795      scoreboard should not be file based if at all possible. Use
8796      mod_status to see current server snapshot.
8797
8798   *) (set_file_slot): New function, allowing auth directives to be
8799      independent of the server root, so the server documents can be
8800      moved to a different directory or machine more easily.
8801      [David J. MacKenzie]
8802
8803   *) If no TransferLog is given explicitly, decline
8804      to log.  This supports coexistence with other logging modules,
8805      such as the custom one that UUNET uses. [David J. MacKenzie]
8806
8807   *) Check for titles in server-parsed HTML files.
8808      Ignore leading newlines and returns in titles.  The old behavior
8809      of replacing a newline after <title> with a space causes the
8810      title to be misaligned in the listing. [David J. MacKenzie]
8811
8812   *) Change mod_cern_meta to be configurable on a per-directory basis.
8813      [David J. MacKenzie]
8814
8815   *) Add 'Include' directive to allow inclusion of configuration
8816      files within configuration files. [Randy Terbush]
8817
8818   *) Proxy errors on connect() are logged to the error_log (nothing
8819      new); now they include the IP address and port that failed
8820      (*that's* new).   [Ken Coar, Marc Slemko] PR#352
8821
8822   *) Various architectures now define USE_MMAP_FILES which causes
8823      the server to use mmap() for static files.  There are two
8824      compile-time tunables MMAP_THRESHOLD (minimum number of bytes
8825      required to use mmap(), default is 0), and MMAP_SEGMENT_SIZE (maximum
8826      number of bytes written in one cycle from a single mmap()d object,
8827      default 32768).  [Dean Gaudet]
8828
8829   *) API: Added post_read_request API phase which is run right after reading
8830      the request from a client, or right after an internal redirect.  It is
8831      useful for modules setting environment variables that depend only on
8832      the headers/contents of the request.  It does not run during subrequests
8833      because subrequests inherit pretty much everything from the main
8834      request. [Dean Gaudet]
8835
8836   *) Added mod_unique_id which is used to generate a unique identifier for
8837      each hit, available in the environment variable UNIQUE_ID.
8838      [Dean Gaudet]
8839
8840   *) init_modules is now called after the error logs have been opened.  This
8841      allows modules to emit information messages into the error logs.
8842      [Dean Gaudet]
8843
8844   *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
8845      information for case where proxy module is not available. [Marc Slemko]
8846
8847   *) PORT: Apache has need for mutexes to serialize its children around
8848      accept.  In prior versions either fcntl file locking or flock file
8849      locking were used.  The method is chosen by the definition of
8850      USE_xxx_SERIALIZED_ACCEPT in conf.h.  xxx is FCNTL for fcntl(),
8851      and FLOCK for flock().  New options have been added:
8852         - SYSVSEM to use System V style semaphores
8853         - PTHREAD to use POSIX threads (appears to work on Solaris only)
8854         - USLOCK to use IRIX uslock
8855      Based on timing various techniques, the following changes were made
8856      to the defaults:
8857         - Linux 2.x uses flock instead of fcntl
8858         - Solaris 2.x uses pthreads
8859         - IRIX uses SysV semaphores -- however multiprocessor IRIX boxes
8860           work far faster if you -DUSE_USLOCK_SERIALIZED_ACCEPT
8861      [Dean Gaudet, Pierre-Yves Kerembellec <Pierre-Yves.Kerembellec@vtcom.fr>,
8862      Martijn Koster <m.koster@pobox.com>]
8863
8864   *) PORT: The semantics of accept/select make it very desirable to use
8865      mutexes to serialize accept when multiple Listens are in use.  But
8866      in the case where only a single socket is open it is sometimes
8867      redundant to serialize accept().  Not all unixes do a good job with
8868      potentially dozens of children blocked on accept() on the same
8869      socket.  It's now possible to define SINGLE_LISTEN_UNSERIALIZED_ACCEPT and
8870      the server will avoid serialization when listening on only one socket,
8871      and use serialization when listening on multiple sockets.
8872      [Dean Gaudet] PR#467
8873
8874   *) Configure changes: TestLib replaced by TestCompile, which has
8875      some additional capability (such as doing a sanity check of
8876      the compiler and flags selected); the version of Solaris is now
8877      available via the #define value of SOLARIS2; IRIX n32bit libs
8878      now supported and selectable by new Configuration Rule: IRIXN32;
8879      We no longer default to -O2 optimization.  [Jim Jagielski]
8880
8881   *) Updated Configure: Configuration now uses AddModule to specify
8882      module source or binary file location, relative to src directory.
8883      Modules can be dropped into modules/extra, or in their own 
8884      directory, and modules can come with a Makefile or Configure can 
8885      create one.  Modules can add compiler or library information to 
8886      generated Makefiles. [Paul Sutton]
8887
8888   *) Source core re-organisation: distributed modules are now in 
8889      modules/standard. All other source code is in main. OS-specific
8890      code is in os/{unix,emx,win32} directories. [Paul Sutton]
8891
8892   *) mod_browser has been removed, since it's replaced by mod_setenvif.
8893      [Ken Coar]
8894
8895   *) Fix another long-standing bug in sub_req_lookup_file where it would
8896      happily skip past access checks on subdirectories looked up with
8897      relative paths.  (It's used by mod_dir, mod_negotiation,
8898      and mod_include.) [Dean Gaudet]
8899
8900   *) directory_walk optimization to reduce an O(N*M) loop to O(N+M) where
8901      N is the number of <Directory> sections, and M is the number of
8902      components in the filename of an object.
8903
8904      To achieve this optimization the following config changes were made:
8905         - Wildcards (* and ?, not the regex forms) in <Directory>s,
8906           <Files>s, and <Location>s now treat a slash as a special
8907           character.  For example "/home/*/public_html" previously would
8908           match "/home/a/andrew/public_html", now it only matches things
8909           like "/home/bob/public_html".  This mimics /bin/sh behaviour.
8910         - It's possible now to use [] wildcarding in <Directory>, <Files>
8911           or <Location>.
8912         - Regex <Directory>s are applied after all non-regex <Directory>s.
8913
8914     [Dean Gaudet]
8915
8916   *) Fix a bug introduced in 1.3a1 directory_walk regarding .htaccess files
8917      and corrupted paths.  [Dean Gaudet]
8918
8919   *) Enhanced and cleaned up the URL rewriting engine of mod_rewrite:
8920      First the grouped parts of RewriteRule pattern matches (parenthesis!) can
8921      be accessed now via backreferences $1..$9 in RewriteConds test-against
8922      strings in addition to RewriteRules subst string. Second the grouped
8923      parts of RewriteCond pattern matches (parenthesis!) can be accessed now
8924      via backreferences %1..%9 both in following RewriteCond test-against
8925      strings and RewriteRules subst string. This provides maximum flexibility
8926      through the use of backreferences.
8927      Additionally the rewriting engine was cleaned up by putting common
8928      code to the new expand_backrefs_inbuffer() function. 
8929      [Ralf S. Engelschall]
8930
8931   *) When merging the main server's <Directory> and <Location> sections into
8932      a vhost, put the main server's first and the vhost's second.  Otherwise
8933      the vhost can't override the main server.  [Dean Gaudet] PR#717
8934
8935   *) The <Directory> code would merge and re-merge the same section after
8936      a match was found, possibly causing problems with some modules.
8937      [Dean Gaudet]
8938
8939   *) ip-based vhosts are stored and queried using a hashing function, which
8940      has been shown to improve performance on servers with many ip-vhosts.
8941      Some other changes had to be made to accommodate this:
8942         - the * address for vhosts now behaves like _default_
8943         - the matching process now is:
8944             - match an ip-vhost directly via hash (possibly matches main
8945               server)
8946             - if that fails, just pretend it matched the main server
8947             - if so far only the main server has been matched, perform
8948               name-based lookups (ServerName, ServerAlias, ServerPath)
8949               *only on name-based vhosts*
8950             - if they fail, look for _default_ vhosts
8951      [Dean Gaudet, Dave Hankins <dhankins@sugarat.net>]
8952
8953   *) dbmmanage overhaul:
8954      - merge dbmmanage and dbmmanage.new functionality, remove dbmmanage.new 
8955      - tie() to AnyDBM_File which will use one of DB_File, NDBM_File or
8956        GDBM_File (-ldb, -lndbm, -lgdbm) (trying each in that order)
8957      - provide better seed for rand
8958      - prompt for password as per getpass(3) (turn off echo, read from
8959        /dev/tty, etc.)
8960      - use "newstyle" crypt based on $Config{osname} ($^O)
8961      - will not add a user if already in database, use new `update' command
8962        instead
8963      - added `check' command to check a users' password
8964      - added `import' command to convert existing password text-files or 
8965        dbm files exported with `view'
8966      - more descriptive usage, general cleanup, 'use strict' clean, etc.
8967      [Doug MacEachern]
8968
8969   *) Added psocket() which is a pool form of socket(), various places within
8970      the proxy weren't properly blocking alarms while registering the cleanup
8971      for its sockets.  bclose() now uses pclose() and pclosesocket().  There
8972      was a bug where the client socket was being close()d twice due a still
8973      registered cleanup.  [Dean Gaudet]
8974
8975   *) A few cleanups were made to reduce time(), getpid(), and signal() calls.
8976      [Dean Gaudet]
8977
8978   *) PORT: AIX >= 4.2 requires -lm due to libc changes.
8979      [Jason Venner <jason@idiom.com>] PR#667
8980
8981   *) Enable ``=""'' for RewriteCond directives to match against
8982      the empty string. This is the preferred way instead of ``^$''.
8983      [Ralf S. Engelschall]
8984
8985   *) Fixed an infinite loop in mod_imap for references above the server root
8986      [Dean Gaudet] PR#748
8987
8988   *) mod_proxy now has a ReceiveBufferSize directive, similar to
8989      SendBufferSize, so that the TCP window can be set appropriately
8990      for LFNs. [Phillip A. Prindeville]
8991
8992   *) mod_browser has been replaced by the more general mod_setenvif
8993      (courtesy of Paul Sutton).  BrowserMatch* directives are still
8994      available, but are now joined by SetEnvIf*, UnSetEnvIf*, and
8995      UnSetEnvIfZero directives.  [Ken Coar]
8996
8997   *) "HostnameLookups double" forces double-reverse DNS to succeed in
8998      order for remote_host to be set (for logging, or for the env var
8999      REMOTE_HOST).  The old define MAXIMUM_DNS has been deprecated.
9000      [Dean Gaudet]
9001
9002   *) mod_access overhaul:
9003      - Now understands network/netmask syntax (i.e.  10.1.0.0/255.255.0.0)
9004        and cidr syntax (i.e. 10.1.0.0/16).  PR#762
9005      - Critical path was sped up by pre-computing a few things at config time.
9006      - The undocumented syntax "allow user-agents" was removed,
9007        the replacement is "allow from env=foobar" combined with mod_browser.
9008      - When used with hostnames it now forces a double-reverse lookup
9009        no matter what the directory settings are.  This double-reverse
9010        doesn't affect any of the other routines that use the remote
9011        hostname.  In particular it's still passed to CGIs and the log
9012        without the double-reverse check.  Related PR#860.
9013      [Dean Gaudet]
9014
9015   *) When a large bwrite() occurs (larger than the internal buffer size),
9016      while there is already something in the buffer, apache will combine
9017      the large write and the buffer into a single writev().  (This is
9018      in anticipation of using mmap() for reading files.)
9019      [Dean Gaudet]
9020
9021   *) In obscure cases where a partial socket write occurred while chunking,
9022      Apache would omit the chunk header/footer on the next block.  Cleaned
9023      up other bugs/inconsistencies in error conditions in buff.c.  Fixed
9024      a bug where a long pause in DNS lookups could cause the last packet
9025      of a response to be unduly delayed.  [Roy Fielding, Dean Gaudet]
9026
9027   *) API: Added child_exit function to module structure.  This is called
9028      once per "heavy-weight process" just before a server child exit()'s 
9029      e.g. when max_requests_per_child is reached, etc.
9030      [Doug MacEachern, Dean Gaudet]
9031
9032   *) mod_include cleanup showed that handle_else was being used to handle
9033      endif.  It didn't cause problems, but it was cleaned up too.
9034      [Howard Fear]
9035
9036   *) mod_cern_meta would attempt to find meta files for the directory itself
9037      in some cases, but not in others.  It now avoids it in all cases.
9038      [Dean Gaudet]
9039
9040   *) mod_mime_magic would core dump if there was a decompression error.
9041      [Martin Kraemer <Martin.Kraemer@mch.sni.de>] PR#904
9042
9043   *) PORT: some variants of DGUX require -lsocket -lnsl
9044      [Alexander L Jones <alex@systems-options.co.uk>] PR#732
9045
9046   *) mod_autoindex now allows sorting of FancyIndexed directory listings
9047      by the various fields (name, size, et cetera), either in ascending
9048      or descending order.  Just click on the column header.  [Ken Coar]
9049
9050   *) PORT: Various tweaks to eliminate pointer-int casting warnings on 64-bit
9051      CPUs like the Alpha.  Apache still stores ints in pointers, but that's
9052      the relatively safe direction.  [Dean Gaudet] PR#344
9053
9054   *) PORT: QNX mmap() support for faster/more reliable scoreboard handling.
9055      [Igor N Kovalenko <infoh@mail.wplus.net>] PR#683
9056
9057   *) child_main avoids an unneeded call to select() when there is only one
9058      listening socket.  [Dean Gaudet]
9059
9060   *) In the event that the server is starved for idle servers it will
9061      spawn 1, then 2, then 4, ..., then 32 servers each second,
9062      doubling each second.  It'll also give a warning in the errorlog
9063      since the most common reason for this is a poor StartServers
9064      setting.  The define MAX_SPAWN_RATE can be used to raise/lower
9065      the maximum.  [Dean Gaudet]
9066
9067   *) Apache now provides an effectively unbuffered connection for
9068      CGI scripts.  This means that data will be sent to the client
9069      as soon as the CGI pauses or stops output; previously, Apache would
9070      buffer the output up to a fixed buffer size before sending, which
9071      could result in the user viewing an empty page until the CGI finished
9072      or output a complete buffer.  It is no longer necessary to use an
9073      "nph-" CGI to get unbuffered output.  Given that most CGIs are written
9074      in a language that by default does buffering (e.g. perl) this
9075      shouldn't have a detrimental effect on performance.
9076
9077      "nph-" CGIs, which formerly provided a direct socket to the client
9078      without any server post-processing, were not fully compatible with
9079      HTTP/1.1 or SSL support.  As such they would have had to implement
9080      the transport details, such as encryption or chunking, in order
9081      to work properly in certain situations.  Now, the only difference
9082      between nph and non-nph scripts is "non-parsed headers".
9083      [Dean Gaudet, Sameer Parekh, Roy Fielding]
9084
9085   *) If a BUFF is switched from buffered to unbuffered reading the first
9086      bread() will return whatever remained in the buffer prior to the
9087      switch. [Dean Gaudet]
9088
9089 Changes with Apache 1.3a1
9090
9091   *) Added another Configure helper script: TestLib. It determines
9092      if a specified library exists.  [Jim Jagielski]
9093
9094   *) PORT: Allow for use of n32bit libraries under IRIX 6.x
9095      [derived from patch from Jeff Hayes <jhayes@aw.sgi.com>]
9096      PR#721
9097
9098   *) PORT: Some architectures use size_t for various lengths in network
9099      functions such as accept(), and getsockname().  The definition
9100      NET_SIZE_T is used to control this. [Dean Gaudet]
9101
9102   *) PORT: Linux: Attempt to detect glibc based systems and include crypt.h
9103      and -lcrypt.  Test for various db libraries (dbm, ndbm, db) when
9104      mod_auth_dbm or mod_auth_db are included.  [Dean Gaudet]
9105
9106   *) PORT: QNX doesn't have initgroups() which support/suexec.c uses.
9107      [Igor N Kovalenko <infoh@mail.wplus.net>]
9108
9109   *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
9110      begin with.  "nokeepalive" now works for HTTP/1.1 clients.  Added
9111      "downgrade-1.0" which causes Apache to pretend it received a 1.0.
9112      [Dean Gaudet] related PR#875
9113
9114   *) API: Correct child_init() slot declaration from int to void, to
9115      match the init() declaration.  Update mod_example to use the new
9116      hook.  [Ken Coar]
9117
9118   *) added transport handle slot (t_handle) to the BUFF structure
9119      [Doug MacEachern]
9120
9121   *) get_client_block() returns wrong length if policy is
9122      REQUEST_CHUNKED_DECHUNK.
9123      [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#815
9124
9125   *) Support the image map format of FrontPage.  For example:
9126         rect /url.hrm 10 20 30 40
9127      ["Chris O'Byrne" <obyrne@iol.ie>] PR#807
9128
9129   *) PORT: -lresolv and -lsocks were in the wrong order for Solaris.
9130      ["Darren O'Shaughnessy" <darren@aaii.oz.au>] PR#846
9131
9132   *) AddModuleInfo directive for mod_info which allows you to annotate
9133      the output of mod_info.  ["Lou D. Langholtz" <ldl@usi.utah.edu>]
9134
9135   *) Added NoProxy directive to avoid using ProxyRemote for selected
9136      addresses.  Added ProxyDomain directive to cause unqualified
9137      names to be qualified by redirection.
9138      [Martin Kraemer <Martin.Kraemer@mch.sni.de>]
9139
9140   *) Support Proxy Authentication, and don't pass the Proxy-Authorize
9141      header to the remote host in the proxy. [Sameer Parekh and
9142      Wallace]
9143
9144   *) Upgraded mod_rewrite from 3.0.6+ to latest officially available version
9145      3.0.9. This upgrade includes: fixed deadlooping on rewriting to same
9146      URLs, fixed rewritelog(), fixed forced response code handling on
9147      redirects from within .htaccess files, disabled pipe locking under
9148      braindead SunOS 4.1.x, allow env variables to be set even on rules with
9149      no substitution, bugfixed situations where HostnameLookups is off, made
9150      mod_rewrite more thread-safe for NT port and fixed problem when creating
9151      an empty query string via "xxx?".
9152          This update also removes the copyright of Ralf S. Engelschall,
9153      i.e. now mod_rewrite no longer has a shared copyright. Instead is is
9154      exclusively copyrighted by the Apache Group now. This happened because
9155      the author now has gifted mod_rewrite exclusively to the Apache Group and 
9156      no longer maintains an external version.
9157      [Ralf S. Engelschall]
9158
9159   *) API: Added child_init function to module structure.  This is called
9160      once per "heavy-weight process" before any requests are handled.
9161      See http_config.h for more details.  [Dean Gaudet]
9162
9163   *) Anonymous_LogEmail was logging on each subrequest.
9164      [Dean Gaudet] PR#421, 868
9165
9166   *) API: Added is_initial_req() which tests if the request being
9167      processed is the initial request, or a subrequest.
9168      [Doug MacEachern]
9169
9170   *) Extended SSI (mod_include) now handles additional relops for
9171      string comparisons (<, >, <=, and >=).  [Bruno Wolff III] PR#41
9172
9173   *) Configure fixed to correctly propagate user-selected options and
9174      settings (such as CC and OPTIM) to Makefiles other than
9175      src/Makefile (notably support/Makefile).  [Ken Coar] PR#666, #834
9176
9177   *) IndexOptions SuppressHTMLPreamble now causes the actual HTML of
9178      directory indices to start with the contents of the HeaderName file
9179      if there is one.  If there isn't one, the behaviour is unchanged.
9180      [Ken Coar, Roy Fielding, Andrey A. Chernov]
9181
9182   *) WIN32: Modules can now be dynamically loaded DLLs using the
9183      LoadModule/LoadFile directives. Note that module DLLs must be
9184      compiled with the multithreaded DLL version of the runtime library.
9185      [Alexei Kosut and Ben Laurie]
9186
9187   *) Automatic indexing removed from mod_dir and placed into mod_autoindex.
9188      This allows the admin to completely remove automatic indexing
9189      from the server, while still supporting the basic functions of
9190      trailing-slash redirects and DirectoryIndex files.  Note that if
9191      you're carrying over an old Configuration file and you use directory
9192      indexing then you'll want to add:
9193
9194      Module autoindex_module    mod_autoindex.o
9195
9196      before mod_dir in your Configuration.  [Dean Gaudet]
9197
9198   *) popendir/pclosedir created to properly protect directory scanning.
9199      [Dean Gaudet] PR#525
9200
9201   *) AliasMatch, ScriptAliasMatch and RedirectMatch directives added,
9202      giving regex support to mod_alias. <DirectoryMatch>, <LocationMatch>
9203      and <FilesMatch> sections added to succeed <DirectoryMatch ~>, etc...
9204      [Alexei Kosut]
9205
9206   *) The AccessFileName directive can now take more than one filename.
9207      ["Lou D. Langholtz" <ldl@usi.utah.edu>]
9208
9209   *) The new mod_mime_magic can be used to "magically" determine the type
9210      of a file if the extension is unknown.  Based on the unix file(1)
9211      command.  [Ian Kluft <ikluft@cisco.com>]
9212
9213   *) We now determine and display the time spent processing a
9214      request if desired.  [Jim Jagielski]
9215
9216   *) mod_status: PID field of "dead" child slots no longer displays
9217      main httpd process's PID.  [Jim Jagielski]
9218
9219   *) Makefile.nt added - to build all the bits from the command line:
9220         nmake -f Makefile.nt
9221          Doesn't yet work properly. [Ben Laurie]
9222
9223   *) Default text of 404 error is now "Not Found" rather than the
9224      potentially misleading "File Not Found".  [Ken Coar]
9225
9226   *) CONFIG: "HostnameLookups" now defaults to off because it is far better
9227      for the net if we require people that actually need this data to
9228      enable it.  [Linus Torvalds]
9229
9230   *) directory_walk() is an expensive function, keep a little more state to
9231      avoid needless string counting.  Add two new functions make_dirstr_parent
9232      and make_dirstr_prefix which replace all existing uses of make_dirstr.
9233      The new functions are a little less general than make_dirstr, but
9234      work more efficiently (less memory, less string counting).
9235      [Dean Gaudet]
9236
9237   *) EXTRA_LFLAGS was changed to EXTRA_LDFLAGS (and LFLAGS was changed
9238      to LDFLAGS) to avoid complications with lex rules in make files.
9239      [Dean Gaudet] PR#372
9240
9241   *) run_method optimized to avoid needless scanning over NULLs in the
9242      module list.  [Dean Gaudet]
9243
9244   *) Revamp of (unix) scoreboard management code such that it avoids
9245      unnecessary traversals of the scoreboard on each hit.  This is
9246      particularly important for high volume sites with a large
9247      HARD_SERVER_LIMIT.  Some of the previous operations were O(n^2),
9248      and are now O(n).  See also SCOREBOARD_MAINTENANCE_INTERVAL in
9249      httpd.h. [Dean Gaudet]
9250
9251   *) In configurations using multiple Listen statements it was possible for
9252      busy sockets to starve other sockets of service.  [Dean Gaudet]
9253
9254   *) Added hook so standalone_main can be replaced at compile time
9255      (define STANDALONE_MAIN)
9256      [Doug MacEachern]
9257
9258   *) Lowest-level read/write functions in buff.c will be replaced with
9259      the SFIO library calls sfread/sfwrite if B_SFIO is defined at
9260      compile time.  The default sfio discipline will behave as apache
9261      would without sfio compiled in.
9262      [Doug MacEachern]
9263
9264   *) Enhance UserDir directive (mod_userdir) to accept a list of
9265      usernames for the 'disable' keyword, and add 'enable user...' to
9266      selectively *en*able userdirs if they're globally disabled.
9267      [Ken Coar]
9268
9269   *) If NETSCAPE_DBM_COMPAT is defined in EXTRA_CFLAGS then Apache
9270      will work with Netscape dbm files.  (dbmmanage will probably not
9271      work however.) [Alexander Spohr <aspohr@netmatic.com>] PR#444
9272
9273   *) Add a ListenBacklog directive to control the backlog parameter
9274      passed to listen().  Also change the default to 511 from 512.
9275      [Marc Slemko]
9276
9277   *) API: A new handler response DONE which informs apache that the
9278      request has been handled and it can finish off quickly, similar to
9279      how it handles errors. [Rob Hartill]
9280
9281   *) Turn off chunked encoding after sending terminating chunk/footer
9282      so that we can't do it twice by accident. [Roy Fielding]
9283
9284   *) mod_expire also issues Cache-Control: max-age headers.
9285      [Rob Hartill]
9286
9287   *) API: Added kill_only_once option for free_proc_chain so that it won't
9288      aggressively try to kill off specific children.  For fastcgi.
9289      [Stanley Gambarin <gambarin@OpenMarket.com>]
9290
9291   *) mod_auth deals with extra ':' delimited fields.  [Marc Slemko]
9292
9293   *) Added IconHeight and IconWidth to mod_dir's IndexOptions directive.
9294      When used together, these cause mod_dir to emit HEIGHT and WIDTH
9295      attributes in the FancyIndexing IMG tags.  [Ken Coar]
9296
9297   *) PORT: Sequent and SONY NEWS-OS support added.  [Jim Jagielski]
9298
9299   *) PORT: Added Windows NT support
9300      [Ben Laurie and Ambarish Malpani <ambarish@valicert.com>]
9301
9302 Changes with Apache 1.2.6
9303
9304   *) mod_include when using XBitHack Full would send ETags in addition to
9305      sending Last-Modifieds.  This is incorrect HTTP/1.1 behaviour.
9306      [Dean Gaudet] PR#1133
9307
9308   *) SECURITY: When a client connects to a particular port/addr, and
9309      gives a Host: header ensure that the virtual host requested can
9310      actually be reached via that port/addr.  [Ed Korthof <ed@organic.com>]
9311
9312   *) Support virtual hosts with wildcard port and/or multiple ports
9313      properly.  [Ed Korthof <ed@organic.com>]
9314
9315   *) Fixed some case-sensitivity issues according to RFC2068.
9316      [Dean Gaudet]
9317
9318   *) Set r->allowed properly in mod_asis.c, mod_dir.c, mod_info.c,
9319      and mod_include.c.  [Dean Gaudet]
9320
9321   *) Variable 'cwd' was being used pointlessly before being set.
9322      [Ken Coar] PR#1738
9323
9324   *) SIGURG doesn't exist on all platforms.
9325      [Mark Andrew Heinrich <heinrich@tinderbox.Stanford.EDU>]
9326
9327   *) When an error occurs during a POST, or other operation with a
9328      request body, the body has to be read from the net before allowing
9329      a keepalive session to continue.  [Roy Fielding] PR#1399
9330
9331   *) When an error occurs in fcntl() locking suggest the user look up
9332      the docs for LockFile.  [Dean Gaudet]
9333
9334   *) table_set() and table_unset() did not deal correctly with
9335      multiple occurrences of the same key. [Stephen Scheck
9336      <sscheck@infonex.net>, Ben Laurie] PR#1604
9337
9338   *) send_fd_length() did not calculate total_bytes_sent properly in error
9339      cases.  [Ben Reser <breser@regnow.com>] PR#1366
9340
9341   *) r->connection->user was allocated in the wrong pool causing corruption
9342      in some cases when used with mod_cern_meta.  [Dean Gaudet] PR#1500
9343
9344   *) mod_proxy was sending HTTP/1.1 responses to ftp requests by mistake.
9345      Also removed the auto-generated link to www.apache.org that was the
9346      source of so many misdirected bug reports.  [Roy Fielding, Marc Slemko]
9347
9348   *) Multiple "close" tokens may have been set in the "Connection"
9349      header, not an error, but a waste.
9350      [Ronald.Tschalaer@psi.ch] PR#1683
9351
9352   *) "basic" and "digest" auth tokens should be tested case-insensitive.
9353      [Ronald.Tschalaer@psi.ch] PR#1599, PR#1666
9354
9355   *) It appears the "257th byte" bug (see
9356      htdocs/manual/misc/known_client_problems.html#257th-byte) can happen
9357      at the 256th byte as well.  Fixed.  [Dean Gaudet]
9358
9359   *) mod_rewrite would not handle %3f properly in some situations.
9360      [Ralf Engelschall]
9361
9362   *) Apache could generate improperly chunked HTTP/1.1 responses when
9363      the bputc() or rputc() functions were used by modules (such as
9364      mod_include).  [Dean Gaudet]
9365
9366   *) #ifdef wrap a few #defines in httpd.h to make life easier on
9367      some ports.  [Ralf Engelschall]
9368
9369   *) Fix MPE compilation error in mod_usertrack.c.  [Mark Bixby]
9370
9371   *) Quote CC='$(CC)' to improve recurse make calls.  [Martin Kraemer]
9372
9373   *) Avoid B_ERROR redeclaration on sysvr4 systems.  [Martin Kraemer]
9374
9375 Changes with Apache 1.2.5
9376
9377   *) SECURITY: Fix a possible buffer overflow in logresolve.  This is
9378      only an issue on systems without a MAXDNAME define or where 
9379      the resolver returns domain names longer than MAXDNAME.  [Marc Slemko]
9380
9381   *) Fix an improper length in an ap_snprintf call in proxy_date_canon().
9382      [Marc Slemko]
9383
9384   *) Fix core dump in the ftp proxy when reading incorrectly formatted
9385      directory listings.  [Marc Slemko]
9386
9387   *) SECURITY: Fix possible minor buffer overflow in the proxy cache.
9388      [Marc Slemko]
9389
9390   *) SECURITY: Eliminate possible buffer overflow in cfg_getline, which
9391      is used to read various types of files such as htaccess and 
9392      htpasswd files.  [Marc Slemko]
9393
9394   *) SECURITY: Ensure that the buffer returned by ht_time is always
9395      properly null terminated.  [Marc Slemko]
9396
9397   *) SECURITY: General mod_include cleanup, including fixing several
9398      possible buffer overflows and a possible infinite loop.  This cleanup
9399      was done against 1.3 code and then backported to 1.2, the result
9400      is a large difference (due to indentation cleanup in 1.3 code).
9401      Users interested in seeing a smaller set of relevant differences
9402      should consider comparing against src/modules/standard/mod_include.c
9403      from the 1.3b3 release.  Non-indentation changes to mod_include
9404      between 1.2 and 1.3 were minimal.  [Dean Gaudet, Marc Slemko]
9405
9406   *) SECURITY: Numerous changes to mod_imap in a general cleanup
9407      including fixing a possible buffer overflow.  This cleanup also
9408      was done with 1.3 code as a basis, see the the previous note
9409      about mod_include.  [Dean Gaudet]
9410
9411   *) SECURITY: If a htaccess file can not be read due to bad 
9412      permissions, deny access to the directory with a HTTP_FORBIDDEN.  
9413      The previous behavior was to ignore the htaccess file if it could not
9414      be read.  This change may make some setups with unreadable
9415      htaccess files stop working.  PR#817  [Marc Slemko]
9416
9417   *) SECURITY: no2slash() was O(n^2) in the length of the input.  
9418      Make it O(n).  This inefficiency could be used to mount a denial 
9419      of service attack against the Apache server.  Thanks to 
9420      Michal Zalewski <lcamtuf@boss.staszic.waw.pl> for reporting
9421      this.  [Dean Gaudet]
9422
9423   *) mod_include used uninitialized data for some uses of && and ||.
9424      [Brian Slesinsky <bslesins@wired.com>] PR#1139
9425
9426   *) mod_imap should decline all non-GET methods.
9427      [Jay Bloodworth <jay@pathways.sde.state.sc.us>]
9428
9429   *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
9430
9431   *) mod_userdir was modifying r->finfo in cases where it wasn't setting
9432      r->filename.  Since those two are meant to be in sync with each other
9433      this is a bug.  ["Paul B. Henson" <henson@intranet.csupomona.edu>]
9434
9435   *) mod_include did not properly handle all possible redirects from sub-
9436      requests.  [Ken Coar]
9437
9438   *) Inetd mode (which is buggy) uses timeouts without having setup the
9439      jmpbuffer. [Dean Gaudet] PR#1064
9440
9441   *) Work around problem under Linux where a child will start looping
9442      reporting a select error over and over.
9443      [Rick Franchuk <rickf@transpect.net>] PR#1107
9444
9445 Changes with Apache 1.2.4
9446
9447   *) The ProxyRemote change in 1.2.3 introduced a bug resulting in the proxy
9448      always making requests with the full-URI instead of just the URI path.
9449      [Marc Slemko, Roy Fielding]
9450
9451   *) Add -lm for AIX versions >= 4.2 to allow Apache to link properly
9452      on this platform.  [Marc Slemko]
9453
9454 Changes with Apache 1.2.3
9455
9456   *) The request to a remote proxy was mangled if it was generated as the
9457      result of a ProxyPass directive. URL schemes other than http:// were not
9458      supported when ProxyRemote was used. PR#260, PR#656, PR#699, PR#713,
9459      PR#812 [Lars Eilebrecht]
9460
9461   *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
9462      information for case where proxy module is not available. [Marc Slemko]
9463
9464   *) Force proxy to always respond as HTTP/1.0, which it was failing to
9465      do for errors and cached responses.  [Roy Fielding]
9466
9467   *) PORT: Improved support for ConvexOS 11.  [Jeff Venters]
9468
9469 Changes with Apache 1.2.2 [not released]
9470
9471   *) Fixed another long-standing bug in sub_req_lookup_file where it would
9472      happily skip past access checks on subdirectories looked up with relative
9473      paths.  (It's used by mod_dir, mod_negotiation, and mod_include.)
9474      [Dean Gaudet]
9475
9476   *) Add lockfile name to error message printed out when
9477      USE_FLOCK_SERIALIZED_ACCEPT is defined.
9478      [Marc Slemko]
9479
9480   *) Enhanced the chunking and error handling inside the buffer functions.
9481      [Dean Gaudet, Roy Fielding]
9482
9483   *) When merging the main server's <Directory> and <Location> sections into
9484      a vhost, put the main server's first and the vhost's second.  Otherwise
9485      the vhost can't override the main server.  [Dean Gaudet] PR#717
9486
9487   *) The <Directory> code would merge and re-merge the same section after
9488      a match was found, possibly causing problems with some modules.
9489      [Dean Gaudet]
9490
9491   *) Fixed an infinite loop in mod_imap for references above the server root.
9492      [Dean Gaudet] PR#748
9493
9494   *) mod_include cleanup showed that handle_else was being used to handle
9495      endif.  It didn't cause problems, but it was cleaned up too.
9496      [Howard Fear]
9497
9498   *) Last official synchronization of mod_rewrite with author version (because
9499      mod_rewrite is now directly developed by the author at the Apache Group):
9500      o added diff between mod_rewrite 3.0.6+ and 3.0.9
9501        minus WIN32/NT stuff, but plus copyright removement.
9502        In detail:
9503        - workaround for detecting infinite rewriting loops
9504        - fixed setting of env vars when "-" is used as subst string
9505        - fixed forced response code on redirects (PR#777)
9506        - fixed cases where r->args is ""
9507        - kludge to disable locking on pipes under braindead SunOS
9508        - fix for rewritelog in cases where remote hostname is unknown
9509        - fixed totally damaged request_rec walk-back loop
9510      o remove static from local data and add static to global ones.
9511      o replaced ugly proxy finding stuff by simple
9512        find_linked_module("mod_proxy") call.
9513      o added missing negation char on rewritelog()
9514      o fixed a few comment typos
9515      [Ralf S. Engelschall]
9516
9517   *) Anonymous_LogEmail was logging on each subrequest.
9518      [Dean Gaudet] PR#421, PR#868
9519
9520   *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
9521      begin with.  "nokeepalive" now works for HTTP/1.1 clients.  Added
9522      "downgrade-1.0" which causes Apache to pretend it received a 1.0.
9523      Additionally mod_browser now triggers during translate_name to workaround
9524      a deficiency in the header_parse phase.
9525      [Dean Gaudet] PR#875
9526
9527   *) get_client_block() returns wrong length if policy is 
9528      REQUEST_CHUNKED_DECHUNK.
9529      [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#815
9530
9531   *) Properly treat <files> container like other containers in mod_info.
9532      [Marc Slemko] PR#848
9533
9534   *) The proxy didn't treat the "Host:" keyword of the host header as case-
9535      insensitive.  The proxy would corrupt the first line of a response from
9536      an HTTP/0.9 server.  [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#813,814
9537
9538   *) mod_include would log some bogus values occasionally.
9539      [Skip Montanaro <skip@calendar.com>, Marc Slemko] PR#797
9540
9541   *) PORT: The slack fd changes in 1.2.1 introduced a problem with SIGHUP
9542      under Solaris 2.x (up through 2.5.1).  It has been fixed.
9543      [Dean Gaudet] PR#832
9544
9545   *) API: In HTTP/1.1, whether or not a request message contains a body
9546      is independent of the request method and based solely on the presence
9547      of a Content-Length or Transfer-Encoding.  Therefore, our default
9548      handlers need to be prepared to read a body even if they don't know
9549      what to do with it; otherwise, the body would be mistaken for the
9550      next request on a persistent connection.  discard_request_body()
9551      has been added to take care of that.  [Roy Fielding] PR#378
9552
9553   *) API: Symbol APACHE_RELEASE provides a numeric form of the Apache
9554      release version number, such that it always increases along the
9555      same lines as our source code branching.  [Roy Fielding]
9556
9557   *) Minor oversight on multiple variants fixed.  [Paul Sutton] PR#94
9558
9559 Changes with Apache 1.2.1
9560
9561   *) SECURITY: Don't serve file system objects unless they are plain files,
9562      symlinks, or directories.  This prevents local users from using pipes
9563      or named sockets to invoke programs for an extremely crude form of
9564      CGI.  [Dean Gaudet]
9565
9566   *) SECURITY: HeaderName and ReadmeName were settable in .htaccess and
9567      could contain "../" allowing a local user to "publish" any file on
9568      the system.  No slashes are allowed now.  [Dean Gaudet]
9569
9570   *) SECURITY: It was possible to violate the symlink Options using mod_dir
9571      (headers, readmes, titles), mod_negotiation (type maps), or
9572      mod_cern_meta (meta files).  [Dean Gaudet]
9573
9574   *) SECURITY: Apache will refuse to run as "User root" unless
9575      BIG_SECURITY_HOLE is defined at compile time.  [Dean Gaudet]
9576
9577   *) CONFIG: If a symlink pointed to a directory then it would be disallowed
9578      if it contained a .htaccess disallowing symlinks.  This is contrary
9579      to the rule that symlink permissions are tested with the symlink
9580      options of the parent directory.  [Dean Gaudet] PR#353
9581
9582   *) CONFIG: The LockFile directive can be used to place the serializing
9583      lockfile in any location.  It previously defaulted to /usr/tmp/htlock.
9584      [Somehow it took four of us: Randy Terbush, Jim Jagielski, Dean Gaudet,
9585      Marc Slemko]
9586
9587   *) Request processing now retains state of whether or not the request
9588      body has been read, so that internal redirects and subrequests will
9589      not try to read it twice (and block). [Roy Fielding]
9590
9591   *) Add a placeholder in modules/Makefile to avoid errors with certain
9592      makes. [Marc Slemko]
9593
9594   *) QUERY_STRING was unescaped in mod_include, it shouldn't be.
9595      [Dean Gaudet] PR#644
9596
9597   *) mod_include was not properly changing the current directory.
9598      [Marc Slemko] PR#742
9599
9600   *) Attempt to work around problems with third party libraries that do not
9601      handle high numbered descriptors (examples include bind, and
9602      solaris libc).  On all systems apache attempts to keep all permanent
9603      descriptors above 15 (called the low slack line).  Solaris users
9604      can also benefit from adding -DHIGH_SLACK_LINE=256 to EXTRA_CFLAGS
9605      which keeps all non-FILE * descriptors above 255.  On all systems
9606      this should make supporting large numbers of vhosts with many open
9607      log files more feasible.  If this causes trouble please report it,
9608      you can disable this workaround by adding -DNO_SLACK to EXTRA_CFLAGS.
9609      [Dean Gaudet] various PRs
9610
9611   *) Related to the last entry, network sockets are now opened before
9612      log files are opened.  The only known case where this can cause
9613      problems is under Solaris with many virtualhosts and many Listen
9614      directives.  But using -DHIGH_SLACK_LINE=256 described above will
9615      work around this problem.  [Dean Gaudet]
9616
9617   *) USE_FLOCK_SERIALIZED_ACCEPT is now default for FreeBSD, A/UX, and
9618      SunOS 4.
9619
9620   *) Improved unix error response logging.  [Marc Slemko]
9621
9622   *) Update mod_rewrite from 3.0.5 to 3.0.6.  New ruleflag
9623      QSA=query_string_append.  Also fixed a nasty bug in per-dir context:
9624      when a URL http://... was used in conjunction with a special
9625      redirect flag, e.g. R=permanent, the permanent status was lost.
9626      [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>, Ralf S. Engelschall]
9627
9628   *) If an object has multiple variants that are otherwise equal Apache
9629      would prefer the last listed variant rather than the first.
9630      [Paul Sutton] PR#94
9631
9632   *) "make clean" at the top level now removes *.o.  [Dean Gaudet] PR#752
9633
9634   *) mod_status dumps core in inetd mode.  [Marc Slemko and Roy Fielding]
9635      PR#566
9636
9637   *) pregsub had an off-by-1 in its error checking code. [Alexei Kosut]
9638
9639   *) PORT: fix rlim_t problems with AIX 4.2. [Marc Slemko] PR#333
9640
9641   *) PORT: Update UnixWare support for 2.1.2.
9642      [Lawrence Rosenman <ler@lerctr.org>] PR#511
9643
9644   *) PORT: NonStop-UX [Joachim Schmitz <schmitz_joachim@tandem.com>] PR#327
9645
9646   *) PORT: Update ConvexOS support for 11.5.
9647      [David DeSimone <fox@convex.com>] PR#399
9648
9649   *) PORT: Support for DEC cc compiler under ULTRIX.
9650      ["P. Alejandro Lopez-Valencia" <alejolo@ideam.gov.co>] PR#388
9651
9652   *) PORT: Support for Maxion/OS SVR4.2 Real Time Unix. [no name given] PR#383
9653
9654   *) PORT: Workaround for AIX 3.x compiler bug in http_bprintf.c.  
9655      [Marc Slemko] PR#725
9656
9657   *) PORT: fix problem compiling http_bprintf.c with gcc under SCO
9658      [Marc Slemko] PR#695
9659
9660 Changes with Apache 1.2
9661
9662 Changes with Apache 1.2b11
9663
9664   *) Fixed open timestamp fd in proxy_cache.c [Chuck Murcko]
9665
9666   *) Added undocumented perl SSI mechanism for -DUSE_PERL_SSI and mod_perl.
9667      [Doug MacEachern, Rob Hartill]
9668
9669   *) Proxy needs to use hard_timeout instead of soft_timeout when it is
9670      reading from one buffer and writing to another, at least until it has
9671      a custom timeout handler.  [Roy Fielding and Petr Lampa]
9672
9673   *) Fixed problem on IRIX with servers hanging in IdentityCheck,
9674      apparently due to a mismatch between sigaction and setjmp.
9675      [Roy Fielding] PR#502
9676
9677   *) Log correct status code if we timeout before receiving a request (408)
9678      or if we received a request-line that was too long to process (414).
9679      [Ed Korthof and Roy Fielding] PR#601
9680
9681   *) Virtual hosts with the same ServerName, but on different ports, were
9682      not being selected properly.  [Ed Korthof]
9683
9684   *) Added code to return the requested IP address from proxy_host2addr()
9685      if gethostbyaddr() fails due to reverse DNS lookup problems. Original
9686      change submitted by Jozsef Hollosi <hollosi@sbcm.com>.
9687      [Chuck Murcko] PR#614
9688
9689   *) If multiple requests on a single connection are used to retrieve
9690      data from different virtual hosts, the virtual host list would be
9691      scanned starting with the most recently used VH instead of the first,
9692      causing most virtual hosts to be ignored.
9693      [Paul Sutton and Martin Mares] PR#610
9694
9695   *) The OS/2 handling of process group was broken by a porting patch for
9696      MPE, so restored prior code for OS/2.  [Roy Fielding and Garey Smiley]
9697
9698   *) Inherit virtual server port from main server if none (or "*") is
9699      given for VirtualHost.  [Dean Gaudet] PR#576
9700
9701   *) If the lookup for a DirectoryIndex name with content negotiation
9702      has found matching variants, but none are acceptable, return the
9703      negotiation result if there are no more DirectoryIndex names to lookup.
9704      [Petr Lampa and Roy Fielding]
9705
9706   *) If a soft_timeout occurs after keepalive is set, then the main child
9707      loop would try to read another request even though the connection
9708      has been aborted.  [Roy Fielding]
9709
9710   *) Configure changes: Allow for whitespace at the start of a
9711      Module declaration. Also, be more understanding about the
9712      CC=/OPTIM= format in Configuration. Finally, fix compiler
9713      flags if using HP-UX's cc compiler. [Jim Jagielski]
9714
9715   *) Subrequests and internal redirects now inherit the_request from the
9716      original request-line. [Roy Fielding]
9717
9718   *) Test for error conditions before creating output header fields, since
9719      we don't want the error message to include those fields.  Likewise,
9720      reset the content_language(s) and content_encoding of the response
9721      before generating or redirecting to an error message, since the new
9722      message will have its own Content-* definitions. [Dean Gaudet]
9723
9724   *) Restored the semantics of headers_out (headers sent only with 200..299
9725      and 304 responses) and err_headers_out (headers sent with all responses).
9726      Avoid the overhead of copying tables if err_headers_out is empty
9727      (the usual case).  [Roy Fielding]
9728
9729   *) Fixed a couple places where a check for the default Content-Type was
9730      not properly checking both the value configured by the DefaultType
9731      directive and the DEFAULT_TYPE symbol in httpd.h.  Changed the value
9732      of DEFAULT_TYPE to match the documented default (text/plain).
9733      [Dean Gaudet] PR#506
9734
9735   *) Escape the HTML-sensitive characters in the Request-URI that is
9736      output for each child by mod_status. [Dean Gaudet and Ken Coar] PR#501
9737
9738   *) Properly initialize the flock structures used by the mutex locking
9739      around accept() when USE_FCNTL_SERIALIZED_ACCEPT is defined.
9740      [Marc Slemko]
9741
9742   *) The method for determining PATH_INFO has been restored to the pre-1.2b
9743      (and NCSA httpd) definition wherein it was the extra path info beyond
9744      the CGI script filename.  The environment variable FILEPATH_INFO has
9745      been removed, and instead we supply the original REQUEST_URI to any
9746      script that wants to be Apache-specific and needs the real URI path.
9747      This solves a problem with existing scripts that use extra path info
9748      in the ScriptAlias directive to pass options to the CGI script.
9749      [Roy Fielding]
9750
9751   *) The _default_ change in 1.2b10 will change the behaviour on configs
9752      that use multiple Listen statements for listening on multiple ports.
9753      But that change is necessary to make _default_ consistent with other
9754      forms of <VirtualHost>.  It requires such configs to be modified
9755      to use <VirtualHost _default_:*>.  The documentation has been
9756      updated.  [Dean Gaudet] PR#530
9757
9758   *) If an ErrorDocument CGI script is used to respond to an error
9759      generated by another CGI script which has already read the message
9760      body of the request, the server would block trying to read the
9761      message body again.  [Rob Hartill]
9762
9763   *) signal() replacement conflicted with a define on QNX (and potentially
9764      other platforms). Fixed. [Ben Laurie] PR#512
9765
9766 Changes with Apache 1.2b10
9767
9768   *) Allow HTTPD_ROOT, SERVER_CONFIG_FILE, DEFAULT_PATH, and SHELL_PATH
9769      to be configured via -D in Configuration.  [Dean Gaudet] PR#449
9770
9771   *) <VirtualHost _default_:portnum> didn't work properly.  [Dean Gaudet]
9772
9773   *) Added prototype for mktemp() for SUNOS4 [Marc Slemko]
9774
9775   *) In mod_proxy.c, check return values for proxy_host2addr() when reading
9776      config, in case the hostent struct returned is trash.
9777      [Chuck Murcko] PR #491
9778
9779   *) Fixed the fix in 1.2b9 for parsing URL query info into args for CGI
9780      scripts.  [Dean Gaudet, Roy Fielding, Marc Slemko]
9781
9782 Changes with Apache 1.2b9  [never announced]
9783
9784   *) Reset the MODULE_MAGIC_NUMBER to account for the unsigned port
9785      changes and in anticipation of 1.2 final release.  [Roy Fielding]
9786
9787   *) Fix problem with scripts not receiving a SIGPIPE when client drops
9788      the connection (e.g., when user presses Stop).  Apache will now stop
9789      trying to send a message body immediately after an error from write.
9790      [Roy Fielding and Nathan Kurz] PR#335
9791
9792   *) Rearrange Configuration.tmpl so that mod_rewrite has higher priority
9793      than mod_alias, and mod_alias has higher priority than mod_proxy;
9794      rearranged other modules to enhance understanding of their purpose
9795      and relative order (and maybe even reduce some overhead).
9796      [Roy Fielding and Sameer Parekh]
9797
9798   *) Fix graceful restart.  Eliminate many signal-related race
9799      conditions in both forms of restart, and in SIGTERM.  See
9800      htdocs/manual/stopping.html for details on stopping and
9801      restarting the parent.  [Dean Gaudet]
9802
9803   *) Fix memory leaks in mod_rewrite, mod_browser, mod_include.  Tune
9804      memory allocator to avoid a behaviour that required extra blocks to
9805      be allocated.  [Dean Gaudet]
9806
9807   *) Allow suexec to access files relative to current directory but not
9808      above.  (Excluding leading / or any .. directory.)  [Ken Coar]
9809      PR#269, 319, 395
9810
9811   *) Fix suexec segfault when group doesn't exist. [Gregory Neil Shapiro]
9812      PR#367, 368, 354, 453
9813
9814   *) Fix the above fix: if suexec is enabled, avoid destroying r->url
9815      while obtaining the /~user and save the username in a separate data
9816      area so that it won't be overwritten by the call to getgrgid(), and
9817      fix some misuse of the pool string allocation functions.  Also fixes
9818      a general problem with parsing URL query info into args for CGI scripts.
9819      [Roy Fielding] PR#339, 367, 354, 453
9820
9821   *) Fix IRIX warning about bzero undefined. [Marc Slemko]
9822
9823   *) Fix problem with <Directory proxy:...>. [Martin Kraemer] PR#271
9824
9825   *) Corrected spelling of "authoritative".  AuthDBAuthoratative became
9826      AuthDBAuthoritative. [Marc Slemko] PR#420
9827
9828   *) MaxClients should be at least 1. [Lars Eilebrecht] PR#375
9829
9830   *) The default handler now logs invalid methods or URIs (i.e. PUT on an
9831      object that can't be PUT, or FOOBAR for some method FOOBAR that
9832      apache doesn't know about at all).  Log 404s that occur in mod_include.
9833      [Paul Sutton, John Van Essen]
9834
9835   *) If a soft timeout (or lingerout) occurs while trying to flush a
9836      buffer or write inside buff.c or fread'ing from a CGI's output,
9837      then the timeout would be ignored. [Roy Fielding] PR#373
9838
9839   *) Work around a bug in Netscape Navigator versions 2.x, 3.x and 4.0b2's
9840      parsing of headers.  If the terminating empty-line CRLF occurs starting
9841      at the 256th or 257th byte of output, then Navigator will think a normal
9842      image is invalid.  We are guessing that this is because their initial
9843      read of a new request uses a 256 byte buffer. We check the bytes written
9844      so far and, if we are about to tickle the bug, we instead insert a
9845      padding header of eminent bogosity. [Roy Fielding and Dean Gaudet] PR#232
9846
9847   *) Fixed SIGSEGV problem when a DirectoryIndex file is also the source
9848      of an external redirection.  [Roy Fielding and Paul Sutton]
9849
9850   *) Configure would create a broken Makefile if the configuration file
9851      contained a commented-out Rule.  [Roy Fielding]
9852
9853   *) Promote per_dir_config and subprocess_env from the subrequest to the
9854      main request in mod_negotiation.  In particular this fixes a bug
9855      where <Files> sections wouldn't properly apply to negotiated content.
9856      [Dean Gaudet]
9857
9858   *) Fix a potential deadlock in mod_cgi script_err handling.
9859      [Ralf S. Engelschall]
9860
9861   *) rotatelogs zero-pads the logfile names to improve alphabetic sorting.
9862      [Mitchell Blank Jr]
9863
9864   *) Updated mod_rewrite to 3.0.4: Fixes HTTP redirects from within
9865      .htaccess files because the RewriteBase was not replaced correctly.
9866      Updated mod_rewrite to 3.0.5: Fixes problem with rewriting inside
9867      <Directory> sections missing a trailing /.  [Ralf S. Engelschall]
9868
9869   *) Clean up Linux settings in conf.h by detecting 2.x versus 1.x.  For
9870      1.x the settings are those of pre-1.2b8.  For 2.x we include
9871      USE_SHMGET_SCOREBOARD (scoreboard in shared memory rather than file) and
9872      HAVE_SYS_RESOURCE_H (enable the RLimit commands).
9873      [Dean Gaudet] PR#336, PR#340
9874
9875   *) Redirect did not preserve ?query_strings when present in the client's
9876      request.  [Dean Gaudet]
9877
9878   *) Configure was finding non-modules on EXTRA_LIBS. [Frank Cringle] PR#380
9879
9880   *) Use /bin/sh5 on ULTRIX.  [P. Alejandro Lopez-Valencia] PR#369
9881
9882   *) Add UnixWare compile/install instructions.  [Chuck Murcko]
9883
9884   *) Add mod_example (illustration of API techniques).  [Ken Coar]
9885
9886   *) Add macro for memmove to conf.h for SUNOS4. [Marc Slemko]
9887
9888   *) Improve handling of directories when filenames have spaces in them.
9889      [Chuck Murcko]
9890
9891   *) For hosts with multiple IP addresses, try all additional addresses if
9892      necessary to get a connect. Fail only if hostent address list is
9893      exhausted. [Chuck Murcko]
9894
9895   *) More signed/unsigned port fixes.  [Dean Gaudet]
9896
9897   *) HARD_SERVER_LIMIT can be defined in the Configuration file now.
9898      [Dean Gaudet]
9899
9900 Changes with Apache 1.2b8
9901
9902   *) suexec.c doesn't close the log file, allowing CGIs to continue writing
9903      to it.  [Marc Slemko]
9904
9905   *) The addition of <Location> and <File> directives made the
9906      sub_req_lookup_simple() function bogus, so we now handle
9907      the special cases directly.  [Dean Gaudet]
9908
9909   *) We now try to log where the server is dumping core when a fatal
9910      signal is received.  [Ken Coar]
9911
9912   *) Improved lingering_close by adding a special timeout, removing the
9913      spurious log messages, removing the nonblocking settings (they
9914      are not needed with the better timeout), and adding commentary
9915      about the NO_LINGCLOSE and USE_SO_LINGER issues.  NO_LINGCLOSE is
9916      now the default for SunOS4, UnixWare, NeXT, and IRIX.  [Roy Fielding]
9917
9918   *) Send error messages about setsockopt failures to the server error
9919      log instead of stderr.  [Roy Fielding]
9920
9921   *) Fix loopholes in proxy cache expiry vis a vis alarms. [Brian Moore]
9922
9923   *) Stopgap solution for CGI 3-second delay with server-side includes: if
9924      processing a subrequest, allocate memory from r->main->pool instead
9925      of r->pool so that we can avoid waiting for free_proc_chain to cleanup
9926      in the middle of an SSI request.  [Dean Gaudet] PR #122
9927
9928   *) Fixed status of response when POST is received for a nonexistent URL
9929      (was sending 405, now 404) and when any method is sent with a
9930      full-URI that doesn't match the server and the server is not acting
9931      as a proxy (was sending 501, now 403).  [Roy Fielding]
9932
9933   *) Host port changed to unsigned short. [Ken Coar] PR #276
9934
9935   *) Fix typo in command definition of AuthAuthoritative. [Ken Coar] PR #246
9936
9937   *) Defined USE_SHMGET_SCOREBOARD for shared memory on Linux.  [Dean Gaudet]
9938
9939   *) Report extra info from errno with many errors that cause httpd to exit.
9940      spawn_child, popenf, and pclosef now have valid errno returns in the
9941      event of an error.  Correct problems where errno was stomped on
9942      before being reported.  [Dean Gaudet]
9943
9944   *) In the proxy, if the cache filesystem was full, garbage_coll() was
9945      never called, and thus the filesystem would remain full indefinitely.
9946      We now also remove incomplete cache files left if the origin server
9947      didn't send a Content-Length header and either the client has aborted
9948      transfer or bwrite() to client has failed. [Petr Lampa]
9949
9950   *) Fixed the handling of module and script-added header fields.
9951      Improved the interface for sending header fields and reduced
9952      the duplication of code between sending okay responses and errors.
9953      We now always send both headers_out and err_headers_out, and
9954      ensure that the server-reserved fields are not being overridden,
9955      while not overriding those that are not reserved.  [Roy Fielding]
9956
9957   *) Moved transparent content negotiation fields to err_headers_out
9958      to reflect above changes.  [Petr Lampa]
9959
9960   *) Fixed the determination of whether or not we should make the
9961      connection persistent for all of the cases where some other part
9962      of the server has already indicated that we should not.  Also
9963      improved the ordering of the test so that chunked encoding will
9964      be set whenever it is desired instead of only when KeepAlive
9965      is enabled. Added persistent connection capability for most error
9966      responses (those that do not indicate a bad input stream) when
9967      accessed by an HTTP/1.1 client. [Roy Fielding]
9968
9969   *) Added missing timeouts for sending header fields, error responses,
9970      and the last chunk of chunked encoding, each of which could have
9971      resulted in a process being stuck in write forever.  Using soft_timeout
9972      requires that the sender check for an aborted connection rather than
9973      continuing after an EINTR.  Timeouts that used to be initiated before
9974      send_http_header (and never killed) are now initiated only within or
9975      around the routines that actually do the sending, and not allowed to
9976      propagate above the caller.  [Roy Fielding]
9977
9978   *) mod_auth_anon required an @ or a . in the email address, not both.
9979      [Dirk vanGulik]
9980
9981   *) per_dir_defaults weren't set correctly until directory_walk for
9982      name-based vhosts.  This fixes an obscure bug with the wrong config
9983      info being used for vhosts that share the same ip as the server.
9984      [Dean Gaudet]
9985
9986   *) Improved generation of modules/Makefile to be more generic for
9987      new module directories. [Ken Coar, Chuck Murcko, Roy Fielding]
9988
9989   *) Generate makefile dependency for Configuration based on the actual
9990      name given when running the Configure process.  [Dean Gaudet]
9991
9992   *) Fixed problem with vhost error log not being set prior to
9993      initializing virtual hosts. [Dean Gaudet]
9994
9995   *) Fixed infinite loop when a trailing slash is included after a type map
9996      file URL (extra path info). [Petr Lampa]
9997
9998   *) Fixed server status updating of per-connection counters. [Roy Fielding]
9999
10000   *) Add documentation for DNS issues (reliability and security), and try
10001      to explain the virtual host matching process.  [Dean Gaudet]
10002
10003   *) Try to continue gracefully by disabling the vhost if a DNS lookup
10004      fails while parsing the configuration file.  [Dean Gaudet]
10005
10006   *) Improved calls to setsockopt.  [Roy Fielding]
10007
10008   *) Negotiation changes: Don't output empty content-type in variant list;
10009      Output charset in variant list; Return sooner from handle_multi() if
10010      no variants found; Add handling of '*' wildcard in Accept-Charset.
10011      [Petr Lampa and Paul Sutton]
10012
10013   *) Fixed overlaying of request/sub-request notes and headers in
10014      mod_negotiation.  [Dean Gaudet]
10015
10016   *) If two variants' charset quality are equal and one is the default
10017      charset (iso-8859-1), then prefer the variant that was specifically
10018      listed in Accept-Charset instead of the default.  [Petr Lampa]
10019
10020   *) Memory allocation problem in push_array() -- it would corrupt memory
10021      when nalloc==0.  [Kai Risku <krisku@tf.hut.fi> and Roy Fielding]
10022
10023   *) invoke_handler() doesn't handle mime arguments in content-type
10024      [Petr Lampa] PR#160
10025
10026   *) Reduced IdentityCheck timeout to 30 seconds, as per RFC 1413 minimum.
10027      [Ken Coar]
10028
10029   *) Fixed problem with ErrorDocument not working for virtual hosts
10030      due to one of the performance changes in 1.2b7. [Dean Gaudet]
10031
10032   *) Log an error message if we get a request header that is too long,
10033      since it may indicate a buffer overflow attack. [Marc Slemko]
10034
10035   *) Made is_url() allow "[-.+a-zA-Z0-9]+:" as a valid scheme and
10036      not reject URLs without a double-slash, as per RFC2068 section 3.2.
10037      [Ken Coar] PR #146, #187
10038
10039   *) Added table entry placeholder for new header_parser callback
10040      in all of the distributed modules. [Ken Coar] PR #191
10041
10042   *) Allow for cgi files without the .EXE extension on them under OS/2.
10043      [Garey Smiley] PR #59
10044
10045   *) Fixed error message when resource is not found and URL contains
10046      path info. [Petr Lampa and Dean Gaudet] PR #40
10047
10048   *) Fixed user and server confusion over what should be a virtual host
10049      and what is the main server, resulting in access to something
10050      other than the name defined in the virtualhost directive (but
10051      with the same IP address) failing. [Dean Gaudet]
10052
10053   *) Updated mod_rewrite to version 3.0.2, which: fixes compile error on
10054      AIX; improves the redirection stuff to enable the users to generally
10055      redirect to http, https, gopher and ftp; added TIME variable for
10056      RewriteCond which expands to YYYYMMDDHHMMSS strings and added the
10057      special patterns >STRING, <STRING and =STRING to RewriteCond, which
10058      can be used in conjunction with %{TIME} or other variables to create
10059      time-dependent rewriting rules. [Ralf S. Engelschall]
10060
10061   *) bpushfd() no longer notes cleanups for the file descriptors it is handed.
10062      Module authors may need to adjust their code for proper cleanup to take
10063      place (that is, call note_cleanups_for_fd()). This change fixes problems
10064      with file descriptors being erroneously closed when the proxy module was
10065      in use. [Ben Laurie]
10066
10067   *) Fix bug in suexec reintroduced by changes in 1.2b7 which allows
10068      initgroups() to hose the group information needed for later
10069      comparisons. [Randy Terbush]
10070
10071   *) Remove unnecessary call to va_end() in create_argv() which
10072      caused a SEGV on some systems.
10073
10074   *) Use proper MAXHOSTNAMELEN symbol for limiting length of server name.
10075      [Dean Gaudet]
10076
10077   *) Clear memory allocated for listeners. [Randy Terbush]
10078
10079   *) Improved handling of IP address as a virtualhost address and
10080      introduced "_default_" as a synonym for the default vhost config.
10081      [Dean Gaudet] PR #212
10082
10083 Changes with Apache 1.2b7
10084
10085   *) Port to  UXP/DS(V20) [Toshiaki Nomura <nom@yk.fujitsu.co.jp>]
10086
10087   *) unset Content-Length if chunked (RFC-2068) [Petr Lampa]
10088
10089   *) mod_negotiation fixes [Petr Lampa] PR#157, PR#158, PR#159
10090      - replace protocol response numbers with symbols
10091      - save variant-list into main request notes
10092      - free allocated memory from subrequests
10093      - merge notes, headers_out and err_headers_out
10094
10095   *) changed status check mask in proxy_http.c from "HTTP/#.# ### *" to
10096      "HTTP/#.# ###*" to be more lenient about what we accept.
10097      [Chuck Murcko]
10098
10099   *) more proxy FTP bug fixes:
10100      - Changed send_dir() to remove user/passwd from displayed URL.
10101      - Changed login error messages to be more descriptive.
10102      - remove setting of SO_DEBUG socket option
10103      - Make ftp_getrc() more lenient about multiline responses,
10104        specifically, 230 responses which don't have continuation 230-
10105        on each line). These seem to be all NT FTP servers, and while
10106        perhaps questionable, they appear to be legal by RFC 959.
10107      - Add missing kill_timeout() after transfer to user completes.
10108      [Chuck Murcko]
10109
10110   *) Fixed problem where a busy server could hang when restarting
10111      after being sent a SIGHUP due to child processes not exiting.
10112      [Marc Slemko]
10113
10114   *) Modify mod_include escaping so a '\' only signifies an escaped
10115      character if the next character is one that needs
10116      escaping.  [Ben Laurie]
10117
10118   *) Eliminated possible infinite loop in mod_imap when relative URLs are
10119      used with a 'base' directive that does not have a '/' in it.
10120      [Marc Slemko, reported by Onno Witvliet <onno@tc.hsa.nl>]
10121
10122   *) Reduced the default timeout from 1200 seconds to 300, and the
10123      one in the sample configfile from 400 to 300.  [Marc Slemko]
10124
10125   *) Stop vbprintf from crashing if given a NULL string pointer;
10126      print (null) instead.  [Ken Coar]
10127
10128   *) Don't disable Nagle algorithm if system doesn't have TCP_NODELAY.
10129      [Marc Slemko and Roy Fielding]
10130
10131   *) Fixed problem with mod_cgi-generated internal redirects trying to
10132      read the request message-body twice. [Archie Cobbs and Roy Fielding]
10133
10134   *) Reduced timeout on lingering close, removed possibility of a blocked
10135      read causing the child to hang, and stopped logging of errors if
10136      the socket is not connected (reset by client).  [Roy Fielding]
10137
10138   *) Rearranged main child loop to remove duplication of code in
10139      select/accept and keep-alive requests, fixed several bugs regarding
10140      checking scoreboard_image for exit indication and failure to
10141      account for all success conditions and trap all error conditions,
10142      prevented multiple flushes before closing the socket; close the entire
10143      socket buffer instead of just one descriptor, prevent logging of
10144      EPROTO and ECONNABORTED on platforms where supported, and generally
10145      improved readability.  [Roy Fielding]
10146
10147   *) Extensive performance improvements. Cleaned up inefficient use of
10148      auto initializers, multiple is_matchexp calls on a static string,
10149      and excessive merging of response_code_strings. [Dean Gaudet]
10150
10151   *) Added double-buffering to mod_include to improve performance on
10152      server-side includes. [Marc Slemko]
10153
10154   *) Several fixes for suexec wrapper. [Randy Terbush]
10155      - Make wrapper work for files on NFS filesystem.
10156      - Fix portability problem of MAXPATHLEN.
10157      - Fix array overrun problem in clean_env().
10158      - Fix allocation of PATH environment variable
10159
10160   *) Removed extraneous blank line is description of mod_status chars.
10161      [Kurt Kohler]
10162
10163   *) Logging of errors from the call_exec routine simply went nowhere,
10164      since the logfile fd has been closed, so now we send them to stderr.
10165      [Harald T. Alvestrand]
10166
10167   *) Fixed core dump when DocumentRoot is a CGI.
10168      [Ben Laurie, reported by geddis@tesserae.com]
10169
10170   *) Fixed potential file descriptor leak in mod_asis; updated it and
10171      http_core to use pfopen/pfclose instead of fopen/fclose.
10172      [Randy Terbush and Roy Fielding]
10173
10174   *) Fixed handling of unsigned ints in ap_snprintf() on some chips such
10175      as the DEC Alpha which is 64-bit but uses 32-bit ints.
10176      [Dean Gaudet and Ken Coar]
10177
10178   *) Return a 302 response code to the client when sending a redirect
10179      due to a missing trailing '/' on a directory instead of a 301; now
10180      it is cacheable. [Markus Gyger]
10181
10182   *) Fix condition where, if a bad directive occurs in .htaccess, and
10183      sub_request() goes first to this directory, then log_reason() will
10184      SIGSEGV because it doesn't have initialized r->per_dir_config.
10185      [PR#162 from Petr Lampa, fix by Marc Slemko and Dean Gaudet]
10186
10187   *) Fix handling of lang_index in is_variant_better().  This was
10188      causing problems which resulted in the server sending the
10189      wrong language document in some cases. [Petr Lampa]
10190
10191   *) Remove free() from clean_env() in suexec wrapper. This was nuking
10192      the clean environment on some systems.
10193
10194   *) Tweak byteserving code (e.g. serving PDF files) to work around
10195      bugs in Netscape Navigator and Microsoft Internet Explorer.
10196      Emit Content-Length header when sending multipart/byteranges.
10197      [Alexei Kosut]
10198
10199   *) Port to HI-UX/WE2. [Nick Maclaren]
10200
10201   *) Port to HP MPE operating system for HP 3000 machines
10202      [Mark Bixby <markb@cccd.edu>]
10203
10204   *) Fixed bug which caused a segmentation fault if only one argument
10205      given to RLimit* directives. [Ed Korthof]
10206
10207   *) Continue persistent connection after 204 or 304 response. [Dean Gaudet]
10208
10209   *) Improved buffered output to the client by delaying the flush decision
10210      until the BUFF code is actually about to read the next request.
10211      This fixes a problem introduced in 1.2b5 with clients that send
10212      an extra CRLF after a POST request. Also improved chunked output
10213      performance by combining writes using writev() and removing as
10214      many bflush() calls as possible.  NOTE: Platforms without writev()
10215      must add -DNO_WRITEV to the compiler CFLAGS, either in Configuration
10216      or Configure, unless we have already done so.  [Dean Gaudet]
10217
10218   *) Fixed mod_rewrite bug which truncated the rewritten URL [Marc Slemko]
10219
10220   *) Fixed mod_info output corruption bug introduced by buffer overflow
10221      fixes. [Dean Gaudet]
10222
10223   *) Fixed http_protocol to correctly output all HTTP/1.1 headers, including
10224      for the special case of a 304 response.  [Paul Sutton]
10225
10226   *) Improved handling of TRACE method by bypassing normal method handling
10227      and header parsing routines; fixed Allow response to always allow TRACE.
10228      [Dean Gaudet]
10229
10230   *) Fixed compiler warnings in the regex library. [Dean Gaudet]
10231
10232   *) Cleaned-up some of the generated HTML. [Ken Coar]
10233
10234 Changes with Apache 1.2b6
10235
10236   *) Allow whitespace in imagemap mapfile coordinates. [Marc Slemko]
10237
10238   *) Fix typo introduced in fix for potential infinite loop around
10239      accept() in child_main(). This change caused the rev to 1.2b6.
10240      1.2b5 was never a public beta.
10241
10242 Changes with Apache 1.2b5
10243
10244   *) Change KeepAlive semantics (On|Off instead of a number), add
10245      MaxKeepAliveRequests directive. [Alexei Kosut]
10246
10247   *) Various NeXT compilation patches, as well as a change in
10248      regex/regcomp.c since that file also used a NEXT define.
10249      [Andreas Koenig]
10250
10251   *) Allow * to terminate the end of a directory match in mod_dir.
10252      Allows /~* to match for both /~joe and /~joe/. [David Bronder]
10253
10254   *) Don't call can_exec() if suexec_enabled. Calling this requires
10255      scripts executed by the suexec wrapper to be world executable, which
10256      defeats one of the advantages of running the wrapper. [Randy Terbush]
10257
10258   *) Portability Fix: IRIX complained with 'make clean' about *pure* (removed)
10259      [Jim Jagielski]
10260
10261   *) Migration from sprintf() to snprintf() to avoid buffer
10262      overflows. [Marc Slemko]
10263
10264   *) Provide portable snprintf() implementation (ap_snprintf)
10265      as well as *cvt family. [Jim Jagielski]
10266
10267   *) Portability Fix: NeXT lacks unistd.h so we wrap it's inclusion
10268      [Jim Jagielski]
10269
10270   *) Remove mod_fastcgi.c from the distribution. This module appears
10271      to be maintained more through the Open Market channels and should
10272      continue to be easily available at http://www.fastcgi.com/
10273
10274   *) Fixed bug in modules/Makefile that wouldn't allow building in more
10275      than one subdirectory (or cleaning, either). [Jeremy Laidman]
10276
10277   *) mod_info assumed that the config files were relative to ServerRoot.
10278      [Ken the Rodent]
10279
10280   *) CGI scripts called as an error document resulting from failed
10281      CGI execution would hang waiting for POST'ed data. [Rob Hartill]
10282
10283   *) Log reason when mod_dir returns access HTTP_FORBIDDEN
10284      [Ken the Rodent]
10285
10286   *) Properly check errno to prevent display of a directory index
10287      when server receives a long enough URL to confuse stat().
10288      [Marc Slemko]
10289
10290   *) Several security enhancements to suexec wrapper. It is _highly_
10291      recommended that previously installed versions of the wrapper
10292      be replaced with this version.  [Randy Terbush, Jason Dour]
10293
10294         - ~user execution now properly restricted to ~user's home
10295           directory and below.
10296         - execution restricted to UID/GID > 100
10297         - restrict passed environment to known variables
10298         - call setgid() before initgroups() (portability fix)
10299         - remove use of setenv() (portability fix)
10300
10301   *) Add HTTP/1.0 response forcing. [Ben Laurie]
10302
10303   *) Add access control via environment variables. [Ben Laurie]
10304
10305   *) Add rflush() function. [Alexei Kosut]
10306
10307   *) remove duplicate pcalloc() call in new_connection().
10308
10309   *) Fix incorrect comparison which could allow number of children =
10310      MaxClients + 1 if less than HARD_SERVER_LIMIT. Also fix potential
10311      problem if StartServers > HARD_SERVER_LIMIT. [Ed Korthof]
10312
10313   *) Updated support for OSes (MachTen, ULTRIX, Paragon, ISC, OpenBSD
10314      AIX PS/2, CONVEXOS. [Jim Jagielski]
10315
10316   *) Replace instances of inet_ntoa() with inet_addr() for ProxyBlock.
10317      It's more portable. [Martin Kraemer]
10318
10319   *) Replace references to make in Makefile.tmpl with $(MAKE).
10320      [Chuck Murcko]
10321
10322   *) Add ProxyBlock directive w/IP address caching. Add IP address
10323      caching to NoCache directive as well. ProxyBlock works with all
10324      handlers; NoCache now also works with FTP for anonymous logins.
10325      Still more code cleanup. [Chuck Murcko]
10326
10327   *) Add "header parse" API hook [Ben Laurie]
10328
10329   *) Fix byte ordering problems for REMOTE_PORT [Chuck Murcko]
10330
10331   *) suEXEC wrapper was freeing memory that had not been malloc'ed.
10332
10333   *) Correctly allow access and auth directives in <Files> sections in
10334      server config files. [Alexei Kosut]
10335
10336   *) Fix bug with ServerPath that could cause certain files to be not
10337      found by the server. [Alexei Kosut]
10338
10339   *) Fix handling of ErrorDocument so that it doesn't remove a trailing
10340      double-quote from text and so that it properly checks for unsupported
10341      status codes using the new index_of_response interface. [Roy Fielding]
10342
10343   *) Multiple fixes to the lingering_close code in order to avoid being
10344      interrupted by a stray timeout, to avoid lingering on a connection
10345      that has already been aborted or never really existed, to ensure that
10346      we stop lingering as soon as any error condition is received, and to
10347      prevent being stuck indefinitely if the read blocks.  Also improves
10348      reporting of error conditions.  [Marc Slemko and Roy Fielding]
10349
10350   *) Fixed initialization of parameter structure for sigaction.
10351      [mgyger@itr.ch, Adrian Filipi-Martin]
10352
10353   *) Fixed reinitializing the parameters before each call to accept and
10354      select, and removed potential for infinite loop in accept.
10355      [Roy Fielding, after useful PR from adrian@virginia.edu]
10356
10357   *) Fixed condition where, if a child fails to fork, the scoreboard would
10358      continue to say SERVER_STARTING forever. Eventually, the main process
10359      would refuse to start new children because count_idle_servers() will
10360      count those SERVER_STARTING entries and will always report that there
10361      are enough idle servers. [Phillip Vandry]
10362
10363   *) Fixed bug in bcwrite regarding failure to account for partial writes.
10364      Avoided calling bflush() when the client is pipelining requests.
10365      Removed unnecessary flushes from http_protocol. [Dean Gaudet]
10366
10367   *) Added description of "." mode in server-status [Jim Jagielski]
10368
10369 Changes with Apache 1.2b4
10370
10371   *) Fix possible race condition in accept_mutex_init() that
10372      could leave a small security hole open allowing files to be
10373      overwritten in cases where the server UID has write permissions.
10374      [Marc Slemko]
10375
10376   *) Fix awk compatibilty problem in Configure. [Jim Jagielski]
10377
10378   *) Fix portablity problem in util_script where ARG_MAX may not be
10379      defined for some systems.
10380
10381   *) Add changes to allow compilation on Machten 4.0.3 for PowerPC.
10382      [Randal Schwartz]
10383
10384   *) OS/2 changes to support an MMAP style scoreboard file and UNIX
10385      style magic #! token for better script portability. [Garey Smiley]
10386
10387   *) Fix bug in suexec wrapper introduced in b3 that would cause failed
10388      execution for ~userdir CGI. [Jason Dour]
10389
10390   *) Fix initgroups() business in suexec wrapper. [Jason Dour]
10391
10392   *) Fix month off by one in suexec wrapper logging.
10393
10394 Changes with Apache 1.2b3:
10395
10396   *) Fix error in mod_cgi which could cause resources not to be properly
10397      freed, or worse. [Dean Gaudet]
10398
10399   *) Fix find_string() NULL pointer dereference. [Howard Fear]
10400
10401   *) Add set_flag_slot() at the request of Dirk and others.
10402      [Dirk vanGulik]
10403
10404   *) Sync mod_rewrite with patch level 10. [Ralf Engelschall]
10405
10406   *) Add changes to improve the error message given for invalid
10407      ServerName parameters. [Dirk vanGulik]
10408
10409   *) Add "Authoritative" directive for Auth modules that don't
10410      currently have it. This gives admin control to assign authoritative
10411      control to an authentication scheme and allow "fall through" for
10412      those authentication modules that aren't "Authoritative" thereby
10413      allowing multiple authentication mechanisms to be chained.
10414      [Dirk vanGulik]
10415
10416   *) Remove requirement for ResourceConfig/AccessConfig if not using
10417      the three config file layout. [Randy Terbush]
10418
10419   *) Add PASV mode to mod_proxy FTP handler. [Chuck Murcko]
10420
10421   *) Changes to suexec wrapper to fix the following problems:
10422      1.  symlinked homedirs will kill ~userdirs.
10423      2.  initgroups() on Linux 2.0.x clobbers gr->grid.
10424      3.  CGI command lines paramters problems
10425      4.  pw-pwdir for "docroot check" still the httpd user's pw record.
10426     [Randy Terbush, Jason Dour]
10427
10428   *) Change create_argv() to accept variable arguments. This fixes
10429      a problem where arguments were not getting passed to the CGI via
10430      argv[] when the suexec wrapper was active. [Randy Terbush, Jake Buchholz]
10431
10432   *) Collapse multiple slashes in path URLs to properly apply
10433      handlers defined by <Location>. [Alexei Kosut]
10434
10435   *) Define a sane set of DEFAULT_USER and DEFAULT_GROUP values for AIX.
10436
10437   *) Improve the accuracy of request duration timings by setting
10438      r->request_time in read_request_line() instead of read_request().
10439      [Dean Gaudet]
10440
10441   *) Reset timeout while reading via get_client_block() in mod_cgi.c
10442      Fixes problem with timed out transfers of large files. [Rasmus Lerdorf]
10443
10444   *) Add the ability to pass different Makefile.tmpl files to Configure
10445      using the -make flag. [Rob Hartill]
10446
10447   *) Fix coredump triggered when sending a SIGHUP to the server caused
10448      by an assertion failure, in turn caused by an uninitialised field in a
10449      listen_rec.
10450      [Ben Laurie]
10451
10452   *) Add FILEPATH_INFO variable to CGI environment, which is equal to
10453      PATH_INFO from previous versions of Apache (in certain situations,
10454      Apache 1.2's PATH_INFO will be different than 1.1's). [Alexei Kosut]
10455      [later removed in 1.2b11]
10456
10457   *) Add rwrite() function to API to allow for sending strings of
10458      arbitrary length. [Doug MacEachern]
10459
10460   *) Remove rlim_t typedef for NetBSD. Do older versions need this?
10461
10462   *) Defined rlim_t and WANTHSREGEX=yes and fixed waitpid() substitute for
10463      NeXT. [Jim Jagielski]
10464
10465   *) Removed recent modification to promote the status code on internal
10466      redirects, since the correct fix was to change the default log format
10467      in mod_log_config so that it outputs the original status. [Rob Hartill]
10468
10469 Changes with Apache 1.2b2:
10470
10471   *) Update set_signals() to use sigaction() for setting handlers.
10472      This appears to fix a re-entrant problem in the seg_fault()
10473      bus_error() handlers. [Randy Terbush]
10474
10475   *) Changes to allow mod_status compile for OS/2 [Garey Smiley]
10476
10477   *) changes for DEC AXP running OSF/1 v3.0. [Marc Evans]
10478
10479   *) proxy_http.c bugfixes:  [Chuck Murcko]
10480         1) fixes possible NULL pointer reference w/NoCache
10481         2) fixes NoCache behavior when using ProxyRemote (ProxyRemote
10482            host would cache nothing if it was in the local domain,
10483            and the local domain was in the NoCache list)
10484         3) Adds Host: header when not available
10485         4) Some code cleanup and clarification
10486
10487   *) mod_include.c bugfixes:
10488         1) Fixed an ommission that caused include variables to not
10489            be parsed in config errmsg directives [Howard Fear]
10490         2) Remove HAVE_POSIX_REGEX cruft [Alexei Kosut]
10491         3) Patch to fix compiler warnings [perrot@lal.in2p3.fr]
10492         4) Allow backslash-escaping to all quoted text
10493            [Ben Yoshino <ben@wiliki.eng.hawaii.edu>]
10494         5) Pass variable to command line if not set in XSSI's env
10495            [Howard Fear]
10496
10497   *) Fix infinite loop when processing Content-language lines in
10498      type-map files. [Alexei Kosut]
10499
10500   *) Closed file-globbing hole in test-cgi script. [Brian Behlendorf]
10501
10502   *) Fixed problem in set_[user|group] that prevented CGI execution
10503      for non-virtualhosts when suEXEC was enabled. [Randy Terbush]
10504
10505   *) Added PORTING information file.  [Jim Jagielski]
10506
10507   *) Added definitions for S_IWGRP and S_IWOTH to conf.h [Ben Laurie]
10508
10509   *) Changed default group to "nogroup" instead of "nobody" [Randy Terbush]
10510
10511   *) Fixed define typo of FCNTL_SERIALIZED_ACCEPT where
10512      USE_FCNTL_SERIALIZED_ACCEPT was intended.
10513
10514   *) Fixed additional uses of 0xffffffff where INADDR_NONE was intended,
10515      which caused problems of systems where socket s_addr is >32bits.
10516
10517   *) Added comment to explain (r->chunked = 1) side-effect in
10518      http_protocol.c [Roy Fielding]
10519
10520   *) Replaced use of index() in mod_expires.c with more appropriate
10521      and portable isdigit() test.  [Ben Laurie]
10522
10523   *) Updated Configure for ...
10524         OS/2          (DEF_WANTHSREGEX=yes, other code changes)
10525         *-dg-dgux*    (bad pattern match)
10526         QNX           (DEF_WANTHSREGEX=yes)
10527         *-sunos4*     (DEF_WANTHSREGEX=yes, -DUSEBCOPY)
10528         *-ultrix      (new)
10529         *-unixware211 (new)
10530      and added some user diagnostic info.  [Ben Laurie]
10531
10532   *) In helpers/CutRule, replaced "cut" invocation with "awk" invocation
10533      for better portability. [Jim Jagielski]
10534
10535   *) Updated helpers/GuessOS for ...
10536         SCO 5            (recognize minor releases)
10537         SCO UnixWare     (braindamaged uname, whatever-whatever-unixware2)
10538         SCO UnixWare 2.1.1      (requires a separate set of #defines in conf.h)
10539         IRIX64           (-sgi-irix64)
10540         ULTRIX           (-unknown-ultrix)
10541         SINIX            (-whatever-sysv4)
10542         NCR Unix         (-ncr-sysv4)
10543      and fixed something in helpers/PrintPath  [Ben Laurie]
10544
10545 Changes with Apache 1.2b1
10546
10547   *) Not listed. See <http://www.apache.org/docs/new_features_1_2.html>
10548
10549 Changes with Apache 1.1.1
10550
10551   *) Fixed bug where Cookie module would make two entries in the
10552      logfile for each access [Mark Cox]
10553
10554   *) Fixed bug where Redirect in .htaccess files would cause memory
10555      leak. [Nathan Neulinger]
10556
10557   *) MultiViews now works correctly with AddHandler [Alexei Kosut]
10558
10559   *) Problems with mod_auth_msql fixed [Dirk vanGulik]
10560
10561   *) Fix misspelling of "Anonymous_Authorative" directive in mod_auth_anon.
10562
10563 Changes with Apache 1.1.0
10564
10565   *) Bring NeXT support up to date. [Takaaki Matsumoto]
10566
10567   *) Bring QNX support up to date. [Ben Laurie]
10568
10569   *) Make virtual hosts default to main server keepalive parameters.
10570      [Alexei Kosut, Ben Laurie]
10571
10572   *) Allow ScanHTMLTitles to work with lowercase <title> tags. [Alexei Kosut]
10573
10574   *) Fix missing address family for connect, also remove unreachable statement
10575      in mod_proxy. [Ben Laurie]
10576
10577   *) mod_env now turned on by default in Configuration.tmpl.
10578
10579   *) Bugs which were fixed:
10580         a) yet more mod_proxy bugs [Ben Laurie]
10581         b) CGI works again with inetd [Alexei Kosut]
10582         c) Leading colons were stripped from passwords [osm@interguide.com]
10583         d) Another fix to multi-method Limit problem [jk@tools.de]
10584
10585 Changes with Apache 1.1b4
10586
10587   *) r->bytes_sent variable restored. [Robert Thau]
10588
10589   *) Previously broken multi-method <Limit> parsing fixed. [Robert Thau]
10590
10591   *) More possibly unsecure programs removed from the support directory.
10592
10593   *) More mod_auth_msql authentication improvements.
10594
10595   *) VirtualHosts based on Host: headers no longer conflict with the
10596      Listen directive.
10597
10598   *) OS/2 compatibility enhancements. [Gary Smiley]
10599
10600   *) POST now allowed to directory index CGI scripts.
10601
10602   *) Actions now work with files of the default type.
10603
10604   *) Bugs which were fixed:
10605         a) more mod_proxy bugs
10606         b) early termination of inetd requests
10607         c) compile warnings on several systems
10608         d) problems when scripts stop reading output early
10609
10610 Changes with Apache 1.1b3
10611
10612   *) Much of cgi-bin and all of cgi-src has been removed, due to
10613      various security holes found and that we could no longer support
10614      them.
10615
10616   *) The "Set-Cookie" header is now special-cased to not merge multiple
10617      instances, since certain popular browsers can not handle multiple
10618      Set-Cookie instructions in a single header. [Paul Sutton]
10619
10620   *) rprintf() added to buffer code, occurrences of sprintf removed.
10621      [Ben Laurie]
10622
10623   *) CONNECT method for proxy module, which means tunneling SSL should work.
10624      (No crypto needed)  Also a NoCache config directive.
10625
10626   *) Several API additions: pstrndup(), table_unset() and get_token()
10627      functions now available to modules.
10628
10629   *) mod_imap fixups, in particular Location: headers are now complete
10630      URL's.
10631
10632   *) New "info" module which reports on installed module set through a
10633      special URL, a la mod_status.
10634
10635   *) "ServerPath" directive added - allows for graceful transition
10636      for Host:-header-based virtual hosts.
10637
10638   *) Anonymous authentication module improvements.
10639
10640   *) MSQL authentication module improvements.
10641
10642   *) Status module design improved - output now table-based. [Ben Laurie]
10643
10644   *) htdigest utility included for use with digest authentication
10645      module.
10646
10647   *) mod_negotiation: Accept values with wildcards to be treated with
10648      less priority than those without wildcards at the same quality
10649      value. [Alexei Kosut]
10650
10651   *) Bugs which were fixed:
10652         a) numerous mod_proxy bugs
10653         b) CGI early-termination bug [Ben Laurie]
10654         c) Keepalives not working with virtual hosts
10655         d) RefererIgnore problems
10656         e) closing fd's twice in mod_include (causing core dumps on
10657            Linux and elsewhere).
10658
10659 Changes with Apache 1.1b2
10660
10661   *) Bugfixes:
10662         a) core dumps in mod_digest
10663         b) truncated hostnames/ip address in the logs
10664         c) relative URL's in mod_imap map files
10665
10666 Changes with Apache 1.1b1
10667
10668   *) Not listed. See <http://www.apache.org/docs/new_features_1_1.html>
10669
10670 Changes with Apache 1.0.3
10671
10672   *) Internal redirects which occur in mod_dir.c now preserve the
10673      query portion of a request (the bit after the question mark).
10674      [Adam Sussman]
10675
10676   *) Escape active characters '<', '>' and '&' in html output in
10677      directory listings, error messages and redirection links.
10678      [David Robinson]
10679
10680   *) Apache will now work with LynxOS 2.3 and later [Steven Watt]
10681
10682   *) Fix for POSIX compliance in waiting for processes in alloc.c.
10683      [Nick Williams]
10684
10685   *) setsockopt no longer takes a const declared argument [Martijn Koster]
10686
10687   *) Reset timeout timer after each successful fwrite() to the network.
10688      This patch adds a reset_timeout() procedure that is called by
10689      send_fd() to reset the timeout ever time data is written to the net.
10690      [Nathan Schrenk]
10691
10692   *) timeout() signal handler now checks for SIGPIPE and reports
10693      lost connections in a more user friendly way. [Rob Hartill]
10694
10695   *) Location of the "scoreboard" file which used to live in /tmp is
10696      now configurable (for OSes that can't use mmap) via ScoreBoardFile
10697      which works similar to PidFile (in httpd.conf) [Rob Hartill]
10698
10699   *) Include sys/resource.h in the correct place for SunOS4 [Sameer Parekh]
10700
10701   *) the pstrcat call in mod_cookies.c didn't have an ending NULL,
10702      which caused a SEGV with cookies enabled
10703
10704   *) Output warning when MinSpareServers is set to <= 0 and change it to 1
10705      [Rob Hartill]
10706
10707   *) Log the UNIX textual error returned by some system calls, in
10708      particular errors from accept() [David Robinson]
10709
10710   *) Add strerror function to util.c for SunOS4 [Randy Terbush]
10711
10712 Changes with Apache 1.0.2
10713
10714   *) patch to get Apache compiled on UnixWare 2.x, recommended as
10715      a temporary measure, pending rewrite of rfc931.c. [Chuck Murcko]
10716
10717   *) Fix get_basic_auth_pw() to set the auth_type of the request.
10718      [David Robinson]
10719
10720   *) past changes to http_config.c to only use the
10721      setrlimit function on systems defining RLIMIT_NOFILE
10722      broke the feature on SUNOS4. Now defines HAVE_RESOURCE
10723      for SUNOS and prototypes the needed functions.
10724
10725   *) Remove uses of MAX_STRING_LEN/HUGE_STRING_LEN from several routines.
10726      [David Robinson]
10727
10728   *) Fix use of pointer to scratch memory. [Cliff Skolnick]
10729
10730   *) Merge multiple headers from CGI scripts instead of taking last
10731      one. [David Robinson]
10732
10733   *) Add support for SCO 5. [Ben Laurie]
10734
10735 Changes with Apache 1.0.1
10736
10737   *) Silence mod_log_referer and mod_log_agent if not configured
10738      [Randy Terbush]
10739
10740   *) Recursive includes can occur if the client supplies PATH_INFO data
10741      and the server provider uses relative links; as file.html
10742      relative to /doc.shtml/pathinfo is /doc.shtml/file.html. [David Robinson]
10743
10744   *) The replacement for initgroups() did not call {set,end}grent(). This
10745      had two implications: if anything else used getgrent(), then
10746      initgroups() would fail, and it was consuming a file descriptor.
10747      [Ben Laurie]
10748
10749   *) On heavily loaded servers it was possible for the scoreboard to get
10750      out of sync with reality, as a result of a race condition.
10751      The observed symptoms are far more Apaches running than should
10752      be, and heavy system loads, generally followed by catastrophic
10753      system failure. [Ben Laurie]
10754
10755   *) Fix typo in license. [David Robinson]
10756
10757 Changes with Apache 1.0.0                                        23 Nov 1995
10758
10759   *) Not listed. See <http://www.apache.org/docs/new_features_1_0.html>
10760
10761 Changes with Apache 0.8.16                                       05 Nov 1995
10762
10763   *) New man page for 'httpd' added to support directory [David Robinson]
10764
10765   *) .htgroup files can have more than one line giving members for a
10766      given group (each must have the group name in front), for NCSA
10767      back-compatibility [Robert Thau]
10768
10769   *) Mutual exclusion around accept() is on by default for SVR4 systems
10770      generally, since they generally can't handle multiple processes in
10771      accept() on the same socket.  This should cure flaky behavior on
10772      a lot of those systems.  [David Robinson]
10773
10774   *) AddType, AddEncoding, and AddLanguage directives take multiple
10775      extensions on a single command line [David Robinson]
10776
10777   *) UserDir can be disabled for a given virtual host by saying
10778      "UserDir disabled" in the <VirtualHost> section --- it was a bug
10779      that this didn't work.  [David Robinson]
10780
10781   *) Compiles on QNX [Ben Laurie]
10782
10783   *) Corrected parsing of ctime time format [David Robinson]
10784
10785   *) httpd does a perror() before exiting if it can't log its pid
10786      to the PidFile, to make diagnosing the error a bit easier.
10787      [David Robinson]
10788
10789   *) <!--#include file="..."--> can no longer include files in the
10790      parent directory, for NCSA back-compatibility.  [David Robinson]
10791
10792   *) '~' is *not* escaped in URIs generated for directory listings
10793      [Roy Fielding]
10794
10795   *) Eliminated compiler warning in the imagemap module [Randy Terbush]
10796
10797   *) Fixed bug involving handling URIs with escaped %-characters
10798      in redirects [David Robinson]
10799
10800 Changes with Apache 0.8.15                                       14 Oct 1995
10801
10802   *) Switched to new, simpler license
10803
10804   *) Eliminated core dumps with improperly formatted DBM group files [Mark Cox]
10805
10806   *) Don't allow requests for ordinary files to have PATH_INFO [Ben Laurie]
10807
10808   *) Reject paths containing %-escaped '%' or null characters [David Robinson]
10809
10810   *) Correctly handles internal redirects to files with names containing '%'
10811      [David Robinson]
10812
10813   *) Repunctuated some error messages [Aram Mirzadeh, Andrew Wilson]
10814
10815   *) Use geteuid() rather than getuid() to see if we have root privilege,
10816      so that server correctly resets privilege if run setuid root.  [Andrew
10817      Wilson]
10818
10819   *) Handle ftp: and telnet: URLs correctly in imagemaps (built-in module)
10820      [Randy Terbush]
10821
10822   *) Fix relative URLs in imagemap files [Randy Terbush]
10823
10824   *) Somewhat better fix for the old "Alias /foo/ /bar/" business
10825      [David Robinson]
10826
10827   *) Don't repeatedly open the ErrorLog if a bunch of <VirtualHost>
10828      entries all name the same one. [David Robinson]
10829
10830   *) Fix directory listings with filenames containing unusual characters
10831      [David Robinson]
10832
10833   *) Better URI-escaping for generated URIs in directories with filenames
10834      containing unusual characters [Ben Laurie]
10835
10836   *) Fixed potential FILE* leak in http_main.c [Ben Laurie]
10837
10838   *) Unblock alarms on error return from spawn_child() [David Robinson]
10839
10840   *) Sample Config files have extra note for SCO users [Ben Laurie]
10841
10842   *) Configuration has note for HP-UX users [Rob Hartill]
10843
10844   *) Eliminated some bogus Linux-only #defines in conf.h [Aram Mirzadeh]
10845
10846   *) Nuked bogus #define in httpd.h [David Robinson]
10847
10848   *) Better test for whether a system has setrlimit() [David Robinson]
10849
10850   *) Calls update_child_status() after reopen_scoreboard() [David Robinson]
10851
10852   *) Doesn't send itself SIGHUP on startup when run in the -X debug-only mode
10853      [Ben Laurie]
10854
10855 Changes with Apache 0.8.14                                       19 Sep 1995
10856
10857   *) Compiles on SCO ODT 3.0 [Ben Laurie]
10858
10859   *) AddDescription works (better) [Ben Laurie]
10860
10861   *) Leaves an intelligible error diagnostic when it can't set group
10862      privileges on standalone startup [Andrew Wilson]
10863
10864   *) Compiles on NeXT again --- the 0.8.13 RLIMIT patch was failing on
10865      that machine, which claims to be BSD but does not support RLIMIT.
10866      [Randy Terbush]
10867
10868   *) gcc -Wall no longer complains about an unused variable when util.c
10869      is compiled with -DMINIMAL_DNS [Andrew Wilson]
10870
10871   *) Nuked another compiler warning for -Wall on Linux [Aram Mirzadeh]
10872
10873 Changes with Apache 0.8.13                                       07 Sep 1995
10874
10875   *) Make IndexIgnore *work* (ooops) [Jarkko Torppa]
10876
10877   *) Have built-in imagemap code recognize & honor Point directive [James
10878      Cloos]
10879
10880   *) Generate cleaner directory listings in directories with a mix of
10881      long and short filenames [Rob Hartill]
10882
10883   *) Properly initialize dynamically loaded modules [Royston Shufflebotham]
10884
10885   *) Properly default ServerName for virtual servers [Robert Thau]
10886
10887   *) Rationalize handling of BSD in conf.h and elsewhere [Randy Terbush,
10888      Paul Richards and a cast of thousands...]
10889
10890   *) On self-identified BSD systems (we don't try to guess any more),
10891      allocate a few extra file descriptors per virtual host with setrlimit,
10892      if we can, to avoid running out. [Randy Terbush]
10893
10894   *) Write 22-character lock file name into buffer with enough space
10895      on startup [Konstantin Olchanski]
10896
10897   *) Use archaic setpgrp() interface on NeXT, which requires it [Brian
10898      Pinkerton]
10899
10900   *) Suppress -Wall warning by casting const away in util.c [Aram Mirzadeh]
10901
10902   *) Suppress -Wall warning by initializing variable in negotiation code
10903      [Tobias Weingartner]
10904
10905 Changes with Apache 0.8.12                                       31 Aug 1995
10906
10907   *) Doesn't pause three seconds after including a CGI script which is
10908      too slow to die off (this is done by not even trying to kill off
10909      subprocesses, including the SIGTERM/pause/SIGKILL routine, until
10910      after the entire document has been processed).  [Robert Thau]
10911
10912   *) Doesn't do SSI if Options Includes is off.  (Ooops).  [David Robinson]
10913
10914   *) Options IncludesNoExec allows inclusion of at least text/* [Roy Fielding]
10915
10916   *) Allows .htaccess files to override <Directory> sections naming the
10917      same directory [David Robinson]
10918
10919   *) Removed an efficiency hack in sub_req_lookup_uri which was
10920      causing certain extremely marginal cases (e.g., ScriptAlias of a
10921      *particular* index.html file) to fail.  [David Robinson]
10922
10923   *) Doesn't log an error when the requested URI requires
10924      authentication, but no auth header line was supplied by the
10925      client; this is a normal condition (the client doesn't no auth is
10926      needed here yet).  [Robert Thau]
10927
10928   *) Behaves more sanely when the name server loses its mind [Sean Welch]
10929
10930   *) RFC931 code compiles cleanly on old BSDI releases [Randy Terbush]
10931
10932   *) RFC931 code no longer passes out name of prior clients on current
10933      requests if the current request came from a server that doesn't
10934      do RFC931.  [David Robinson]
10935
10936   *) Configuration script accepts "Module" lines with trailing whitespace.
10937      [Robert Thau]
10938
10939   *) Cleaned up compiler warning from mod_access.c [Robert Thau]
10940
10941   *) Cleaned up comments in mod_cgi.c [Robert Thau]
10942
10943 Changes with Apache 0.8.11                                       24 Aug 1995
10944
10945   *) Wildcard <Directory> specifications work.  [Robert Thau]
10946
10947   *) Doesn't loop for buggy CGI on Solaris [Cliff Skolnick]
10948
10949   *) Symlink checks (FollowSymLinks off, or SymLinkIfOwnerMatch) always check
10950      the file being requested itself, in addition to the directories leading
10951      up to it. [Robert Thau]
10952
10953   *) Logs access failures due to symlink checks or invalid client address
10954      in the error log [Roy Fielding, Robert Thau]
10955
10956   *) Symlink checks deal correctly with systems where lstat of
10957      "/path/to/some/link/" follows the link.  [Thau, Fielding]
10958
10959   *) Doesn't reset DirectoryIndex to 'index.html' when
10960      other directory options are set in a .htaccess file.  [Robert Thau]
10961
10962   *) Clarified init code and nuked bogus warning in mod_access.c
10963      [Florent Guillaume]
10964
10965   *) Corrected several directives in sample srm.conf
10966      --- includes corrections to directory indexing icon-related directives
10967      (using unknown.gif rather than unknown.xbm as the DefaultIcon, doing
10968      icons for encodings right, and turning on AddEncoding by default).
10969      [Roy Fielding]
10970
10971   *) Corrected descriptions of args to AddIcon and AddAlt in command table
10972      [James Cloos]
10973
10974   *) INSTALL & README mention "contributed modules" directory [Brian
10975      Behlendorf]
10976
10977   *) Fixed English in the license language...  "for for" --> "for".
10978      [Roy Fielding]
10979
10980   *) Fixed ScriptAlias/Alias interaction by moving ScriptAlias handling to
10981      mod_alias.c, merging it almost completely with handling of Alias, and
10982      adding a 'notes' field to the request_rec which allows the CGI module
10983      to discover whether the Alias module has put this request through
10984      ScriptAlias (which it needs to know for back-compatibility, as the old
10985      NCSA code did not check Options ExecCGI in ScriptAlias directories).
10986      [Robert Thau]
10987
10988 Changes with Apache 0.8.10                                       18 Aug 1995
10989
10990   *) AllowOverride applies to the named directory, and not just
10991      subdirectories.  [David Robinson]
10992
10993   *) Do locking for accept() exclusion (on systems that need it)
10994      using a special file created for the purpose in /usr/tmp, and
10995      not the error log; using the error log causes real problems
10996      if it's NFS-mounted; this is known to be the cause of a whole
10997      lot of "server hang" problems with Solaris.  [David Robinson;
10998      thanks to Merten Schumann for help diagnosing the problem].
10999
11000 Changes with Apache 0.8.9                                        12 Aug 1995
11001
11002   *) Compiles with -DMAXIMUM_DNS ---- ooops! [Henrik Mortensen]
11003
11004   *) Nested includes see environment variables of the including document,
11005      for NCSA bug-compatibility (some sites have standard footer includes
11006      which try to print out the last-modified date).  [Eric Hagberg/Robert
11007      Thau]
11008
11009   *) <!--exec cgi="/some/uri/here"--> always treats the item named by the
11010      URI as a CGI script, even if it would have been treated as something
11011      else if requested directly, for NCSA back-compatibility.  (Note that
11012      this means that people who know the name of the script can see the
11013      code just by asking for it).  [Robert Thau]
11014
11015   *) New version of dbmmanage script included in support directory as
11016      dbmmanage.new.
11017
11018   *) Check if scoreboard file couldn't be opened, and say so, rather
11019      then going insane [David Robinson]
11020
11021   *) POST to CGI works on A/UX [Jim Jagielski]
11022
11023   *) AddIcon and AddAlt commands work properly [Rob Hartill]
11024
11025   *) NCSA server push works properly --- the Arena bug compatibility
11026      workaround, which broke it, is gone (use -DARENA_BUG_WORKAROUND
11027      if you still want the workaround).  [Rob Hartill]
11028
11029   *) If client didn't submit any Accept-encodings, ignore encodings in
11030      content negotiation.  (NB this will all have to be reworked anyway
11031      for the new HTTP draft).  [Florent Guillaume]
11032
11033   *) Don't dump core when trying to log timed-out requests [Jim Jagielski]
11034
11035   *) Really honor CacheNegotiatedDocs [Florent Guillaume]
11036
11037   *) Give Redirect priority over Alias, for NCSA bug compatibility
11038      [David Robinson]
11039
11040   *) Correctly set PATH_TRANSLATED in all cases from <!--#exec cmd=""-->,
11041      paralleling earlier bug fix for CGI [David Robinson]
11042
11043   *) If DBM auth is improperly configured, report a server error and don't
11044      dump core.
11045
11046   *) Deleted FCNTL_SERIALIZED_ACCEPTS from conf.h entry for A/UX;
11047      it seems to work well enough without it (even in a 10 hits/sec
11048      workout), and the overhead for the locking under A/UX is
11049      alarmingly high (though it is very low on other systems).
11050      [Eric Hagberg, Jim Jagielski]
11051
11052   *) Fixed portability problems with mod_cookies.c [Cliff Skolnick]
11053
11054   *) Further de-Berklize mod_cookies.c; change the bogus #include.  [Brian
11055      Behlendorf/Eric Hagberg]
11056
11057   *) More improvements to default Configuration for A/UX [Jim Jagielski]
11058
11059   *) Compiles clean on NEXT [Rob Hartill]
11060
11061   *) Compiles clean on SGI [Robert Thau]
11062
11063 Changes with Apache 0.8.8                                        08 Aug 1995
11064
11065   *) SunOS library prototypes now never included unless explicitly
11066      requested in the configuration (via -DSUNOS_LIB_PROTOTYPES);
11067      people using GNU libc on SunOS are screwed by prototypes for the
11068      standard library.
11069
11070      (Those who wish to compile clean with gcc -Wall on a standard
11071      SunOS setup need the prototypes, and may obtain them using
11072      -DSUNOS_LIB_PROTOTYPES.  Those wishing to use -Wall on a system
11073      with nonstandard libraries are presumably competent to make their
11074      own arrangements).
11075
11076   *) Strips trailing '/' characters off both args to the Alias command,
11077      to make 'Alias /foo/ /bar/' work.
11078
11079 Changes with Apache 0.8.7                                        03 Aug 1995
11080
11081   *) Don't hang when restarting with a child from 'TransferLog "|..."' running
11082      [reported by David Robinson]
11083
11084   *) Compiles clean on OSF/1 [David Robinson]
11085
11086   *) Added some of the more recent significant changes (AddLanguage stuff,
11087      experimental LogFormat support) to CHANGES file in distribution root
11088      directory
11089
11090 Changes with Apache 0.8.6                                        02 Aug 1995
11091
11092   *) Deleted Netscape reload workaround --- it's in violation of HTTP specs.
11093      (If you actually wanted a conditional GET which bypassed the cache, you
11094      couldn't get it). [Reported by Roy Fielding]
11095
11096   *) Properly terminate headers on '304 Not Modified' replies to conditional
11097      GETs --- no browser we can find cares much, but the CERN proxy chokes.
11098      [Reported by Cliff Skolnick; fix discovered independently by Rob Hartill]
11099
11100   *) httpd -v doesn't call itself "Shambhala".  [Reported by Chuck Murcko]
11101
11102   *) SunOS lib-function prototypes in conf.h conditionalized on __GNUC__,
11103      not __SUNPRO_C (they're needed to quiet gcc -Wall, but acc chokes on 'em,
11104      and older versions don't set the __SUNPRO_C preprocessor variable).  On
11105      all other systems, these are never used anyway.  [Reported by Mark Cox].
11106
11107   *) Scoreboard file (/tmp/htstatus.*) no longer publically writable.
11108
11109 Changes with Apache 0.8.5                                        01 Aug 1995
11110
11111   *) Added last-minute configurable log experiment, as optional module
11112
11113   *) Correctly set r->bytes_sent for HTTP/0.9 requests, so they get logged
11114      properly.  (One-line fix to http_protocol.c).
11115
11116   *) Work around bogus behavior when reloading from Netscape.
11117      It's Netscape's bug --- for some reason they expect a request with
11118      If-modified-since: to not function as a conditional GET if it also
11119      comes with Pragma: no-cache, which is way out of line with the HTTP
11120      spec (according to Roy Fielding, the redactor).
11121
11122   *) Added parameter to set maximum number of server processes.
11123
11124   *) Added patches to make it work on A/UX.  A/UX is *weird*.  [Eric Hagberg,
11125      Jim Jagielski]
11126
11127   *) IdentityCheck bugfix [Chuck Murcko].
11128
11129   *) Corrected cgi-src/Makefile entry for new imagemap script.  [Alexei Kosut]
11130
11131   *) More sample config file corrections; add extension to AddType for
11132      *.asis, move AddType generic description to its proper place, and
11133      fix miscellaneous typos. [ Alexei Kosut ]
11134
11135   *) Deleted the *other* reference to the regents from the Berkeley
11136      legal disclaimer (everyplace).
11137
11138   *) Nuked Shambhala name from src/README; had already cleaned it out
11139      of everywhere else.
11140
11141 Changes with Apache 0.8.4
11142
11143   *) Changes to server-pool management parms --- renamed current
11144      StartServers to MinSpareServers, created separate StartServers
11145      parameter which means what it says, and renamed MaxServers to
11146      MaxSpareServers (though the old name still works, for NCSA 1.4
11147      back-compatibility).  The old names were generally regarded as
11148      too confusing.  Also altered "docs" in sample config files.
11149
11150   *) More improvements to default config files ---
11151      sample directives (commented out) for XBitHack, BindAddress,
11152      CacheNegotiatedDocs, VirtualHost; decent set of AddLanguage
11153      defaults, AddTypes for send-as-is and imagemap magic types, and
11154      improvements to samples for DirectoryIndex [Alexei Kosut]
11155
11156   *) Yet more improvements to default config files --- changes to
11157      Alexei's sample AddLanguage directives, and sample LanguagePriority
11158      [ Florent Guillaume ]
11159
11160   *) Set config file locations properly if not set in httpd.conf
11161      [ David Robinson ]
11162
11163   *) Don't escape URIs in internal redirects multiple times; don't
11164      do that when translating PATH_INFO to PATH_TRANSLATED either.
11165      [ David Robinson ]
11166
11167   *) Corrected spelling of "Required" in 401 error reports [Andrew Wilson]
11168
11169 Changes with Apache 0.8.3
11170
11171   *) Edited distribution README to *briefly* summarize installation
11172      procedures, and give a pointer to the INSTALL file in the src/
11173      directory.
11174
11175   *) Upgraded imagemap script in cgi-bin to 1.8 version from more
11176      recent NCSA distributions.
11177
11178   *) Bug fix to previous bug fix --- if .htaccess file and <Directory>
11179      exist for the same directory, use both and don't segfault.  [Reported
11180      by David Robinson]
11181
11182   *) Proper makefile dependencies [David Robinson]
11183
11184   *) Note (re)starts in error log --- reported by Rob Hartill.
11185
11186   *) Only call no2slash() after get_path_info() has been done, to
11187      preserve multiple slashes in the PATH_INFO [NCSA compatibility,
11188      reported by Andrew Wilson, though this one is probably a real bug]
11189
11190   *) Fixed mod_imap.c --- relative paths with base_uri referer don't
11191      dump core when Referer is not supplied. [Randy Terbush]
11192
11193   *) Lightly edited sample config files to refer people to our documentation
11194      instead of NCSA's, and to list Rob McCool as *original* author (also
11195      deleted his old, and no doubt non-functional email address).  Would be
11196      nice to have examples of new features...
11197
11198 Changes with Apache 0.8.2                                        19 Jul 1995
11199
11200   *) Added AddLanuage code [Florent Guillaume]
11201
11202   *) Don't say "access forbidden" when a CGI script is not found.  [Mark Cox]
11203
11204   *) All sorts of problems when MultiViews finds a directory.  It would
11205      be nice if mod_dir.c was robust enough to handle that, but for now,
11206      just punt.  [reported by Brian Behlendorf]
11207
11208   *) Wait for all children on restart, to make sure that the old socket
11209      is gone and we can reopen it.  [reported by Randy Terbush]
11210
11211   *) Imagemap module is enabled in default Configuration
11212
11213   *) RefererLog and UserAgentLog modules properly default the logfile
11214      [Randy Terbush]
11215
11216   *) Mark Cox's mod_cookies added to the distribution as an optional
11217      module (commented out in the default Configuration, and noted as
11218      an experiment, along with mod_dld). [Mark Cox]
11219
11220   *) Compiles on ULTRIX (a continuing battle...). [Robert Thau]
11221
11222   *) Fixed nasty bug in SIGTERM handling [reported by Randy Terbush]
11223
11224   *) Changed "Shambhala" to "Apache" in API docs. [Robert Thau]
11225
11226   *) Added new, toothier legal disclaimer. [Robert Thau; copied from BSD
11227      license]
11228
11229 Changes with Apache 0.8.1
11230
11231   *) New imagemap module [Randy Terbush]
11232
11233   *) Replacement referer log module with NCSA-compatible RefererIgnore
11234      [Matthew Gray again]
11235
11236   *) Don't mung directory listings with very long filenames.
11237      [Florent Guillaume]
11238
11239 Changes with Apache 0.8.0 (nee Shambhala 0.6.2)                  16 Jul 1995
11240
11241   *) New config script.  See INSTALL for info.  [Robert Thau]
11242
11243   *) Scoreboard mechanism for regulating the number of extant server
11244      processes.  MaxServers and StartServers defaults are the same as
11245      for NCSA, but the meanings are slightly different.  (Actually,
11246      I should probably lower the MaxServers default to 10).
11247
11248      Before asking for a new connection, each server process checks
11249      the number of other servers which are also waiting for a
11250      connection.  If there are more than MaxServers, it quietly dies
11251      off.  Conversely, every second, the root, or caretaker, process
11252      looks to see how many servers are waiting for a new connection;
11253      if there are fewer than StartServers, it starts a new one.  This
11254      does not depend on the number of server processes already extant.
11255      The accounting is arranged through a "scoreboard" file, named
11256      /tmp/htstatus.*, on which each process has an independent file
11257      descriptor (they need to seek without interference).
11258
11259      The end effect is that MaxServers is the maximum number of
11260      servers on an *inactive* server machine, but more will be forked
11261      off to handle unusually heavy loads (or unusually slow clients);
11262      these will die off when they are no longer needed --- without
11263      reverting to the overhead of full forking operation.  There is a
11264      hard maximum of 150 server processes compiled in, largely to
11265      avoid forking out of control and dragging the machine down.
11266      (This is arguably too high).
11267
11268      In my server endurance tests, this mechanism did not appear to
11269      impose any significant overhead, even after I forced it to put the
11270      scoreboard file on a normal filesystem (which might have more
11271      overhead than tmpfs).  [Robert Thau]
11272
11273   *) Set HTTP_FOO variables for SSI <!--#exec cmd-->s, not just CGI scripts.
11274      [Cliff Skolnick]
11275
11276   *) Read .htaccess files even in directory with <Directory> section.
11277      (Former incompatibility noted on mailing list, now fixed). [Robert
11278      Thau]
11279
11280   *) "HEAD /" gives the client a "Bad Request" error message, rather
11281      than trying to send no body *and* no headers.  [Cliff Skolnick].
11282
11283   *) Don't produce double error reports for some very obscure cases
11284      mainly involving auth configuration (the "all modules decline to
11285      handle" case which is a sure sign of a server bug in most cases,
11286      but also happens when authentication is badly misconfigured).
11287      [Robert Thau]
11288
11289   *) Moved FCNTL_SERIALIZED_ACCEPT defines into conf.h (that's what
11290      it's *for*, and this sort of thing really shouldn't be cluttering
11291      up the Makefile). [Robert Thau]
11292
11293   *) Incidental code cleanups in http_main.c --- stop dragging
11294      sa_client around; just declare it where used.  [Robert Thau]
11295
11296   *) Another acc-related fix.  (It doesn't like const char
11297      in some places...). [Mark Cox]
11298
11299 Changes with Shambhala 0.6.1                                     13 Jul 1995
11300
11301   *) Fixed auth_name-related typos in http_core.c [Brian Behlendorf]
11302      Also, fixed auth typo in http_protocol.c unmasked by this fix.
11303
11304   *) Compiles clean with acc on SunOS [Paul Sutton]
11305
11306   *) Reordered modules in modules.c so that Redirect takes priority
11307      over ScriptAlias, for NCSA bug-compatibility [Rob Hartill] ---
11308      believe it or not, he has an actual site with a ScriptAlias and
11309      a Redirect declared for the *exact same directory*.  Even *my*
11310      compatibility fetish wouldn't motivate me to fix this if the fix
11311      required any effort, but it doesn't, so what the hey.
11312
11313   *) Fixed to properly default several server_rec fields for virtual
11314      servers from the corresponding fields in the main server_rec.
11315      [Cliff Skolnick --- 'port' was a particular irritant].
11316
11317   *) No longer kills off nph- child processes before they are
11318      finished sending output. [Matthew Gray]
11319
11320 Changes with Shambhala 0.6.0                                     10 Jul 1995
11321
11322   *) Two styles of timeout --- hard and soft.  soft_timeout()s just put
11323      the connection to the client in an "aborted" state, but otherwise
11324      allow whatever handlers are running to clean up.  hard_timeout()s
11325      abort the request in progress completely; anything not tied to some
11326      resource pool cleanup will leak.  They're still around because I
11327      haven't yet come up with a more elegant way of handling
11328      timeouts when talking to something that isn't the client.  The
11329      default_handler and the dir_handler now use soft timeouts, largely
11330      so I can test the feature.  [Robert Thau]
11331
11332   *) TransferLog "| my_postprocessor ..." seems to be there.  Note that
11333      the case of log handlers dying prematurely is probably handled VERY
11334      gracelessly at this point, and if the logger stops reading input,
11335      the server will hang.  (It is known to correctly restart the
11336      logging process on server restart; this is (should be!) going through
11337      the same SIGTERM/pause/SIGKILL routine used to ding an errant CGI
11338      script).  [Robert Thau]
11339
11340   *) asis files supported (new module).  [Robert Thau]
11341
11342   *) IdentityCheck code is compiled in, but has not been tested.  (I
11343      don't know anyone who runs identd). [Robert Thau]
11344
11345   *) PATH_INFO and PATH_TRANSLATED are not set unless some real PATH_INFO
11346      came in with the request, for NCSA bug-compatibility. [Robert Thau]
11347
11348   *) Don't leak the DIR * on HEAD request for a directory. [Robert Thau]
11349
11350   *) Deleted the block_alarms() stuff from dbm_auth; no longer necessary,
11351      as timeouts are not in scope. [Robert Thau]
11352
11353   *) quoted-string args in config files now handled correctly (doesn't drop
11354      the last character). [Robert Thau; reported by Randy Terbush]
11355
11356   *) Fixed silly typo in http_main.c which was suddenly fatal in HP-UX.
11357      How the hell did it ever work? [Robert Thau; reported by Rob Hartill]
11358
11359   *) mod_core.c --- default_type returns DEFAULT_TYPE (the compile-time
11360      default default type); the former default default behavior when all
11361      type-checkers defaulted had been a core dump.  [Paul Sutton]
11362
11363   *) Copy filenames out of the struct dirent when indexing
11364      directories.  (On Linux, readdir() returns a pointer to the same
11365      memory area every time).  Fix is in mod_dir.c.  [Paul Sutton]
11366
11367 Changes with Shambhala 0.5.3 [not released]
11368
11369   *) Default response handler notes "file not found" in the error log,
11370      if the file was not found.  [Cliff Skolnick].
11371
11372   *) Another Cliff bug --- "GET /~user" now properly redirects (the userdir
11373      code no longer sets up bogus PATH_INFO which fakes out the directory
11374      handler). [Cliff Skolnick]
11375
11376 Changes with Shambhala 0.5.2                                     06 Jul 1995
11377
11378   *) Changes to http_main.c --- root server no longer plays silly
11379      games with SIGCHLD, and so now detects and replaces dying
11380      children.  Child processes just die on SIGTERM, without taking
11381      the whole process group with them.  Potential problem --- if any
11382      child process refuses to die, we hang in restart.
11383      MaxRequestsPerChild may still not work, but it certainly works
11384      better than it did before this!  [Robert Thau]
11385
11386   *) mod_dir.c bug fixes: ReadmeName and HeaderName
11387      work (or work better, at least); over-long description lines
11388      properly terminated. [Mark Cox]
11389
11390   *) http_request.c now calls unescape_url() more places where it
11391      should [Paul Sutton].
11392
11393   *) More directory handling bugs (reported by Cox)
11394      Parent Directory link is now set correctly. [Robert Thau]
11395
11396 Changes with Shambhala 0.5.1                                     04 Jul 1995
11397
11398   *) Generalized cleanup interface in alloc.c --- any function can be
11399      registered with alloc.c as a cleanup for a resource pool;
11400      tracking of files and file descriptors has been reimplemented in
11401      terms of this interface, so I can give it some sort of a test.
11402      [Robert Thau]
11403
11404   *) More changes in alloc.c --- new cleanup_for_exec() function,
11405      which tracks down and closes all file descriptors which have been
11406      registered with the alloc.c machinery before the server exec()s a
11407      child process for CGI or <!--#exec-->.  CGI children now get
11408      started with exactly three file descriptors open.  Hopefully,
11409      this cures the problem Rob H. was having with overly persistent
11410      CGI connections. [Robert Thau]
11411
11412   *) Mutual exclusion around the accept() in child_main() --- this is
11413      required on at least SGI, Solaris and Linux, and is #ifdef'ed in
11414      by default on those systems only (-DFCNTL_SERIALIZED_ACCEPT).
11415      This uses fcntl(F_SETLK,...) on the error log descriptor because
11416      flock() on that descriptor won't work on systems which have BSD
11417      flock() semantics, including (I think) Linux 1.3 and Solaris.
11418
11419      This does work on SunOS (when the server is idle, only one
11420      process in the pool is waiting on accept()); it *ought* to work
11421      on the other systems. [Robert Thau]
11422
11423   *) FreeBSD and BSDI portability tweaks [Chuck Murcko]
11424
11425   *) sizeof(*sa_client) bugfix from [Rob Hartill]
11426
11427   *) pstrdup(..., NULL) returns NULL, [Randy Terbush]
11428
11429   *) block_alarms() to avoid leaking the DBM* in dbm auth (this should
11430      be unnecessary if I go to the revised timeout-handling scheme).
11431      [Robert Thau]
11432
11433   *) For NCSA bug-compatibility, set QUERY_STRING env var (to a null
11434      string) even if none came in with the request.  [Robert Thau]
11435
11436   *) CHANGES file added to distribution ;-).
11437
11438 Changes with Shambhala 0.4.5
11439
11440   *) mod_dld --- early dynamic loading support [rst]
11441   *) Add wildcard content handlers for XBITHACK; default_hander now
11442      invoked with that mechanism (as a handler hanging off mod_core) [rst]
11443   *) XBITHACK supported as a wildcard content-handler, and 
11444      configurable at run-time (not just at compile time, as in the
11445      "patchy server" releases) [rst]
11446
11447 Changes with Shambhala 0.4.4                                     30 Jun 1995
11448
11449   *) Fixed basic thinkos in mod_dbm_auth.c [rst, reported by Mark Cox]
11450   *) Handle Addtype x/y .z [rst, reported by Cox]
11451
11452 Changes with Shambhala 0.4.3
11453
11454   *) Fixed very dumb bug in mod_alias; "Alias" and "Redirect" are not
11455      synonymous [rst, terbush]
11456
11457 Changes with Shambhala 0.4.1                                     28 Jun 1995
11458
11459   *) First-cut virtual host implementation; some refit in the config
11460      reading code, and log management, was necessary to support this [rst]
11461   *) Sub-pool machinery, originally added to avoid excessive storage
11462      allocation on listings of large directories (which turned out to
11463      be the problem that the 0.3 storage accounting was added to
11464      find).  Subrequests and mod_dir changed to use subpools.  [rst]
11465   *) More memory debugging --- free list consistency checks. [rst]
11466   *) Added err_headers to request_rec, with support elsewhere [rst]
11467   *) Other fixes to minor bugs in mod_dir and mod_includes [rst, terbush]
11468
11469 Changes with Shambhala 0.3                                       19 Jun 1995
11470
11471   *) Switch ONE_PROCESS to a runtime command-line option (-X)
11472   *) Don't compile in mod_ai_backcompat by default
11473   *) Switch name of server from Apache to Shambhala in Makefile
11474   *) Add some accounting routines to track memory usage in the pools,
11475      for debugging
11476
11477 Changes with Shambhala 0.2
11478
11479   *) Set DOCUMENT_ROOT CGI variable
11480   *) Add single-process debugging, as a compile-time option (ONE_PROCESS)
11481   *) Add critical section protection to handling of cleanup structures 
11482      in alloc.c [rst]
11483   *) Significant code reorg within the server core to group related
11484      functions together [rst]
11485   *) Correctly handle clients that hang up before sending any request
11486      [rst]
11487   *) Replace dying child processes. [rst]
11488
11489 Changes with Shambhala 0.1                                       12 Jun 1995
11490
11491    Major rewrite of the pre-existing "patchy server" codebase, by
11492    Robert Thau (rst).  Significant portions of the server code, such
11493    as configuration-file handling and HTTP authentication support,
11494    were ripped out and rewritten from scratch.  Code that was not
11495    completely rewritten was significantly altered.
11496
11497    Major changes with this release include:
11498
11499    *) Introduction of the module API; in request handling, the central 
11500       machinery just dispatches to various modules, which actually do
11501       most of the work.  Configuration handling is similar --- modules
11502       declare their own commands, and the central machinery just
11503       dispatches to them.  
11504
11505       API features from shambhala/0.1 were substantially unchanged in
11506       Apache 1.0 and 1.1.  (1.0 API features not yet present in this
11507       release, such as wildcard handlers and subpools, were added in
11508       subsequent Shambhala releases, and were also generally rst's
11509       work). 
11510
11511    *) This release included the following modules:
11512
11513       mod_access      (access control --- allow and deny directives),
11514       mod_alias       (Alias and Redirect commands),
11515       mod_auth        (straight HTTP authentication, based on flat-files)
11516       mod_auth_dbm    (same, with dbm files)
11517       mod_cgi         (CGI scripts and, in this release, ScriptAlias)
11518       mod_common_log  (CLF access logs; later renamed mod_log_common)
11519       mod_dir         (directory indexing)
11520       mod_include     (server-side includes)
11521       mod_mime        (AddType directives)
11522       mod_negotiation (content negotiation)
11523       mod_userdir     (support for users' public_html directories)
11524
11525       It also included a mod_ai_backcompat, which was a private hack
11526       for back-compatibility with rst's own AI-lab servers.
11527
11528       All of these modules were substantially complete, and functional 
11529       or nearly so (a few, which implemented features not in use at
11530       Thau's site, required patches of a few lines).
11531
11532    *) sub-request machinery, to allow modules to determine how other
11533       modules would assign MIME types to a given file, or optionally
11534       serve its content (this is heavily used by mod_dir, mod_include
11535       and mod_negotiation).
11536
11537    *) Resource pool system for keeping track of memory allocated and
11538       files opened in service of a particular request.  Much of the
11539       code in the modules (when they weren't rewrites) was adjusted to 
11540       replace a pervasive convention of using fixed-size buffers on
11541       the stack with an equally pervasive convention of using memory
11542       allocated with palloc().
11543
11544    *) Reorganization of data structures associated with a given
11545       request to eliminate use of global variables and the troublesome 
11546       unmunge_name function (used in NCSA and early Apache releases to 
11547       attempt to determine the URI which mapped to a given filename
11548       --- a difficult proposition, given that it is easy to produce
11549       setups in which multiple URIs map to the same file).
11550
11551    *) Source files renamed and rearranged
11552
11553    *) Very simple pre-forking behavior --- parent process forked off a 
11554       fixed number of children, and then just waited for SIGHUP.
11555
11556    *) Other more minor changes too numerous to list.
11557
11558    This release included modified versions of a lot of code from the
11559    Apache 0.6.4 public release, plus an early pre-forking patch
11560    codeveloped by Robert Thau and Rob Hartill.
11561
11562 Changes with Apache 0.7.3                                        20 Jun 1995
11563
11564    *) There were a bunch of changes between Apache 0.6.4 and 0.7.3 that
11565       were incorporated by Rob Hartill on the main branch while Robert Thau
11566       worked on the Shambhala rewrite above.  Most were merged into the
11567       Shambala architecture after Apache 0.8.0.
11568
11569 Changes with Apache 0.6.4                                        13 May 1995
11570
11571    *) Patches by Rob Hartill, Cliff Skolnick, Randy Terbush, Robert Thau,
11572       and others.
11573
11574 Changes with Apache 0.5.1                                        10 Apr 1995
11575
11576 Changes with Apache 0.4                                          02 Apr 1995
11577
11578   *) Patches by Brian Behlendorf, Andrew Wilson, Robert Thau,
11579      and Rob Hartill.
11580
11581 Changes with Apache 0.3                                          24 Mar 1995
11582
11583   *) Patches by Robert Thau, David Robinson, Rob Hartill, and
11584      Carlos Varela.
11585
11586 Changes with Apache 0.2                                          18 Mar 1995
11587
11588   *) Based on NCSA httpd 1.3 by Rob McCool and patches by CERT,
11589      Roy Fielding, Robert Thau, Nicolas Pioch, David Robinson,
11590      Brian Behlendorf, Rob Hartill, and Cliff Skolnick.