1 Changes with Apache 2.0.35
3 *) worker, prefork, perchild, beos MPMs: Add -DFOREGROUND switch to
4 cause the Apache parent process to run in the foreground (similar to
5 -DNO_DETACH except that it doesn't switch session ids).
8 *) Added support for Posix semaphore mutex locking (AcceptMutex posixsem)
9 for those platforms that support it. If using the default
10 implementation, this is between pthread and sysvsem in priority.
11 This implies it's the new default for Darwin. [Jim Jagielski]
13 *) AIX: Fix the syntax for setting the LDR_CNTRL and AIXTHREAD_SCOPE
14 environment variables in the envvars file. [Jeff Trawick]
16 *) worker MPM: Don't create a listener thread until we have a worker
17 thread. Otherwise, in situations where we'll have to wait a while
18 to take over scoreboard slots from a previous generation, we'll be
19 accepting connections we can't process yet. [Jeff Trawick]
21 *) Allow worker MPM to build on systems without pthread_kill().
22 [Pier Fumagalli, Jeff Trawick]
24 *) Prevent ap_add_output_filters_by_type from being called in
25 ap_set_content_type if the content-type hasn't changed.
28 *) Performance: implemented the bucket allocator made possible by the
29 API change in 2.0.34. [Cliff Woolley]
31 *) Don't allow initialization to succeed if we can't get a socket
32 corresponding to one of the Listen statements. [Jeff Trawick]
34 Changes with Apache 2.0.34
36 *) Allow all Perchild directives to accept either numerical UID/GID
37 or logical user/group names. [Scott Lamb <slamb@slamb.org>]
39 *) Make Perchild compile cleanly and serve pages again. [Ryan Bloom]
41 *) implement ssl proxy to support ProxyPass / https:// and the
42 SSLProxy* directives [Doug MacEachern]
44 *) Update mod_cgid to not do single-byte socket reads for CGI headers
47 *) Made AB's use of the Host: header rfc2616 compliant
48 by Taisuke Yamada <tai@iij.ad.jp> [Dirk-Willem van Gulik].
50 *) The old, legacy (and unused) code in which the scoreboard was totally
51 and completely contained in a file (SCOREBOARD_FILE) has been
52 removed. This does not affect scoreboards which are *mapped* to
53 files using named-shared-memory. [Jim Jagielski]
55 *) Change bucket brigades API to allow a "bucket allocator" to be
56 passed in at certain points. This allows us to implement freelists
57 so that we can stop using malloc/free so frequently.
58 [Cliff Woolley, Brian Pane]
60 *) Add support for macro expansion within the variable names in
61 <!--#echo--> and <!--#set--> directives [Brian Pane]
63 *) Fix some mod_include segfaults [Cliff Woolley, Brian Pane, Brad Nicholes]
65 *) Update the Redhat Layout to match Redhat version 7. PR BZ-7422
68 *) add compat layer to support RSA SSLC 1.x and 2.x in mod_ssl
69 [Jon Travis, John Barbee, William Rowe, Ryan Bloom, Doug MacEachern]
71 *) Add a new parameter to the quick_handler hook to instruct
72 quick handlers to optionally do a lookup rather than actually
73 serve content. This is the first of several changes required fix
74 several problems with how quick handlers work with subrequests.
77 *) worker MPM: Get MaxRequestsPerChild to work again. [Jeff Trawick]
79 *) [APR-related] The ordering of the default accept mutex method has
80 been changed to better match what's done in Apache 1.3. The ordering
81 is now (highest to lowest): pthread -> sysvsem -> fcntl -> flock.
84 *) Ensure that the build/ directory is created when using VPATH.
87 *) Add some popular types to the mime magic file. PR 7730.
88 [Linus Walleij <triad@df.lth.se>, Justin Erenkrantz]
90 *) Remove the single-byte socket reads for CGI headers [Brian Pane]
92 *) When a proxied site was being served, Apache was replacing
93 the original site Server header with it's own, which is not
94 allowed by RFC2616. Fixed. [Graham Leggett]
96 *) Fix a mod_cgid problem that left daemon processes stranded
97 in some server restart scenarios. [Jeff Trawick]
99 *) Added exp_foo and rel_foo variables to config_vars.mk for
100 all Apache and Autoconf path variables (like --sysconfdir,
101 --sbindir, etc). exp_foo is the "expanded" version, which means
102 that all internal variable references have been interpolated.
103 rel_foo is the same as $exp_foo, only relative to $prefix if they
104 share a common path. [Aaron Bannert]
106 *) Fix some restart/terminate problems in the worker MPM. Don't
107 drop connections during graceful restart. [Jeff Trawick]
109 *) Change the header merging behaviour in proxy, as some headers
110 (like Set-Cookie) cannot be unmerged due to stray commas in
111 dates. [Graham Leggett]
113 *) Be more vocal about what AcceptMutex values we allow, to make
114 us closer to how 1.3 does it. [Jim Jagielski]
116 *) Get nph- CGI scripts working again. PRs 8902, 8907, 9983
119 *) Upgraded PCRE library to latest version 3.9 [Brian Pane]
121 *) Add accessor function to set r->content_type. From now on,
122 ap_rset_content_type() should be used to set r->content_type.
123 This change is required to properly implement the
124 AddOutputFilterByType configuration directive.
125 [Bill Stoddard, Sander Striker, Ryan Bloom]
127 *) Add new M_FOO symbols for the WebDAV/DeltaV methods specified by
128 RFC 3253. Improved the method name/number mapping functions.
131 *) remove sock_enable_linger from connection.c [Ian Holsman]
133 *) Fix for virtual host processing where the requested hostname
134 has a '.' at the end (PR 9187) [Ryan Cruse <ryan@estara.com>]
136 *) mod_dav's APIs for REPORT response handling was changed so that
137 providers can generate the content directly into the output filter
138 stack, rather than buffering the response into memory. [Greg Stein]
140 *) Fix a hang condition with graceful restart and prefork MPM
141 in the situation where MaxClients is very high but
142 much fewer servers are actually started at the time of the
143 restart. [Jeff Trawick]
145 *) Small performance fixes for mod_include [Brian Pane]
147 *) Performance improvement for the error logger [Brian Pane]
149 *) Change configure so that Solaris 8 and above have
150 SINGLE_LISTEN_UNSERIALIZED_ACCEPT defined by default.
151 according to sun people solaris 8+ doesn't have a thundering
152 herd problem [Ian Holsman]
154 *) Allow URIs specifying CGI scripts to include '/' at the end
155 (e.g., /cgi-bin/printenv/) on AIX and Solaris (and other OSs
156 which ignore '/' at the end of the names of non-directories).
157 PR 10138 [Jeff Trawick]
159 *) implement SSLSessionCache shmht and shmcb based on apr_rmm and
160 apr_shm. [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
162 *) Fix apxs -g handling. Move config_vars.mk from the top build
163 directory to the build directory. PR 10163 [Jeff Trawick]
165 *) Fix some mod_include problems which broke evaluation of some
166 expressions. PR 10108 [Jeff Trawick]
168 *) Fix the calculation of request time in mod_status. [Stas Bekman]
170 *) Fix the calculation of thread_num in the worker score structure.
173 *) Use apr_atomic operations in managing the mod_mem_cache
174 cache_objects for SMP scalability. (see USE_ATOMICS
175 preprocessor directive in mod_file_cache)
178 *) Add filehandle caching to mod_mem_cache. (see CACHE_FD
179 preprocessor directive in mod_file_cache)
182 *) Implement prototype mod_disk_cache for use with mod_cache.
185 *) Add a missing manualdir entry in the Debian config.layout.
186 [Thom May <thom@planetarytramp.net>]
188 *) Stop installing libtool for APR and tell APR where it should place
189 its copy of libtool (via our installbuildpath layout variable).
192 *) New directive ProxyIOBufferSize. Sets the size of the buffer used
193 when reading from a remote HTTP server in proxy. [Graham Leggett]
195 *) Modify receive/send loop in proxy_http and proxy_ftp so that
196 should it be necessary, the remote server socket is closed before
197 transmitting the last buffer (set by ProxyIOBufferSize) to the
198 client. This prevents the backend server from being forced to hang
199 around while the last few bytes are transmitted to a slow client.
200 Fix the case where no error checking was performed on the final
201 brigade in the loop. [Graham Leggett]
203 *) Scrap CacheMaxExpireMin and CacheDefaultExpireMin. Change
204 CacheMaxExpire and CacheDefaultExpire to use seconds rather than
205 hours. [Graham Leggett, Bill Stoddard]
207 *) New Directive SSIUndefinedEcho. to change the '(none)' echoed
208 for a undefined variable. [Ian Holsman]
210 *) Proxy HTTP and CONNECT: Keep trying other addresses from the DNS
211 when we can't get a socket in the specified address family. We may
212 have gotten back an IPv6 address first and yet our system is not
213 configured to allow IPv6 sockets. [Jeff Trawick]
215 *) Be more careful about recursively removing CVS directories. Make
216 sure that we aren't cd'ing to their home directory first. PR: 9993
217 [Aaron Bannert, James LewisMoss <dres@lewismoss.net>]
219 *) Add a missing errordir entry in the Debian config.layout. PR: 10067
220 [Dirk-Jan Faber <dirk-jan@selwerd.nl>, Aaron Bannert,
221 Thom May <thom@planetarytramp.net>]
223 *) Rename the filter ordering priorities. The recent filtering fixes
224 have showcased problems with their usage. Therefore, we need to
225 rename them to increase the clarity. (CONTENT->RESOURCE,
226 HTTP_HEADER->CONTENT_SET/PROTOCOL) [Justin Erenkrantz]
228 Changes with Apache 2.0.33
230 *) Fix a problem in the new --enable-layout functionality where
231 it wouldn't allow overrides from variables like --prefix,
232 --bindir, etc. [Thom May <thom@planetarytramp.net>]
234 *) Fix a bug in the core input filter for AP_MODE_EXHAUSTIVE. It
235 no longer hangs around waiting for the socket to close before
236 returning exhaustive data. [Aaron Bannert]
238 *) rename apr_exploded_time_t to apr_time_exp_t (as per renames pending)
239 [Thom May <thom@planetarytramp.net>]
241 *) Change mod_ssl to always do a full startup/teardown on restarts.
242 this allows mod_ssl to be added to a server that is already
243 running and makes it possible to add/change certs/keys after the
244 server has been started. [Doug MacEachern]
246 *) Introduce PassPhraseDialog "|/path/to/pipe" mechanism to mod_ssl.
247 This pipe must be a bidirectional 'console' style relay, which
248 mod_ssl prints all prompts to the pipe's stdin, and reads the
249 passphrases from the pipe's stdout. [William Rowe]
251 *) Fix bug where --sysconfdir and --localstatedir were being
252 ignored. [Thom May <thom@planetarytramp.net>, Aaron Bannert]
255 *) Fix --enable-layout to work again. Caution: When specifying
256 --enable-layout, common arguments like --prefix, --exec-prefix,
257 etc. will be ignored and the settings from the layout will be
258 used instead. [Thom May <thom@planetarytramp.net>, Aaron Bannert]
261 *) New Directive for mod_proxy: ProxyRemoteMatch. This provides
262 regex pattern matching for the determination of which requests
263 to use the remote proxy for. [Jim Jagielski]
265 *) Fix CustomLog bytes-sent with HTTP 0.9. [Justin Erenkrantz]
267 *) Prevent Apache from ignoring SIGHUP due to some lingering 1.3
268 cruft in piped logs and rewritemap child processes.
271 *) All instances of apr_lock_t have been removed and converted
272 to one of the following new lock APIs: apr_thread_mutex.h,
273 apr_proc_mutex.h, or apr_global_mutex.h. No new code should
274 use the apr_lock.h API, as the old API will soon be deprecated.
277 *) Merged in changes to mod_ssl up through 2.8.7-1.3.23.
278 [Ralf S. Engelschall, Cliff Woolley]
280 *) mod-include: make it handle flush'es and fix the 'false-alarm'
281 [Justin Erenkrantz, Brian Pane, Ian Holsman]
283 *) ap_get_*_filter_handle() functions to allow 3rd party modules
284 to lookup filter handles so they can bypass the filter name
285 lookup when adding filters to a request (via ap_add_*_filter_handle())
286 [Ryan Morgan <rmorgan@covalent.net>]
288 *) Fix for multiple file buckets on Win32, where the first file
289 bucket would cause the immediate closure of the socket on any
290 non-keepalive requests. [Ryan Morgan <rmorgan@covalent.net>]
292 *) Correct Win32 failure of mmap of a segment beyond start of the
293 file; fixes large SSL and similar transfers. [William Rowe]
296 *) Implement apr_proc_detach changes and allow -DNO_DETACH in the
297 multi-process mode to not "daemonize" while detaching from the
298 controlling terminal. This is necessary for Apache to work with
299 process-management tools like AIX's "System Resource Controller"
300 as well as Dan Bernstein's "daemontools".
301 [Jos Backus <josb@cncdsl.com>, Aaron Bannert]
303 *) Convert mod_auth_digest to use the new apr_global_mutex_t
304 type. [Aaron Bannert]
306 *) fix bug in mod-include where it wouldn't send a unmatched
307 part if it was at the end of a bucket [Ian Holsman]
309 *) worker MPM: Improve logging of errors with the interface between
310 the listener thread and worker threads. [Jeff Trawick]
312 *) Some browsers ignore cookies that have been merged into a
313 single Set-Cookie header. Set-Cookie and Set-Cookie2 headers
314 are now unmerged in the http proxy before being sent to the
315 client. [Graham Leggett]
317 *) Fix a problem with proxy where each entry of a duplicated
318 header such as Set-Cookie would overwrite and obliterate the
319 previous value of the header, resulting in multiple header
320 values (like cookies) going missing.
321 [Graham Leggett, Joshua Slive]
323 *) Add the server-limit and thread-limit values to the scoreboard
324 for the sake of third-party applications.
325 [Adam Sussman <myddryn@vishnu.vidya.com>]
327 *) Fix segfault when proxy recieves an invalid HTTP response [Ian Holsman]
329 *) OS/390: Get make install to properly copy DSO modules.
332 *) Win32: Fix bug in mod_status with displaying "Restart Time"
336 *) Fix IPv6 name-based virtual hosts. [Jeff Trawick]
338 *) Introduce AddOutputFilterByType directive. [Justin Erenkrantz]
340 *) Fix DEBUG_CGI support in mod_cgi. PR 9670, 9671.
341 [David MacKenzie <djm@pix.net>]
343 *) Fix incorrect check for script_in in mod_cgi. PR 9669.
344 [David MacKenzie <djm@pix.net>]
346 *) Fix segfault and display error when SSLMutex file can not be
347 created. [Adam Sussman <myddryn@vishnu.vidya.com>]
349 *) Add reference counting to mod_mem_cache cache objects to
350 better manage removing objects from the cache.
353 *) Change the verbage on the ScoreBoardFile in our default configs.
354 Also change the default to be commented out (unspecified) so we
355 get anonymous shared memory by default. [Aaron Bannert]
357 *) Implement new ScoreBoardFile directive logic. This affects how
358 we create the scoreboard's shared memory segment. If the directive
359 is present, a name-based segment is created. If the directive is
360 not present, first an anonymous segment is created, and if that
361 fails, a name-based segment is created from a file of the name
362 DEFAULT_SCOREBOARD. This gives third-party applications the
363 ability to access our scoreboard. [Aaron Bannert]
365 *) Allow mod_deflate to work with non-GET requests and properly send
366 Content-Lengths. [Sander Striker <striker@apache.org>]
368 *) Fix ap_directory_merge() to correctly merge configs when there is
369 no <Directory /> block. [Justin Erenkrantz, William Rowe]
371 *) Remove spurious debug messsages that are normal under HTTP
372 keep-alive logic. [Jeff Trawick, Justin Erenkrantz]
374 *) Fix a bug in mod_cgid that would prevent proper shutdown death
375 of the cgid process. [Aaron Bannert]
377 *) Add signal handling back in to the worker MPM for the one_process
378 (-X, -DDEBUG, -DONE_PROCESS) case. [Aaron Bannert]
380 *) Performance: Reuse per-connection transaction pools in the
381 worker MPM, rather than destroying and recreating them. [Brian Pane]
383 *) Remove all signals from the worker MPM's child process. Instead,
384 the parent uses the Pipe of Death for all communication with the
385 child processes. [Ryan Bloom]
387 Changes with Apache 2.0.32
389 *) mod_negotiation: ForceLanguagePriority now uses 'Prefer' as the
390 default if the directive is not specified. This mirrors older
391 behavior without changes to the httpd.conf. [William Rowe]
393 *) Win32: solve the win32 service problems in 2.0.31-alpha, by fixing
394 the service, mpm and logging code, and bugs in apr_file_open_stderr
395 and apr_file_dup2 functions. Win2K/XP services have no handles
396 associated for stdin/out/err, which caused unpredictable behavior
397 in the prior release. [William Rowe, Bill Stoddard]
399 *) Win32: simplify the Application Event Log messages, since there isn't
400 likely to be 'more information in the error log' before an error log
401 has been opened. [William Rowe]
403 *) Win32: substantial cleanup to the mpm_winnt code for legibility and
404 to follow the program flow of other MPMs. [Ryan Bloom, William Rowe]
406 *) Win32: apache -k shutdown now behaves like apache -k stop.
409 *) Fix prefork to not kill the parent if a child hits a resource shortage
410 on accept(). [Greg Ames]
412 *) Fix seg faults that occur when what should be the httpd request line
413 starts with \r\n followed by garbage. [Greg Ames]
415 *) Allow statically linked support binaries with the new
416 --enable-static-support flag, and enable this behavior in
417 the binbuild script. Also add a new --enable-static-htdbm
418 flag. [Aaron Bannert]
420 *) Allow mod_autoindex to serve symlinks if permitted and attempt to
421 do only one stat() call when generating the directory listings.
424 *) Fix resolve_symlink to save the original symlink name if known.
427 *) Be a bit more sane with regard to CanonicalNames. If the user has
428 specified they want to use the CanonicalName, but they have not
429 configured a port with the ServerName, then use the same port that
430 the original request used. [Ryan Bloom and Ken Coar]
432 *) In core_input_filter, check for an empty brigade after
433 APR_BRIGADE_NORMALIZE(). Otherwise, we can get segfaults if a
434 client says it will post some data but we get FIN before any
435 data arrives. [Jeff Trawick]
437 *) Not being able to bind to the socket is a fatal error. We should
438 print an error to the console, and return a non-zero status code.
439 With these changes, all of the Unix MPMs do that correctly.
442 *) suexec: Allow HTTPS and SSL_* environment variables to be passed
443 through to CGI scripts. PR 9163
444 [Brian Reid <breid@customlogic.com>,
445 Zvi Har'El <rl@math.technion.ac.il>]
447 *) binbuild.sh: Make sure that we use the expat from our source
448 tree so that there aren't any surprises on the target machine.
451 *) mod_cgid: Add retry logic for when the daemon can't fork fast
452 enough to keep up with new requests. Start using
453 HTTP_SERVER_UNAVAILABLE instead of HTTP_INTERNAL_SERVER_ERROR
454 when we can't talk to the daemon. [Jeff Trawick]
456 *) apxs: LTFLAGS envvar can override default libtool options. Try
457 "LTFLAGS=' ' apxs -c mod_foo.c" to see what libtool does under
458 the covers. [Jeff Trawick]
460 *) The Location: response header field, used for external
461 redirect, *must* be an absoluteURI. The Redirect directive
462 tested for that, but RedirectMatch didn't -- it would allow
463 almost anything through. Now it will try to turn an abs_path
464 into an absoluteURI, but it will correctly varf like Redirect
465 if the final redirection target isn't an absoluteURI. [Ken Coar]
467 Changes with Apache 2.0.31
469 *) Create the scoreboard (in the parent) in a global pool context,
470 so it survives graceful restarts. This fixes a SEGV during
471 graceful restarts. [Aaron Bannert]
473 *) Add a timeout option to the proxy code 'ProxyTimeout'
476 *) FTP directory listings are now always retrieved in ASCII mode.
477 The FTP proxy properly escapes URI's and HTML in the generated
478 listing, and escapes the path components when talking to the FTP
479 server. It is now possible to browse the root directory by using
480 a url like: ftp://user@host/%2f/ (ported from apache_1.3.24)
481 Also, the last path component may contain wildcard characters
482 '*' and '?', and if they do, a directory listing is created instead
483 of a file retrieval. Example: ftp://user@host/httpd/server/*.c
486 *) Added single-listener unserialized accept support to the
487 worker MPM [Brian Pane]
489 *) New Directive for mod_proxy: 'ProxyPreserveHost'. This passes
490 the incoming host header through to the proxied server
491 [Geoff <g.russell@ieee.org>]
493 *) New Directive Option for ProxyPass. It now can block a location
494 from being proxied [Jukka Pihl <jukka.pihl@entirem.com>]
496 *) Don't let the default handler try to serve a raw directory. At
497 best you get gibberish. Much worse things can happen depending
498 on the OS. [Jeff Trawick]
500 *) Change the pre_config hook to return a value. Modules can now emit
501 an error message and then cause the server to quit gracefully during
502 startup. This required a bump to the MMN. [Aaron Bannert]
504 *) Fix some unix socket descriptor leaks in the handler side of
505 mod_cgid (the part that runs in the server process). Whack a
506 silly "close(-1)" in the handler too. [Jeff Trawick]
508 *) Change the pre_mpm hook to return a value, so that scoreboard
509 init errors percolate up to code that knows how to exit
510 cleanly. This required a bump to the MMN. [Jeff Trawick]
512 *) Add the socket back to the conn_rec and remove the create_connection
513 hook. The create_connection hook had a design flaw that did not
514 allow creating connections based on vhost info. [Bill Stoddard]
516 *) Fixed PATH_INFO and QUERY_STRING from mod_negotiation results.
517 Resolves the common case of using negotation to resolve the request
518 /script/foo for /script.cgi/foo. [William Rowe]
520 *) Added new functions ap_add_(input|output)_filter_handle to
521 allow modules to bypass the usual filter name lookup when
522 adding hard-coded filters to a request [Brian Pane]
524 *) caching should now work on subrequests (still very experimental)
527 *) The Win32 mpm_winnt now has a shared scoreboard. [William Rowe]
529 *) Change ap_get_brigade prototype to use apr_off_t instead of apr_off_t*.
532 *) Refactor ap_rgetline so that it does not use an internal brigade.
533 Change ap_rgetline's prototype to return errors. [Justin Erenkrantz]
535 *) Remove mod_auth_db. [Justin Erenkrantz]
537 *) Do not install unnecessary pcre headers like config.h and internal.h.
538 [Joe Orton <joe@manyfish.co.uk>]
540 *) Change in quick_hanlder behavior for subrequests. it now passes DONE
541 (as it does for a normal request). quick_handled sub-requests now work
542 in mod-include [Ian Holsman]
544 *) Change SUBREQ_CORE so that it is a 'HTTP_HEADER' filter instead of
545 'CONTENT' one, as it needs to run AFTER all content headers
547 *) Rename BeOS MPM directive RequestsPerThread to MaxRequestsPerThread.
550 *) Split out blocking from the mode in the input filters.
553 *) Fix a segfault in mod_include. [Justin Erenkrantz, Jeff Trawick]
555 *) Cause Win32 to capture all child-worker process errors in
556 Apache to the main server error log, until the child can
557 open its own error logs. [William Rowe]
559 *) HPUX 11.*: Do not kill the child process when accept()
560 returns ENOBUFS on HPUX 11.*. (ported from a 1.3 patch
561 by [madhusudan_mathihalli@hp.com])
564 *) Fix a problem in the parsing of the <Proxy foo> directive.
567 *) rewrite of mod_ssl input filter for better performance and less
568 memory usage [Doug MacEachern]
570 *) allow quick_handler to be run on subrequests. [Ian Holsman]
572 *) mod_dav now asks its provider to place content directly into the
573 filter stack when handling a GET request. The mod_dav/provider
574 API has changed, so providers need to be updated. [Greg Stein]
576 *) Clear the output socket descriptor in unixd_accept() to make sure
577 we don't supply a bogus socket to the caller if the accept fails.
578 This caused problems with the worker MPM, which tried to process
579 the returned socket if it was non-NULL. [Brian Pane]
581 *) Move a check for an empty brigade to the start of core input filter
582 to avoid segfaults. [Justin Erenkrantz, Jeff Trawick]
584 *) Add FileETag directive to allow configurable control of what
585 data are used to form ETag values for file-based URIs. MMN
586 bumped to 20020111 because of fields added to the end of
587 the core_dir_config structure. [Ken Coar]
589 *) Fix a segfault in mod_rewrite's logging code caused by passing the
590 wrong config to ap_get_remote_host(). [Jeff Trawick]
592 *) Allow mod_cgid to work from a binary distribution install by
593 using 755 for the permissions on the log directory instead of
596 *) Fixed a segfault that happened during graceful shutdown (or when
597 the httpd ran out of file descriptors) with the worker MPM [Brian Pane]
599 *) Split all Win32 modules [excluding the core components mod_core,
600 mod_so, mod_win32 and the winnt mpm] into individual loadable
601 modules, so the administrator may individually disable the former
602 compiled-in modules by simply commenting out their LoadModule
603 directives. [William Rowe]
605 *) Saved Win32 module authors and porters many future headaches, by
606 duplicating the appropriate .h files such as os.h into the include
607 directory, including in the build tree. [William Rowe]
609 *) mod_ssl adjustments to help with using toolkits other than OpenSSL:
610 Use SSL functions/macros instead of directly dereferencing SSL
611 structures wherever possible.
612 Add type-casts for the cases where functions return a generic pointer.
613 Add $SSL/include to configure search path.
614 [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
616 *) Moved several pointers out of the shared Scoreboard so it is
617 more portable, and will present the vhost name across server
618 generation restarts. [William Rowe]
620 *) Fix SSLPassPhraseDialog exec: and SSLRandomSeed exec:
623 Changes with Apache 2.0.30
625 *) Fix the main bug for FreeBSD and threaded MPM's. There are
626 still issues (see STATUS) but at least the server will now
627 run without crashing the machine.
628 [David Reid, Aaron Bannert, Justin Erenkrantz]
630 *) Fix a typo in mod_deflate's m4 config section.
631 [albert chin (china@thewrittenword.com)]
633 *) Fix a couple of mod_proxy problems forwarding HTTP connections
634 and handling CONNECT:
635 (1) PR #9190 Proxy failed to connect to IPv6 hosts.
636 (2) Proxy failed to connect when the first IP address returned by
637 the resolver was unreachable but a secondary IP address was.
640 *) Fix the module identifer as shown in the docs for various core
641 modules (e.g., the identifer for mod_log_config was previously
642 listed as config_log_module). PR #9338
643 [James Watson <ap2bug@sowega.org>]
645 *) Fix LimitRequestBody directive by placing it in the HTTP
646 filter. [Justin Erenkrantz]
648 *) Fix mod_proxy seg fault when the proxied server returns
649 an HTTP/0.9 response or a bogus status line.
652 *) Prevent mod_proxy from truncating one character off the
653 end of the status line returned from the proxied server.
654 [Adam Sussman, Bill Stoddard]
656 *) Eliminate loop in ap_proxy_string_read().
657 [Adam Sussman, Bill Stoddard]
659 *) Provide $0..$9 results from mod_include regex parsing.
662 *) Allow mod-include to look for alternate start & end tags [Ian Holsman]
664 *) Introduced the ForceLanguagePriority directive, to prevent
665 returning MULTIPLE_CHOICES or NONE_ACCEPTABLE in some cases,
666 when using Multiviews. [William Rowe]
668 *) Fix a problem which prevented mod_cgid and suexec from working
669 together reliably [Greg Ames]
671 *) Remove the call to exit() from within mod_auth_digest's post_config
672 phase. [Aaron Bannert]
674 *) Fix a problem in mod_auth_digest that could potentially cause
675 problems with initialized static data on a system that uses DSOs.
678 *) Fix a segfault in the worker MPM that could happen during
679 child process exits. [Brian Pane, Aaron Bannert]
681 *) Allow mod_auth_dbm to handle multiple DBM types [Ian Holsman]
683 *) Fix matching of vhosts by ip address so we find IPv4
684 vhost address when target address is v4-mapped form of
685 that address. [Jeff Trawick]
687 *) More performance tweaks to the BNDM string-search algorithm
688 used to find "<!--#" tokens in mod_include [Brian Pane]
690 *) Miscellaneous small performance fixes: optimized away various
691 string copy operations and removed large temp buffers from
692 the stack [Brian Pane]
694 *) Fixed startup segfault that occurred when a VirtualHost
695 directive had a port but no address [Brian Pane]
697 *) Allow htdbm to work with multiple DBM types [Ian Holsman]
699 *) Win32: Made change to apr_sendfile() to return APR_ENOTIMPL
700 if oslevel < WINNT. This should fix several problems reported
701 Against 2.0.28 on Windows 98 [Bill Stoddard]
703 *) Win32: Fix bug that could cause CGI scripts with QUERY_STRINGS
704 to fail. [Bill Stoddard]
706 *) Change core code to allow an MPM to set hard thread/server
707 limits at startup. prefork, worker, and perchild MPMs now have
708 directives to set these limits. [Jeff Trawick]
710 *) Win32: The async AcceptEx() event should be autoreset upon
711 successful completion of a wait (WaitForSingleObject). This
712 eliminates a number of spurious
713 setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed." messages.
716 *) Move any load library path environment variables out of
717 apachectl and into a separate environment variable file which
718 can be more easily tailored by the admin. The environment
719 variable file as built by Apache may have additional system-
720 specific settings. For example, on OS/390 we tailor the heap
721 settings to allow lots of threads. [Jeff Trawick]
723 *) Use the new APR pool code to reduce pool-related lock
724 contention in the worker MPM. [Sander Striker]
726 *) The POD no longer assumes the child is listening on 127.0.0.1
727 and now pulls the first hostname in the list of listeners to
728 perform the dummy connect on. This fixes a bug when the user
729 had configured the Listen directive for an IP other than
730 127.0.0.1. This would result in undead children and error
731 messages such as "Connection refused: connect to listener".
734 *) The worker MPM now respects the LockFile setting, needed to
735 avoid locking problems with NFS. [Jeff Trawick]
737 *) Fix segfault when worker MPM receives SIGHUP.
738 [Ian Holsman, Aaron Bannert, Justin Erenkrantz]
740 *) Fix bug that could potentially prevent the perchild MPM from
741 working with more than one vhost/uid. [Aaron Bannert]
743 *) Change make install and apxs -i processing of DSO modules to
744 perform special handling on platforms where libtool doesn't install
745 mod_foo.so. This fixes some wonkiness on HP-UX, Tru64, and AIX
746 which prevented standard LoadModule statements from working.
749 *) Whenever mod_so is enabled (not just when there are DSOs for
750 our modules), do whatever special magic is required for compiling/
751 loading third-party modules. This allows third-party DSOs to
752 be used on an AIX build when there were no built-in modules
753 built as DSOs. (This should help on OS/390 and BeOS as well.)
756 *) Allow apxs to be used to build DSOs on AIX without requiring the
757 user to hard-code the list of import files. (This should help
758 on OS/390 and BeOS as well.) [Jeff Trawick]
760 *) Resolved segfault in mod_isapi when configuring with ISAPICacheFile.
761 PR 8563, 8919 [William Rowe]
763 *) Get binary builds working when libapr and libaprutil are built
766 *) Get shared builds of libapr and libaprutil, as well as Apache DSOs,
767 working on AIX. [Aaron Bannert, Dick Dunbar <RLDunbar@pacbell.net>,
768 Gary Hook <ghook@us.ibm.com>, Victor Orlikowski, Jeff Trawick]
770 *) Fix the handling of SSI directives in which the ">" of the
771 terminating "-->" is the last byte in a file [Brian Pane]
773 *) Add back in the "suEXEC mechanism enabled (wrapper: /path/to/suexec)"
774 message that we had back in apache-1.3 and still have scattered
775 throughout our docs. [Aaron Bannert]
777 *) Prevent the Win32 port from continuing after encountering an
778 error in the command line args to apache. [William Rowe]
780 *) On a error in the proxy, make it write a line to the error log
783 *) Various mod_ssl performance improvements [Doug MacEachern]
785 Changes with Apache 2.0.29
787 *) Add buffering in core_output_filter to ensure that long
788 lists of small buckets don't cause small packet writes.
789 [Brian Pane, Ryan Bloom]
791 *) Fix the installation target to make sure that the manual is
792 installed in the correct location.
793 [Yoshifumi Hiramatsu <hiramatu@boreas.dti.ne.jp> and
794 Gomez Henri <hgomez@slib.fr>]
796 *) Fix the cmd command for mod_include. When we are processing
797 a cmd command, we do not want to use the r->filename to set
798 the command name. The command comes from the SSI tag. To do this,
799 I added a variable to the function that builds the command line
800 in mod_cgi. This allows the include_cmd function to specify
801 the command line itself. [Ryan Bloom]
803 *) Change open_logs hook to return a value, allowing you
804 to flag a error while opening logs
805 [Ian Holsman, Doug MacEachern]
807 *) Change post_config hook to return a value, allowing you
808 to flag a error post config
809 [Ian Holsman, Jeff Trawick]
811 *) Allow SUEXEC_BIN (the path to the suexec binary that is
812 hard-coded into the server) to be specified to the configure
813 script by the --with-suexec-bin parameter. [Aaron Bannert]
815 *) Fix segv in worker MPM following accept on pipe-of-death
818 *) Add mod_deflate to experimental.
819 [Ian Holsman, Justin Erenkrantz]
821 *) Bail out at configure time if an invalid MPM was specified.
822 [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
824 *) Prevent segv in ap_note_basic_auth_failure() when no AuthName is
825 configured [John Sterling <sterling@covalent.net>]
827 *) Fix apxs to use sbindir. [Henri Gomez <hgomez@slib.fr>]
829 *) Fix a problem with IPv6 vhosts. PR #8118 [Jeff Trawick]
831 *) Optimization for the BNDM string-search function in
832 mod_include. [Brian Pane]
834 *) Fixed the behavior of the XBitHack directive.
835 [Taketo Kabe <kabe@sra-tohoku.co.jp>, Cliff Woolley] PR#8804
837 *) The threaded MPM for Unix has been removed. Use the worker
838 MPM instead. [various]
840 *) APR-ize the resolver logic in mod_unique_id. This fixes a bug
841 in logging the error from a failed DNS lookup. [Jeff Trawick]
843 *) Added the missing macros AP_INIT_TAKE13 and AP_INIT_TAKE123.
846 *) Get mod_cgid killed when a MPM exits due to a fatal error.
849 *) Fix a file descriptor leak in mod_include. When we include a
850 file, we use a sub-request, but we didn't destroy the sub-request
851 immediately, instead we waited until the original request was
852 done. This patch closes the sub-request as soon as the data is
853 done being generated. [Brian Pane <bpane@pacbell.net>]
855 *) Allow modules that add sockets to the ap_listeners list to
856 define the function that should be used to accept on that
857 socket. Each MPM can define their own function to use for
858 the accept function with the MPM_ACCEPT_FUNC macro. This
859 also abstracts out all of the Unix accept error handling
860 logic, which has become out of synch across Unix MPMs.
863 *) Fix a bug which would cause the response headers to be omitted
864 when sending a negotiated ErrorDocument because the required
865 filters were attached to the wrong request_rec.
866 [John Sterling <sterling@covalent.net>]
868 *) Remove commas from the end of the macros that define
869 directives that are used by MPMs. Prior to this patch,
870 you would use these macros without commas, which was unlike
871 the macros for any other directives. Now, the caller provides
872 the comma rather than the macro providing it. This makes
873 the macros look more like the rest of the directives.
874 [Ryan Bloom and Cliff Woolley]
876 *) Add 'redirect-carefully' environment option to disable sending
877 redirects under special circumstances. This is helpful for
878 Microsoft's WebFolders when accessing a directory resource via
879 DAV methods. [Justin Erenkrantz]
881 *) Begin to abstract out the underlying transport layer.
882 The first step is to remove the socket from the conn_rec,
883 the server now lives in a context that is passed to the
884 core's input and output filters. This forces us to be very
885 careful when adding calls that use the socket directly,
886 because the socket isn't available in most locations.
889 *) Really reset the MaxClients value in worker and threaded
890 when the configured value is not a multiple of the number
891 of threads per child. We said we did previously but we
892 forgot to. [Jeff Trawick]
894 *) Add Debian layout. [Daniel Stone <daniel@sfarc.net>]
896 *) If shared modules are requested and mod_so is not available,
897 produce a fatal config-time error. [Justin Erenkrantz]
899 *) Improve http2env's performance by cutting the work it has to
900 do. [Brian Pane <bpane@pacbell.net>]
902 *) use new 'apr_hash_merge' function in mod_mime (performance fix)
903 [Brian Pane <bpane@pacbell.net>]
905 Changes with Apache 2.0.28
907 *) Fix infinite loop in mod_cgid.c.
908 [Dale Ghent <daleg@elemental.org>, Brian Pane <bpane@pacbell.net>]
910 *) When no port is given in a "ServerName host" directive, the
911 server_rec->port is now set to zero, not 80. That allows for
912 run-time deduction of the correct server port (depending on
913 SSL/plain, and depending also on the current setting of
914 UseCanonicalName). This change makes redirections
915 work, even with https:// connections. As in Apache-1.3, the
916 connection's actual port number is never used, only the ServerName
917 setting or the client's Host: setting. Documentation updated
918 to reflect the change. [Martin Kraemer]
920 *) Add a '%{note-name}e' argument to mod-headers, which works in
921 the same way as mod_log_confg. [Ian Holsman]
923 *) Fix the spelling of the AP_MPMQ_MIN_SPARE_DAEMONS and
924 AP_MPMQ_MAX_REQUESTS_DAEMON macros in ap_mpm.h and all standard
925 MPMs. [Cliff Woolley]
927 *) Introduce htdbm, a user management utility for db/dbm authorization
928 databases. [Mladen Turk <mturk@mappingsoft.com>]
930 *) Optimize usage of strlen and strcat in ap_directory_walk.
931 [Brian Pane <bpane@pacbell.net>]
933 Changes with Apache 2.0.27
935 *) Introduce an Apache mod_ssl initial configuration template
936 (ssl.conf, generated from ssl-std.conf). [Ralf S. Engelschall]
938 *) Fixed a memory leak in the getline parsing code that could
939 be triggered by arbitrarily large header lines. Requests
940 from the core input filter for single lines are now limited
941 to HUGE_STRING_LEN (8192 bytes). [Aaron Bannert]
943 *) Fix a truncation bug in how we print the port on the Via: header.
944 The routine that prints the Via: header now takes a length for
945 the port string. [Zvi Har'El <rl@math.technion.ac.il>]
947 *) Some syntax errors in mod_mime_magic's magic file can result
948 in a 500 error, which previously was unlogged. Now we log the
949 error. [Jeff Trawick]
951 *) Add the support/checkgid helper app, which checks the run-time
952 validity of group identifiers usable in the Group directive.
955 *) Various --enable-so options have been fixed: --enable-so is
956 treated as "static"; explicit --enable-so=shared issues an error;
957 and explicit --enable-so fails with error on systems without
958 APR_HAS_DSO. [Aaron Bannert]
960 *) Fix a segfault in the core input filter when the client socket
961 gets disconnected unexpectedly. [Cliff Woolley]
963 *) Fix the reporting for child processes that die. This removes
964 all of the non-portable W* macros from Apache.
965 [Jeff Trawick and Ryan Bloom]
967 *) Win32: Track and display "Parent Server Generation:" in
968 mod_status output. The generation will be bumped at
969 server graceful restart, when the child process exits
970 by hitting MaxRequestsPerChild or if the child
971 process exits abnormally. [Bill Stoddard]
973 *) Win32: Fix problem where MaxRequestsPerChild directive was
974 not being picked up in favor of the default. Enable
975 the parent to start up a new child process immediately upon
976 the old child starting shutdown.
979 *) Fix some bungling of the remote port in rfc1413.c so that
980 IdentityCheck retrieves the proper user id instead of failing
981 and thus always returning "nobody."
982 [Dick Streefland <Dick.Streefland@xs4all.nl>]
984 *) Introduced thread saftey for mod_rewrite's internal cache.
985 [Brian Pane <bpane@pacbell.net>]
987 *) Simplified mod_env's directives to behave as most directives are
988 expected, in that UnsetEnv will not unset a SetEnv and PassEnv
989 directive following that UnsetEnv within the same container.
990 Also provides a runtime startup warning if a PassEnv configured
991 environment value is undefined. [William Rowe]
993 *) The worker MPM is now completely ported to APR's new lock API. It
994 uses native APR types for thread mutexes, cross-process mutexes,
995 and condition variables. [Aaron Bannert]
997 *) Sync up documentation to remove all references to the now deprecated
998 Port directive. [Justin Erenkrantz]
1000 *) Moved all ldap modules from the core to httpd-ldap sub-project
1003 *) Exit when we can't listen on any of the configured ports. This
1004 is the same behavior as 1.3, and it avoids having the MPMs to
1005 deal with bogus ap_listen_rec structures. [Jeff Trawick]
1007 *) Cleanup the proxy code that creates a request to the origin
1008 server. This change adds an optional hook, which allows modules
1009 to gain control while the request is created if the proxy module
1010 is loaded. The purpose of this hook is to allow modules to add
1011 input and/or output filters to the request to the origin. While
1012 I was at it, I made the core use this hook, so that proxy request
1013 creation uses some of the code from the core. This can still be
1014 greatly improved, but this is a good start. [Ryan Bloom]
1016 Changes with Apache 2.0.26
1018 *) Port the MaxClients changes from the worker MPM to the threaded
1021 *) Fix mod_proxy so that it handles chunked transfer-encoding and works
1022 with the new input filtering system. [Justin Erenkrantz]
1024 *) Introduce the MultiviewsMatch directive, to allow the operator
1025 to be flexible in recognizing Handlers and Filters filename
1026 extensions as part of the Multiviews matching logic, strict with
1027 MultiviewsMatch NegotiatedOnly to accept only filename extentions
1028 that designate negotiated parameters, (content type, charset, etc.)
1029 or MultiviewsAll for the 1.3 behavior of matching any files, even
1030 if they have unregistered extensions. [William Rowe]
1032 *) Fixed the configure script to add a LoadModule directive to
1033 the default httpd.conf for any module that was compiled
1034 as a DSO. [Aaron Bannert <aaron@clove.org>]
1036 *) rewrite mod_ssl input filtering to work with the new input filtering
1037 system. [Justin Erenkrantz]
1039 *) prefork: Don't segfault when we are able to listen on some but
1040 not all of the configured ports. [Jeff Trawick]
1042 *) Build mod_so even if no core modules are built shared.
1043 [Aaron Bannert <aaron@clove.org>]
1045 *) Introduce ap_directory_walk rewrite (with further optimizations
1046 required) to adapt to the ap_process_request_internal() changes.
1047 Optimized so subrequests and redirects now reuse previous section
1048 merges, until we mismatch with the original directory_walk, and
1049 precomputed r->finfo results will cause directory_walk to skip
1050 the most expensive phases of the function. [William Rowe]
1052 *) Allow ApacheMonitor to connect to and control Apache on other
1053 WinNT/2K machines. [Mladen Turk <mturk@mappingsoft.com>]
1055 *) Remove the Port directive. In it's place, the Listen directive
1056 is now a required directive, which tells Apache what port to
1057 listen on. The ServerName directive has also been extended
1058 to accept an optional port. If the port is specified to the
1059 ServerName, the server will report that port whenever it
1060 reports the port that it is listening on. This change was
1061 made to ease configuration errors that stem from having a Port
1062 directive, and a Listen directive. In that situation, the server
1063 would only listen to the port specified by the Listen command,
1064 which caused a lot of confusion to users. [Ryan Bloom]
1066 *) Added mod_mime_magic, mod_unique_id and mod_vhost_alias to the Win32
1067 build, as loadable modules. [William Rowe]
1069 *) Fix --enable-mods-shared processing. If most is specified,
1070 then all modules that can be compiled as shared modules are.
1071 [Aaron Bannert <aaron@clove.org>]
1073 *) Update the mime.types file to map video/vnd.mpegurl to mxu
1074 and add commonly used audio/x-mpegurl for m3u extensions.
1075 [Heiko Recktenwald <uzs106@uni-bonn.de>, Lars Eilebrecht]
1077 *) Eliminate the depreciated r->content_language, in favor of the array
1078 r->content_languages introduced many years ago. Module authors must
1079 substantially overhaul their modules, so this needs to be upgraded
1080 if the module still relied on backwards-brokeness. [William Rowe]
1082 *) Allow configure help strings to work with autoconf 2.50+ and 2.13.
1085 *) Rewrite the input filtering mechanisms to consolidate and reorganize
1086 code. In short, core_input_filter does something now and
1087 ap_http_filter is now only concerned with HTTP. [Justin Erenkrantz]
1089 *) Update the Win32 build to re-absorb mod_proxy and family.
1092 *) Resolved the build failure on Win32 using MSVC 5.0 (without the
1093 current SDK.) [William Rowe]
1095 *) Some style changes to the code that does ProxyErrorOverride. Fixed
1096 config merge behaviour. [Graham Leggett]
1098 *) Allow support programs to be compiled against a static version
1099 of libapr. This allows the smaller support programs to be
1100 relocated. [Aaron Bannert <aaron@clove.org>]
1102 *) Update the mime.types file to the registered media types as
1103 of 2001-09-25, and add mapping for xsl extension [Mark Cox]
1105 *) Fix MaxClients in the Worker MPM, so that it specifies the maximum
1106 number of clients that can connect at the same time, instead of
1107 specifying the maximum number of child processes.
1108 [Aaron Bannert <aaron@clove.org>]
1110 *) Switch proc_pthread AcceptMutex configuration directive to pthread to
1111 be consistent with 1.3. [Justin Erenkrantz]
1113 *) Cache apr_explode_localtime() value for 15 seconds.
1114 [Brian Pane <bpane@pacbell.net>]
1116 *) Fix mod_include to not return ETag or Last-Modified headers.
1117 [Ian Holsman <ianh@cnet.com>]
1119 *) Fix worker MPM's scoreboard logic. [Aaron Bannert <aaron@clove.org>]
1121 *) Eliminate the wasteful run-time conversion of method names from strings
1122 to numbers in places where the methods are known at compile time.
1123 [Brian Pane <bpane@pacbell.net>]
1125 *) Turn the worker MPM's queue into a LIFO. This may
1126 improve cache-hit performance under some conditions.
1127 [Aaron Bannert <aaron@clove.org>]
1129 *) Switch back to SIGUSR1 for graceful restarts on all platforms that
1130 support it. [Justin Erenkrantz]
1132 *) Cleanup the worker MPM. We no longer re-use transaction
1133 pools. This incurs less overhead than shuffling the pools
1134 around so that they can be re-used. Remove one of the
1135 queue's condition variables. We just redefined the API to
1136 state that you can't try to add more stuff than you allocated
1137 segments for. [Aaron Bannert <aaron@clove.org>]
1139 *) Fix SSL VPATH builds [Cody Sherr <csherr@covalent.net>]
1141 *) Fixed persistent connections when a request contains a body.
1144 *) mod_dav uses a new API to speak to the backend provider for dead
1145 property management. [Greg Stein]
1147 *) Remove the Win32 script-processing exception from mod_cgi, and
1148 roll build_command_line/build_argv_list into a unified, overrideable
1149 ap_cgi_build_command optional function. [William Rowe]
1151 *) Rewrite find_start_sequence to use a better search algorithm
1152 to find the start tag. [Justin Erenkrantz]
1154 *) Fix a seg fault in mod_include. When we are generating an
1155 internal redirect, we must set r->uri to "", not a bogus
1156 string, and not NULL. [Ryan Bloom]
1158 *) Optimized location_walk, so subrequests, redirects and second passes
1159 now reuse previous section merges on a <Location > by <Location >
1160 basis, until we mismatch with the original location_walk.
1163 *) Back out the 1.45 change to util_script.c. This change made
1164 us set the environment variable REQUEST_URI to the redirected
1165 URI, instead of the originally requested URI.
1166 [Taketo Kabe <kabe@sra-tohoku.co.jp>]
1168 *) Make mod_include do lazy evaluation of potentially expensive to
1169 compute variables. [Brian Pane <bpane@pacbell.net>]
1171 *) Fix logging of bytes sent for HEAD requests. %b and %B should
1172 log either - or 0, before this patch, they were both logging
1173 the file size. [Taketo Kabe <kabe@sra-tohoku.co.jp>]
1175 *) Make mod_include check for BYTE_CHECK_THRESHOLD per bucket rather
1176 than per character. [Brian Pane <bpane@pacbell.net>]
1178 *) Normalize the primary request, redirects and sub-requests to
1179 run the same ap_process_request_internal for consistency in
1180 robustness, behavior and security. [William Rowe]
1182 *) Fix a segfault with mod_include when r->path_info is not set
1183 (which is the case with mod_proxy). [Ian Holsman <ianh@cnet.com>]
1185 *) Add -X functionality back. This indicates to all MPMs and any other
1186 part of Apache that it should run in "debug" mode. [Justin Erenkrantz]
1188 *) Some initial support for the cygwin platform [prefork only].
1189 This is not to be confused with support for the WinNT/Win32
1190 platform, which is the recommended configuration for native
1191 Win32 users. The cygwin platform support is recommended for
1192 cygwin platform users. [Stipe Tolj <tolj@wapme-systems.de>]
1194 *) Changed syntax of Set{Input|Output}Filter. The list of filters
1195 must be semicolon delimited (if more than one filter is given.)
1196 The Set{Input|Output}Filter directive now overrides a parent
1197 container's directive (e.g. SetInputFilter in <Directory /web/foo>
1198 will override any SetInputFilter directive in <Directory /web>.)
1199 This new syntax is more consistent with Add{Input|Output}Filter
1200 directives defined in mod_mime. Also cures a bug in prior releases
1201 where the Set{Input|Output}Filter directive would corrupt the
1202 global configuration if the multiple directives were nested.
1205 *) Cured what's ailed mime for quite some time. If an AddSomething
1206 was given in the configuration (Language, Charset, Handler or
1207 Encoding) Apache would set the content type as given by AddType,
1208 but refused to check the mime.types file if AddType wasn't given
1209 for that specific extension. Setting the AddHandler for .html
1210 without setting the AddType text/html html would cause Apache to
1211 use the default content type. [William Rowe]
1213 *) Added some bulletproofing to memory allocation in the LDAP cache
1214 code. [Graham Leggett]
1216 Changes with Apache 2.0.25
1218 *) Move the installed /manual directory out of the /htdocs/ tree, so
1219 that it can be kept more independently from the remaining document
1220 root. The "Alias /manual ..." already allowed for easy projection
1221 into existing private document trees. [Martin Kraemer]
1223 *) Add specified user attributes to the environment when using
1224 mod_auth_ldap. This allows you to use mod_include to embed specified
1225 user attributes in a page like so:
1226 Hello <!--#echo var="AUTHENTICATE_CN"-->, how are you?
1229 *) Fix a performance problem with the worker MPM. We now create
1230 transaction pools once, and re-use them for each connection.
1231 [Aaron Bannert <aaron@clove.org>]
1233 *) Modfied mod_mime to prevent mod_negotation from serving a multiview
1234 of a 'handler' or 'filter', so that any filename extension that does
1235 not contribute to the negotiated metadata can't be served without
1236 an explicit request. E.g., if the .Z extension is associated with
1237 an unzip filter, the user request somefile.Z.html, mod_negotiation
1238 won't serve it. It can serve somefile.Z.html when somefile.Z is
1239 requested, since the .Z extension is explictly requested, if the
1240 .html extension is associated with ContentType text/html.
1243 *) Introduce the AddInputFilter filter[;filter...] ext [ext...]
1244 and corresponding AddOutputFilter syntax, to insert one or more
1245 filters by mod_mime filename extension processing.
1248 *) Fix a growing connection pool in core_output_filter() for
1249 keepalive requests. [Jeff Trawick]
1251 *) Moved split_and_pass_pretag_buckets back to being a
1252 macro at Ryans's request. Removed the return from it
1253 by setting and returning a return code instead. Updated
1254 the code to check the return code from the macro and
1255 do the right thing. [Paul J. Reder]
1257 *) Fix a segfault when a numeric value was received for Host:.
1260 *) Add a function ap_remove_input_filter. This is to match
1261 up with ap_remove_output_filter. [Ryan Bloom]
1263 *) Clean up location_walk, so that this step performs a minimum
1264 amount of redundant effort (it must be run twice, but it will no
1265 longer reparse all <Location > blocks when the request uri
1266 hadn't changed.) [William Rowe]
1268 *) Eliminate proxy: (and all other 'special') processing from the
1269 ap_directory_walk() phase. Modules that want to use special
1270 walk logic should refer to the mod_proxy map_to_location example,
1271 with it's proxy_walk and proxysection implementation. This makes
1272 either directory_walk flavor much more legible, since that phase
1273 only runs against real <Directory > blocks.
1276 *) Fix a security problem in mod_include which would allow
1277 an SSI document to be passed to the client unparsed.
1278 [Cliff Woolley, Brian Pane]
1280 *) Introduce the map_to_storage hook, which allows modules to bypass
1281 the directory_walk and file_walk for non-file requests. TRACE
1282 shortcut moved to http_protocol.c as APR_HOOK_MIDDLE, and the
1283 directory_walk/file_walk happen as APR_HOOK_VERY_LAST in core.c.
1286 *) Add the ability for mod_include to add the INCLUDES filter
1287 if the file is configured for the server-parsed handler.
1288 This makes the configuration for .shtml files much easier
1289 to understand, and allows mod_include to honor Apache 1.3
1290 config files. Based on Doug MacEachern's patch to PHP
1291 to do the same thing. [Ryan Bloom]
1293 *) force OpenSSL to ignore process local-caching and to always
1294 get/set/delete sessions using mod_ssl's callbacks
1295 [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>,
1296 Geoff Thorpe <geoff@geoffthorpe.net>]
1298 *) Make the worker MPM shutdown and restart cleanly. This also
1299 cleans up some race conditions, and gets the worker using
1300 pools more cleanly. [Aaron Bannert <aaron@clove.org>]
1302 *) Implement CRYPTO_set_locking_callback() in terms of apr_lock
1304 [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
1306 *) Fix for mod_include. Ryan's patch to check error
1307 codes put a return in the wrong place. Also, the
1308 include handler return code wasn't being checked.
1309 I don't like macros with returns, so I converted
1310 SPLIT_AND_PASS_PRETAG_BUCKETS into a function.
1311 [Paul J. Reder <rederpj@raleigh.ibm.com>]
1313 *) fix segv in mod_mime if no AddTypes are configured
1314 [John Sterling <sterling@covalent.net>]
1316 *) Enable ssl client authentication at SSL_accept time
1317 [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
1319 *) Fix a segfault in mod_include when the original request has no
1320 associated filename (e.g., we're filtering the error document for
1321 a bad URI). [Jeff Trawick]
1323 *) Fix a storage leak (a strdup() call) in mod_mime_magic. [Jeff Trawick]
1325 *) The prefork and OS/2 MPMs are overwriting the pid file when a second copy
1326 of httpd is started and shuts down due to socket conflict. Moving the
1327 call to ap_log_pid solves the problem.
1329 *) Changed the late-1.3 log_config substitution %c to %X, to log the
1330 status of the closed connection, as it conflicts with the far more
1331 common, historical ssl logging directive %...{var}c. [William Rowe]
1333 *) Added the common error/ tree to the build/install targets
1334 (similar to the common icons/ tree) for the multi-language error
1335 messages that Lars committed earlier. [William Rowe]
1337 *) Added a multi process, multi threaded OS/2 MPM mpmt_os2. [Brian Havard]
1339 *) Added a default commented-out mod_ldap and mod_auth_ldap
1340 configuration to httpd-std.conf and httpd-win.conf
1343 *) Added documentation for mod_ldap and mod_auth_ldap.
1346 *) Enabled negative caching on attribute comparisons in the LDAP cache.
1347 Fixed a problem where the default cache TTL was set in milliseconds
1348 not microseconds causing the cache to time out almost immediately.
1351 *) Fixed all the #if APR_HAS_SHARED_MEMORY checks within the LDAP
1352 module code to follow APR. [Graham Leggett]
1354 *) Fixed LDAP cleanup on graceful restarts. LDAP connections are now
1355 cleaned up when the connection pool pool is cleaned up.
1358 *) Fix a minor issue with Jeff Trawick's mod_include
1359 patch. Without this patch, the code will just allocate
1360 more bytes in get_combined_directive than are needed.
1363 *) Added the LDAP authentication module mod_auth_ldap.
1364 [Dave Carrigan <dave@rudedog.org>, Graham Leggett]
1366 *) Added the LDAP cache and connection pooling module mod_ldap.
1367 [Dave Carrigan <dave@rudedog.org>, Graham Leggett]
1369 *) Fix --enable-modules=all breakage with mod_auth_db and mod_auth_digest
1370 by allowing a module to disable itself if its prerequisites are not
1371 met. [Justin Erenkrantz]
1373 Changes with Apache 2.0.24
1375 *) Fix a couple of issues in mod_include when the tag appeared at
1376 offsets near 8192 in the file being parsed. [Jeff Trawick]
1378 *) Fix an assertion failure in mod_ssl when the keepalive timeout is
1379 reached. [Jeff Trawick]
1381 *) Numerous improvements to the Win32 build system. Introduced command line
1382 builds without requiring .mak files for MSVC 6.0 and later versions.
1383 Improved .dsp file compatibility for both Visual Studio 5.0 and 6.0 users.
1386 *) Assorted corrections and improvements to the winnt_mpm startup code. Better
1387 reporting of uninstalled services and other error conditions, and changed the
1388 default service name to Apache2. [William Rowe]
1390 *) Numerous improvements to the Win32 ApacheMonitor utility, including winnt_mpm
1391 compatibility with existing Apache 1.3 Win32 Apache management utilites.
1392 [Mladen Turk <mturk@mappingsoft.com>, William Rowe]
1394 *) Fixed the segfaults in mod_mime introduced by hash tables in 2.0.20.
1395 [William Rowe, Greg Ames]
1397 *) Rounded out the mod_mime Add/Remove pairs by adding RemoveLanguage
1398 and RemoveCharset directives. [William Rowe]
1400 *) The Unix MPMs other than perchild now allow child server
1401 processes to use the accept mutex when starting as root and
1402 using SysV sems for the accept mutex. Previously, this
1403 combination would lead to fatal errors in the child server
1404 processes. perchild can't use SysV sems because of security
1405 issues. [Jeff Trawick, Greg Ames]
1407 *) Added Win32 revision stamp resources to all http binaries
1408 (including modules/ and support/ tools.) PR7322 [William Rowe]
1410 *) Fix ap_rvprintf to support more than 4K of data at one time.
1411 [Cody Sherr <csherr@covalent.net>]
1413 *) We have always used the obsolete/deprecated Netscape syntax
1414 for our tracking cookies; now the CookieStyle directive
1415 allows the Webmaster to choose the Netscape, RFC2109, or
1416 RFC2965 format. The new CookieDomain directive allows the
1417 setting of the cookie's Domain= attribute, too. PR #s 5006,
1418 5023, 5920, 6140 [Ken Coar]
1420 *) Tweak server/Makefile so that the rules for generating exports.c
1421 are compatible with make utilities which don't expand wildcards
1422 in a dependency list (e.g., OS/390 make, certain levels of GNU
1423 make). [Jeff Trawick]
1425 *) Install the SSL headers. [John Sterling <sterling@covalent.net>]
1427 *) Begin to sanitize the MPM configuration directives. Now, all
1428 MPMs use the same functions for all common MPM directives. This
1429 should make it easier to catch all bugs in these directives once.
1430 [Cody Sherr <csherr@covalent.net>]
1432 *) Close a major resource leak. Every time we had issued a
1433 graceful restart, we leaked a socket descriptor.
1436 *) Fix a problem with the new method code. We need to cast
1437 the 1 to an apr_int64_t or it will be treated as a 32-bit
1438 integer, and it will wrap after being shifted 32 times.
1439 [Cody Sherr <csherr@covalent.net> and Ryan Morgan <rmorgan@covalent.net>]
1441 *) Fix a bug in mod_expires. Previous to this patch, if you
1442 told mod_expires to add 604800 seconds to the last-modified
1443 time, it actually added 604800 usec's to the last-modified time,
1444 so that when looking at the response it looked like nothing
1445 had been done. The root of the problem was that we always compute
1446 time in usec's, but we ask users to input sec's. This means we
1447 need to convert to usec's before using those values.
1450 *) The worker MPM now handles shutdown and restart requests. It
1451 definitely isn't perfect, but we do stop the servers correctly.
1452 The biggest problem right now is that SIGHUP causes the server to
1453 just die. [Ryan Bloom]
1455 Changes with Apache 2.0.23
1457 *) Use the prefork MPM by default on Unix. [various]
1459 *) Added a systray icon monitor application for Win32.
1460 [Mladen Turk <mturk@mappingsoft.com>]
1462 *) mod_rewrite: Fix the line ending on some non-Unix systems for
1463 messages written to the rewrite log.
1464 [Richard Labennett <rlabenn@us.ibm.com>]
1466 *) All mod_autoindex query parsing is now quietly quashed with the
1467 IndexOption IgnoreClient. The IndexOption SuppressColumnSorting
1468 still drops the column sort <a href>'s for the column headers, but
1469 IgnoreClient is required to ignore these Query options entirely.
1472 *) Introduced new mod_autoindex query argument parsing for F=[0|1|2]
1473 to allow the client to select plain, FancyIndexing or HTMLTable
1474 formatting, V=[0|1] to inhibit or enable version sorting, and
1475 P=pattern to return only specific files. The old Query Arguments
1476 were reorganized as C=f for sorting column 'f' (same N, D, S, or M
1477 as before), and O=A|D for ordering ascending or descending.
1480 *) Fixed an error in mod_include's directive parsing routines which
1481 caused #if, #elif, and #else expressions containing backslashes
1482 to be improperly evaluated. [Cliff Woolley]
1484 *) Introduced new mod_autoindex IndexOptions flags: SuppressIcon to
1485 drop the icon column, SuppressRules to drop the <hr> elements,
1486 and HTMLTable to create rudimentary HTML table listings (implies
1487 FancyIndexing). [William Rowe]
1489 *) Re-introduced the mod_autoindex IndexOptions flag TrackModified
1490 from Apache 1.3.15. This is needed for two reasons, first, given
1491 multiple machines within a server farm, ETags and Last-Modified
1492 stamps won't correspond from machine to machine, and second, many
1493 Unixes don't capture changes to the date or time stamp of existing
1494 files, since these don't modify the dirent itself. [William Rowe]
1496 *) Re-introduced the mod_autoindex IndexOptions flag FoldersFirst
1497 and DirectoryWidth options from Apache 1.3.10.
1498 [William Rowe, Ken Coar]
1500 *) Eliminated FancyIndexing directive, deprecated early in Apache
1501 1.3 by the IndexOptions FancyIndexing syntax. [William Rowe]
1503 *) mod_autoindex now excludes any file names that would result in
1504 an error, other than a success or redirect. Also optimized
1505 the parent directory, always included except in the URI '/'.
1508 *) Refactored mod_negotiation and mod_mime to help mod_dir accept
1509 negotiated index pages, and prevent the server from defaulting
1510 to an autoindex of the directory. mod_negotiation will now die
1511 with a 500 Internal Error if it could match some filenames
1512 (e.g. for mod_dir) but none can be served. mod_negotation now
1513 refuses to serve any file with an extention that mod_mime doesn't
1514 recognize, and wasn't part of the request. [William Rowe]
1516 *) Eliminate mod_cgi's handling of .exe files without the .exe file
1517 extension. This is already handled by multiviews, if the admin
1518 wishes to AddHandler .exe or define a content type handler and
1519 associate .exe files with that content type. Multiviews must be
1520 enabled to allow these to be served. [William Rowe]
1522 *) Speed up the server's response to a spike in incoming workload
1523 or restarts by assigning empty scoreboard slots to new processes
1524 when they are available. [Greg Ames]
1526 *) Add a handler to mod_includes.c. This handler is designed to
1527 implement the XbitHack directive. This can't be done with a
1528 fixup, because we need to check the content-type, which is
1529 only available in the handler phase. [Ryan Bloom]
1531 *) Make the includes filter check return codes from filters lower in
1532 the filter chain. If a lower level filter returns an error, then
1533 the request needs to stop immediately. This allows mod_include to
1534 stop parsing data once a lower filter recognizes an error.
1537 *) Add the ability to extend the methods that Apache understands
1538 and have those methods <limit>able in the httpd.conf. It uses
1539 the same bit mask/shifted offset as the original HTTP methods
1540 such as M_GET or M_POST, but expands the total bits from an int to
1541 an ap_int64_t to handle more bits for new request methods than
1542 an int provides. [Cody Sherr <csherr@covalent.net>]
1544 *) Fix broken mod_mime behavior in merging its arguments. Possible
1545 cause of unexplicable crashes introduced in 2.0.20. [William Rowe]
1547 *) Solve many mod_ssl porting issues (too many to detail) with
1548 help from the whole team, but most notably [Ralf S. Engelschall,
1549 Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>,
1550 Doug MacEachern, William Rowe, Cliff Woolley]
1552 *) More stall fixes for the threaded & worker mpm's.
1553 Make mod_status output more accurate. Don't
1554 count workers in processes which aren't actively
1555 serving requests. [Greg Ames]
1557 *) Win32: Get SSI exec cgi tag working. [Bill Stoddard]
1559 *) Add a single listener/multiple worker MPM. This MPM is
1560 definately not fully correct, but it allows us to solve many
1561 of the problems that exist in the threaded MPM. This is a
1562 modified version of the threaded MPM. [Ryan Bloom]
1564 *) Improve content generation throughout Apache, providing closer
1565 compliance with HTML 3.2, HTML 4.01 Transitional and XHTML 1.0
1566 Transitional specifications. [William Rowe]
1568 Changes with Apache 2.0.22
1570 *) Fix a problem where the threaded MPM stalls after restarts or
1571 segfaults. Also prevent multiple active processes from using
1572 the same scoreboard slot. [Greg Ames]
1574 *) Apache/Win32 now fills in the service description with Apache's
1575 server version string, including loaded and advertised modules.
1578 *) Improved support for the Win32 build, to recover gracefully from
1579 missing apr or apr-util directories or the awk interpreter,
1580 create the proper cgi-bin examples, including a test-cgi.bat, and
1581 fix the perl shebang line for printenv.pl, when installing from
1582 the build environment. [William Rowe]
1584 *) Fix a segfault in threaded.c caused by passing uninitialized
1585 apr_thread_t * to apr_thread_join(). [Jeff Trawick]
1587 *) Use new APR number conversion functions to reduce CPU consumption
1588 when setting the content length, and in mod_log_config.
1591 *) Fix problem reported by Taketo Kabe <kabe@sra-tohoku.co.jp>
1592 where HEAD response headers were being repeated twice for
1593 files greater than 32K bytes (4*AP_MIN_BYTES_TO_WRITE). This
1594 problem in the http_header filter was exposed by the recent rewrite
1595 of the content_length filter. [Taketo Kabe, Bill Stoddard]
1597 *) Fix seg faults in mod_status with ExtendedStatus enabled, after
1598 restarts. A garbage pointer to a vhost's server_rec from the
1599 previous generation was being left around under certain
1600 conditions. [Greg Ames]
1602 *) Fix a cosmetic problem with mod_include. Non-existant SSI vars
1603 used to appear as '(none', without the closing paren.
1604 [Günter Knauf <eflash@gmx.net>]
1606 *) Improve the exports generating awk script. In the past, we had
1607 work around problems in the awk script by avoiding some #if and
1608 #ifdefs. This has bitten us many times in generating the exports.c
1609 file. This improvement allows corrects the header file parsing.
1610 [Sander Striker <striker@apache.org>]
1612 Changes with Apache 2.0.21
1614 *) Resolve the Win32 htpasswd bug, where a file that existed would be
1615 overwritten, regardless of the -c flag.
1616 [William Rowe, Mladen Turk <mladen.turk@mail.inet.hr>]
1618 *) Introduce connection sub-pools into ab. Truncating the lifetime
1619 of these allocations means that ab no longer perpetually grows
1620 its working set, running out of memory on large request attempts.
1623 *) Make scoreboard creation a hook. This allows management
1624 modules to have access to the scoreboard at the time that it is
1625 created, and at every restart request.
1626 [Cody Sherr <csherr@covalent.net>]
1628 *) Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
1629 added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest
1630 daemon index actually used in the scoreboard. I also
1631 updated the pertinent calls. [Paul J. Reder]
1633 *) Win32: Prevent listening sockets from being inherited by
1634 the Apache child process, CGI scripts, rotatelog process
1635 etc. If the Apache child process segfaults, any processes
1636 that the child started are not reaped. Prior to this fix,
1637 these processes inherited the listening sockets which sometimes
1638 prevented the restarted Apache child process from accepting
1639 connections (ie, the server would hang).
1642 *) Provide vhost and request strings when ExtendedStatus is on.
1645 *) Fix some issues with the pod and prefork: check the pod *after*
1646 processing a connection so that a server processing a time-
1647 consuming request bails out as soon as practical; when the
1648 parent process wakes up a server process via connect(), use an
1649 APR timeout on the connect() so that we don't hang for a long
1650 time if there aren't server processes around to do accept().
1651 [Jeff Trawick, Greg Ames]
1653 *) Performance improvement to mod_mime.c. find_ct() in mod_mime,
1654 spends a lot of time in apr_table_get calls. Using the default
1655 httpd.conf, the tables for languages and charsets are somewhat
1656 large, so the time spent scanning them on each request is
1657 significant. Replacing the tables with hash tables provides
1658 a nice speedup. [Brian Pane <bpane@pacbell.net>]
1660 *) Add two functions to allow modules to access random parts of the
1661 scoreboard. This allows modules compiled for one MPM to access the
1662 scoreboard, even if it the server was compiled for another MPM.
1663 [Harrie Hazewinkel <harrie@covalent.net>]
1665 Changes with Apache 2.0.20
1667 *) Fix problem in content-length filter where the filter would
1668 buffer all the output from a CGI before sending any bytes
1669 down the filter stack to the network. This problem would cause
1670 significant memory consumption if the CGIs generated
1671 lots of bytes. [Bill Stoddard]
1673 *) Get non-blocking CGI pipe reads working with the bucket brigades.
1676 *) Fix seg fault on Windows when serving files cached with mod_file_cache.
1679 *) Fix a bug in the threaded MPM that would cause it to kill off all
1680 workers immediately after starting if the number of workers started
1681 was above a certain threshold. [Ryan Bloom, Bill Stoddard]
1683 Changes with Apache 2.0.19
1685 *) Fix problem with threaded MPM. The problem was that if each child
1686 process was busy serving a single long-lived request and the server
1687 was sent a graceful restart signal, the server would stop serving
1688 requests. This would happen because each child process would wait to
1689 die until the last thread was done, and the parent wouldn't spawn any
1690 new children until a process died. Now, the parent looks at the fact
1691 that the children are dying gracefully, and starts new children.
1692 Those new children only start enough threads to compliment the number
1693 of threads in the other child process that shares the same spot in
1694 the scoreboard. In this way, we make sure to never go over
1695 MaxClients. [Ryan Bloom]
1697 *) modified mod_negotiation and mod_autoindex to speed up by almost a
1698 factor of two on apr_dir_read()-enhanced platforms, such as Win32
1699 and OS2, by calling ap_sub_request_lookup_dirent() with the results
1700 already provided by apr_dir_read(). [William Rowe]
1702 *) mod_file_cache is now more robust to filtering and serves requests
1703 slightly more efficiently. [Cliff Woolley]
1705 *) Fix problem handling FLUSH bucket in the chunked encoding filter.
1706 Module was calling ap_rwrite() followed by ap_rflush() but the
1707 served content was not being displayed in the browser. Inspection
1708 of the output stream revealed that the first data chunk was
1709 missing the trailing CRLF required by the RFC. [Bill Stoddard]
1711 *) apxs no longer generates ap_send_http_header() in the example handler
1713 *) Fix an ab problem which could cause a divide-by-zero exception
1714 with certain invocations (e.g., ab -k -c 6 -n 100 localhost/).
1715 [Ian Holsman <ianh@cnet.com>]
1717 *) Solve case-insensitive platforms' confusion about negotiated
1718 filenames, allowing files of differnt case to match in choosing
1719 the document to serve. [William Rowe]
1721 *) Fix brokenness when ThreadsPerChild is higher than the built-in
1722 limit. We left ap_threads_per_child at the higher value which
1723 led to segfaults when doing certain scoreboard operations.
1726 *) Fix seg faults and/or missing output from mod_include. The
1727 default_handler was using the subrequest pool for files and
1728 MMAPs, even though the associated APR structures typically
1729 live longer than the subrequest. [Greg Ames]
1731 *) Extend mod_setenvif to support specifying regular expressions
1732 on the SetEnvIf (and SetEnvIfNoCase) directive attribute field.
1733 Example: SetEnvIf ^TS* [a-z].* HAVE_TS
1734 will cause HAVE_TS to be set if any of the request headers begins
1735 with "TS" and has a value that begins with any character in the
1736 set [a-z]. [Bill Stoddard]
1738 *) httpd children now re-bind themselves to a random CPU on
1739 multiprocessor systems on AIX via bindprocessor() in 2.0.
1740 [Victor J. Orlikowski]
1742 *) Fix htdigest. It would go into a loop in getline when adding
1743 a second user. [Bill Stoddard]
1745 *) Win32 platforms now fully support mod_userdir options. [Will Rowe]
1747 *) Automatically generate httpd.exp for AIX.
1748 DSOs now work again on AIX in 2.0
1749 [Victor J. Orlikowski]
1751 *) Add a new request hook, error_log. This phase allows modules
1752 to act on the error log string _after_ it has been written
1753 to the error log. The goal for this hook is to allow monitoring
1754 modules to send the error string to the monitoring agent.
1757 *) Modify mod_echo to make it use filters for input and output.
1758 [Ryan Morgan <rmorgan@covalent.net>]
1760 *) Extend mod_headers to support conditional driven Header
1761 add, append and set. Use SetEnvIf to set an envar and conditionally
1762 add/append/set headers based on this envar thusly:
1764 SetEnvIf TSMyHeader value HAVE_TSMyHeader
1765 Header add MyHeader "%t %D" env=HAVE_TSMyHeader
1767 If the request contains header "TSMyHeader: value" then header
1768 MyHeader: "t=xxxxxxxxxx D=yyyy" will be sent on the response.
1771 *) Extend mod_headers to support using format specifiers on Header
1772 add, append and set header values. Two format specifiers are supported:
1774 %t - reports, in UTC microseconds since the epoch, when the
1775 request was received.
1777 %D - reports the time, in microseconds, between when the request was
1778 received and the response sent.
1781 Header add MyHeader "This request served in %D microseconds. %t"
1783 results in a header being added to the response that looks like this:
1785 MyHeader: This request served in D=5438 microseconds. t=991424704447256
1789 *) Fix reset_filter(). We need to be careful how we remove filters.
1790 If we set r->output_filters to NULL, we also have to reset the
1791 connection's filters. [John Sterling]
1793 *) Optimise reset_filter() in http_protocol.c. [Greg Stein]
1795 *) Add a check to ap_die() to make sure the filter stack is sane and
1796 contains the correct basic filters when an error occurs. This fixes
1797 a problem where headers are not being sent on error. [John Sterling]
1799 *) New Header directive 'echo' option. "Header echo regex" will
1800 cause any headers received on the request that match regex to be
1801 echoed to (included in) the response headers.
1804 *) include/ap_compat.h tested and set APR_COMPAT_H instead of AP_COMPAT_H.
1805 This prevented the inclusion of apr_compat.h. PR #7773
1806 [Oleg Broytmann <phd@phd.pp.ru>]
1808 *) Moved util_uri to the apr-util library. This required a bunch of
1809 apr_name changes for the uri utility functions. [Justin Erenkrantz]
1811 *) Move the addition of default AP_HTTP_HTTP_HEADER filters to the
1812 insert_filter phase so that other filters are not bypassed by default.
1815 *) Reimplement mod_headers as an output filter. mod_headers can now
1816 add custom headers to inbound requests using the RequestHeader directive
1817 and to responses using the same old Header directive. [Graham Leggett]
1819 Changes with Apache 2.0.18
1821 *) Fix command-line processing so that if a bad argument is specified
1822 Apache will exit. [Jeff Trawick]
1824 *) Change the make targets and rules to be consistent in all of the
1825 Apache-owned source trees. [Roy Fielding]
1827 *) Fix processing of the TRACE method. Previously we passed bogus
1828 parms to form_header_field() and it overlaid some vhost structures,
1829 resulting in a segfault in check_hostalias().
1830 [Greg Ames, Jeff Trawick]
1832 *) Win32: Add support for reliable piped logs. If the logging process
1833 goes down, Apache will automatically restart it. This function has
1834 been part of Apache on Unix/Linux/BSD since the early v1.3 releases.
1837 *) Do not start piped log processes during the config file
1838 preflight. This change also circumvents a problem on
1839 Windows where the rotatelog processes created during preflight
1840 was not getting cleaned up properly.
1843 *) add "Request Phase Participation" info to mod_info
1846 *) Make first phase changes to the scoreboard data structures in
1847 preparation for the rewriting of the scoreboard per my posted
1848 design notes. [Paul J. Reder]
1850 *) Fix httpd's definition of LTFLAGS to be consistent with that of apr
1851 and apr-util, allow it to be overridden by the configure command-line
1852 (default="--silent") and introduce LT_LDFLAGS to replace what we were
1853 formerly abusing as LTFLAGS. [Roy Fielding]
1855 *) Clean up the reporting of incorrect closing container tags.
1856 [Barrie Slaymaker <barries@slaysys.com>]
1858 *) Simplify the configure process by moving all libtool stuff to APR
1859 and moving hints.m4 inline. [Roy Fielding]
1861 *) Add the AP_DECLARE()/AP_CORE_DECLARE macros on the return types
1862 of functions used by mod_proxy for export in the DLL
1863 [Ian Holsman <IanH@cnet.com>]
1865 *) Prevent a hang when a cgi handled by mod_cgid tries to read a
1866 request body from its stdin but no reqest body is being written to
1867 the cgi. [Jeff Trawick]
1869 *) mod_log_config: %c connection status incorrectly logged
1870 as "-" (non-keepalive) when MaxKeepAliveRequests is set to 0.
1873 *) Get mod_cern_meta working under Windows
1876 *) Create Files, and thus MMAPs, out of the request pool, not the
1877 connection pool. This solves a small resource leak that had us
1878 not closing files until a connection was closed. In order to do
1879 this, at the end of the core_output_filter, we loop through the
1880 brigade and convert any data we have into a single HEAP bucket
1881 that we know will survive clearing the request_rec.
1882 [Ryan Bloom, Justin Erenkrantz <jerenkrantz@ebuilt.com>,
1885 *) Completely revamp configure so that it preserves the standard make
1886 variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving
1887 the configure additions to EXTRA_* variables. Also, allow the user
1888 to specify NOTEST_* values for all of the above, which eliminates the
1889 need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM. Fix the setting
1890 of INCLUDES and EXTRA_INCLUDES. Check flags as they are added to
1891 avoid pointless duplications. Fix the order in which flags are given
1892 on the compile and link lines. Remove obsolete macros APR_DOEXTRA,
1893 AC_ADD_LIBRARY, AC_CHECK_DEFINE, APACHE_PASSTHRU, and APACHE_ONCE.
1894 Added APR_SAVE_THE_ENVIRONMENT and APR_RESTORE_THE_ENVIRONMENT macros.
1895 Renamed AC_TYPE_RLIM_T macro to APACHE_TYPE_RLIM_T. [Roy Fielding]
1897 *) Get mod_tls to compile/work better on Windows. PR #7612
1898 [Bernhard Schrenk <b.schrenk@improx.com>]
1900 *) Fix shutdown/restart hangs in the threaded MPM.
1901 [Jeff Trawick, Greg Ames, Ryan Bloom]
1903 *) Removed the keptalive boolean from conn_rec because it is now only
1904 used by a single routine and can be replaced by a local variable.
1905 [Greg Stein, Ryan Bloom, Roy Fielding]
1907 *) Patch prefork to put enough of the signal processing back in so that
1908 signals are all handled properly now. The previous patch fixed the
1909 deadlock race condition, but broke the user directed signal handling.
1910 This fixes it to work the way it did before my previous prefork patch
1911 (primarily, SIGTERM is now working).
1913 *) Change how input filters decide how much data is returned to the
1914 higher filter. We used to use a field in the conn_rec, with this
1915 change, we use an argument to ap_get_brigade to determine how much
1916 data is retrieved. [Ryan Bloom]
1918 *) Fix seg fault at start-up introduced by Ryan's change to enable
1919 modules to specify their own logging tags. mod_log_config
1920 registers an optional function, ap_register_log_handler().
1921 ap_register_log_handler() was being called by http_core before
1922 the directive hash table was created. This patch creates the
1923 directive hash table before ap_register_log_handler() is
1924 registered as an optional function.
1925 [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
1927 *) Add ap_set_int_slot() function
1928 [John K. Sterling <sterling@covalent.net>]
1930 *) Under certain circumstances, Apache did not supply the
1931 right response headers when requiring authentication.
1932 [Gertjan van Wingerde <Gertjan.van.Wingerde@cmg.nl>] PR#7114
1933 (This is a port of the change that went into Apache 1.3.19.)
1935 *) Allow modules to specify their own logging tags. This basically
1936 allows a module to tell mod_log_config that when %x is encountered
1937 a specific function should be called. Currently, x can be any single
1938 character. It may be more useful to make this a string at some point.
1941 Changes with Apache 2.0.17
1943 *) If a higher-level filter handles the the byterange aspects of a
1944 request, then the byterange filter should not try to redo the
1945 work. The most common case of this happening, is a byterange
1946 request going through the proxy, and the origin server handles
1947 the byterange request. The proxy should ignore it.
1948 [Graham Leggett <minfrin@sharp.fm>]
1950 *) Changed the threaded mpm to have child_main join to each of the
1951 worker threads to make sure the kids are all gone before child_main
1952 exits after a signal (cleanup from perform_idle_server_maintenance).
1953 This is an extension of Ryans recent commit to make the child_main
1956 *) Add more options to the ap_mpm_query function. This also allows MPMs to
1957 report if their threads are dynamic or static. Finally, this also
1958 implements a new API, ap_show_mpm, which returns the MPM that was
1959 required into the core. [Harrie Hazewinkel <harrie@covalent.net>]
1961 *) Do not install the binaries from the support directory twice.
1962 [jun-ichiro hagino <itojun@iijlab.net>]
1964 *) The ap_f* functions should flush data to the filter that is passed
1965 in, not the the filter after the one passed in.
1966 [Ryan Morgan <rmorgan@covalent.net>]
1968 *) Make ab work again by changing its native types to apr types and formats.
1969 [Justin Erenkrantz <jerenkrantz@ebuilt.com>]
1971 *) Move the byterange filter and all of the supporting functions back
1972 to the HTTP module. The byterange filter turned out to be very
1973 HTTP specific, and it belongs in the HTTP module. [Greg Stein]
1975 *) Make clean, distclean, and extraclean consistently according to the
1976 Gnu makefile guidelines. [Justin Erenkrantz <jerenkrantz@ebuilt.com>]
1978 *) Fix errors in the renaming of the apr_threadattr_detach_xxx functions.
1979 This may have been causing problems stopping processes in the threaded
1982 *) Fix content-length in mod_negotiation to a long int representation.
1985 *) Remove BindAddress from the default config file.
1986 [giles@nemeton.com.au]
1988 *) Allow module authors to add a module to their Apache build using
1989 --with-module, without re-running buildconf. The syntax is:
1990 --with-module=module_type:/path/to/module.c
1991 The configure script will copy the module.c file to
1992 modules/module_type, and it will be added to the relevant Makefiles.
1993 currently, this only works for static modules. [Ryan Bloom]
1995 *) Changes required to make prefork clean up idle children properly.
1996 There was a window during which a starting worker deadlocks when
1997 an idle cleanup arrives before it completes init. Apache then keeps
1998 trying to cleanup the same deadlocked worker forever (until higher
1999 pids come along, but it still will never reduce below the deadlocked
2000 pid). Thus the number of children would not reduce to the correct
2001 idle level. [Paul J. Reder]
2003 Changes with Apache 2.0.16
2005 *) Change the default installation directory to /usr/local/apache2,
2006 as now defined by the "Apache" layout in config.layout. [Marc Slemko]
2008 *) OS/2: Added support for building loadable modules as OS/2 DLLs.
2011 *) Get MaxRequestsPerChild working with the Windows MPM.
2014 *) Make generic hooks to work, with mod_generic_hook_import/export
2015 experimental modules. [Ben Laurie, Will Rowe]
2017 *) Fix segfaults for configuration file syntax errors such as
2018 "<Directory>" followed by "</Directory" and
2019 "<Directory>" followed by "</Directoryz>". [Jeff Trawick]
2021 *) Cleanup the --enable-layout option of configure. This makes
2022 us use a consistent location for the config.layout file, and it
2023 makes configure more portable.
2024 [jun-ichiro hagino <itojun@iijlab.net>]
2026 *) Changes to 'ab'; fixed int overrun's, added statistics, output in
2027 csv/gnuplot format, rudimentary ssl support and various other tweaks
2028 to make results more true to what is measured. The upshot of this it
2029 turns out that 'ab' has often underreported the true performance of
2030 apache. Often by a order of magnitude :-) See talk/paper of Sander
2031 Temme at April ApacheCon 2001 for details.
2032 [Dirk-Willem van Gulik]
2034 *) Clean up mod_cgid's temporary request pool. Besides fixing a
2035 storage leak this ensures that some unnecessary pipes are closed.
2038 *) Performance: Add quick_handler hook. This hook is called at the
2039 very beginning of the request processing before location_walk,
2040 translate_name, etc. This hook is useful for URI keyed content
2041 caches like Mike Abbott's Quick Shortcut Cache.
2044 *) top_module global variable renamed to ap_top_module [Perl]
2046 *) Move ap_set_last_modified to the core. This is a potentially
2047 controversial change, because this is kind of HTTP specific. However
2048 many protocols should be able to take advantage of this kind of
2049 information. I expect that headers will need one more layer of
2050 indirection for multi-protocol work, but this is a small step in
2051 the right direction. [Ryan Bloom]
2053 *) Enable mod_status by default. This matches what Apache 1.3 does.
2056 *) Add a ScriptSock directive to the default config file. This is
2057 only enabled when mod_cgid is used.
2058 [Taketo Kabe <kabe@sra-tohoku.co.jp>]
2060 Changes with Apache 2.0.15
2062 *) Untangled the buildconf script and eliminated the need for build's
2063 aclocal.m4, generated_lists, build.mk, build2.mk, and a host of other
2064 libtool muck that is now under srclib/apr/build. [Roy Fielding]
2066 *) Win32: Don't accept more connections than we have worker threads
2070 *) Fix bug in the Unix threaded.c MPM that allowed child processes
2071 to fork() new child processes.
2074 *) Fix a major security problem with double-reverse lookup checking.
2075 Previously, a client connecting over IPv4 would not be matched
2076 properly when the server had an IPv6 listening socket. PR #7407
2077 [Taketo Kabe <kiabe@sra-tohoku.co.jp>]
2079 *) Change the way the beos MPM handles polling to allow it to stop and
2080 restart. Problem was the sockets being polled were being reset by
2081 the select call, so once it had accepted a connection it was no
2082 longer listening on the UDP socket we use for shutdown instructions.
2083 APR needs to be altered, patch on it's way. [David Reid]
2085 *) Empty out the brigade shared by ap_getline()/ap_get_client_block()
2086 on error exit from ap_getline(). Some other code got upset because
2087 the wrong data was in the brigade. [Greg Ames, Jeff Trawick]
2089 *) Handle ap_discard_request_body() being called more than once.
2090 [Greg Ames, Jeff Trawick]
2092 *) Get rid of an inadvertent close of file descriptor 2 in
2093 mod_mime_magic. [Greg Ames, Jeff Trawick]
2095 *) Add a hook, create_request. This hook allows modules to modify
2096 a request while it is being created. This hook is called for all
2097 request_rec's, main request, sub request, and internal redirect.
2098 When this hook is called, the the r->main, r->prev, r->next
2099 pointers have been set, so modules can determine what kind of
2100 request this is. [Ryan Bloom]
2102 *) Cleanup the build process a bit more. The Apache configure
2103 script no longer creates its own helper scripts, it just
2105 [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
2107 *) Stop the forced downgrade of the connection to HTTP/1.0 for
2108 proxy requests. [Graham Leggett]
2110 *) Avoid using sscanf to determine the HTTP protocol number in
2111 the common case because sscanf is a performance hog. From
2112 Mike Abbot's Accelerating Apache patch number 6.
2113 [Mike Abbot <mja@trudge.engr.sgi.com>, Bill Stoddard]
2115 *) Fix a security exposure in mod_access. Previously when IPv6
2116 listening sockets were used, allow/deny-from-IPv4-address rules
2117 were not evaluated properly (PR #7407). Also, add the ability to
2118 specify IPv6 address strings with optional prefix length on Allow
2119 and Deny. [Jeff Trawick]
2121 *) Enhance rotatelogs so that a UTC offset can be specified, and
2122 the logfile name can be formatted using strftime(3). (Brought
2123 forward from 1.3.) [Ken Coar]
2125 *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling
2126 DuplicateHandle on an IOCompletionPort (a practice which
2127 MS "discourages"). The new model does not rely on associating
2128 the completion port with the listening sockets, thus the
2129 completion port can be completely managed within the child
2130 process. A dedicated thread accepts connections off the network,
2131 then calls PostQueuedCompletionStatus() to wake up worker
2132 threads blocked on the completion port.
2135 *) Bring forward the --suexec-umask option which allows the
2136 builder to preset the umask for suexec processes. [Ken Coar]
2138 *) Add a -V flag to suexec, which causes it to display the
2139 compile-time settings with which it was built. (Only
2140 usable by root or the AP_HTTPD_USER username.) [Ken Coar]
2142 *) Mod_include should always unset the content-length if the file is
2143 going to be passed through send_parsed_content. There is no to
2144 determine if the content will change before actually scanning the
2145 entire content. It is far safer to just remove the C-L as long
2146 as we are scanning it. [Ryan Bloom]
2148 *) Make sure Apache sends WWW-Authenticate during a reverse proxy
2149 request and not Proxy-Authenticate.
2150 [Graham Leggett <minfrin@sharp.fm>]
2152 Changes with Apache 2.0.14
2154 *) Fix content-length computation. We ONLY compute a content-length if
2155 We are not in a 1.1 request and we cannot chunk, and this is a keepalive
2156 or we already have all the data. [Ryan Bloom]
2158 *) Report unbounded containers in the config file. Previously, a typo
2159 in the </container> directive could result in the rest of the config
2160 file being silently ignored, with undesired defaults used.
2163 *) Make the old_write filter use the ap_f* functions for the buffering.
2166 *) Move more code from the http module into the core server. This
2167 is core code, basically the default handler, the default input
2168 and output filters, and all of the core configuration directives.
2169 All of this code is required in order for the server to work, with or
2170 without HTTP. The server is closer to working without the HTTP
2171 module, although there is still more to do. [Ryan Bloom]
2173 *) Fix a number of SGI compile warnings throughout the server. Fix some
2174 bad parameters to apr_bucket_read(). Fix a bad statement in
2175 ap_method_in_list(). For the mod_rewrite cache use apr_time_t
2176 consistently; we were mixing apr_time_t and time_t in invalid ways
2177 before. In load_file(), call apr_dso_error() instead of
2178 apr_strerror() so that we get a more specific string on some platforms.
2179 PR #6980 [Jeff Trawick]
2181 *) Allow modules to query the MPM about it's execution profile. This
2182 query API can and should be extended in the future, but for now,
2183 max_daemons, and threading or forking is a very good start.
2184 [Jon Travis <jtravis@covalent.net>]
2186 *) Modify mod_include to send blocks of data no larger than 9k.
2187 Without this, mod_include will wait until the whole file is parsed,
2188 or the first tag is found to send any data to the client.
2189 [Paul J. Reder <rederpj@raleigh.ibm.com>]
2191 *) Fix mod_info, so that <Directory> and <Location> directives are
2192 not displayed twice when displaying the current configuration.
2193 [Ryan Morgan <rmorgan@covalent.net>]
2195 *) Add config directives to override DEFAULT_ERROR_MSG and
2196 DEFAULT_TIME_FORMAT. This was sent in as PR 6193.
2197 [Dan Rench <drench@xnet.com>]
2199 *) Get mod_info building and loading on Win32. [William Rowe]
2201 *) Begin to move protocol independant functions out of mod_http. The goal
2202 is to have only functions that are HTTP specific in the http directory.
2205 Changes with Apache 2.0.13
2207 *) Don't assume that there will always be multiple calls to the byterange
2208 filter. It is possible that we will need to do byteranges with only
2209 one call to the filter. [Ryan Morgan <rmorgan@covalent.net>]
2211 *) Move the error_bucket definition from the http module to the
2212 core server. Every protocol will need this ability, not just
2215 Changes with Apache 2.0.12
2217 *) Modify mod_file_cache to save pre-formatted strings for
2218 content-length and last-modified headers for performance.
2219 [Mike Abbot <mja@trudge.engr.sgi.com>]
2221 *) Namespace protect IOBUFSIZ since it is exposed in the API.
2222 [Jon Travis <jtravis@covalent.net>]
2224 *) Use "Basic" authentication instead of "basic" in ab, as the spec
2225 says we should. [Andre Breiler <andre.breiler@rd.bbc.co.uk>]
2227 *) Fix a seg fault in mod_userdir.c. We used to use the pw structure
2228 without ever filling it out. This fixes PR 7271.
2229 [Taketo Kabe <kabe@sra-tohoku.co.jp> and
2230 Cliff Woolley <cliffwoolley@yahoo.com>]
2232 *) Add a couple of GCC attribute tags to printf style functions.
2233 [Jon Travis <jtravis@covalent.net>]
2235 *) Add the correct language tag for interoperation with the Taiwanese
2236 versions of MSIE and Netscape. [Clive Lin <clive@CirX.ORG>] PR#7142
2238 *) Migrate the perchild MPM to use the new apr signal child, and
2239 APR thread functions. [Ryan Bloom]
2241 *) Close one copy of the CGI's stdout before creating the new process.
2242 The CGI will still have stdout, because we have already dup'ed it.
2243 This keeps Apache from waiting forever to send the results of a CGI
2244 process that has forked a long-lived child process.
2245 [Taketo Kabe <kabe@sra-tohoku.co.jp>]
2247 *) Remove the rest of the pthreads functions from the threaded MPM.
2248 This requires the APR support for a signal thread that was just
2251 *) Make mod_dir use a fixup for sending a redirect to the browser.
2252 Before this, we were using a handler, which doesn't make much
2253 sense, because the handler wasn't generating any data, it would
2254 either return a redirect error code, or DECLINED. This fits the
2255 current hooks better. [Ryan Morgan <rmorgan@covalent.net>]
2257 *) Make the threaded MPM use APR threads instead of pthreads.
2260 *) Get mod_tls to the point where it actually appears to work in all cases.
2263 *) implement --enable-modules and --enable-mods-shared for "all" and
2264 "most". [Greg Stein]
2266 *) Move the threaded MPM to use APR locks instead of pthread locks.
2269 *) Rename mpmt_pthread to threaded. This is more in line with the
2270 fact that mpmt_pthread shouldn't be using pthreads directly, and
2271 it is a smaller name that doesn't tie into anything.
2274 *) Rename the module structures so that the exported symbol matches
2275 the file name, and it is easier to automate the installation
2276 process (generating LoadModule directives from the module filenames).
2279 *) Remove the coalesce filter. With the ap_f* functions, this filter
2280 is no longer needed. [Ryan Bloom]
2282 Changes with Apache 2.0.11
2284 *) Remove the dexter MPM. Perchild is the same basic idea, but it has the
2285 added feature of allowing a uid/gid per child process. If no
2286 uid/gid is specified, then Perchild behaves exactly like dexter.
2289 *) Get perchild building again. [Ryan Bloom]
2291 *) Don't disable threads just because we are using the prefork MPM.
2292 If somebody wants to compile without threads, they must now add
2293 --disable-threads to the configure command line. [Ryan Bloom]
2295 *) Begin to move the calls to update_child_status into common code, so
2296 that each individual MPM does not need to update the scoreboard itself.
2299 *) Allow mod_tls to compile under Unix boxes where openssl has been
2300 installed to the system include files.
2301 [Gomez Henri <new-httpd@slib.fr>]
2303 *) Cleanup the mod_tls configure process. This should remove any need
2304 to hand-edit any files. We require OpenSSL 0.9.6 or later, but
2305 configure doesn't check that yet. [Ryan Bloom]
2307 *) Add a very early prototype of SSL support (in mod_tls.c). It is
2308 vital that you read modules/tls/README before attempting to build
2311 *) Fix a potential seg fault on all platforms. David Reid fixed this
2312 on BEOS, but the problem could happen anywhere, so we don't want
2313 to #ifdef it. [Cliff Woolley <cliffwoolley@yahoo.com>]
2315 *) Add new LogFormat directive, %D, to log time it takes to serve a
2316 request in microseconds. [Bill Stoddard]
2318 *) Change AddInputFilter and AddOutputFilter to SetInputFilter and
2319 SetOutputFilter. This corresponds nicely with the other Set
2320 directives, which operate on containers while the Add* directives
2321 tend to work directly on extensions. [Ryan Bloom]
2323 *) Cleanup the header handling a bit. This uses the apr_brigade_*
2324 functions for the buffering so that we don't need to compute
2325 the length of the headers before we actually create the header
2326 buffer. [Ryan Bloom]
2328 *) Allow filters to buffer data using the ap_f* functions. These have
2329 become macros that resolve directly to apr_brigade_*.
2332 *) Get the Unix MPM's to do a graceful restart again. If we are going
2333 to register a cleanup with ap_cleanup_scoreboard, then we have to
2334 kill the cleanup with the same function, and that function can't be
2335 static. [Ryan Bloom]
2337 *) Install all required header files. Without these, it was not
2338 possible to compile some modules outside of the server.
2341 *) Fix the AliasMatch directive in Apache 2.0. When we brought a patch
2342 forward from 1.3 to 2.0, we missed a single line, which broke regex
2343 aliases. [Ryan Bloom]
2345 *) We have a poor abstraction in the protocol. This is a temporary
2346 hack to fix the bug, but it will need to be fixed for real. If
2347 we find an error while sending out a custom error response, we back
2348 up to the first non-OK request and send the data. Then, when we send
2349 the EOS from finalize_request_protocol, we go to the last request,
2350 to ensure that we aren't sending an EOS to a request that has already
2351 received one. Because the data is sent on a different request than
2352 the EOS, the error text never gets sent down the filter stack. This
2353 fixes the problem by finding the last request, and sending the data
2354 with that request. [Ryan Bloom]
2356 *) Make the server status page show the correct restart time, and
2357 thus the proper uptime. [Ryan Bloom]
2359 *) Move the CGI creation logic from mod_include to mod_cgi(d). This
2360 should reduce the amount of duplicate code that is required to
2361 create CGI processes.
2362 [Paul J. Reder <rederpj@raleigh.ibm.com>]
2364 *) ap_new_connection() closes the socket and returns NULL if a socket
2365 call fails. Usually this is due to a connection which has been
2366 reset. [Jeff Trawick]
2368 *) Move the Apache version information out of httpd.h and into release.h.
2369 This is in preparation for the first tag with the new tag and release
2370 system. [Ryan Bloom]
2372 *) Begin restructuring scoreboard code to enable adding back in
2373 the ability to use IPC other than shared memory.
2374 Get mod_status working on Windows again. [Bill Stoddard]
2376 *) Make mod_status work with 2.0. This will work for prefork,
2377 mpmt_pthread, and dexter. [Ryan Bloom]
2379 *) Correct a typo in httpd.conf.
2380 [Kunihiro Tanaka <tanaka@apache.or.jp>] PR#7154
2382 *) Really fix mod_rewrite map lookups this time. [Tony Finch]
2384 *) Get the correct IP address if ServerName isn't set and we can't
2385 find a fully-qualified domain name at startup.
2386 PR#7170 [Danek Duvall <dduvall@eng.sun.com>]
2388 *) Make mod_cgid work with SuExec. [Ryan Bloom]
2390 *) Adopt apr user/group name features for mod_rewrite. Eliminates some
2391 'extra' stat's for user/group since they should never occur, and now
2392 resolves the SCRIPT_USER and SCRIPT_GROUP, including on WinNT NTFS
2393 volumes. [William Rowe]
2395 *) Adopt apr features to simplify mod_includes. This changes the
2396 behavior of the USER_NAME variable, unknown uid's are now reported
2397 as USER_NAME="<unknown>" rather than the old user#000 result.
2398 WinNT now resolves USER_NAME on NTFS volumes. [William Rowe]
2400 *) Adopt apr features for simplifing mod_userdir, and accept the new
2401 Win32/OS2 exceptions without hiccuping. [William Rowe]
2403 *) Replace configure --with-optim option by using and saving the
2404 environment variable OPTIM instead. This is needed because configure
2405 options do not support multiple flags separated by spaces.
2408 *) Fix some byterange handling. If we get a byte range that looks like
2409 "-999999" where that is past the end of the file, we should return
2410 a PARTIAL CONTENT status code, and return the whole file as one big
2411 byterange. This matches the 1.3 handling now. [Ryan Bloom]
2413 *) Make the error bucket a real meta-data bucket. This means that the
2414 bucket length is 0, and a read returns NULL data. If one of these
2415 buckets is passed down after the headers are sent, this data will
2416 just be ignored. [Greg Stein]
2418 *) The prefork MPM wasn't killing child processes correctly if a restart
2419 signal was received while the process was serving a request. The child
2420 process would become the equivalent of a second parent process. If
2421 we break out of the accept loop, then we need to do die after cleaning
2422 up after ourselves. [Ryan Bloom]
2424 *) Change the Prefork MPM to use SIGWINCH instead of SIGUSR1 for graceful
2425 restarts. [Ryan Bloom]
2427 *) Modify the apr_stat/lstat/getfileinfo calls within apache to use
2428 the most optimal APR_FINFO_wanted bits. This spares Win32 from
2429 performing very expensive owner, group and permission lookups
2430 and allows the server to function until these apr_finfo_t fields
2431 are implemented under Win32. [William Rowe]
2433 *) Support for typedsafe optional functions - that is functions exported by
2434 optional modules, which, therefore, may or may not be present, depending
2435 on configuration. See the experimental modules mod_optional_fn_{ex,im}port
2436 for sample code. [Ben Laurie]
2438 *) filters can now report an HTTP error to the server. This is done
2439 by sending a brigade where the first bucket is an error_bucket.
2440 This bucket is a simple bucket that stores an HTTP error and
2441 a string. Currently the string is not used, but it may be needed
2442 to output an error log. The http_header_filter will find this
2443 bucket, and output the error text, and then return
2444 AP_FILTER_ERROR, which informs the server that the error web page
2445 has already been sent. [Ryan Bloom]
2447 *) If we get an error, then we should remove all filters except for
2448 those critical to serving a web page. This fixes a bug, where
2449 error pages were going through the byterange filter, even though
2450 that made no sense. [Ryan Bloom]
2452 *) Relax the syntax checking of Host: headers in order to support
2453 iDNS. PR#6635 [Tony Finch]
2455 *) Cleanup the byterange filter to use the apr_brigade_partition
2456 and apr_bucket_copy functions. This removes a lot of very messy
2457 code, and hopefully makes this filter more stable.
2460 *) Remove AddModule and ClearModuleList directives. Both of these
2461 directives were used to ensure that modules could be enabled
2462 in the correct order. That requirement is now gone, because
2463 we use hooks to ensure that modules are in the correct order.
2466 *) When SuExec is specified, we need to add it to the list of
2467 targets to be built. If we don't, then any changes to the
2468 configuration won't affect SuExec, unless 'make suexec' is
2469 specifically run. [Ryan Bloom]
2471 *) Cleaned out open_file from mod_file_cache, as apr now accepts
2472 the APR_XTHREAD argument to open a file for consumption by
2473 parallel threads on win32. [William Rowe]
2475 *) Correct a bug in determining when we follow symlinks. The code
2476 expected a stat -1 result, not an apr_status_t positive error.
2477 Also check if the APR_FINFO_USER fields are valid before we
2478 follow the link. [William Rowe]
2480 *) Move initgroupgs, ap_uname2id and ap_gname2id from util.c to
2481 mpm_common.c. These functions are only valid on some platforms,
2482 so they should not be in the main-line code. [Ryan Bloom]
2484 *) Remove ap_chdir_file(). This function is not thread-safe,
2485 and nobody is currently using it. [Ryan Bloom]
2487 *) Do not try to run make depend if there are no .c files in the
2488 current directory, doing so makes `make depend` fail.
2491 *) Update highperformance.conf to work with either prefork or
2492 pthreads mpms. [Greg Ames]
2494 *) Stop checking to see if this is a pipelined request if we know
2495 for a fact that it isn't. Basically, if r->connection->keepalive == 0.
2496 This keeps us from making an extra read call when serving a 1.0
2497 request. [Ryan Bloom and Greg Stein]
2499 *) Fix the handling of variable expansion look-ahead in mod_rewrite,
2500 i.e. syntax like %{LA-U:REMOTE_USER}, and also fix the parsing of
2501 more complicated nested RewriteMap lookups. PR#7087 [Tony Finch]
2503 *) Fix the RFC number mentioned when complaining about a missing
2504 Host: header. PR#7079 [Alexey Toptygin <alexeyt@wam.umd.edu>]
2506 *) Fix an endless loop in ab which occurred when ab was posting
2507 and the server dropped the connection unexpectedly.
2510 *) Fix a segfault while handling request bodies in ap_http_filter().
2511 This problem has been seen with mod_dav usage as well as with
2512 requests where the body was just being discarded. [Jeff Trawick]
2514 *) Some adjustment on the handling and automatic setting (via
2515 hints.m4) of various compilation flags (eg: CFLAGS). Also,
2516 add the capability to specify flags (NOTEST_CFLAGS and
2517 NOTEST_LDFLAGS) which are used to compile Apache, but
2518 not used during the configuration process. Useful for
2519 flags like "-Werror". [Jim Jagielski]
2521 *) Stop using environment variables to force debug mode or
2522 no detach. We now use the -D command line argument to
2523 specify the correct mode. -DONE_PROCESS and -DNO_DETACH.
2524 [Greg Stein, Ryan Bloom]
2526 *) Change handlers to use hooks. [Ben Laurie]
2528 *) Stop returning copies of filenames from both apr_file_t and
2529 apr_dir_t. We pstrdup the filenames that we store in the
2530 actual structures, so we don't need to pstrdup the strings again.
2533 *) mod_cgi: Fix some problems where the wrong error value was being
2534 traced. [Jeff Trawick]
2536 *) EBCDIC: Fix some missing ASCII conversion on some protocol data.
2539 *) Add generic hooks. [Ben Laurie]
2541 *) Use a real pool to dup the error log descriptor. [Ryan Bloom]
2543 *) Fix a segfault caused by mod_ext_filter when the external filter
2544 program does not exist. [Jeff Trawick]
2546 *) Fix an output truncation error when on an HTTP >= 1.0 request an
2547 object of size between DEFAULT_BUCKET_SIZE and AP_MIN_BYTES_TO_WRITE
2548 was served through mod_charset_lite (or anything else that would
2549 create a transient bucket in this size range). ap_bucket_make_heap()
2550 silently failed (fixed), transient_setaside() discovered it, but
2551 ap_save_brigade() ignored it (fixed). [Jeff Trawick]
2553 *) Ignore \r\n or \n when using PEEK mode for input filters. The problem
2554 is that some browsers send extra lines at the end of POST requests, and
2555 we don't want to delay sending data back to the user just because the
2556 browser isn't well behaved. [Ryan Bloom]
2558 *) Get SuEXEC working again. We can't send absolute paths to suExec
2559 because it refuses to execute those programs. SuEXEC also wasn't
2560 always recognizing configuration changes made using the autoconf
2563 *) Allow the buildconf process to find the config.m4 files in the correct
2564 order. Basically, we can now name config.m4 files as config\d\d.m4,
2565 and we will sort them correctly when inserting them into the build
2566 process. [Ryan Bloom]
2568 *) Get mod_cgid to use apr calls for creating the actual CGI process.
2569 This also allows mod_cgid to use ap_os_create_priviledged_process,
2570 thus allowing for SuExec execution from mod_cgid. Currently, we do
2571 not support everything that standard SuExec supports, but at least
2572 it works minimally now. [Ryan Bloom]
2574 *) Allow SuExec to be configured from the ./configure command line.
2577 *) Update some of the docs in README and INSTALL to reflect some of
2578 the changes in Apache 2.0 [Cliff Woolley <cliffwoolley@yahoo.com>]
2580 *) If we get EAGAIN returned from the call to apr_sendfile, then we
2581 need to call sendfile again. This gets us serving large files
2582 such as apache_2.0a9.tar.gz on FreeBSD again. [Ryan Bloom]
2584 *) Get the support programs building cleanly again.
2585 [Cliff Woolley <cliffwoolley@yahoo.com>]
2587 *) The Apache/Win32 Apache.exe and dll's now live in bin. The
2588 current directory logic now backs up over bin/ to determine the
2589 server root from the Apache.exe path.
2591 *) Apache/Win32 now follows the standard conventions of mod_foo.so
2592 loadable modules, dynamic libs are all named libfoo.dll, and the
2593 makefile.win populates the include, lib and libexec directories.
2595 *) Apache is now IPv6-capable. On systems where APR supports IPv6,
2596 Apache gets IPv6 listening sockets by default. Additionally, the
2597 Listen, NameVirtualHost, and <VirtualHost> directives support IPv6
2598 numeric address strings (e.g., "Listen [fe80::1]:8080").
2601 *) Modify the install directory layout. Modules are now installed in
2602 modules/. Shared libraries should be installed in libraries/, but
2603 we don't have any of those on Unix yet. All install directories
2604 are modifyable at configure time. [Ryan Bloom]
2606 *) Install all header files in the same directory on Unix. [Ryan Bloom]
2608 *) Get the functions in server/linked into the server, regardless of
2609 which modules linked into the server. This uses the same hack
2610 for Apache that we use for APR and apr-util to ensure all of the
2611 necessary functions are linked. As a part of thise, the CHARSET_EBCDIC
2612 was renamed to AP_CHARSET_EBCDIC for namespace protection, and to make
2613 the scripts a bit easier.
2616 *) Rework the RFC1413 handling to make it thread-safe, use a timeout
2617 on the query, and remove IPv4 dependencies. [Jeff Trawick]
2619 *) Get all of the auth modules to the point that they will install and
2620 be loadable into the server. Our new build/install mechanism expects
2621 that all modules will have a common name format. The auth modules
2622 didn't use that format, so we didn't install them properly.
2625 *) API routines ap_pgethostbyname() and ap_pduphostent() are no longer
2626 available. Use apr_getaddrinfo() instead. [Jeff Trawick]
2628 *) Get "NameVirtualHost *" working in 2.0. [Ryan Bloom]
2630 *) Return HTTP_RANGE_NOT_SATISFIABLE if the every range requested starts
2631 after the end of the response. [Ryan Bloom]
2633 *) Get byterange requests working with responses that do not have a
2634 content-length. Because of the way byterange requests work, we have to
2635 have all of the data before we can actually do the byterange, so we
2636 can compute the content-length in the byterange filter.
2639 *) Get exe CGI's working again on Windows.
2642 *) Get mod_cgid and mod_rewrite to work as DSOs by changing the way
2643 they keep track of whether or not their post config hook has been
2644 called before. Instead of a static variable (which is replaced when
2645 the DSO is loaded a second time), use userdata in the process pool.
2648 Changes with Apache 2.0a9
2650 *) Win32 now requires perl to complete the final install step for users
2651 to build + install on Win32. Makefile.win now rewrites @@ServerRoot@
2652 and installs the conf, htdocs and htdocs/manual directories.
2655 *) Make mod_include use a hash table to associate directive tags with
2656 functions. This allows modules to implement their own SSI tags easily.
2657 The idea is simple enough, a module can insert it's own tag and function
2658 combination into a hash table provided by mod_include. While mod_include
2659 parses an SSI file, when it encounters a tag in the file, it does a
2660 hash lookup to find the function that implements that tag, and passes
2661 all of the relevant data to the function. That function is then
2662 responsible for processing the tag and handing the remaining data back
2663 to mod_include for further processing.
2664 [Paul J. Reder <rederpj@raleigh.ibm.com>]
2666 *) Get rid of ap_new_apr_connection(). ap_new_connection() now has
2667 fewer parameters: the local and remote socket addresses were removed
2668 from the parameter list because all required information is available
2669 via the APR socket. [Jeff Trawick]
2671 *) Distribution directory structure reorganized to reflect a
2672 normal source distribution with external install targets.
2675 *) The MPMs that need multiple segments of shared memory now create
2676 two apr_shmem_t variables, one for each shared memory allocation.
2677 the problem is that we can't determine how much memory will be required
2678 for shared memory allocations once we try to allocate more than one
2679 variable. The MM code automatically aligns the shared memory allocations,
2680 so we end up needing to pad the amount of shared memory we want based
2681 on how many variables will be allocated out of the shared memory segment.
2682 It is just easier to create a second apr_shmem_t variable, and two
2683 shmem memory blocks.
2686 *) Cleanup the export list a bit. This creates a single unified list of
2687 functions exported by APR. The export list is generated at configure
2688 time, and that list is then used to generate the exports.c file.
2689 Because of the way the export list is generated, we only export those
2690 functions that are valid on the platform we are building on.
2693 *) Enable logging the cookie with mod_log_config
2694 [Sander van Zoest <sander@covalent.net>]
2696 *) Fix a segfault in mod_info when it reaches the end of the configuration.
2699 *) Added lib/aputil/ as a placeholder for utility functions which are not
2700 specific to the Apache HTTP Server (but do not make sense with APR).
2701 The first utility is "apu_dbm": a set of functions to work with DBM
2702 files. This first version can be compiled for SDBM or GDBM databases.
2705 *) Complete re-write of mod_include. This makes mod_include a filter that
2706 uses buckets directly. This has now served the FAQ correctly.
2707 [Paul Reder <rederpj@raleigh.ibm.com>]
2709 *) Allow modules to specify the first filter in a sub_request when
2710 making the sub_request. This keeps modules from having to change the
2711 output_filter immediately after creating the sub-request, and therefore
2712 skip the sub_req_output_filter. [Ryan Bloom]
2714 *) Update ab to accept URLs with IPv6 literal address strings (in the
2715 format described in RFC 2732), and to build Host header fields in
2716 the same format. This allows IPv6 literal address strings to be
2717 used with ab. This support has been tested against Apache 1.3 with
2718 the KAME patch, but Apache 2.0 does not yet work with this format
2719 of the Host header field. [Jeff Trawick]
2721 *) Accomodate an out-of-space condition in the piped logs and the
2722 rotatelogs.c code, and no longer churn log processes for this
2723 condition. [Victor J. Orlikowski]
2725 *) Add support for partial writes with apr_sendfile() to core_output_filter.
2728 Changes with Apache 2.0a8
2730 *) Add a directive to mod_mime so that filters can be associated with
2734 *) Get multi-views working again. We were setting the path_info
2735 field incorrectly if we couldn't find the specified file.
2738 *) Fix 304 processing. The core should never try to send the headers
2739 down the filter stack. Always, just setup the table in the request
2740 record, and let the header filter convert it to data that is ready
2744 *) More fixes for the proxy. There are still bugs in the proxy code,
2745 but this has now proxied www.yahoo.com and www.ntrnet.net (my ISP)
2749 *) Fix params for apr_getaddrinfo() call in connect proxy handler.
2752 *) APR: Add new apr_getopt_long function to handle long options.
2753 [B. W. Fitzpatrick <fitz@red-bean.com>]
2755 *) APR: Change apr_connect() to take apr_sockaddr_t instead of hostname.
2756 Add generic apr_create_socket(). Add apr_getaddrinfo() for doing
2757 hostname resolution/address string parsing and building
2758 apr_sockaddr_t. Add apr_get_sockaddr() for getting the address
2759 of one of the apr_sockaddr_t structures for a socket. Change
2760 apr_bind() to take apr_sockaddr_t. [David Reid and Jeff Trawick]
2762 *) Remove the BUFF from the HTTP proxy. This is still a bit ugly, but
2763 I have proxied pages with it, cleanup will commence soon.
2766 *) Make the proxy work with filters. This isn't perfect, because we
2767 aren't dealing with the headers properly. [Ryan Bloom]
2769 *) Do not send a content-length iff the C-L is 0 and this is a head
2770 request. [Ryan Bloom]
2772 *) Make cgi-bin work as a regular directory when using mod_vhost_alias
2773 with no VirtualScriptAlias directives. PR#6829 [Tony Finch]
2775 *) Remove BUFF from the PROXY connect handling. [Ryan Bloom]
2777 *) Get the default_handler to stop trying to deal with HEAD requests.
2778 The idea is to let the content-length filter compute the C-L before
2779 we try to send the data. If we can get the C-L correctly, then we
2780 should send it in the HEAD response.
2783 *) The Header filter can now determine if a body should be sent based
2784 on r->header_only. The general idea of this is that if we delay
2785 deciding to send the body, then we might be able to compute the
2786 content-length correctly, which will help caching proxies to cache
2787 our data better. Any handler that doesn't want to try to compute
2788 the content-length can just send an EOS bucket without data and
2789 everything will just work.
2792 *) Add the referer to the error log if one is available.
2793 [Markus Gyger <mgyger@itr.ch>]
2795 *) Mod_info.c has now been ported to Apache 2.0. As a part of this
2796 change, the root of the configuration tree has been exposed to modules
2798 [Ryan Morgan <rmorgan@covalent.net>]
2800 *) Get the core_output_filter to use the bucket interface directly.
2801 This keeps us from calling the content-length filter multiple times
2802 for a simple static request.
2805 *) We are sending the content-type correctly now.
2806 [Ryan Bloom and Will Rowe]
2808 *) APR on FreeBSD: Fix a bug in apr_sendfile() which caused us to report
2809 a bogus bytes-sent value when the only thing being sent was trailers
2810 and writev() returned an error (or EAGAIN). [Jeff Trawick]
2812 *) Get SINGLE_LISTEN_UNSERIALIZED_ACCEPT working again. This uses the
2813 hints file to determine which platforms define
2814 SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
2817 *) APR: add apr_get_home_directory() [Jeff Trawick]
2819 *) Initial import of 1.3-current mod_proxy. [Chuck Murcko]
2821 *) Not all platforms have INADDR_NONE defined by default. Apache
2822 used to make this check and define INADDR_NONE if appropriate,
2823 but APR needs the check too, and I suspect other applications will
2824 as well. APR now defines APR_INADDR_NONE, which is always a valid
2825 value on all platforms.
2826 [Branko Èibej <brane@xbc.nu>]
2828 *) Destroy the pthread mutex in lock_intra_cleanup() for PR#6824.
2829 [Shuichi Kitaguchi <ki@hh.iij4u.or.jp>]
2831 *) Relax the syntax checking of Host: headers in order to support
2832 iDNS. PR#6635 [Tony Finch]
2834 *) When reading from file buckets we convert to an MMAP if it makes
2835 sense. This also simplifies the default handler because the
2836 default handler no longer needs to try to create MMAPs.
2839 *) BUFF has been removed from the main server. The BUFF code will remain
2840 in the code until it has been purged from the proxy module as well.
2843 *) Byteranges have been completely re-written to be a filter. This
2844 has been tested, and I believe it is working correctly, but it could
2845 doesn't work for the Adobe Acrobat plug-in. The output almost matches
2846 the output from 1.3, the only difference being that 1.3 includes
2847 a content-length in the response, and this does not.
2850 *) APR read/write functions and bucket read functions now operate
2851 on unsigned integers, instead of signed ones. It doesn't make
2852 any sense to use signed ints, because we return the error codes,
2853 so if we have an error we should report 0 bytes read or written.
2856 *) Always compute the content length, whether it is sent or not.
2857 The reason for this, is that it allows us to correctly report
2858 the bytes_sent when logging the request. This also simplifies
2859 content-length filter a bit, and fixes the actual byte-reporing
2860 code in mod_log_config.c
2863 *) Remove AP_END_OF_BRIGADE definition. This does not signify what
2864 it says, because it was only used by EOS and FLUSH buckets. Since
2865 neither of those are required at the end of a brigade, this was
2866 really signifying FLUSH_THE_DATA, but that can be determined better
2867 by checking AP_BUCKET_IS_EOS() or AP_BUCKET_IS_FLUSH. EOS and FLUSH
2868 buckets now return a length of 0, which is actually the amount of data
2869 read, so they make more sense.
2872 *) Allow the core_output_filter to save some data past the end of a
2873 request. If we get an EOS bucket, we only send the data if it
2874 makes sense to send it. This allows us to pipeline request
2875 responses. As a part of this, we also need to allocate mmap
2876 buckets out of the connection pool, not the request pool. This
2877 allows the mmap to outlive the request.
2880 *) Make blocking and non-blocking bucket reads work correctly for
2881 sockets and pipes. These are the only bucket types that should
2882 have non-blocking reads, because the other bucket types should
2883 ALWAYS be able to return something immediately.
2886 *) In the Apache/Win32 console window, accept Ctrl+C to stop the
2887 server, but use Ctrl+Break to initiate a graceful restart
2888 instead of duplicating behavior. [John Sterling]
2890 *) Patch mod_autoindex to set the Last-Modified header based on
2891 the directory's mtime, and add the ETag header. [William Rowe]
2893 *) Merge the 1.3 patch to add support for logging query string in
2894 such a way that "%m %U%q %H" is the same as "%r".
2897 *) Port three log methods from mod_log_config 1.3 to 2.0:
2898 CLF compliant '-' byte count, method and protocol.
2901 *) Add a new LogFormat directive, %c, that will log connection
2902 status at the end of the response as follows:
2903 'X' - connection aborted before the response completed.
2904 '+' - connection may be kept-alive by the server.
2905 '-' - connection will be closed by the server.
2908 *) Expand APR for WinNT to fully accept and return utf-8 encoded
2909 Unicode file names and paths for Win32, and tag the Content-Type
2910 from mod_autoindex to reflect that charset if the the feature
2911 macro APR_HAS_UNICODE_FS is true. [William Rowe]
2913 *) Compute the content length (and add appropriate header field) for
2914 the response when no content length is available and we can't use
2915 chunked encoding. [Jeff Trawick]
2917 *) Changed ap_discard_request_body() to use REQUEST_CHUNKED_DECHUNK,
2918 so that content input filters get dechunked data when using
2919 the default handler. Also removed REQUEST_CHUNKED_PASS.
2922 *) Add mod_ext_filter as an experimental module. This module allows
2923 the administrator to use external programs as filters. Currently,
2924 only filtering of output is supported. [Jeff Trawick]
2926 *) Most Apache functions work on EBCDIC machines again, as protocol
2927 data is now translated (again). [Jeff Trawick]
2929 *) Introduce ap_xlate_proto_{to|from}_ascii() to clean up some of
2930 the EBCDIC support. They are noops on ASCII machines, so this
2931 type of translation doesn't have to be surrounded by #ifdef
2932 CHARSET_EBCDIC. [Jeff Trawick]
2934 *) Fix mod_include. tag commands work again, and the server will
2935 send the FAQ again. This also allows mod_include to set aside
2936 buckets that include partial buckets.
2937 [Ryan Bloom and David Reid]
2939 *) Add suexec support back. [Manoj Kasichainula]
2941 *) Lingering close now uses the socket directly instead of using
2942 BUFF. This has been tested, but since all we can tell is that it
2943 doesn't fail, this needs to be really hacked on.
2946 *) Allow filters to modify headers and have those headers be sent to
2947 the client. The idea is that we have an http_header filter that
2948 actually sends the headers to the network. This removes the need
2949 for the BUFF to send headers.
2952 *) Charset translation: mod_charset_lite handles translation of
2953 request bodies. Get rid of the xlate version of ap_md5_digest()
2954 since we don't compute digests of filtered (e.g., translated)
2955 response bodies this way anymore. (Note that we don't do it at
2956 all at the present; somebody needs to write a filter to do so.)
2959 *) Input filters and ap_get_brigade() now have a input mode parameter
2960 (blocking, non-blocking, peek) instead of a length parameter.
2963 *) Update the mime.types file to the registered media types as
2964 of 2000-10-19. PR#6613 [Carsten Klapp <carsten.klapp@home.net>,
2967 *) Namespace protect some macros declared in ap_config.h
2970 *) Support HTTP header line folding with input filtering.
2973 *) Mod_include works again. This should still be re-written, but at
2974 least now we can serve an SHTML page again.
2977 *) Begin to remove BUFF from the core. Currently, we keep a pointer
2978 to both the BUFF and the socket in the conn_rec. Functions that
2979 want to use the BUFF can, functions that want to use the socket,
2980 can. They point to the same place.
2983 *) apr_psprintf doesn't understand %lld as a format. Make it %ld.
2984 [Tomas "Ögren" <stric@ing.umu.se>]
2986 *) APR pipes on Unix and Win32 are now cleaned up automatically when the
2987 associated pool goes away. (APR pipes on OS/2 were already had this
2988 logic.) This resolvs a fatal file descriptor leak with CGIs.
2991 *) The final line of the config file was not being read if there was
2992 no \n at the end of it. This was caused by apr_fgets returning
2993 APR_EOF even though we had read valid data. This is solved by
2994 making cfg_getline check the buff that was returned from apr_fgets.
2995 If apr_fgets return APR_EOF, but there was data in the buf, then we
2996 return the buf, otherwise we return NULL.
2999 *) Piped logs work again in the 2.0 series.
3002 *) Restore functionality broken by the mod_rewrite security fix:
3003 rewrite map lookup keys and default values are now expanded
3004 so that the lookup can depend on the requested URI etc.
3005 PR #6671 [Tony Finch]
3007 *) Tighten up the syntax checking of Host: headers to fix a
3008 security bug in some mass virtual hosting configurations
3009 that can allow a remote attacker to retrieve some files
3010 on the system that should be inaccessible. [Tony Finch]
3012 *) Add a pool bucket type. This bucket is used for data allocated out
3013 of a pool. If the pool is cleaned before the bucket is destroyed, then
3014 the data is converted to a heap bucket, allowing it to survive the
3018 *) Add a flush bucket. This allows modules to signal that the filters
3019 should all flush whatever data they currently have. There is no way
3020 to actually force them to do this, so if a filter ignores this bucket,
3021 that's life, but at least we can try with this.
3024 *) Add an output filter for sub-requests. This filter just strips the
3025 EOS bucket so that we don't confuse the main request's core output
3026 filter by sending multiple EOS buckets. This change also makes sub
3027 requests start to send EOS buckets when they are finished.
3030 *) Make ap_bucket_(read|destroy|split|setaside) into macros. Also
3031 makes ap_bucket_destroy a return void, which is okay because it
3032 used to always return APR_SUCCESS, and nobody ever checked its
3033 return value anyway.
3034 [Cliff Woolley <cliffwoolley@yahoo.com>]
3036 *) Remove the index into the bucket-type table from the buckets
3037 structure. This has now been replaced with a pointer to the
3038 bucket_type. Also add some macros to test the bucket-type.
3041 *) Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
3042 for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
3043 and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
3044 All _VAR_ flavors changes to _DATA to be absolutely clear.
3047 *) Add support for /, //, //servername and //server/sharename
3048 parsing of <Directory> blocks under Win32 and OS2.
3049 [Tim Costello, William Rowe, Brian Harvard]
3051 *) Remove the function pointers from the ap_bucket type. They have been
3052 replaced with a global table. Modules are allowed to register bucket
3053 types and use then use those buckets.
3056 *) mod_cgid: In the handler, shut down the Unix socket (only for write)
3057 once we finish writing the request body to the cgi child process;
3058 otherwise, the client doesn't hit EOF on stdin. Small request bodies
3059 worked without this change (for reasons I don't understand), but large
3060 ones didn't. [Jeff Trawick]
3062 *) Remove file bucket specific information from the ap_bucket type.
3063 This has been moved to a file_bucket specific type that hangs off
3064 the data pointer in the ap_bucket type.
3067 *) Input filtering now has a third argument. This is the amount of data
3068 to read from lower filters. This argument can be -1, 0, or a positive
3069 number. -1 means give me all the data you have, I'll deal with it and
3070 let you know if I need more. 0 means give me one line and one line
3071 only. A positive number means I want no more than this much data.
3073 Currently, only 0 and a positive number are implemented. This allows
3074 us to remove the remaining field from the conn_rec structure, which
3078 *) Big cleanup of the input filtering. The goal is that http_filter
3079 understands two conditions, headers and body. It knows where it is
3080 based on c->remaining. If c->remaining is 0, then we are in headers,
3081 and http_filter returns a line at a time. If it is not 0, then we are
3082 in body, and http_filter returns raw data, but only up to c->remaining
3083 bytes. It can return less, but never more.
3084 [Greg Ames, Ryan Bloom, Jeff Trawick]
3086 *) mod_cgi: Write all of the request body to the child, not just what
3087 the kernel would accept on the first write. [Jeff Trawick]
3089 *) Back out the change that moved the brigade from the core_output_filters
3090 ctx to the conn_rec. Since all requests over a given connection
3091 go through the same core_output_filter, the ctx pointer has the
3095 *) Fix another bug in the send_the_file() read/write loop. A partial
3096 send by apr_send would cause unsent data in the read buffer to
3097 get clobbered. Complete making send_the_file handle partial
3098 writes to the network.
3101 *) Fix a couple of type fixes to allow compilation on AIX again
3102 [Victor J. Orlikowski <v.j.orlikowski@gte.net>]
3104 *) Fix bug in send_the_file() which causes offset to be ignored
3105 if there are no headers to send.
3108 *) Handle APR_ENOTIMPL returned from apr_sendfile in the core
3109 filter. Useful for supporting Windows 9* with a binary
3110 compiled on Windows NT.
3113 Changes with Apache 2.0a7
3115 *) Reimplement core_output_filter to buffer/save bucket brigades
3116 across multiple calls to the core_filter. The brigade will be
3117 sent when either MIN_BYTES_TO_SEND or MAX_IOVEC_TO_WRITE
3118 thresholds are hit or the EOS bucket is received.
3121 *) Create experimental filter (buffer_filter) that coalesces bytes
3122 into one large buffer before invoking the next filter in the
3123 chain. This filter is particularly useful with the current
3124 implementation of mod_autoindex when it inserted above the
3125 chunk_filter. mod_autoindex generates a lot of brigades that
3126 containing buckets holding just a few bytes each. The
3127 buffer_filter coalesces these buckets into a single large bucket.
3130 *) Add apr_sendfile() support into the core_output_filter.
3133 *) Add apr_sendv() support into the core_output_filter.
3136 *) Fix mod_log_config so that it compiles cleanly with BUFFERED_LOGS
3137 [Mike Abbott <mja@sgi.com>]
3139 *) Remove ap_send_fb. This is no longer used in Apache, and it doesn't
3140 make much sense, because Apache uses buckets instead of BUFFs now.
3143 *) send_the_file now falls back to a read/write loop on platforms that
3144 do not have sendfile.
3145 [Ryan Bloom and Brian Havard]
3147 *) Install apachectl correctly, and substitute the proper values so
3148 that it works again. [Ryan Bloom]
3150 *) Better(??) handle platforms that lack sendfile().
3153 *) APR now has UUID generation/formatting/parsing support.
3156 *) Begin the http_filter. This is an input filter that understands
3157 the absolute basic amount required to parse an HTTP Request. The
3158 goal is to be able to split headers from request body before passing
3159 the data back to the other filters.
3162 *) Bring forward from 1.3.13 the config directory implementation
3165 *) install apxs if it is created
3168 *) Added APR_IS_STATUS_condition test macros to eliminate canonical error
3169 conversions. [William Rowe]
3171 *) Now that we have ap_add_input_filter(), rename ap_add_filter() to
3172 ap_add_output_filter(). [Jeff Trawick]
3174 *) Multiple build and configuration fixes
3177 -add datadir and localstatedir substitutions
3179 -fix logfilename misspelling
3180 -fix evaluation of installation dir variables and
3181 -replace $foobar by $(foobar) to be usefull in the makefile
3185 -add rules for cross-compiling in rules.mk. Okay, rule to check for
3186 $CC_FOR_BUILD is still missing
3187 -use CHECK_TOOL instead of CHECK_PROG for ranlib
3188 -add missing "AR=@AR@" to severaly Makefile.in's
3189 -cache result for "struct rlimit"
3190 -compile all helper programs with native and cross compiler
3191 and use the native version to generate header file
3192 ["Rüdiger" Kuhlmann <Tadu@gmx.de>]
3194 *) Prepare our autoconf setup for autoconf 2.14a and for cross-
3196 ["Rüdiger" Kuhlmann <Tadu@gmx.de>]
3198 *) Fix a bug where a client which only sends \n to delimit header
3199 lines (netcat) gets a strange looking HTTP_NOT_IMPLEMENTED
3200 message. Start working on ebcdic co-existance with input
3202 [William Rowe, Greg Ames]
3204 *) If mod_so is enabled in the server always create libexec, even
3205 if there are no modules installed in this directory. This is a
3206 requirement for APXS to work correctly.
3209 *) Connection oriented output filters are now stored in the
3210 conn_rec instead of the request_rec. This allows us to add the
3211 output filter in the pre-connection phase instead of the
3212 post_read_request phase, which keeps us from trying to write an
3213 error page before we have a filter to write to the network.
3214 [Ryan Bloom, Jeff Trawick, and Greg Ames]
3216 *) Cleaning up an mmap bucket no longer deletes the mmap. An
3217 mmap can be used across multiple buckets (default_handler with
3218 byte ranges, mod_file_cache, mod_mmap_static), so cleanup of
3219 the mmap itself can't be associated with the bucket.
3222 *) Add .dll caching directive ISAPICacheFile to mod_isapi.
3225 *) Radical surgery to improve mod_isapi support under Win32.
3226 Includes a number of newer ServerSupportFunction calls, support
3227 for ReadClient (in order to retrieve POSTs greater than 48KB),
3228 and general bug fixes to more reliably load ISAPI .dll's and
3229 prevent leaking handle resources. Note: There are still
3230 discrepancies between IIS's and Apache's ServerVariables, and
3231 async calls are still not supported. Additional warnings are
3232 logged to facilitate debugging of unsupported ISAPI calls.
3235 *) Add input filtering to Apache. The basic idea for the input
3236 filters is the same as the ideas for output filters. The biggest
3237 difference is that instead of calling ap_pass_brigade, ap_get_brigade
3238 should be called, and the order of execution for the filter itself is
3239 different. When writing an output filter, a brigade is passed in,
3240 and filters operate directly on that brigade, when done, they call
3241 ap_pass_brigade. Input filters are the exact opposite. Because input
3242 is not a push operation, filters first call ap_get_brigade. When this
3243 function returns, the input filter will be left with a valid brigade.
3244 The input filter should then operate on the brigade, and return.
3247 *) Fix building on BSD/OS using its native make. The build system
3248 falls back to the BSD .include directive on that host platform.
3251 *) Expand dbmmanage to allow -d -m -s -p options for Crypt, MD5,
3252 SHA1 and plaintext password encodings. Make feature tests a
3253 bit more flexible. [William Rowe]
3255 *) Charset translation: mod_charset_lite handles output content
3256 translation in a filter. mod_charset_lite no longer ignores
3257 subrequests. A bunch of cruft related to BUFF's support for
3258 translating request and response bodies was removed.
3261 *) Move the addition of the CORE filter to the post_read_request
3262 hook in http_core.c. This removes the need to add the filter in
3263 multiple places and allows for an SSL module to be added much
3264 simpler. [Ryan Bloom]
3266 *) Fix a security problem that affects certain configurations of
3267 mod_rewrite. If the result of a RewriteRule is a filename that
3268 contains expansion specifiers, especially regexp backreferences
3269 $0..$9 and %0..%9, then it may be possible for an attacker to
3270 access any file on the web server. [Tony Finch]
3272 *) Fix a bug where errors that are detected during early request parsing
3273 don't produce visible HTTP error messages at the browser, because
3274 the core_filter wasn't present. [Greg Ames]
3276 *) Provide apr_socklen_t as a portability aid.
3277 [Victor J. Orlikowski]
3279 *) Overhaul of dbmmanage to allow a groups arg (as in Apache 1.2)
3280 as well as a comment arg to the add, adduser and update cmds.
3281 update allows the user to clear or preserve pw/groups/comment.
3282 Fixed a bug in dbmmanage that prevented the check option from
3283 parsing a password followed by :group... text. Corrected the
3284 seed calcualation for Win32 systems, and added -lsdbm support.
3287 *) Configured mod_auth_dbm to compile with sdbmlib under Win32.
3290 *) Avoid a segfault when parsing .htaccess files. An
3291 uninitialized tree pointer was passed to ap_build_config().
3294 *) Change the way that inet_addr & inet_network are checked for
3295 in APR's configure process to allow BeOS BONE to correctly
3296 find them. With this change BeOS BONE now builds from source
3297 with no problems. [David Reid]
3299 *) Fix a bug in apr_create_process() for Unix. The NULL signifying
3300 the end of the parameters to execve() was stored in the wrong
3301 location, overlaying the storage beyond the newargs[] array and
3302 also passing uninitialized storage to execve(), which would
3303 sometimes fail with EFAULT. [Jeff Trawick]
3305 *) Fix a bug parsing configuration file containers. With a sequence
3306 like this in the config file
3308 <IfModule mod_kilroy.c>
3311 <IfModule mod_lovejoy.c>
3316 the second container would be terminated at the blank line due to
3317 sediment in the buffer from reading the prior </IfModule> and an
3318 error message would be generated for the real </IfModule> for the
3319 second container. Also due to this problem, any two characters
3320 could be used for "</" in the close of a container.
3323 *) ap_add_filter prototype changed to remove the ctx pointer. The
3324 pointer still remains in the filter structure, but it can not be
3325 a part of the ap_add_filter prototype. The reason is that when
3326 the core uses AddFilter to add a filter to the stack it doesn't
3327 know how to allocate the ctx pointer, or even how much memory should
3328 be allocated. The filters will have to be responsible for allocating
3329 the ctx memory when they need it.
3332 *) Add an AddFilter directive. This directive takes a list of filters
3333 that should be activated for the requested resource.
3336 *) apr_snprintf(): Get quad format strings working on OS/390 (and perhaps
3337 some other platforms). [Jeff Trawick]
3339 *) Modify mod_include to be a filter. Currently, it has only been tested
3340 on actual files, but it should work for CGI scripts too.
3343 *) apr_putc(), apr_puts() for Unix: handle buffered files and interrupted
3344 writes. apr_flush() for Unix: handle interrupted writes.
3347 *) NameVirtualHost can now take "*" as an argument instead of
3348 an IP address. This allows you to create a purely name-based
3349 virtual hosting server that does not have any IP addresses in
3350 the configuration file and which ignores the local address
3351 of any connections. PR #5595, PR #4455 [Tony Finch]
3353 *) Fix some compile warnings in mod_mmap_static.c
3354 [Mike Abbott <mja@sgi.com>]
3356 *) Fix chunking problem with CGI scripts. The general problem was that
3357 the CGI modules were adding an EOS bucket and then the core added an
3358 EOS bucket. The chunking filter finalizes the chunked response when it
3359 encounters an EOS bucket. Because two EOS buckets were sent, we
3360 finalized the response twice. The fix is to make sure we only send one
3361 EOS, by utilizing a flag in the request_rec.
3364 *) apr_put_os_file() now sets up the unget byte appropriately on Unix
3365 and Win32. Previously, the first read from an apr_file_t set up via
3366 apr_put_os_file() would return a '\0'. [Jeff Trawick]
3368 *) Mod_cgid now creates a single element bucket brigade, with a pipe
3369 bucket, instead of using BUFF's and ap_r*.
3372 *) APRVARS.in no longer overwrites the EXTRA_LIBS variable.
3373 [Mike Abbott <mja@sgi.com>]
3375 *) Remove ap_bopenf from buff code. This required modifying the file_cache
3376 code to use APR file's directly instead of going through BUFFs.
3379 *) Fix compile break on some platforms for mod_mime_magic.c
3380 [John K. Sterling <sterling@covalent.net>]
3382 *) Fix merging of AddDefaultCharset directive.
3383 PR #5872 (1.3) [Jun Kuriyama <kuriyama@imgsrc.co.jp>]
3385 *) Minor revamp of the rlimit sections of code. We now test
3386 explicitly for setrlimit and getrlimit. Also, unixd_set_rlimit()
3387 is now "available" even if the platform doesn't support
3388 the rlimit family (it's just a noop though). [Jim Jagielski]
3390 *) Migrate the pre-selection of which MPM to use for specific
3391 platforms to hints.m4, which contains (or should contain)
3392 all platform specific "hints". [Jim Jagielski]
3394 *) Remove IOLs from Apache. With filtering, IOLs are no longer necessary
3397 *) Add tables with non-string/binary values to APR.
3400 *) Fix some bad calls to ap_log_rerror() in mod_rewrite.
3403 *) Update PCRE to version 3.2. [Ryan Bloom]
3405 *) Change the way buckets' destroy functions are called so that
3406 they can be more directly used when changing the type of a
3407 bucket in place. [Tony Finch]
3409 *) Add generic support for reference-counting the resources used by
3410 buckets, and alter the HEAP and MMAP buckets to use it. Change
3411 the way buckets are initialised to support changing the type of
3412 buckets in place, and use it when setting aside TRANSIENT buckets.
3413 Change the implementation of TRANSIENT buckets so that it can be
3414 mostly shared with IMMORTAL buckets, which are now implemented.
3417 Changes with Apache 2.0a6
3419 *) Add support to Apache and APR for dsos on OS/390. [Greg Ames]
3421 *) Add a chunking filter to Apache. This brings us one step closer
3422 to removing BUFF. [Ryan Bloom]
3424 *) ap_add_filter now adds filters in a LIFO fashion. The first filter
3425 added to the stack is the last filter to be called. [Ryan Bloom]
3427 *) Apache 2.0 has been completely documented using Scandoc. The
3428 docs can be generated by running 'make docs'. [Ryan Bloom]
3430 *) Add filtered I/O to Apache. This is based on bucket brigades,
3431 Currently the buckets still use BUFF under the covers, but that
3432 should change quickly. The only currently written filter is the
3433 core filter which just calls ap_bwrite. [The Apache Group]
3435 *) APR locks on Unix: Let APR_LOCKALL locks work when APR isn't
3436 built with thread support. [Jeff Trawick]
3438 *) Abort configuration if --with-layout was specified and there's
3439 no layout definition file. [Ken Coar]
3441 *) Add support for '--with-port=n' option to configure. [Ken Coar]
3443 *) Add support for extension methods for the Allow response header
3444 field, and an API routine for accessing r->allowed and the
3445 list of extension methods in a unified manner. [Ken Coar]
3447 *) mod_cern_meta: fix broken file reading loop in scan_meta_file().
3448 [Rob Simonson <simo@us.ibm.com>]
3450 *) Get xlate builds working again. The apr renaming in 2.0a5 broke
3451 APACHE_XLATE builds. [Jeff Trawick]
3453 *) A configuration file parsing problem was fixed. When the
3454 configuration file started with an IfModule/IfDefine container,
3455 only the last statement in the container would be retained.
3458 Changes with Apache 2.0a5
3460 *) Perchild is serving pages after passing them to different child
3461 processes. There are still a lot of bugs, but this does work. I
3462 have made requests against the same installation of Apache, and had
3463 different servers use different user IDs to serve the responses.
3464 This change moves to using socketpair instead of an AF_UNIX socket.
3467 *) Perchild MPM still doesn't work perfectly, but it is serving pages.
3468 It can't seem to pass between child processes yet, but I think we
3469 are closer now than before. This moves us back to using Unix
3470 Domain Sockets. [Ryan Bloom]
3472 *) libapr functions and types renamed with apr_ prefix.
3473 #include "apr_compat.h" for 1.3.x backwards compat
3476 *) Fix problems with APR sockaddr handling on Win32. It didn't always
3477 return the right information on the local socket address.
3478 [Gregory Nicholls <gnicholls@level8.com>]
3480 *) ap_recv() on Win32: Set bytes-read to 0 on error.
3481 [Gregory Nicholls <gnicholls@level8.com>]
3483 *) Add an option to not detach from the controlling terminal without
3484 going into single process mode. This allows for much easier
3485 debugging of the process startup code. [Ryan Bloom]
3487 *) ab: don't use perror() to report the failure of an APR function.
3490 *) Make dexter, mpmt_pthread, and perchild MPMs not destroy the
3491 scoreboard on graceful restarts.
3494 *) Fix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
3495 An invalid ap_proc_t was passed to ap_create_process().
3498 *) Allow modules to register filters. Those filters are still
3499 never called, but this is a step in the right direction.
3500 [Ryan Bloom and Greg Stein]
3502 *) Register the mod_cgid daemon process for cleanup so that it is
3503 killed at termination if it does not die when the parent gets
3504 SIGTERM. This change is to fix occasional problems where the
3505 process stays around. Bugs in similar logic in mod_rewrite and
3506 mod_include were also fixed. [Jeff Trawick]
3508 *) Fix a bug in the time handling. Basically, we were imploding a time
3509 in ap_parseHTTPdate, but it had bogus data in the exploded time format.
3510 Namely, tm_usec and tm_gmtoff were not filled out. ap_implode_time
3511 uses those two fields to adjust the time value. Because of the HTTP
3512 spec, both of those values can be zero'ed out safely. This fixes
3513 the bug correctly. [Ryan Bloom]
3515 *) Fix a couple of place in the Windows code where the wrong error
3516 code was being returned. [Gregory Nicholls <gnicholls@level8.com>]
3518 *) Fix POOL_DEBUG (at least for prefork mpm). [Dean Gaudet]
3520 *) Added the APR_EOL_STR macro for platform dependent differences in
3521 logfiles and other raw text (such as all APR files). Fixes logfiles
3522 not terminated with cr/lf sequences in Win32. [William Rowe]
3524 *) Move all strings functions in APR to src/lib/apr/strings and create
3525 apr_strings.h for the prototypes. [Ryan Bloom]
3527 *) APR lock fixes: when using SysV sems, flock(), or fcntl(), be sure
3528 to repeat the syscall until we stop getting EINTR. I noticed a
3529 related problem at termination (SIGTERM) on FreeBSD when using
3530 fcntl(). Apache 1.3 had these new loops too. Also, make the flock()
3531 implementation work properly with child init. Previously, ap_lock()
3532 was essentially a no-op because all children were using different
3533 locks and thus nobody ever blocked. [Jeff Trawick]
3535 *) The htdocs/ tree has been moved out of the CVS source tree into
3536 a separate area for easier development. This has NO EFFECT on
3537 end-users or Apache installations. [Ken Coar]
3539 *) Integrate the mod_dav module for WebDAV protocol handling. This
3540 adds the dav and dav_fs modules, the SDBM library, and additional
3541 XML handling utilities. [Greg Stein]
3543 *) Clean out obsolete names (from httpd.h) for the HTTP Status Codes
3546 *) Update the lib/expat-lite/ library (bring forward changes from
3547 the Apache 1.3 repository). [Greg Stein]
3549 *) If sizeof(long long) == sizeof(long), then prefer long in APR
3550 configure.in. [Dave Hill <ddhill@zk3.dec.com>]
3552 *) Add ap_sendfile for Tru64 Unix. Also, add an error message for
3553 machines where sendfile is detected, but nobody has written ap_sendfile.
3554 [Dave Hill <ddhill@zk3.dec.com>]
3556 *) Compile fixes in mod_mmap_static. [Victor J. Orlikowski]
3558 *) ab would start up more connections than needed, then quit when the
3559 desired number were finished. Also fixed a logic error involving
3560 ab keepalives. [Victor J. Orlikowski]
3562 *) WinNT: Implement non-blocking pipes with timeouts to communicate
3563 with CGIs. Apache 2.0a4 had non-blocking pipes but without
3564 timeouts (i.e, if a timeout was specified, the pipe reverted to
3565 a full blocking pipe). Now the behaviour is more in line with
3566 Unix non-blocking pipes.
3569 *) WinNT: Implement accept socket reuse. Using mod_file_cache to
3570 cache open file handles along with accept socket reuse enables
3571 Apache 2.0 to serve non-keepalive requests for static files at
3572 3x the rate of Apache 1.3.(e.g, Apache 1.3 will serve 400 rps
3573 and Apache 2.0 will serve almost 1200 rps on my system).
3576 *) Merge mod_mmap_static function into mod_file_cache. mod_file_cache
3577 supports two config directives, mmapfile (same behavious as
3578 mod_mmap_static) and cachefile. Use the cachefile directive
3579 to cache open file handles. This directive only works on systems
3580 that have implemented the ap_sendfile API. cachefile works today
3581 on Windows NT, but has not been tested on any flavors of Unix.
3584 *) Cleanup the configuration. With the last few changes the
3585 configuration process automatically:
3586 inherits information about how to build from APR. Allowing
3587 APR to inform Apache that it should or should not use -ldl
3589 Detects which mod_cgi should be used mod_cgi or mod_cgid,
3590 based on the threading model
3592 Apache calls APR's configure process before finishing it's
3593 configuration processing, allowing for more information flow
3598 *) Change Unix and Win32 ap_setsockopt() so that APR_SO_NONBLOCK
3599 with non-zero argument makes the socket non-blocking. BeOS and
3600 OS/2 already worked this way. [Jeff Trawick]
3602 *) ap_close() now calls ap_flush() for buffered files, so write
3603 operations work a whole lot better on buffered files.
3606 *) Fix error messages issued from MPMs which explain where to change
3607 compiled-in limits (e.g., ThreadsPerChild, MaxClients, StartTreads).
3610 *) ap_create_pipe() now leaves pipes in blocking state. (This helps
3611 reduce the number of syscalls on Unix.) ap_set_pipe_timeout() is
3612 now the way that the blocking state of a pipe is manipulated.
3613 ap_block_pipe() is gone. [Jeff Trawick]
3615 *) Correct the problem where the only local host name that the IP stack
3616 can discover are 'undotted' private names. If no fully qualified
3617 domain name can be identified, the default ServerName will be set to
3618 the machine's IP address string. A warning is always provided if the
3619 ServerName not specified, but assumed. Solves PR6215 [William Rowe]
3621 *) Repair problems with config file processing which caused segfault
3622 at init when virtual hosts were defined and which caused ServerName to
3623 be ignored when there was no valid DNS setup. [Jeff Trawick]
3625 *) Removed pointless ap_is_aborted macro function. [Roy Fielding]
3627 *) Add ap_sendfile implementation for AIX
3628 [Victor J. Orlikowski]
3630 *) Repair C++ compatibility in ap_config.h, apr_file_io.h,
3631 apr_network_io.h, and apr_thread_proc.h.
3632 [Tyler J. Brooks <tylerjbrooks@home.com>, Jeff Trawick]
3634 *) Bring the allocation and pool debugging code back into a working
3635 state. This will need to be tested as so far it's only been used on
3638 *) Change configuration command setup to be properly typesafe when in
3639 maintainer mode. Note that this requires a compiler that can initialise
3640 unions. [Ben Laurie]
3642 *) Turn on buffering for config file reads. Part of this was to
3643 repair buffered I/O support in Unix and implement buffered
3644 ap_fgets() for all platforms. [Brian Havard, Jeff Trawick]
3646 *) Win32: Fix problem where UTC offset was not being set correctly
3647 in the access log. Problem reported on news group by Jerry Baker.
3650 *) Fix segfault when reporting this type of syntax error:
3651 "</container> without matching <container> section", where
3652 container is VirtualHost or Directory or whatever.
3655 *) Prevent the source code for CGIs from being revealed when using
3656 mod_vhost_alias and the CGI directory is under the document root
3657 and a user makes a request like http://www.example.com//cgi-bin/cgi
3658 as reported in <news:960999105.344321@ernani.logica.co.uk>
3661 *) Add support for the new Beos NetwOrking Environment (BONE)
3664 *) xlate: ap_xlate_conv_buffer() now tells the caller when the
3665 final input char is incomplete; ap_bwrite_xlate() now handles
3666 incomplete final input chars. [Jeff Trawick]
3668 *) Yet another update to saferead/halfduplex stuff -- need to ensure
3669 that a bhalfduplex call occurs before logging or else DNS and
3670 such can delay the last packet of the response. [Dean Gaudet]
3672 *) Some syscall reduction in APR on unix -- don't seek when setting
3673 up an mmap; and don't fcntl() more than once per socket.
3676 *) When mod_cgid is started as root, the cgi daemon now switches
3677 to the configured User/Group (like other httpd processes)
3678 instead of continuing as root. [Jeff Trawick]
3680 *) The prefork MPM now uses an APR lock for the accept() mutex.
3681 It has not been getting a lock at all recently. httpd -V now
3682 displays APR's selection of the lock mechanism instead of the
3683 symbols previously respected by prefork. [Jeff Trawick]
3685 *) Change the mmap() feature test to check only for existence.
3686 The previous check required features not used by Apache.
3689 *) Fix a couple of bugs in mod_cgid: The cgi arguments were
3690 sometimes mangled. The len parm to accept() was not
3691 initialized, leading sometimes to an endless loop of failed
3692 accept() calls on OS/390 and anywhere else that failed the call
3693 if the len was negative. Use <sys/un.h> for struct sockaddr_un
3694 instead of declaring it ourselves to fix a compilation problem
3695 on Solaris. [Jeff Trawick]
3697 *) Add Resource limiting code back into Apache 2.0. [Ryan Bloom]
3699 *) Fix zombie process problem with mod_cgi. [Jeff Trawick]
3701 *) Port mod_mmap_static to 2.0. Make it go faster. [Greg Ames]
3703 *) Fix storage overlay when loading dsos. Symptom: Apache dies at
3704 initialization if ALLOC_DEBUG is defined; no known symptom
3705 otherwise. [Jeff Trawick]
3707 *) Fix typo in configure script when checking for mod_so. bash
3708 doesn't seem to have a problem but /bin/sh on Solaris does.
3709 Symptom: "./configure: test: unknown operator =="
3712 *) Rebind the Win32 NT and 9x services control into the MPM.
3713 All console, WinNT SCM and Win9x pseudo-service control code is
3714 now wrapped within the WinNT MPM.
3717 *) Make a copy of getenv("PATH") before storing for later use. Some
3718 getenv() implementations use the same storage for successive calls.
3719 CGIs on OS/390 had a bad PATH due to this. [Jeff Trawick]
3721 *) Server Tokens work in 2.0 again. This also propogates the change
3722 to allow just the product name in the server string using
3726 Changes with Apache 2.0a4
3728 *) EBCDIC: Rearrange calls to ap_checkconv() so that most handlers
3729 won't need to call it. [Greg Ames, Jeff Trawick]
3731 *) Move pre_config hook call to between configuration read and config
3732 tree walk. This allows all modules to implement pre_config hooks
3733 and know that they will be called at an appropriate time.
3736 *) mod_cgi, mod_cgid: Make ScriptLog directive work again.
3739 *) Add pre-config hooks back to all modules.
3742 *) Fix a SIGSEGV in ap_md5digest(), which is used when you have
3743 ContentDigest enabled and we can't/don't mmap the file.
3746 *) We now report the correct line number for syntax errors in config
3747 files. [Ryan Bloom, Greg Stein, Jeff Trawick]
3749 *) Brought mod_auth_digest up to synch with 1.3, fixed ap_time_t-
3750 related bugs, and changed shmem/locking to use apr API. Shared-mem
3751 is currently disabled, however, because of problems with graceful
3752 restarts. [Ronald Tschalär]
3754 *) Fix corruption of IFS variable in --with-module= handling.
3755 Depending on the user's shell or customization thereof, there
3756 would be errors generating ap_config_auto.h later in the configure
3757 procedure. [Jeff Trawick]
3759 *) mod_cgi: Restore logging of stderr from child process when ScriptLog
3760 isn't used (as in 1.3), except that on Unix it is now logged via
3761 ap_log_rerror() instead of by the child having STDERR_FILENO refer
3762 to the error log. [Greg Ames, Jeff Trawick]
3764 *) Add '-D' argument processing for run time configuration defines.
3767 *) Organize http_main.c as independent code, such that no code or
3768 global data is exported from it. WIN32 will dynamically link it
3769 to the server core, so this will prevent mutual dependency.
3772 *) Add separate dynamic linkage tags APR_EXPORT(), APR_EXPORT_NONSTD()
3773 and APR_VAR_EXPORT to correctly resolve apr functions and globals.
3776 *) Add Win9x service execution and Ctrl+C/Ctrl+Break/Shutdown handlers.
3777 [William Rowe, Jan Just Keijser <KEIJSERJJ@logica.com>]
3779 *) Add mod_charset_lite for configuring character set translation.
3782 *) Add '-n' option to htpasswd to make it print its user:pw record
3783 on stdout rather than having to frob a text file. [Ken Coar]
3785 *) Fix saferead. Basically, we flush the output buffer if a read on the
3789 *) APR: Add ap_xlate_get_sb() so that an app can find out whether or not
3790 a conversion is single-byte only. [Jeff Trawick]
3792 *) BEOS: ap_shutdown should return APR_SUCCESS or errno. Note that
3793 the BeOS 5.0 documentation says that shutdown doesn't work yet.
3796 *) Fix some minor errors where pid was being manipulated as an int
3797 instead of the portable pid_t. [Roy Fielding]
3799 *) Fix some error log prints that were printing the pointer to a
3800 structure rather than the pid within the structure.
3801 [Jeff Trawick, Roy Fielding]
3803 *) ab: Fix a command-line processing bug; track bad headers in
3804 err_response; support reading headers up to 2K.
3805 [Ask Bjoern Hansen <ask@valueclick.com>]
3807 *) Fix ap_resolve_env() so that it handles new function added in a prior
3808 alpha (see "Added the capability to do ${ENVVAR} constructs in the
3809 config file.") as well as the constructs used by mod_rewrite.
3810 [Paul Reder <rederpj@raleigh.ibm.com>]
3812 *) Apache 2.0 builds and runs on OS/390. [Jeff Trawick, Greg Ames]
3814 *) Change the EBCDIC support in functions for MD5, SHA1, and base 64 to use
3815 APR to perform translation, instead of accessing the hard-coded tables
3816 in 1.3's ebcdic.c. [Jeff Trawick]
3818 *) Fix some bugs (mostly lost 1.3 code) in ab's command-line processing.
3821 *) Add the ability to hook into the config file reading phase. Basically
3822 if a directive is specified EXEC_ON_READ, then when that directive is
3823 read from the config file, the assocaited function is executed. This
3824 should only be used for those directives that must muck with HOW the
3825 server INTERPRETS the config. This should not be used for directives
3826 that re-order or replace items in the config tree. Those changes should
3827 be made in the pre-config step.
3830 *) Add mod_example to the build system.
3833 *) APR: Add ap_xlate_conv_byte() to convert one char between single-
3834 byte character sets. [Jeff Trawick]
3836 *) Pick up various EBCDIC fixes from 1.3 (from Martin
3837 Kraemer and Oliver Reh originally according to the change log).
3840 *) Fix a couple of problems in RFC1413 support (controlled by the
3841 IdentityCheck directive). Apache did not build the request string
3842 properly and more importantly Apache would loop forever if the
3843 would-be ident server dropped the connection before sending a
3844 properly terminated response. [Jeff Trawick]
3846 *) apxs works in 2.0.
3849 *) Reliable piped logs work in 2.0.
3852 *) Introduce a hash table implementation into APR to be used for
3853 replacing tables and other random data structures in Apache.
3856 *) Add some more error reporting to htpasswd in the case of problems
3857 generating or accessing the temporary file. Also, pass in a
3858 buffer if the implementation knows how to use it (i.e., if L_tmpnam
3859 is defined). [Ken Coar]
3861 *) Configure creates config.nice now containing your configure
3862 options. Syntax: ./config.nice [--more-options]
3865 *) Fix various return code problems in APR on Win32. For most of
3866 these, APR was returning APR_EEXIST instead of GetLastError()/
3867 WSAGetLastError(). [Jeff Trawick]
3869 *) Make piped logs work again in version 2.0
3872 *) Add VPATH support to UNIX build system of Apache and APR.
3875 *) Fix ap_tokenize_to_argv to respect the const arguments that are
3879 *) Fix mm's memcpy/memset macros, pointer arithmetic was broken.
3880 Patch submitted to author.
3883 *) Fix mm configuration on Solaris 8 x86 and OS/390. Don't require
3884 /sbin in PATH on FreeBSD (all submitted to rse previously)
3887 *) Fix building Pthread-based MPMs on OpenBSD
3888 [Sascha Schumann] PR#26
3890 *) Fix ap_readdir() problem on systems where d_name[] field in
3891 struct dirent is declared with only one byte. (This problem only
3892 affected multithreaded builds.) This caused a segfault during
3893 pool cleanup with mod_autoindex on Solaris (Solaris 8 x86, at
3894 least). [Jeff Trawick]
3896 *) Fix some make-portability problems on at least Tru64, Irix
3898 [Sascha Schumann] PR#18, PR#39
3900 *) Add ap_sigwait() to support old-style sigwait() on systems
3901 like OS/390 and UnixWare.
3904 *) Add POSIX-thread flags for more platforms.
3907 *) Fix some minor bugs in ap_strerror(). Teach ap_strerror()
3908 (on Unix, at least) to handle resolver errors. Fix a bug in
3909 the definition of APR_ENOMEM so that ap_strerror() can spit
3910 out the correct error message for it.
3913 Changes with Apache 2.0a3
3915 *) mod_so reports ap_os_dso_error() if ap_dso_load() fails
3918 *) API: *HOOK* macros now have an AP_ prefix
3921 *) Win32: Eliminate redundant calls to initialize winsock.
3922 [Tim Costello <timcostello@ozemail.com.au>]
3924 *) Fix bugs initializing ungetchar for pipes.
3925 [Chia-liang Kao <clkao@CirX.ORG>]
3927 *) The ab program in the src/support directory is now portable using
3931 *) Support directory is being compiled when the server is built
3934 *) The configure option --with-program-name has been added to allow
3935 developers to rename the executable at configure time. This also
3936 changes the name of the config files to match the executable's name.
3939 *) mod_autoindex: Add `IndexOptions +VersionSort', to nicely sort filenames
3940 containing version numbers. [Martin Pool]
3942 *) ap_open(..,APR_OS_DEFAULT,..) uses perms 0666 instead of 0777 on
3943 Unix; access_log and error_log now created with these perms; non-
3944 Unix is unaffected [Jeff Trawick]
3946 *) Finished move of ap_md5 routines to apr_md5. Removed ap_md5.h.
3947 Replaced more magic numbers with MD5_DIGESTSIZE.
3948 [William Rowe, Roy Fielding]
3950 *) Win32: Get mod_auth_digest compiling and added to the Windows
3951 build environment. Not tested and I'd be suprised if it
3952 actually works. [Bill Stoddard]
3954 *) Revamp the Win32 make environment. Makefiles have been removed and
3955 Apache.dsw created to bring together all the pieces. Create new file
3956 os/win32/BaseAddr.ref to define module base addresses (to prevent
3957 dll relocation at start-up).
3958 [William Rowe, Greg Marr, Tim Costello, Bill Stoddard]
3960 *) [EBCDIC] Port Paul Gilmartin's CRLF patch from 1.3. This replaces most
3961 of the \015, \012, and \015\012 constants with macros.
3964 *) Add ap_xlate_open() et al for translation of text between different
3965 character sets. The initial implementation requires iconv().
3968 *) More FAQs and answers from comp.infosystems.www.servers.unix.
3969 [Joshua Slive <slive@finance.commerce.ubc.ca>]
3971 *) CGI output is being timed out now.
3974 *) Fix the problem with dieing quietly. dupfile now takes a pool which
3975 is used by the new apr file. There is no reason to create a new file
3976 with the same lifetime as the original file.
3979 *) Win32: Attempt to eliminate dll relocation at start-up by specifying
3980 module base addresses. This will help shooting seg faults
3981 in the field. [William Rowe <wrowe@lnd.com>]
3983 *) Update Apache on Windows documentation. Add new document
3984 describing how to compile Apache on Windows.
3985 [William Rowe <wrowe@lnd.com>]
3987 *) ap_set_pipe_timeout(), ap_poll(), and APR_SO_TIMEOUT now take
3988 microseconds instead of seconds. Some storage leaks and other
3989 minor bugs in related code were fixed. [Jeff Trawick]
3991 *) Win32: First cut at getting mod_isapi working under 2.0
3992 [William Rowe <wrowe@lnd.com>]
3994 *) First stab at getting mod_auth_digest working under 2.0
3995 quick change summary:
3996 - moved the random byte generation (ap_generate_random_bytes) into APR
3997 - now uses ap_time_t
3998 - compiles and runs on linux
4000 [Brian Martin <bmartin@penguincomputing.com>]
4002 *) Win32: Move the space stripping of physical service names
4003 fix up from Apache 1.3. #include'ing "ap_mpm.h" fixes up an
4004 unresolved symbol. Add dependency checking to the
4005 CreateService call to ensure TCPIP and AFP (winsock) is started
4007 [William Rowe <wrowe@lnd.com>]
4009 *) Win32: Add code to perform latebinding on functions that may
4010 not exist on all levels of Windows where Apache runs. This
4011 is needed to allow Apache to start-up on Win95/98. All calls
4012 to non portable functions should be protected with
4013 ap_oslevel checks to prevent runtime segfaults.
4014 [William Rowe <wrowe@lnd.com>]
4016 *) Fix fallback default values for SHM_R and SHM_W [Martin Kraemer]
4018 *) Get lingering_close() working again. [Dean Gaudet, Jeff Trawick]
4020 *) Win32: Get non-blocking CGI pipe reads working under Windows NT.
4021 This addresses PR 1623. Still need to address timing out runaway
4022 CGI scripts. [Bill Stoddard]
4024 *) Win32: Make ap_stat Windows 95/98 friendly
4025 [William Rowe <wrowe@lnd.com>]
4027 *) Win32: Fix a bug in ap_get_oslevel which causes GetVersionEx() to
4028 always fail. Need to initialise the dwOSVersionInfoSize member of the
4029 OSVERSIONINFO struct before calling GetVersionEx, so GetVersionEx
4032 The patch also enhances ap_get_oslevel (and the associated enum) to
4033 handle selected service packs for NT4, and adds recognition for
4034 Windows 2000. This is useful, eg. if we can recognise NT4 SP2 then
4035 we can use ReadFileScatter and WriteFileGather in readwrite.c.
4036 [Tim Costello <Tim.Costello@BTFinancialgroup.com>]
4038 *) Get mod_rewrite building and running, and mod_status building for Win NT
4039 [Allan Edwards <ake@raleigh.ibm.com>]
4041 *) Patch to port mod_auth_db to the 2.0 api and also to support
4042 Berlekey DB 3.0. It works for me with both Berkeley DB 3.0.55 and
4043 2.7.7. It should work with version 1 as well but I haven't tested it.
4044 [Brian Martin <bmartin@penguincomputing.com>]
4046 *) Get APR DSO code working under Windows. Includes cross platform
4048 [Tim.Costello@BTFinancialgroup.com]
4050 *) Fix some of the Windows APR time functions.
4053 *) FAQ changes related to tidying up historical documents on the web site.
4054 [Joshua Slive <slive@finance.commerce.ubc.ca>]
4056 *) Move Windows DSO code into APR.
4059 *) Eliminate apr_win.h and apr_winconfig.h (and the ugly #ifdefs they cause).
4060 Now, apr.h and apr_config.h are generated from apr.hw and apr_config.hw
4061 at build time. At this point, the server will not compile on Windows because
4062 of the recent DSO commits. Fixing those next.
4063 [Bill Rowe & Bill Stoddard]
4065 *) Added error checking for file I/O APR routines.
4066 [Jon Travis <jtravis@covalent.net>]
4068 *) APR: Don't use the values of resolver error codes for the
4069 corresponding APR error codes. On Unix and Win32, return the
4070 proper APR error code after a resolver error. [Jeff Trawick]
4072 Changes with Apache 2.0a2
4074 *) Renamed the executable back to httpd on all platforms other
4078 *) Allow BeOS to survive restarts, log properly and a few
4079 small things it had problems with due to the way it setup
4080 users and groups. [David Reid]
4082 *) Get mod_rewrite working with APR locks
4083 [Paul Reder <rederpj@raleigh.ibm.com>]
4085 *) Actually remove the sempahore when the lock cleanup routine
4086 is called on BeOS. [David Reid]
4088 *) Clear hook registrations between reads of the config file.
4089 When DSOs are unloaded and re-loaded the old hook pointers may
4090 no longer be valid. This fix eliminates potential segfaults.
4091 [Allan Edwards <ake@raleigh.ibm.com>]
4093 *) Fix a problem with Sigfunc not being defined or bypassed
4094 if sigaction() wasn't found. [Jim Jagielski]
4096 *) Fix the locking mechanism on BSD variants. They now use fcntl
4097 locks. This allows the server to start and serve pages.
4100 *) First cut at getting the Win32 installer to work
4101 [William Rowe <wrowe@lnd.com>]
4103 *) Get htpasswd compiling under Windows
4104 [William Rowe <wrowe@lnd.com>]
4106 *) Change the log message for a bind() failure to show the
4107 interface and port number. [Jeff Trawick]
4109 *) Import the documentation from 1.3.12 and bring parts of it
4110 up-to-date with respect to the changes that have occurred
4114 *) BeOS MPM updated. CGI bug on BeOS fixed. IP addresses
4115 now logged correctly on BeOS.
4118 *) Create one makefile for all Win32 distributions (NT/2000/95/98).
4119 Makefile.win includes the same user interface as the old
4121 [William Rowe <wrowe@lnd.com>, Jeff Trawick <trawick@us.ibm.com>]
4123 *) Win32 exec now uses COMSPEC environment string for command
4124 shell path resolution.
4125 [William Rowe <wrowe@lnd.com>] PR#3715
4127 *) Win32: ap_connect() was not returning correct error condition
4129 [Allen Prescott <allen@clanprescott.com>]
4131 *) Win32: ap_open() was broken on Win9x because an NT-specific
4132 flag was passed to CreateFile. ap_puts() added an unnecessary
4134 [Jeff Trawick <trawick@us.ibm.com>]
4136 *) Put in Korean and Norwegian index.html pages (2.0 and 1.3)
4137 which where donated by Lee Kuk Hyun and Lorant Czaran. 'Fixed'
4138 confusing ee/et name and made all extensions language/dialect
4139 rather than country reflecting. Changed example files to
4140 explicit reflect the ISO charset and added a few common
4141 ones to the example config [dirkx]
4143 *) Extend external module capability. To use this, you call
4144 configure with --with-module=path/to/mod1,path/to/mod2,etc.
4147 *) Backported the various "default charset" fixes from 1.3.12,
4148 including the AddDefaultCharset directive. [Jim Jagielski]
4150 *) Added the capability to do ${ENVVAR} constructs in the
4151 config file. E.g. 'ServerAdmin ${POSTMASTER}'. As commited
4152 it does this on a line by line basis; i.e. if the envvar
4153 expands to something with spaces you have to protect it
4154 by adding quotes around it (Unless of course you expect it
4155 to contains more than one argument. Alternatively you
4156 can compile it on a per token basis; which is what people
4157 usually expect by setting RESOLVE_ENV_PER_TOKEN. But this
4158 hampers fancier hacks.
4159 [Dirk-Willem van Gulik]
4161 *) Changed the 'ErrorDocument' syntax in that it NO longer
4162 supports the asymetric
4164 ErrorDocument 301 "Some message
4166 Note the opening " quote, without a closing quote. It now
4167 has either the following syntaxes
4169 ErrorDocument XXX /local/uri
4170 ErrorDocument XXX http://valid/url
4171 ErrorDocument XXX "Some Message"
4173 The recognition heuristic is: if it has a space it
4174 is a message. If it has no spaces and starts with a /
4175 or is a valid URL then treat it that way. Otherwise it
4176 is assumed to be a message.
4178 This breaks backward compatibility but makes live a hell
4179 of a lot easier for GUI's and config file parsers.
4180 [Dirk-Willem van Gulik]
4182 *) Changed 'CacheNegotiatedDocs' from its present/not-present
4183 syntax into a 'on' or 'off' syntax. As it currently is the
4184 only non nesting token which uses NO_ARGS and thus is an
4185 absolute pain for any config interface automation. This
4186 breaks backward compatibility. [Dirk-Willem van Gulik]
4188 *) Add ability to add external modules to the build process. This is
4189 done with --with-module=/path/to/module. Modules can only be added
4190 as static modules at this point.
4193 Changes with Apache 2.0a1
4195 *) Fix FreeBSD 3.3 core dump.
4196 Basically, ap_initialize() needs to get called before
4197 create_process(), since create_process() passes op_on structure
4198 to semop() to get a lock, but op_on isn't initialized until
4199 ap_initialize() calls setup_lock(). Here is a slight
4200 rearrangement to main() which calls ap_initialize() earlier...
4201 [Jeff Trawick <trawick@us.ibm.com>]
4203 *) Enable Apache to use sendfile/TransmitFile API
4204 [Bill Stoddard, David Reid, Paul Reder]
4206 *) Re-Implement Win32 APR network I/O APIs and most of the file I/O
4210 *) Make file I/O and network I/O writev/sendv APIs consistent.
4211 Eliminate use of ap_iovec_t and use Posix struct iovec.
4212 Use seperate variable on ap_writev to set the number of iovecs
4213 passed in and number of bytes written.
4216 *) Adapt file iol to use APR functions. Replaced ap_open_file()
4217 with ap_create_file_iol(). ap_create_file_iol() requires that
4218 the file be opened prior to the call using ap_open().
4221 *) Port mod_include and mod_cgi to 2.0
4222 [Paul Reder, Bill Stoddard]
4224 *) ap_send{,v}, ap_recv, ap_sendfile API clarification --
4225 bytes_read/bytes_written is always valid (never -1). Plus
4226 some fixes to buff.c to correct problems introduced by the
4227 errno => ap_status_t changes a while back. Plus a fix to
4228 chunked encoding introduced right at the beginning of 2.0.
4231 *) Revamped UNIX build system to use autoconf and libtool.
4232 [Manoj Kasichainula, Sascha Schumann]
4234 *) port mod_rewrite to 2.0. [Paul J. Reder <rederpj@raleigh.ibm.com>]
4236 *) More rigorous checking of Host: headers to fix security problems
4237 with mass name-based virtual hosting (whether using mod_rewrite
4238 or mod_vhost_alias).
4239 [Ben Hyde, Tony Finch]
4241 *) Add back support for UseCanonicalName in <Directory> containers.
4242 [Manoj Kasichainula]
4244 *) Added APLOG_STARTUP log type. This allows us to write an error
4245 message without any of the date and time information. As a part
4246 of this change, I also removed all of the calls to fprintf(stderr
4247 and replaced them with calls to ap_log_error using APLOG_STARTUP
4248 writing to stderr is no longer portable, because we don't direct
4249 stderr to the error log on all platforms.
4252 *) Convert error logging functions to take errno as an argument.
4253 This makes our error logs more portable, because some Windows API's
4254 don't set errno. This change allows us to still output a valid
4255 message on all of our platforms.
4258 *) mod_mime_magic runs in 2.0-dev now.
4259 [Paul Reder <rederpj@raleigh.ibm.com>]
4261 *) sendfile has been added to APR.
4262 [John Zedlewski <zedlwski@Princeton.EDU>]
4264 *) buff.c has been converted to no longer use errno.
4265 [Manoj Kasichainula]
4267 *) mod_speling runs in 2.0-dev now: a bug in readdir_r handling and
4268 interface adaption to APR functions did it. [Martin Kraemer]
4270 *) Support DSOs properly on 32-bit HP-UX 11.0
4271 [Dilip Khandekar <dilip@cup.hp.com>]
4273 *) Updated MM in APR source tree from version 1.0.8 to 1.0.11
4274 [Ralf S. Engelschall]
4276 *) Cleaned APR build environment integration and bootstrap APR
4277 automatically for developers from src/Configure.
4278 [Ralf S. Engelschall]
4280 *) Fixed building of src/support/htpasswd.c
4281 [Ralf S. Engelschall]
4283 *) When generating the Location: header, mod_speling forgot
4284 to escape the spelling-fixed uri. (Forw-Port from 1.3)
4287 *) Moved mod_auth_digest.c from experimental to standard. [Roy Fielding]
4289 *) Change all pools to APR contexts. This is the first step to
4290 incorporating APR into Apache. [Ryan Bloom]
4292 *) Move "handler not found" warning message to below the check
4293 for a wildcard handler. [Dirk <dirkm@teleport.com>, Roy Fielding]
4294 PR#2584, PR#2751, PR#3349, PR#3436, PR#3548, PR#4384, PR#4795, PR#4807
4296 *) Support line-continuation feature in config.option file and
4297 allow the loading of multiple option sections at once via
4298 ``--with-option=<section1>,<section2>,...''
4299 [Ralf S. Engelschall]
4301 *) Rebuilt CVS repository with Apache 1.3.9 as basis. [Roy Fielding]
4303 Changes with Apache MPM
4305 *) Use asynchronous AcceptEx() and a completion port to accept and
4306 dispatch connections to threads in Windows NT/2000.
4309 *) Implement WINNT Win32 MPM from original Win32 code in http_main.c
4312 *) Implement the APACI --with-option facility
4313 (per default used the config.option file).
4314 [Ralf S. Engelschall]
4316 *) MPM BEOS port. [David Reid <abb37@dial.pipex.com>]
4318 *) Start to implement module-defined hooks that are a) fast and b) typesafe.
4319 Replace pre_connection module call with a register_hook call and
4320 implement pre_connection as a hook. The intent is that these hooks will
4321 be extended to allow Apache to be multi-protocol, and also to allow the
4322 calling order to be specified on a per-hook/per-module basis.
4325 *) Implement mpm_* methods as "modules". Each method gets its own
4326 subdir in src/modules (eg: src/modules/prefork). Selection
4327 of method uses Rule MPM_METHOD. [Jim Jagielski]
4329 *) Port the hybrid server from the apache-apr repository as
4330 mpm_mpmt_pthread. [Manoj Kasichainula]
4332 *) os/unix/unixd.[ch]: detach, setuid, setgid, stuff which will be common
4333 amongst the unix MPMs.
4335 *) mpm_prefork: throw away all the alarm/timeout crud; and clean up the
4336 signal handling for the new world order. [Dean Gaudet]
4338 *) Crude ap_thread_mutex abstraction so that we get the pthread stuff out
4339 of alloc.c for now. [Dean Gaudet]
4341 *) Handle partial large writes correctly. [Ben Laurie]
4343 *) Eliminate conn_rec's pointer to server. All it knows is the base server
4344 based on IP/port. [Ben Laurie]
4346 *) Port a bunch of modules to the new module structure.
4347 ["Michael H. Voase" <mvoase@midcoast.com.au>]
4349 *) I/O layering and BUFF revamp. See docs/buff.txt. [Dean Gaudet]
4351 *) Basic restructuring to introduce the MPM concept; includes various
4352 changes to the module API... better described by
4353 docs/initial_blurb.txt. [Dean Gaudet]
4355 Changes with Apache pthreads
4357 *) New buff option added: BO_TIMEOUT. It describes the timeout for
4358 buff operations (generally over a network).
4359 [Dean Gaudet, Ryan Bloom, Manoj Kasichainula]
4361 *) Created http_accept abstraction. Added 4 new functions (not exported):
4362 init_accept(), begin_accepting_requests(), get_request(),
4363 stop_accepting_requests() [Bill Stoddard]
4365 *) Fix to ap_rprintf call that allows mod_info to work properly.
4366 [James Morris <jmorris@intercode.com.au>]
4368 *) user and ap_auth_type fields were moved from connection_rec to
4369 request_rec. [Ryan Bloom]
4371 *) Removed the ap_block_alarms and ap_unblock_alarm calls. These aren't
4372 needed in a threaded server.
4374 *) Initial pthread implementation from from Dean's apache-nspr code.
4375 [Bill Stoddard, Ryan Bloom]
4378 Changes with Apache 1.3.9
4380 *) Remove bogus error message when a redirect doesn't set Location.
4381 Instead, use an empty string to avoid coredump if the error message
4382 was supposed to include a location. [Roy Fielding]
4384 *) Don't allow configure to include mod_auth_digest unless it is
4385 explicitly requested, even if the user asked for all modules.
4388 *) Translate module names to dll names for OS/2 so that they are no more
4389 than 8 characters long and have an extension of "dll" instead of "so".
4392 *) Print out pointer to Rule DEV_RANDOM when truerand lib not found.
4393 Fix test-compile check to check for randbyte instead of trand32.
4394 Use ap_base64encode_binary/decode instead of copy in mod_auth_digest.c
4395 and tweak to make Amaya happier. [Ronald Tschalär]
4397 *) Ensure that the installed expat include files are world readable,
4398 just like the other header files. [Martin Kraemer]
4400 *) Fixed generated AddModule adjustments in APACI's `configure' script
4401 in order to allow (new) modules like mod_vhost_alias to be handled
4402 correctly (which was touched by the adjustments for mod_alias).
4403 [Ralf S. Engelschall]
4405 *) For binary builds, add -R flag to apachectl to work around the lack of
4406 an absolute path to the ./libexec directory where the libhttp.ep file
4407 is needed for SHARED_CORE architectures. [Randy Terbush]
4409 *) WIN32: Create the CGI script process as DETACHED. This may solve the
4410 problem observed by some Win95/98 users where they get CGI script
4411 output sent to the console. [Bill Stoddard]
4413 *) Fix (re)naming in the uuencode/decode section. The ap/ap_
4414 routines are now called ap_base64* and are 'plain' (i.e., no
4415 pool access or anything clever). Inside util.c the routines acting
4416 like pstrdup are called ap_pbase64encode() and ap_pbase64decode().
4417 The oddly named ap_uuencode(), ap_uudecode() are kept around for
4418 now but deprecated. [dirkx]
4420 *) Clean up the base64 and SHA1 additions and make sure they are
4421 represented in the ApacheCore.def, ApacheCoreOS2.def, and httpd.exp
4422 files. [Roy Fielding]
4424 *) WIN32: Migrate to InstallShield 5.5 and provide a bit more error
4425 checking. Allow compiling on VS 6.0. [Randy Terbush]
4427 *) Fixed assumption of absolute paths in binbuild.sh. [Tony Finch]
4429 *) Use TestCompile to search for the truerand library (rather than blindly
4430 assuming its existence). If it is not found, complain (but do not
4431 exit - yet). [Martin Kraemer]
4433 *) We forgot to add the new exported function names to
4434 src/support/httpd.exp. [Bill Stoddard, Randy Terbush]
4436 *) Add description of -T command-line option to usage().
4437 [Ralf S. Engelschall]
4439 *) For "some" platforms (notably, EBCDIC based ones), libos needs to be
4440 searched only AFTER libap has been searched, because libap needs
4441 some symbols from libos. [Martin Kraemer]
4443 *) Fix conflict with original mod_digest related to the symbol of the
4444 module dispatch list (which has to be unique for DSO and follow the
4445 usual conventions for the installation procedure).
4446 [Ralf S. Engelschall]
4448 *) Add a dbm-library check for the "usual places" (-ldbm, -lndbm, -ldb)
4449 for other platforms as well. [Martin Kraemer]
4451 *) Make ap_sha1.c compile for EBCDIC platforms: replace remaining LONG
4452 types by AP_LONG and replace reference to renamed variable 'ubuf'
4453 by 'buffer'. [Martin Kraemer]
4455 Changes with Apache 1.3.8 [not released]
4457 *) Flush the output buffer immediately after sending an error or redirect
4458 response, since the result may be needed by the client to abort a
4459 long data transfer or restart a series of pipelined requests.
4460 [Tom Vaughan <tvaughan@aventail.com>, Roy Fielding]
4462 *) PORT: Improved compilation and DSO support on Sequent DYNIX/ptx.
4463 [Ian Turner <iant@sequent.com>] PR#4735
4465 *) Local struct mmap in http_core.c conflicted with system structure
4466 name on DYNIX -- changed to mmap_rec. [Roy Fielding] PR#4735
4468 *) Added updated mod_digest as modules/experimental/mod_auth_digest.
4469 [Ronald Tschalär <ronald@innovation.ch>]
4471 *) Fix a memory leak where the module counts were getting messed
4472 up across restarts. [David Harris <dharris@drh.net>]
4474 *) CIDR addresses such as a.b.c.d/24 where d != 0 weren't handled
4475 properly in mod_access.
4476 ["Paul J. Reder" <rederpj@raleigh.ibm.com>] PR#4770
4478 *) RewriteLock/RewriteMap didn't work properly with virtual hosts.
4479 [Dmitry Khrustalev <dima@bog.msu.su>] PR#3874
4481 *) PORT: Support for compaq/tandem/com.
4482 [Michael Ottati <michael.ottati@compaq.com>, dirkx]
4484 *) Added SHA1 password encryption support to easy migration from
4485 Netscape servers. See support/SHA1 for more information.
4486 Caused the separation of ap_md5.c into md5, sha1 and a general
4487 ap_checkpass.c with just a validate_passwd routine. Added a
4488 couple of flags to support/htpasswd. Some reuse of the to64()
4489 function; hence renamed to ap_to64().
4490 [Dirk-Willem van Gulik, Clinton Wong <clintdw@netcom.com>]
4492 *) Change for EBCDIC platforms (TPF and BS2000) to correctly deal
4493 with ASCII/EBCDIC conversions in "ident" query.
4494 [David McCreedy <McCreedy@us.ibm.com>]
4496 *) Get rid of redefinition warning on MAC_OS_X_SERVER platform.
4497 Change "Power Macintosh" to Power* so if uname prints "Power Book"
4498 we're still happy on Rhapsody platforms. [Wilfredo Sanchez]
4500 *) Fix SIGSEGV on some systems because the Vary fix below included
4501 a call to table_do with a variable argument list that was not
4502 NULL terminated. Replaced with better implementation. [Roy Fielding]
4504 Changes with Apache 1.3.7 [not released]
4506 *) The "Vary" response header field is now sanitised right before
4507 the header is sent back to the client. Multiple "Vary" fields
4508 are combined, and duplicate tokens (e.g., "Vary: host, host" or
4509 "Vary: host, negotiate, host, accept-language") are reduced to
4510 single instances. This is a better solution than the force-no-vary
4511 one (which is still valid for clients that can't cope with Vary
4512 at all). PR#3118 [Dean Gaudet, Roy Fielding, Ken Coar]
4514 *) Portability changes for BeOS. [David Reid abb37@dial.pipex.com]
4516 *) Link DSO's with "gcc -shared" instead of "ld -Bshareable" at
4517 least on Linux and FreeBSD for now.
4520 *) Win32: More apache -k restart work. Restarts are now honored
4521 immediately and connections in the listen queue are -not- lost.
4522 This is made possible by the use of the WSADuplicateSocket()
4523 call. The listeners are opened in the parent, duplicated, then
4524 the duplicates are passed to the child. The original listen sockets
4525 are not closed by the parent across a restart, thus the listen queue
4527 [Bill Stoddard <stoddard@raleigh.ibm.com>]
4529 *) Fix handling of case when a client has sent "Expect: 100-continue"
4530 and we are going to respond with an error, but get stuck waiting to
4531 discard the body in the pointless hope of preserving the connection.
4532 [Roy Fielding, Joe Orton <jeo101@york.ac.uk>] PR#4499, PR#3806
4534 *) Fix 'configure' to work correctly with SysV-based versions of
4535 'tr' (consistent with Configure's use as well). [Jim Jagielski]
4537 *) apxs: Add "-S var=val" option which allows for override of CFG_*
4538 built-in values. Add "-e" option which works like -i but doesn't
4539 install the DSO; useful for editing httpd.conf with apxs. Fix
4540 editing code so that multiple invocations of apxs -a will not
4541 create duplicate LoadModule/AddModule entries; apxs can now be
4542 used to re- enable/disable a module. [Wilfredo Sanchez]
4544 *) Win32: Update the server to use Winsock 2. Specifically, link with
4545 ws2_32.lib rather than wsock32.lib. This gives us access to
4546 WSADuplcateSocket() in addition to some other enhanced comm APIs.
4547 Win 95 users may need to update their TCP/IP stack to pick up
4548 Winsock 2. (See http://www.microsoft.com/windows95/downloads/)
4549 [Bill Stoddard stoddard@raleigh.ibm.com]
4551 *) Win32: Redirect CGI script stderr (script debug info) into the
4552 error.log when CGI scripts fail. This makes Apache on Win32
4553 behave more like Unix.
4554 [Bill Stoddard stoddard@raleigh.ibm.com]
4556 *) Fixed `httpd' usage display: -D was missing.
4557 [Ralf S. Engelschall] PR#4614
4559 *) Fix `make r' test procedure in src/regex/: ap_isprint was not found.
4560 [Ralf S. Engelschall] PR#4561, PR#4562
4562 *) OS/2: Fix problem with accept lock semaphores where server would die with
4563 "OS2SEM: Error 105 getting accept lock. Exiting!"
4564 [Brian Havard] PR#4505
4566 *) Add DSO support for DGUX 4.x using gcc. Tested on x86 platforms.
4567 [Randy Terbush <randy@covalent.net>]
4569 *) Add the new mass-vhost module (mod_vhost_alias.c) developed and
4570 used by Demon Internet, Ltd. [Tony Finch <fanf@demon.net>]
4572 *) Better GCC detection for DSO flags under Solaris 2 where the `cc'
4573 command potentially _is_ GCC. [Ralf S. Engelschall]
4575 *) Fix apxs build issues on AIX
4576 [Rasmus Lerdorf <rasmus@raleigh.ibm.com>]
4578 *) DocumentRoot Checking: Under previous versions, when Apache
4579 first started up, it used to do a stat of each DocumentRoot to
4580 see if it existed and was a directory. If not, then an error
4581 message was printed. THIS HAS BEEN DISABLED. If DocumentRoot
4582 does not exist, you will get error messages in error_log. If
4583 the '-t' command line option is used (to check the configuration)
4584 the check of DocumentRoot IS performed. An additional command
4585 line option, '-T', has been added if you want to avoid the
4586 DocumentRoot check even when checking the configuration.
4589 *) Win32: The query switch "apache -S" didn't exit after showing the
4590 vhost settings. That was inconsistent with the other query functions.
4591 [Bill Stoddard - Fixed by Martin on Unix in 1.3.4]
4593 *) Win32: Changed behaviour of apache -k restart.
4594 Previously, the server would drain all connections in the stack's
4595 listen queue before honoring the restart. On a busy server, this
4596 could take hours. Now, a restart is honored almost immediately.
4597 All connections in Apache's queues are handled but connections in
4598 the stack's listen queue are discarded. Restart triggered by
4599 MaxRequestPerChild is unchanged.
4600 [Bill Stoddard <stoddard@raleigh.ibm.com>]
4602 *) Win32: Eliminated unnecessary call to wait_for_multiple_objects in
4603 the accept loop. Good for a 5% performance boost. Cleaned up
4604 parent/child process management code.
4605 [Bill Stoddard <stoddard@raleigh.ibm.com>]
4607 *) Added ceiling on file size for memory mapped files.
4608 [John Giannandrea <jg@meer.net>] PR#4122
4610 *) Fix ndbm.h include problems with brain-dead glibc >= 2.1 which
4611 has ndbm.h in a non-standard db1/ subdir. PR#4431, PR#4528
4612 [Henri Gomez <gomez@slib.fr>, Ralf S. Engelschall]
4614 *) Determine AP_BYTE_ORDER for ap_config_auto.h and already
4615 use this at least for Expat. [Ralf S. Engelschall]
4617 *) Allow .module files to specify libraries with Lib:.
4620 *) Allow SetEnvIf[NoCase] to test environment variables as well
4621 as header fields and request attributes. [Ken Coar]
4623 *) Fix mod_autoindex's handling of ScanHTMLTitles when file
4624 content-types are "text/html;parameters". PR#4524 [Ken Coar]
4626 *) Remove "mxb" support from mod_negotiation -- it was a draft feature
4627 never accepted into any standard, and it opens up certain DoS
4628 attacks. [Koen Holtman <Koen.Holtman@cern.ch>]
4630 *) TestCompile updated. We can now run programs and output the
4631 results during the Configure process. [ Jim Jagielski]
4633 *) The source is now quad (long long) aware as needed. Specifically,
4634 the Configure process determines the correct size of off_t and
4635 *void. When the OS/platform/compiler supports quads, ap_snprintf()
4636 provides for the 'q' format qualifier (if quads are not available,
4637 'q' is silently "demoted" to long). [Jim Jagielski]
4639 *) When the username or password fed to htpasswd is too long, include the
4640 size limit in the error message. Also report illegal characters
4641 (currently only ':') in the username. Add the size restrictions
4642 to the man page. [Ken Coar]
4644 *) Fixed the configure --without-support option so it doesn't result in
4645 an infinite loop. [Marc Slemko]
4647 *) Piped error logs could cause a segfault if an error occured
4648 during configuration after a restart.
4649 [Aidan Cully <aidan@panix.com>] PR#4456
4651 *) If a "Location" field was stored in r->err_headers_out rather
4652 than r->headers_out, redirect processing wouldn't find it and
4653 the server would core dump on ap_escape_html(NULL). Check both
4654 tables and raise HTTP_INTERNAL_SERVER_ERROR with a log message
4655 if Location isn't set. [Doug MacEachern, Ken Coar]
4657 *) Add RULE_EXPAT, the src/lib/ directory structure, and a modified copy
4658 of the Expat 1.0.2 distribution. [Greg Stein]
4660 *) Replace regexec() calls with calls to a new API stub function
4661 ap_regexec(). This solves problems with DSO modules which use the regex
4662 library. [Jens-Uwe Mager <jum@helios.de>, Ralf S. Engelschall]
4664 *) Add 'Request_Protocol' special keyword to mod_setenvif so that
4665 environment variables can be set according to the protocol version
4666 (e.g., HTTP/0.9 or HTTP/1.1) of the request. [Ken Coar]
4668 *) Add DSO support for OpenStep (Mach 4.2) platform.
4669 [Ralf S. Engelschall, Rex Dieter <rdieter@math.unl.edu>] PR#3997
4671 *) Fix sed regex for generating ap_config_auto.h in src/Configure.
4672 [Jan Gallo <gallo@pvt.sk>] PR#3690, PR#4373
4674 *) Switch to /bin/sh5 in APACI on Ultrix and friends to avoid problems with
4675 their brain-dead /bin/sh. [Ralf S. Engelschall] PR#4372
4677 *) Better DSO flags recognition on NetBSD platforms using ELF.
4678 [Todd Vierling <tv@pobox.com>] PR#4310
4680 *) Always log months in english format for %t in mod_log_config.
4681 [Petr Lampa <lampa@fee.vutbr.cz>] PR#4366, 679
4683 *) Support for server-parsed and multiview-determined ReadmeName and
4684 HeaderName files in mod_autoindex. Removed the restriction on
4685 "/"s in ReadmeName and HeaderName directives since the *sub_req*
4686 routines will deal with the access issues. (It's now possible to
4687 have {site|group|project|customer|...} wide readmes and headers.)
4688 [Raymond S Brand <rsbx@rsbx.net>, Ken Coar] PR#1574, 3026, 3529,
4691 *) When stat() fails, don't assume anything about the contents of
4692 the struct stat. [Ed Korthof <ed@bitmechanic.com>]
4694 *) It's OK for a semop to return EINTR, just loop around and try
4695 again. [Dean Gaudet]
4697 *) Fix configuration engine re-entrant hangups, which solve a
4698 handful of problems seen with mod_perl <Perl> configuration sections
4699 [Salvador Ortiz Garcia <sog@msg.com.mx>]
4701 *) Mac OS and Mac OS X Server now use the appropriate custom layout
4702 by default when building with APACI; allow for platform-specific
4703 variable defaults in configure. [Wilfredo Sanchez]
4705 *) Do setgid() before initgroups() in http_main; some platforms
4706 zap the grouplist when setgid() is called. This was fixed in
4707 suexec earlier, but the main httpd code missed the change.
4708 [Rob Saccoccio <robs@InfiniteTechnology.com>] PR#2579
4710 *) Add recognition of .tgz as a gzipped tarchive.
4711 [Bertrand de Singly <bertrand.de-singly@polytechnique.fr>] PR#2364
4713 *) mod_include's fsize/flastmod should allow only relative paths, just
4714 like "include file". [Jaroslav Benkovsky <benkovsk@pha.pvt.cz>]
4716 *) OS/2: Add support for building loadable modules using DLLs.
4719 *) Add iconsdir, htdocsdir, and cgidir to config.layout.
4722 *) Fix minor but annoying bug with the test for Configuration.tmpl
4723 being newer than Configuration so that it is less likely to fail
4724 when using APACI and shadow sources. [Wilfredo Sanchez]
4726 *) PORT: Add initial support for Mac OS (versions 10.0 and
4727 greater). Use Mac OS X Server layout for now. Clean up dyld code
4728 in unix/os.c, and don't install the dyld error handlers, which
4729 are no longer needed in Mac OS. [Wilfredo Sanchez]
4731 *) Rename Rhapsody layout to "Mac OS X Server". Change install
4732 locations to appropriate ones for user-built (as opposed to
4733 system) installs. [Wilfredo Sanchez]
4735 *) Modify mod_autoindex's handling of AddDescription so that the
4736 behaviour matches the documentation. [Ken Coar] PR#1898, 3072.
4738 *) Add functionality to the install-bindist.sh script created by
4739 binbuild.sh to use tar when copying distribution files to the
4740 serverroot. This allows upgrading an existing installation
4741 without nesting the new distribution in the old.
4743 install-bindist.sh now detects the local perl5 path to install
4744 apxs and dbmmanage with proper path to perl interpreter.
4746 Add an install-binsupport target which copies the source files
4747 for apxs and dbmmanage to bindist to allow these scripts to
4748 be properly installed relative to the destination serverroot.
4749 [Randy Terbush, Covalent Technologies, randy@covalent.net]
4751 *) Fix intermittent SEGV in ap_proxy_cache_error() in
4752 src/modules/proxy_util.c where a NULL filepointer and
4753 temporary filename were closed and unlinked.
4754 [Graham Leggett <minfrin@sharp.fm>,
4755 Tim Costello <tjcostel@socs.uts.edu.au>] PR#3178
4757 *) Fix inconsistent error messages reported by mod_proxy.
4758 [Graham Leggett <minfrin@sharp.fm>]
4760 *) OS/2: Fix terminating CGIs that aren't compiled by EMX GCC when a
4761 connection is aborted. [Brian Havard]
4763 *) Force the LANG envariable to the known state of "C" so that we
4764 have assurance about how string manipulators (e.g., tr) will
4765 function. [Ken Coar] PR#1630
4767 *) Add a directive to allow customising of the tracking cookie name.
4768 [Ken Coar] PR#2921, 4303
4770 *) Add "force-no-vary" envariable to allow servers to work around
4771 clients that choke on "Vary" fields in the response header.
4772 [Ken Coar, Dmitry Khrustalev <dima@zippy.machaon.ru>] PR#4118
4774 *) Fixed a bug in mod_dir that causes a child process will infinitely
4775 recurse when it attemps to handle a request for a directory wnd the
4776 value of the DirectoryIndex directive is a single dot. Also likely
4777 to happen for anyother values of DirectoryIndex that will map back
4778 to the same directory. The handler now only considers regular files
4779 as being index candidates. No PR#s found.
4780 [Raymond S Brand <rsbx@rsbx.net>]
4782 *) Ease configuration debugging by making TestCompile fall back to
4783 using "make" if the $MAKE variable is unset [Martin Kraemer]
4785 *) Fixed the ServerSignature directive to work as documented.
4786 [Raymond S Brand <rsbx@rsbx.net>] PR#4248
4788 *) Add "opt" (SysV-style) layout to config.layout. [Raymond S Brand
4791 *) Add APACI --without-execstrip option which can be used to disable the
4792 stripping of executables on installation. This is very important for DSO
4793 and debugging situations. [Ralf S. Engelschall]
4795 *) Add support for OS/2 (case insenstive filesystem, .exe suffix, etc)
4796 to APACI files and related scripts.
4797 [Yitzchak Scott-Thoennes <sthoenna@efn.org>, Ralf S. Engelschall] PR#4269
4799 *) Add support for standalone mode in TPF
4800 [Joe Moenich <moenich@us.ibm.com>]
4802 *) Fix number of bytes copied by read_connection() in src/support/ab.c
4803 [Jim Cox <jc@superlink.net>] PR#4271
4805 *) Fix special RewriteCond "-s" pattern matching.
4806 [Bob Finch <bob@nas.com>]
4808 *) Fix value quoting in src/Configure script for ap_config_auto.h
4809 [Paul Sutton <paul@awe.com>]
4811 *) Make sure RewriteLock can be used only in the global context, (i.e.
4812 outside of any <VirtualHost> sections) because it's a global facility of
4813 the rewrite engine. [Ralf S. Engelschall]
4815 *) Fix the ownership delegation for proxy directory under `make install'.
4816 [Ralf S. Engelschall]
4818 *) APACI would not correctly build suexec. [Maria Verina
4819 <mariav@icgeb.trieste.it>] PR#4260
4821 *) mod_mime_magic passed only the first 4k of a file to
4822 uncompress/gzip, but those tools sometimes do not produce
4823 any output unless a sufficient portion of the compressed
4824 file is input. Change to pass the entire file -- but
4825 only read 4k of output.
4826 [Marcin Cieslak <saper@system.pl>] PR#4097
4828 *) "IndexOptions None" generated extra spaces at the end of each
4829 line. [inkling@firstnethou.com] PR#3770
4831 *) The "100 Continue" response wasn't being sent after internal
4832 redirects. [Jose KAHAN <kahan@w3.org>] PR#3910, 3806, 3575
4834 *) When padding the name with spaces for display, mod_autoindex would
4835 count &, <, and > in their escaped width, messing up the display.
4836 [Dean Gaudet] PR#4075, 3758
4838 *) PORT: fixed a compilation problem on NEXT.
4839 [Jacques Distler <distler@golem.ph.utexas.edu>] PR#4130
4841 *) r->request_time wasn't being set properly in certain error conditions.
4842 [Dean Gaudet] PR#4156
4844 *) PORT: deal with UTS compiler error in http_protocol.c
4845 [Dave Dykstra <dwd@bell-labs.com>] PR#4189
4847 *) Add ap_vrprintf() function. [John Tobey <jtobey@banta-im.com>] PR#4246
4849 *) Fix the mod_mime hash table to work properly with locales other
4850 than C. [Dean Gaudet] PR#3427
4852 *) Fix a memory leak which is exacerbated by certain configurations.
4853 [Dean Gaudet] PR#4225
4855 *) Prevent clobbering saved IFS values in APACI. [Jim Jagielski]
4857 *) Fix buffer overflows in ap_uuencode and ap_uudecode pointed out
4858 by "Peter 'Luna' Altberg <peter@altberg.nu>" and PR#3422
4859 [Peter 'Luna' Altberg <peter@altberg.nu>, Ronald Tschalär]
4861 *) Make {Set,Unset,Pass}Env per-directory instead of per-server.
4864 *) Correct an apparent typo: on the Windows and MPE platforms, the
4865 htpasswd utility was limiting passwords to only 8 characters.
4868 *) EBCDIC platforms: David submitted patches for two bugs in the
4869 MD5 digest port for EBCDIC machines:
4870 a) the htdigest utility overwrote the old contents of the digest file
4871 b) the Content-MD5 header value (ContentDigest directive) was wrong
4872 when the returned file was not converted from EBCDIC, but was a
4873 binary (e.g., image file) in the first place.
4874 [David McCreedy <mccreedy@us.ibm.com>]
4876 *) support/htpasswd now permits the password to be specified on the
4877 command line with the '-b' switch. This is useful when passwords
4878 need to be maintained by scripts -- particularly in the Win32
4879 environment. [Ken Coar]
4881 *) Win32: Win32 multiple services patch. Added capability to install and
4882 run multiple copies of apache as individual services.
4885 apache -n apache1 -i -f c:/httpd.conf
4886 Installs apache as service 'apache1' and associates c:/httpd.conf
4889 Starts apache1 service.
4891 Stops apache1 service
4894 apache -n apache2 -i
4895 Installs apache as service 'apache2'. httpd.conf is located under
4896 the default server root (/apache/conf/httpd.conf).
4898 Starts apache2 service.
4901 apache -n apache3 -i -d c:/program files/apache
4902 Install apache as service 'apache3' and sets server root to
4903 c:/program files/apache.
4906 apache -n apache2 -k restart
4907 Restart apache2 service
4909 [Keith Wannamaker, Ken Parzygnat, Bill Stoddard]
4911 *) Correct the signed/unsigned character handling for the MD5 routines;
4912 mismatches were causing compilation problems with gcc -pedantic and
4913 in the TPF cross-compilation. [Ken Coar]
4915 *) OS/2: Rework CGI handling to use spawn*() instead of fork/exec, achieving
4916 a roughly 5 fold speed up. [Brian Havard]
4918 *) proxy ftp: instead of using the hardwired string "text/plain" as
4919 a fallback type for files served by the ftp proxy, use the
4920 ap_default_type() function to determine the configured type.
4921 This allows for special configurations like
4922 <Directory proxy:ftp://some.host>
4923 DefaultType gargle/blurb
4925 Additionally, add the Content-Encoding: header to FTP proxy replies
4926 when the encoding is defined (by the AddEncoding directive).
4927 Because it was missing, it was almost impossible to browse compressed
4928 files using the FTP proxy (works now perfectly in Communicator).
4929 The ftp proxy now also returns the Date: and Server: header lines (if not
4930 much else... This code is "somewhat" broken) like normal requests do.
4933 *) Be more smart in APACI's configure script when determining the UID/GID
4934 for User/Group directives and use the determined UID/GID to initialize
4935 the permissions on the proxycachedir.
4936 [Dirk-Willem van Gulik, Ralf S. Engelschall]
4938 *) Changed the forking-prior-to-cleanup in the proxy module to first
4939 check wether it actually needs to collect garbage. This reduces
4940 the number of fork()s from one/request to just the odd one an hour.
4941 [Dirk-Willem van Gulik]
4943 *) Added proxy, auth and header support to src/support/ab.c. Added a
4944 README file to src/support/
4945 [Dirk-Willem van Gulik]
4947 *) Don't hard-code the path to AWK in --shadow bootstrapping Makefile.
4948 [Ralf S. Engelschall] PR#4050
4950 *) Add support for DSO module compilation on BSD/OS 3.x.
4951 [Randy Terbush, Covalent Technologies]
4953 *) Fix sed-substitutions in `make install': path elements like `httpd/conf'
4954 (for instance from an APACI configure --sysconfdir=/etc/httpd/conf
4955 option) were substituted with $(TARGET).conf, etc. Same for other strings
4956 with dots where the dot wasn't matched as plain text.
4957 [Ralf S. Engelschall]
4959 *) PORT: Add support for FreeBSD 4.x [Ralf S. Engelschall]
4961 *) Fix verbose output of APACI configure (option -v)
4962 [Martin Kraemer, Ralf S. Engelschall]
4964 Changes with Apache 1.3.6
4966 *) Removed new PassAllEnv code due to DSO problems. [Lars Eilebrecht]
4968 Changes with Apache 1.3.5 [not released]
4970 *) M_INVALID needed a value within the scope of METHODS so that unknown
4971 methods can be access controlled. [Roy Fielding] PR#3821
4973 *) Added PassAllEnv; makes server's entire environment available
4974 to CGIs and SSIs executed within directive's scope. [Ken Coar]
4976 *) ap_uuencode() always added two trailing '='s and encoding of
4977 8 bit characters on a machine with signed char may produced
4978 incorrect results. Additionally ap_uuencode() should now
4979 work correctly on EBCDIC platforms.
4980 [Ronald Tschalär <ronald@innovation.ch>] PR#3411
4982 *) WIN32: Binary installer now runs the configuration DLL before
4983 the reboot prompt (which is only given if MSVCRT.DLL system
4984 DLL is new or updated). This should avoid the configuration
4985 directory being empty after installation. [Paul Sutton]
4986 PR#3767, 3800, 3827, 3850, 3900, 3953, 3988
4988 *) WIN32: Binary installer now creates Start menu options to start
4989 and stop Apache as a console application and to uninstall
4990 the Apache service on NT. [Paul Sutton] PR#3741
4992 *) WIN32: Apache.exe now contains an icon. [Paul Sutton]
4994 *) PORT: Switch back to using fcntl() locking on Linux -- instabilities
4995 have been reported with flock() locking (probably related to kernel
4996 version). [Dean Gaudet] PR#2723, 3531
4998 *) Using APACI, the main config file (usually httpd.conf) was
4999 not being adjusted as $(TARGET).conf. [Wilfredo Sanchez
5000 <wsanchez@apple.com>]
5002 *) PORT: AIX does not require the SHARED_CODE "hack"
5003 [Ryan Bloom <rbb@raleigh.ibm.com>]
5005 *) Set-Cookie headers were being doubled up for some CGIs by the O(n^2)
5006 avoidance code added in 1.3.3.
5007 [Dean Gaudet, Jeff Lewis <lewis@stanford.edu>] PR#3872
5009 *) ap_isxdigit was somehow neglected when adding the ap_isfoo() macros
5010 for 8-bit safeness. [Dean Gaudet]
5012 *) PORT: Use -fPIC instead of -fpic on Solaris and SunOS for compiling DSOs
5013 because SPARCs have a small machine-specific maximum size for the Global
5014 Offset Table which is often exceeded when compiling one of the larger
5015 third-party modules with Apache. [Peter Urban <Peter.Urban@epfl.ch>] PR#3977
5017 *) Move the directive `ExtendedStatus' in httpd.conf-dist-win _after_ the
5018 DSO/DLL section because it's a directive from mod_status and isn't
5019 available before the DLL of mod_status is loaded.
5020 [Martin POESCHL <mpoeschl@gmx.net>] PR#3936
5022 *) SECURITY: Fix a bug in the calculation of the buffer size for the line
5023 continuation facility in Apache's configuration files which could
5024 lead to a buffer overflow situation.
5025 [Thomas Devanneaux <Thomas.Devanneaux@enst.fr>] PR#3617
5027 *) Make documentation and error messages of APACI's --activate-module=FILE
5028 option more clear. [Jan Wolter <janc@wwnet.net>] PR#3995
5030 *) Fix the gcc version check (for enabling the `inline' facility) to
5031 really support all future gcc versions >= 2.7 until we know more.
5032 [John Tobey <jtobey@banta-im.com>] PR#3983
5034 *) Let APACI's configure script correctly complain for unknown --enable-XXX
5035 and --disable-XXX options. [Ralf S. Engelschall] PR#3958
5037 *) Link the shared core bootstrap program (``Rule SHARED_CORE=yes'') also
5038 against libap.a and use its ap_snprintf() instead of sprintf() to avoid
5039 possible buffer overflows. [Ralf S. Engelschall]
5041 *) Remove no longer used non-API function ap_single_module_init().
5042 [Ralf S. Engelschall]
5044 *) Add Apple's Mac OS X Server Layout "Rhapsody" to config.layout.
5047 *) Add cgidir, htdocsdir, iconsdir variables to Makefile.tmpl in order
5048 to make platform installations easier. [Wilfredo Sanchez]
5050 *) In configure, do not append the target name to the directory path if
5051 the path already contains "apache". [Ralf S. Engelschall]
5053 *) SIGPIPE is now ignored by the server core. The request write routines
5054 (ap_rputc, ap_rputs, ap_rvputs, ap_rwrite, ap_rprintf, ap_rflush) now
5055 correctly check for output errors and mark the connection as aborted.
5056 Replaced many direct (unchecked) calls to ap_b* routines with the
5057 analogous ap_r* calls. [Roy Fielding]
5059 *) Enhanced mod_rewrite's mapfile handling: The in-core cache for text and
5060 DBM format mapfiles now uses a 4-way hash table with LRU functionality.
5061 Furthermore map lookups for non-existent keys are now cached as well.
5062 Additionally "txt" maps are now parsed with simple string functions
5063 instead of using ap_pregcomp(). As a side effect a bug that prevented
5064 the usage of keys containing the "," character was fixed.
5065 The changes drastically improve the performance when large rewrite maps
5067 [Michael van Elst <mlelstv@serpens.swb.de>, Lars Eilebrecht] PR#3160
5069 *) Added ap_sub_req_method_uri() for doing a subrequest with a method
5070 other than GET, and const'd the definition of method in request_rec.
5073 *) Use proper pid_t type for saving PIDs in alloc.c. [John Bley]
5075 *) Replaced use of WIN32 define with HAVE_DRIVE_LETTERS to indicate
5076 when the OS allows a DOS drive letter within pathnames. [Brian Havard]
5078 *) Add %V to mod_log_config, this logs the hostname according to the
5079 UseCanonicalName setting (this is the pre-1.3.4 behaviour of
5080 %v). Useful for mass vhosting. [Tony Finch <dot@dotat.at>]
5082 *) Add support for \n and \t to mod_log_config, can be used to produce
5083 more reliable logs with multiline entries. [Tony Finch <dot@dotat.at>]
5085 *) Fixed a few compiler nits. [John Bley <jbb6@acpub.duke.edu>]
5087 *) Added informative error messages for failed munmap() and fseek() calls
5088 in http_core.c. [John Bley, Roy Fielding]
5090 *) Added some informative error messages for some failed malloc()
5091 calls. [John Bley <jbb6@acpub.duke.edu>, Jim Jagielski]
5093 *) OS/2 ap_os_canonical_filename()'s behaviour is improved: ap_assert()
5094 is removed. This allows <Directory proxy:*> directives to work and
5095 prevents invalid requests from killing the process.
5096 [Brian Havard <brianh@kheldar.apana.org.au>]
5098 *) Reorganised FAQ document.
5099 [Joshua Slive <slive@finance.commerce.ubc.ca>] PR#2497
5101 *) src/support/: The ApacheBench benchmark program was overhauled by
5102 David N. Welton: you can now have it generate an HTML TABLE, presumably
5103 for integration into other HTML sources. David updated the ab man page
5104 as well and added some missing descriptions. Thanks!
5105 [David N. Welton <davidw@prosa.it>]
5107 *) Win32: The filename validity checker now allows filenames containing
5108 characters in the range 0x80 to 0xff (for example accented characters).
5109 [Paul Sutton] PR#3890
5111 *) Added conditional logging based upon environment variables to
5112 mod_log_config. mod_log_referer and mod_log_agent
5113 are now deprecated. [Ken Coar]
5115 *) Allow apache acting as a proxy server to relay the real
5116 reason of a failure to a client rather than the "internal
5117 server error" it does currently. The general exposure mechanism
5118 can be triggered by any module by setting the "verbose-error-to"
5119 note to "*"; this allows more than just proxy errors to be exposed.
5120 [Cliff Skolnick, Roy Fielding, Martin Kraemer] Related to PR#3455, 4086
5122 *) Moved man pages for ab and apachectrl to section 8.
5123 [Wilfredo Sanchez, Roy Fielding]
5125 *) Added -S option to install.sh so that options can be passed to
5126 strip on some platforms. [Ralf S. Engelschall, Wilfredo Sanchez]
5128 *) Tweak modules Makefile generated by Configure so that it handles
5129 the test case of no modules being selected. [chaz@reliant.com]
5131 *) Added a <LimitExcept method ...> sectioning directive that allows
5132 the user to assign authentication control to any HTTP method that
5133 is *not* given in the argument list; i.e., the logical negation
5134 of the <Limit> directive. This is particularly useful for controlling
5135 access on methods unknown to the Apache core, but perhaps known by
5136 some module or CGI script. [Roy Fielding, Tony Finch]
5138 *) Prevent apachectl from complaining if the PIDFILE exists but
5139 does not contain a process id, as might occur if the server is
5140 being rapidly restarted. [Wilfredo Sanchez]
5142 *) Win32: Add global symbols missing from ApacheCore.def. [Carl Olsen]
5144 *) Entity tag comparisons for If-Match and If-None-Match were not being
5145 performed correctly -- weak tags might cause false positives. Also,
5146 strong comparison wasn't properly enforced in all cases.
5147 [Roy Fielding, Ken Coar, Dean Gaudet] PR#2065, 3657
5149 *) OS/2: Supply OS/2 error code instead of errno on semaphore errors.
5152 *) Work around a bug in Lynx regarding its sending "Negotiate: trans"
5153 even though it doesn't understand TCN. [Koen Holtman, Roy Fielding]
5155 *) Added ap_size_list_item(), ap_get_list_item(), and ap_find_list_item()
5156 to util.c for parsing an HTTP header field value to extract the next
5157 list item, taking into account the possible presence of nested comments,
5158 quoted-pairs, and quoted-strings. ap_get_list_item() also removes
5159 insignificant whitespace and lowercases non-quoted tokens.
5160 [Roy Fielding] PR#2065
5162 *) proxy: The various calls to ap_proxyerror() can return HTTP/1.1 status
5163 code different from 500. This allows the proxy to, e.g., return
5164 "403 Forbidden" for ProxyBlock'ed URL's. [Martin Kraemer] Related to PR#3455
5166 *) Fix ordering of language variants for the case where the traditional
5167 negotiation algorithm is being used with multiple language variants
5168 and no Accept-Language. [James Treacy <treacy@debian.org>] PR#3299, 3688
5170 *) Do not round the TCN quality calculation to 5 decimal places,
5171 unlike RFC 2296, because the calculation might need 12 decimal places
5172 to get the right result. [Roy Fielding]
5174 *) Remove unused code to disable transparent negotiation when
5175 negotiating on encoding only, as we now handle encoding too
5176 (though this is nonstandard for TCN), remove charset=ISO-8859-1
5177 fiddle from the fiddle-averse RVSA comparison, and fix bugs in
5178 some debugging statements within mod_negotiation. [Koen Holtman]
5180 *) Fixed a rare memory corruption possibility in mod_dir if the index
5181 file is negotiable and no acceptable variant can be found.
5182 [Dean Gaudet, Roy Fielding, Martin Kraemer]
5184 *) Win32: Add new config directive, ScriptInterpreterSource, to enable
5185 searching the Win32 registry for script interpreters.
5188 *) Win32: The compiled-in default filename for the error log is now
5189 error.log, which matches the default in the distributed httpd.conf.
5192 *) Win32: Any error messages from -i or -u command line options are now
5193 displayed on the console output rather than sent to the error log.
5194 Also the "Running Apache..." message is not output unless Apache is
5195 going to serve requests. [Paul Sutton]
5197 *) Rework the MD5 authentication scheme to use FreeBSD's algorithm,
5198 and use a private significator ('$apr1$') to mark passwords as
5199 being smashed with our own algorithm. Also abstract the password
5200 checking into a new ap_validate_password() routine. [Ken Coar]
5202 *) Win32: The filename validity checker now allows "COM" but refuses
5203 access to "COM1" through "COM4". This allows filenames such
5204 as "com.name" to be served. [Paul Sutton] PR#3769.
5206 *) BS2000: Adapt to the new ufork() system call interface which will
5207 make subtasking easier on the OSD/POSIX mainframe environment.
5210 *) Add a compatibility define for escape_uri() -> ap_escape_uri() to
5211 ap_compat.h. [David White <david@persimmon.com>] PR#3725
5213 *) Make NDBM file suffix determination for mod_rewrite more accurate, i.e.
5214 use `.db' instead of `.pag' not only for FreeBSD, but also when
5215 the NDBM library looks like Berkeley-DB based.
5216 [Ralf S. Engelschall] PR#3773
5218 *) Add ability to handle DES or MD5 authentication passwords.
5219 [Ryan Bloom <rbb@Raleigh.IBM.Com>]
5221 *) Fix O(n^2) memory consumption in mod_speling. [Dean Gaudet]
5223 *) SECURITY: Avoid some buffer overflow problems when escaping
5224 quoted strings. (This overflow was on the heap and we believe
5225 impossible to exploit.) [Rick Perry <perry@ece.vill.edu>]
5227 *) Let src/Configure be aware of CFLAGS options starting with plus
5228 signs as it's the case for the HP/UX compiler.
5229 [Doug Yatcilla <yatcilda@umdnj.edu>] PR#3681
5231 *) Remove the hard-wire of TAR=tar (we now check for gtar and gnutar first)
5232 and check to see if the tar we wind up with supports '-h'.
5233 [Jim Jagielski] PR#3671
5235 *) A consistent and conservative style for all shell scripts has been
5236 implemented. Basically, all shell string tests use the traditional
5237 hack of 'if [ "x$var" != "x" ]' or 'if [ "x$var" = "xstring" ]'
5238 to protect against bare null variable strings (ie: wrapping both
5239 sides with double quotes and prepending 'x'). 'x' was chosen
5240 because it's more universal and hopefully easier for old shell
5241 prgrammers, as well as being easier to search for in 'vi' (/x\$) :)
5244 *) The status module now prints out both the main server generation as
5245 well as the generation of each process. Also, the vhost info is
5246 printed with '?notable'. [Jim Jagielski]
5248 *) Move src/main/md5c.c to src/ap/ap_md5c.c; it's httpd-neutral
5249 and this makes its functions available to things in src/support.
5252 Changes with Apache 1.3.4
5254 *) Renamed macros status_drops_connection to ap_status_drops_connection
5255 and vestigial scan_script_header to ap_scan_script_header_err,
5256 mostly for aesthetic reasons. [Roy Fielding]
5258 *) The query switch "httpd -S" didn't exit after showing the
5259 vhost settings. That was inconsistent with the other query functions.
5262 *) Moved the MODULE_MAGIC_COOKIE from before the versions and
5263 filename to the end of the STANDARD_MODULE_STUFF. Its
5264 presence at the beginning prevented reporting of the filename
5265 for modules compiled before 1 January 1999. [Ken Coar]
5267 *) SECURITY: ap_os_is_filename_valid() has been added to Win32
5268 to detect and prevent access to special DOS device file names.
5269 [Paul Sutton, Ken Parzygnat]
5271 *) WIN32: Created new makefiles Makefile_win32.txt (normal build)
5272 and Makefile_win32_debug.txt (debug build) that work on Win95.
5273 Run each of the following from the src directory:
5274 nmake /f Makefile_win32.txt # compiles normal build
5275 nmake /f Makefile_win32.txt install # compiles and installs
5276 nmake /f Makefile_win32.txt clean # removes compiled junk
5277 nmake /f Makefile_win32_debug.txt # compiles debug build
5278 nmake /f Makefile_win32_debug.txt install
5279 nmake /f Makefile_win32_debug.txt clean
5282 *) Added binbuild.sh and findprg.sh helpers to make it easier for us
5283 to build binary distributions. [Lars Eilebrecht]
5285 *) IndexOptions SuppressColumnSorting only turned off making
5286 the column headers anchors; you could still change the display
5287 order by manually adding a '?N=A' or similar query string to the
5288 URL. Now SuppressColumnSorting locks in the sort order so
5289 it can't be overridden this way. [Ken Coar]
5291 *) Added IndexOrderDefault directive to supply a default sort order
5292 for FancyIndexed directory listings. [Ken Coar] PR#1699
5294 *) Change the ap_assert macro to a variant that works on all platforms.
5295 [Richard Prinz <richard.prinz@cso.net>] PR#2575
5297 *) Make sure under ELF-based NetBSD (now) and OpenBSD (future) we don't
5298 search for an underscore on dlsym() (as it's already the case
5299 for FreeBSD 3.0). [Todd Vierling <tv@pobox.com>] PR#2462
5301 *) Small fix for mod_env.html: The module was documented as to be _not_
5302 compiled into Apache per default, although it _IS_ compiled into
5303 Apache per default. [Sim Harbert <sim@mindspring.com>] PR#3572
5305 *) Instead of fixing a bug in the generation procedure for config.status (a
5306 backslash was missing) we remove the bug together with it's complete
5307 context because the special cases of the past can now no longer occur
5308 because of the recent magic for the --with-layout default.
5309 [Ralf S. Engelschall] PR#3590
5311 *) Make top-level Makefile aware of a parallel build procedures (make -j) by
5312 making sure the src/support/ tools are _forced_ to be build last (they
5313 depend on other libraries).
5314 [Markus Theissinger <markus.theissinger@gmx.de>]
5316 *) Fix installation procedure: Now that os-inline.c is actually used (a
5317 recently fixed bug prevented this) we need to also install os-include.c
5318 in addition to os.h into the PREFIX/include/ location or building of
5319 module DSOs with APXS fails. [Ralf S. Engelschall] PR#3527
5321 *) Added MODULE_MAGIC_COOKIE as the first field in a module structure to
5322 allow us to distinguish between a garbled DSO (or even a file which isn't
5323 an Apache module DSO at all) and a DSO which doesn't match the current
5324 Apache API. [Ralf S. Engelschall] PR#3152
5326 *) Two minor enhancements to mod_rewrite: First RewriteRule now also
5327 supports the ``nocase|NC'' flag (as RewriteCond already does for ages) to
5328 match case insensitive (this especially avoids nasty patterns like
5329 `[tT][eE][sS][tT]'). Second two additional internal map functions
5330 `escape' and `unescape' were added which can be used to escape/unescape
5331 to/from hex-encodings in URLs parts (this is especially useful in
5332 combination with map lookups).
5333 [Magnus Bodin, Ian Kallen, Ralf S. Engelschall]
5335 *) Renamed the macro escape_uri() to ap_escape_uri() which was
5336 forgotten (because it was a macro) in the symbol renaming process.
5337 [Ralf S. Engelschall]
5339 *) Fix some inconsistencies related to the scopes of directives. The only
5340 user visible change is that the directives `UseCanonicalName' and
5341 `ContentDigest' now use the (more correct) `Options' scope instead of
5342 (less correct) `AuthConfig' scope. [Ralf S. Engelschall]
5344 *) Using DSO, the Server token was being mangled. Specifically, the
5345 module's token was being added first before the Apache token. This
5346 has been fixed. [Jim Jagielski]
5348 *) Major overhaul of mod_negotiation.c, part 2.
5349 - properly handle "identity" within Accept-Encoding.
5350 - allow encoded variants in RVSA negotiation and let them appear in
5351 the Alternates field using the non-standard "encoding" tag-list.
5352 - fixed both negotiation algorithms so that an explicitly accepted
5353 encoding is preferred over no encoding if "identity" is not
5354 included within Accept-Encoding.
5355 - added ap_array_pstrcat() to alloc.c for efficient concatenation
5356 of large substring sequences.
5357 - replaced O(n^2) memory hogs in mod_negotiation with ap_array_pstrcat.
5360 *) Major overhaul of mod_negotiation.c, part 1.
5361 - cleanups to mod_negotiation comments and code structure
5362 - made compliant with HTTP/1.1 proposed standard (rfc2068) and added
5363 support for everything in the upcoming HTTP/1.1
5364 revision (draft-ietf-http-v11-spec-rev-06.txt).
5365 - language tag matching also handles tags with more than 2
5367 - empty Accept, Accept-Language, Accept-Charset headers are
5368 processed correctly; previously an empty header would make all
5369 values acceptable instead of unacceptable.
5370 - allowed for q values in Accept-Encoding
5371 - added support for transparent content negotiation (rfc2295 and
5372 rfc2296) (though we do not implement all features in these drafts,
5373 e.g. no feature negotiation). Removed old experimental version.
5374 - implemented 'structured entity tags' for better cache correctness
5375 (structured entity tags ensure that caches which can deal with Vary
5376 will (eventually) be updated if the set of variants on the server
5378 - this involved adding a vlist_validator element to request_rec
5379 - this involved adding the ap_make_etag() function to the global API
5380 - modified guessing of charsets used by Apache negotiation algorithm
5381 to guess 'no charset' if the variant is not a text/* type
5382 - added code to sort multiviews variants into a canonical order so that
5383 negotiation results are consistent across backup/restores and mirrors
5384 - removed possibility of a type map file resolving to another type map
5385 file as its best variant
5386 [Koen Holtman, Roy Fielding, Lars Eilebrecht] PR#3451, 3299, 1987
5388 *) RFC2396 allows the syntax http://host:/path (with no port number)
5389 but the proxy disallowed it (ap_proxy_canon_netloc()).
5390 [David Kristol <dmk@bell-labs.com>] PR#3530
5392 *) When modules update/modify the file name in the configfile_t structure,
5393 syntax errors will report the updated name, not the original one.
5394 [Fabien Coelho <coelho@cri.ensmp.fr>] PR#3573
5396 *) Correct some filename case assumptions from WIN32 to
5397 CASE_BLIND_FILESYSTEM. [Brian Havard <brianh@kheldar.apana.org.au>]
5399 *) For %v log ServerName regardless of the UseCanonicalName
5400 setting (similarly for %p). [Dean Gaudet]
5402 *) Configure was initializing the variables $OSDIR, $INCDIR and $SHELL
5403 rather late (too late for some invocations of TestCompile).
5404 This improves the make environment available to TestCompile and
5405 the *.module scripts. [Martin Kraemer]
5407 *) The hashbang emulation code in ap_execve.c would interpret
5408 #!/hashbang/scripts correctly, but failed to fall back to a
5409 standard shell for scripts which did NOT start with #!
5410 Now SHELL_PATH is started in these cases. [Martin Kraemer]
5412 *) PORT: Added the Cyberguard V2 port [Richard Stagg <stagg@lentil.org>]
5415 *) Update APXS manual page: some -q option arguments were missing
5416 and another was incorrect. [Mark Anderson <mda@discerning.com>] PR#3553
5418 *) Cleanup the command line options: `-?' was documented to show
5419 the usage list but does it with an error because `?' is not a valid
5420 command. OTOH a lot of users expect `-h' to print such a usage list and
5421 instead are annoyed for ages by our huge unreadable list of directives.
5422 So we now changed the command line options this way:
5424 Intent: we need `-L' to be free, and `-R' for the DSO run-time path is
5425 very similar to the popular linker option.
5427 Intent: while -l gives the small list of modules, -L now gives the
5428 large list of directives implemented by these modules. This is also
5429 consistent with -v (short version info) and -V (large version info).
5431 Intent: it's now the expected option ;-)
5432 The manual page was adjusted accordingly.
5433 [Ralf S. Engelschall] PR#2714
5435 *) Fixed problem of fclose() on an unopened file in suexec if LOG_EXEC
5436 wasn't defined. [Rick Franchuk <rickf@transpect.net>]
5438 *) Removed recently introduced bugs and disfigurements in APACI:
5439 o fixed argument line processing: using $args was broken: It was not
5440 initialized and using args="$args $apc_option" and even args="$args
5441 \"$apc_option\"" fails in the second processing round for any arguments
5442 containing whitespaces. The only correct way is to use the construct
5443 "$@" (but not possible here) or iterate _both_ times over the implicit
5444 argument line (no argument to for-loop) which is what we now use.
5445 o make --with-layout=Apache the default without creating
5446 redundancy (copying the --with-layout block in the argument parsing
5447 loop). We achieve this by using the "$@" construct together with the
5448 `set' command to prepend --with-layout=Apache to the command line in
5449 case --with-layout is not used.
5450 o fixed auto-suffix handling now that config.layout exists.
5451 Paths which are auto-suffixed are marked with a trailing plus sign in
5452 config.layout and every path now can be marked this way (not only the
5453 four paths for which we do it currently). Additionally the suffix is
5454 no longer a static one. Instead it's now `/<target>' where <target> is
5455 the argument of the --target option or per default `httpd'.
5456 o allow also tabs (and only spaces) where we match whitespaces
5457 o various fixes and cleanups related to used shell coding style
5458 o made Jim happy by replacing `Written by' with `Initially written by' ;-)
5459 o trimmed output of --help to fit into 80 columns
5460 [Ralf S. Engelschall]
5462 *) Added two new core API functions, ap_single_module_configure() and
5463 ap_single_module_init(), which are now used by mod_so to configure a module
5464 after loading. [Ralf S. Engelschall]
5466 *) PORT: Add defines for USE_FLOCK_SERIALIZED_ACCEPT and
5467 SINGLE_LISTEN_UNSERIALIZED_ACCEPT to NetBSD/OpenBSD section
5468 of ap_config.h to allow serialized accept for multiport listens.
5469 [Roy Fielding, Curt Sampson] PR#3120
5471 *) PORT: Fixed a misplaced #endif for NetBSD/OpenBSD section
5472 of ap_config.h that would skip several defines if DEFAULT_GROUP
5473 was overridden. [Roy Fielding]
5475 *) PORT: The I86 version of DGUX has support for strncasecmp and
5476 strcasecmp, so allow it in ap_config.h. [Amiel Lee Yee] PR#3247
5478 *) Fix ordering of definitions in ap_config.h so that ap_inline is
5479 defined before it might be used. [Victor Khimenko]
5481 *) PORT: Add Dynamic Shared Object (DSO) support for BSDI (v4.0).
5482 [Tom Serkowski <tks@bsdi.com>] PR#3453
5484 *) Make generation of src/Configuration.apaci more robust: It failed to
5485 differenciate between modules when one module name was a postfix of
5486 another (e.g. cgi vs. fastcgi). We now check for mod_XXX, libXXX and even
5487 just XXX (think about totally non-standard names like "apache_ssl", too).
5488 [Ralf S. Engelschall] PR#3380
5490 *) In src/Configure remove the SERVER_SUBVERSION support (already deprecated
5491 since 1.3b7) and make whitespace handling more robust (it failed horrible
5492 when whitespaces were present in the arguments of -D options).
5493 [Ralf S. Engelschall] PR#3240
5495 *) Add APACI --shadow=DIR variant (in addition to --shadow). This now first
5496 creates an external package shadow tree in DIR before the local build
5497 shadow tree is generated under DIR. This way one can have the extracted
5498 Apache distribution tree read-only on NFS or CDROM and still build Apache
5499 from these sources. An automatically triggered VPATH-like mechanism is
5500 provided through the TOP variable, too.
5501 [Ralf S. Engelschall, Wilfredo Sanchez <wsanchez@apple.com>]
5503 *) Fix negotiation so that a Vary response header is correctly
5504 generated when, for a particular dimension, variants only vary
5505 in having or not having a value for that dimension. [Paul Sutton]
5507 *) Fix negotiation so that we prefer an encoded variant over an
5508 unencoded variant if the user-agent explicitly says it can
5509 accept that encoding. Previously we always preferred the unencoded
5511 [Paul Ausbeck <paula@alumni.cse.ucsc.edu>, Paul Sutton] PR#3447
5513 *) Fix APXS tool: query variables LIBS_SHLIB and TARGET were not recognized
5514 and the usage page was inconsistent with the functionality and manpage.
5515 [Ralf S. Engelschall]
5517 *) Allow special options -Wc,xxx and -Wl,xxx on APXS compile/link command.
5518 They can occur multiple times and their arguments (`xxx') are passed AS
5519 IS to the compiler/linker command. [Ralf S. Engelschall]
5521 *) Fixed possible (but harmless in practice) bug in the DBM lookup
5522 procedure of mod_rewrite: very long keys were truncated.
5523 [Ralf S. Engelschall]
5525 *) Added a generic --with-layout=[FILE:]ID option. ID here is a layout
5526 identifier, currently "Apache" and "GNU" are pre-defined in the file
5527 config.layout. Custom layouts are possible by using FILE:ID as the
5528 argument where the layout ID is taken from FILE.
5530 The config.layout file consists of <Layout ID>..</Layout> sections
5531 where inside those sections "path_variable: path_value" pairs can be
5532 specified. These lines are converted to path_variable='path_value'.
5534 *) Add a DefaultLanguage directive so that files missing a language
5535 extension (e.g., .fr, .de) can be labelled as being some other
5536 default language. DefaultLanguage can appear in <Directory> and
5537 <Files> containers as well as .htaccess files. [Paul Sutton]
5540 *) Fix TARGET configuration when configuring and installing using
5541 APACI configure. TARGET now defines the basename of the configuration
5542 file, startup script, manual page, etc. log_error_core() now reports
5543 the server binary name given by argv[0]. TARGET can now also be defined
5544 with --target=TARGET parameter passed to APACI configure.
5545 [Ralf Engelschall, Randy Terbush]
5547 *) mod_include.c:handle_perl() now properly tests for OPT_INCNOEXEC
5548 rather than OPT_INCLUDES [Rainer Schoepf <schoepf@uni-mainz.de>]
5550 *) ap_md5_binary() was using sprintf() rather than a table lookup
5551 to convert binary bytes to hex digits.
5552 [Ronald Tschalär <ronald@innovation.ch>] PR#3409
5554 *) Fix SEGV in TCN negotiation if no variants are acceptable.
5555 [Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>] PR#1987
5557 *) API: ap_exists_config_define() function is now "public" [Doug MacEachern]
5559 *) Fix documentation of `Action' directive: It can activate a CGI script
5560 when either a handler or a MIME content type is triggered by the request.
5561 [Andrew Pimlott <pimlott@math.harvard.edu>] PR#3340
5563 *) Document the `add' command of `dbmmanage' in `dbmmanage.1' manpage.
5564 [David MacKenzie <djm@uu.net>] PR#3394
5566 *) Ignore a "ErrorDocument 401" directive with a full URL and write a
5567 notice to the error log. It is not possible to send a 401 response
5568 and a redirect at the same time. [Lars Eilebrecht]
5570 *) Fallback to native compilers for IRIX-32 platform. It seems that
5571 a gcc 2.8.1 compiled apache is logging client addresses with all
5572 bits set (255.255.255.255). This is the second such problem caused
5573 by gcc 2.8.1 compiler. The first being broken semaphore locking.
5576 *) Updated mime.types to reflect current Internet media types
5577 and include a URL to the registry.
5578 [Manoj Kasichainula, Roy Fielding] PR#2380, 2286, 2246
5580 *) SECURITY: Do a more complete check in mod_include to avoid
5581 an infinite loop of recursive SSI includes. [Marc Slemko] PR#3323
5583 *) Add APACI --suexec-docroot and --suexec-logfile options which can be
5584 used to set the document root directory (DOC_ROOT) and the suexec
5585 logfile (LOG_EXEC), respectively. Additionally the --layout option
5586 was changed to show more information about the suEXEC setup.
5587 [Lars Eilebrecht] PR#3316, 3357, 3361
5589 *) Added the last two WebDAV status codes of 424 (Failed Dependency)
5590 and 507 (Insufficient Storage) for use by third-party modules.
5593 *) Enabled all of the WebDAV method names for use by third-party
5594 modules, Limit, and Script directives. That includes PATCH,
5595 PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, and UNLOCK.
5596 Improved mod_actions.c so that it can use any of the methods
5597 defined in httpd.h. Added ap_method_number_of(method) for
5598 getting the internal method number. [Roy Fielding]
5600 *) PORT: Add a port to the TPF OS. [Joe Moenich <moenich@us.ibm.com> and
5603 *) Fix problems with handling of UNC names (e.g., \\host\path)
5604 on Win32. [Ken Parzygnat <kparz@us.ibm.com>]
5606 *) Rework os_canonical_*() on Win32 so it's simpler, more
5607 robust, and works. [Ken Parzygnat <kparz@us.ibm.com>]
5608 PR#2555, 2915, 3064, 3232
5610 *) Work around incomplete implementation of strftime on Win32.
5611 [Manoj Kasichainula, Ken Parzygnat <kparz@us.ibm.com>]
5613 *) Move a typedef to fix compile problems on Linux with 1.x kernels.
5614 [Manoj Kasichainula] PR#3177
5616 *) PORT: Add a port to the Concurrent PowerMAX OS. [Tom Horsley
5617 <Tom.Horsley@mail.ccur.com>]
5619 *) WIN32: Log more explicit error messages if spawning an interpreted
5620 script failed, including the command line used to attempt to execute
5621 the interpreter and the Win32 error code returned. [Marc Slemko]
5623 *) Disable sending of error-notes on a 500 (Internal Server Error) response
5624 since it often includes file path info. Enable sending of error-notes
5625 on a 501 (Method Not Implemented). [Roy Fielding] PR#3173
5627 *) http_config.c would respond with 501 (Method Not Implemented) if a
5628 content type handler was specified but could not be found, which
5629 should have been a 500 response. Likewise, mod_proxy.c would responsd
5630 with a 501 if the URI scheme is unrecognized instead of the correct
5631 response of 403 (Forbidden). [Roy Fielding]
5633 *) SECURITY: Eliminate DoS attack when a bad URI path contains what
5634 looks like a printf format escape. [Marc Slemko, Studenten Net Twente]
5636 *) Fix in mod_autoindex: for files where the last modified time stamp was
5637 unavailable, an empty string was printed which was 2 bytes short.
5638 The size and description columns were therefore not aligned correctly.
5639 [Martin Kraemer] (no PR#)
5641 *) Update BS2000 OS code to work with recent versions. Starting with
5642 release A17, the child fork() must be replaced by a _rfork().
5643 (BS2000 only) [Martin Kraemer]
5645 *) Add the actual server_rec structure of the specific Vhost to the
5646 scoreboard file and avoid a string copy (as well as allow some
5647 further future enhancements). [Harrie Hazewinkel
5648 <harrie.hazewinkel@jrc.it>]
5650 *) Add APACI --permute-module=foo:bar option which can be used to
5651 on-the-fly/batch permute the order of two modules (mod_foo and mod_bar)
5652 in the Configuration[.apaci] file. Two special and important variants are
5653 supported for the option argument: first BEGIN:foo which permutes module
5654 mod_foo with the begin of the module list, i.e. it `moves' the module to
5655 the begin of the list (gives it lowest priority). And second foo:END
5656 which permutes mod_foo with the end of the module list, i.e. it `moves'
5657 the module to the end of the list (gives it highest priority).
5658 [Ralf S. Engelschall]
5660 *) Fix problem with 'apache -k shutdown' and startup event
5661 synchronisation (Win32). [Ken Parzygnat <kparz@raleigh.ibm.com>]
5664 *) The config parser wasn't correctly noticing a missing '>'
5665 on container start lines (e.g., it wouldn't spot
5666 "<Directory /" as a syntax error). [Ryan Bloom <rbbloom@us.ibm.com>]
5669 *) Add a 'RemoveHandler' directive which will selectively remove
5670 all handler associations for the specified file extensions.
5671 [Ryan Bloom <rbbloom@us.ibm.com>] PR#1799.
5673 *) Properly handle & allow "nul" and ".*/null" in AccessConfig and
5674 ResourceConfig directives on Win32. Also add a note to the effect
5675 of 'useless User directive ignored on Win32' to the errorlog if
5676 a User directive is encountered on Win32.
5677 [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2078, 2303.
5679 *) Fix multiple whitespace handling in imagemaps for mod_imap which was
5680 broken since Apache 1.3.1 where we took out compressing of multiple
5681 spaces in ap_cfg_getline().
5682 [Ivan Richwalski <ivan@seppuku.net>] PR#3249
5684 *) Fix Berkeley-DB/2.x support in mod_auth_db: The data structures were not
5685 initialized correctly and the db_open() call used an invalid mode
5686 parameter. [Ron Klatchko <ron@ckm.ucsf.edu>] PR#3171
5688 *) PORT: DSO support for UnixWare 7
5689 [Ralf S. Engelschall, Ron Record <rr@sco.com>]
5691 *) Merge the contents of the {srm,access}.conf-dist* files into the
5692 httpd.conf-dist* files. The srm and access files now contain
5693 only comments, and httpd.conf has all the combined contents in
5694 a rational order. [Ken Coar]
5696 *) PORT: DSO/ELF support for FreeBSD 3.0.
5697 [Ralf S. Engelschall, Dirk Froemberg <ibex@physik.TU-Berlin.DE>]
5699 *) Add a "default-handler" handler that calls the default_hander()
5700 function which is normally called for static content. This allows
5701 you to override a specific handler. [Marc Slemko]
5703 *) Further simplify checking for absolute paths by replacing an
5704 hard-coded syntax check with a call to a routine we already created to
5705 do this. [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2976, 3074
5707 *) Log an error if we encounter a malformed "require" directive
5708 in mod_auth if we know that we know that no other module can
5709 deal with it. [Marc Slemko]
5711 *) Remove ap_private_extern method of hiding conflicting symbols
5712 on the NEXT platform because it is not correct for all versions,
5713 and the versions for which it is correct are unknown.
5714 [Wilfredo Sanchez <wsanchez@apple.com>]
5716 *) Fix inheritance of IndexOptions NameWidth and remove unintended
5717 restriction on +NameWidth, +IconHeight, and +IconWidth. [Ken Coar]
5719 *) Fix per-directory config merging for cases in which a 500 error
5720 is encountered in an .htaccess file somewhere down the tree.
5723 *) Minor performance improvement to ap_escape_html(). [Roy Fielding]
5725 *) Fixed a segmentation violation in mod_proxy when a response is
5726 non-cachable. [Roy Fielding, traced by Doug Bloebaum]. PR#2950, 3056
5728 Changes with Apache 1.3.3
5730 *) Added a complete implementation of the Expect header field as
5731 specified in rev-05 of HTTP/1.1. Disabled the 100 Continue
5732 response when we already know the final status, which is mighty
5733 useful for PUT responses that result in 302 or 401. [Roy Fielding]
5735 *) Remove extra trailing whitespace from the getline results as part
5736 of the protocol processing, which is extra nice because it works
5737 between continuation lines, is almost no cost in the normal case
5738 of no extra whitespace, and saves memory. [Roy Fielding]
5740 *) Added new HTTP status codes and default response bodies from the
5741 revised HTTP/1.1 (307, 416, 417), WebDAV (102, 207, 422, 423), and
5742 HTTP Extension Framework (510) specifications. Did not add the
5743 WebDAV 424 and 425 codes because they are bogus. We don't use any
5744 of these codes yet, but they are now available to 3rd-party modules.
5747 *) Fix a possible race condition between timed-out requests and the
5748 ap_bhalfduplex select that might result in an infinite loop on
5749 platforms that do not validate the descriptor. [Roy Fielding]
5751 *) WIN32: Add "-k shutdown" and "-k restart" options to signal a
5752 running Apache server [Paul Sutton]
5754 *) Fix mod_autoindex bug where directories got a size of "0k" instead
5755 of "-". [Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>, Marc Slemko]
5758 *) PORT: DRS 6000 machine. [Paul Debleecker <pdebleecker@jetair.be>]
5760 *) Add the server signature text (from the core ServerSignature directive)
5761 to the list of envariables available to scripts, SSI, and the like.
5764 *) PORT: Fix sys/resource.h handling for SCO 3.x platform.
5765 [M. Laak <maert@proinv.ee>] PR#3108
5767 *) Fallback from sysconf-based to plain HZ-based `ticks per second'
5768 calculation in mod_status for all systems which don't have POSIX
5769 sysconf() (like UTS 2.1) and not only for the NEXT platform.
5770 [Dave Dykstra <dwd@bell-labs.com>] PR#3055
5772 *) Fix `require ...' directive parsing in mod_auth, mod_auth_dbm and
5773 mod_auth_db by using ap_getword_white() (which uses ap_isspace())
5774 instead of ap_getword(..., ' ') (which parses only according to spaces
5775 but not tabs). [James Morris <jmorris@intercode.com.au>,
5776 Ralf S. Engelschall] PR#3105
5778 *) Fix the SERVER_NAME variable under sub-request situations (where
5779 `UseCanonicalName off' is used) like CGI's called from SSI pages or
5780 RewriteCond variables by adopting r->hostname to sub-requests.
5781 [James Grinter <jrg@blodwen.demon.co.uk>] PR#3111
5783 *) Fix stderr redirection under syslog-based error logging situation.
5784 [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#3095
5786 *) Document `ErrorLog syslog:facility' variant of error logging.
5787 [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#3096
5789 *) Fix http://localhost/ hints in top-level INSTALL document.
5790 [Rob Jenson <robjen@spotch.com>, Ralf S. Engelschall] PR#3088
5792 *) Quote paths in default configuration files. [Wilfredo Sanchez]
5794 *) PORT: Remove extra HAVE_SYS_RESOURCE_H define for RHAPSODY since
5795 it is now taken care of properly by the header file tests.
5796 [Wilfredo Sanchez <wsanchez@apple.com>]
5798 *) Fix problem with scripts and filehandle inheritance on Win32.
5799 [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2884, 2910
5801 *) Win32 name canonicalisation could end up using the server's
5802 working directory to fill in some blanks. [Ken Parzygnat
5803 <kparz@raleigh.ibm.com>] PR#3001
5805 *) Correct invalid assumption by ap_sub_req_lookup_file() that all
5806 absolute paths begin with "/" -- because they don't on Win32.
5807 [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2976, 3074
5809 *) Add [REDIRECT_]VARIANTS environment variable to mod_speling
5810 so that ErrorDocument 300 processors can reformat the list
5811 if desired. [Ken Coar] PR#2859
5813 *) Add +/- incremental prefixes to IndexOptions keywords, and
5814 enable merging of multiple IndexOptions directives. [Ken Coar]
5816 *) PORT: Allow GuessOS to recognize Unixware 7.0.1 [Steve Cameron
5817 <steve.cameron@compaq.com>]
5819 *) Reconstructed the loop through multiple htaccess file names so
5820 that missing files are not confused with unreadable files.
5823 *) The ap_pfopen and ap_pfdopen routines were failing to protect the
5824 errno on an error, which leads to one error being mistaken for
5825 another when reading non-existent .htaccess files.
5828 *) OS/2: The new header tests get things right, need to update
5829 ap_config.h. [Brian Havard]
5831 *) The Perl %ENV hash will now be setup by default when using the
5832 mod_include `perl' command [Doug MacEachern]
5834 *) PORT: Add Pyramid DC/OSx support to configuration mechanism.
5835 [Earle Ake <akee@wpdiss1.wpafb.af.mil>]
5837 *) PORT: Fix sys/resource.h handling for Amdahl's UTS 2.1
5838 [Dave Dykstra <dwd@bell-labs.com>] PR#3054
5840 *) Correct comment in mod_log_config.c about its internals.
5841 [Elf Sternberg <elf@halcyon.com>]
5843 *) Avoid possible line overflow in Configure: Use an awkfile to
5844 handle the creation of modules.c [Jim Jagielski]
5846 Changes with Apache 1.3.2
5848 *) Fix bug in ap_remove_module(), which caused problems for dso's
5849 who were the top_module. [Doug MacEachern]
5851 *) Add support for Berkeley-DB/2.x (in addition to Berkeley-DB/1.x) to
5852 mod_auth_db to both be friendly to users who wants to use this version
5853 and to avoid problems under platforms where only version 2.x is present.
5854 [Dan Jacobowitz <drow@false.org>, Ralf S. Engelschall]
5856 *) When using ap_log_rerror(), make the error message available to the
5857 *ERROR_NOTES envariables by default. [Ken Coar]
5859 *) BS2000 platform only: get rid of the nasty BS2000AuthFile.
5860 You now must define a BS2000Account name for the server User.
5861 This has fewer security implications than the old approach.
5864 *) Fix SHARED_CORE feature for HPUX platform: We now use extension `.sl'
5865 instead of `.so' and `SHLIB_PATH' instead of `LD_LIBRARY_PATH' on this
5866 platform to make the braindead HPUX linker happy. Notice, for the module
5867 DSOs we don't have to use this, because these are loaded manually (and
5868 not via HPUX' dld). [Ralf S. Engelschall] PR#2905, PR#2968
5870 *) Remove 64 thread limit on Win32.
5871 [Bill Stoddard <stoddard@raleigh.ibm.com>]
5873 *) Remove redundant substitutions in top-level Makefile.tmpl.
5874 [Ralf S. Engelschall]
5876 *) Fix APACI's `Group' configuration adjustment - especially for Linux
5877 platforms where `nogroup' exists in /etc/group. [Ralf S. Engelschall]
5879 *) Make PrintPath work generically instead of having one version
5880 strictly for OS/2. [Jim Jagielski, Brian Havard]
5882 *) Fix the recently introduced C header file checking: We now use the C
5883 pre-processor pass only (and no longer the complete compiler pass) to
5884 determine whether a C header file exists or not. Because only this way
5885 we're safe against inter-header dependencies (which caused horrible
5886 portability problems). The only drawback is that we now have a CPP
5887 configuration variable which has to be determined first (we do a similar
5888 approach as GNU Autoconf does here). When all fails the user still has
5889 the possibility to override it manually via APACI or src/Configuration.
5890 As a fallback for the header check itself we can directly check the
5891 existance of the file under /usr/include, too.
5892 [Ralf S. Engelschall] PR#2777
5894 *) PORT: Added RHAPSODY (Mac OS X Server) support. MAP_TMPFILE defined
5895 as an alternate mechanism for mmap'd shared memory for RHAPSODY.
5896 ap_private_extern defined to hide symbols that conflict with loaded
5897 dynamic libraries on the NEXT and RHAPSODY platforms.
5898 [Wilfredo Sanchez <wsanchez@apple.com>]
5900 *) Delete PID file on clean shutdowns.
5901 [Charles Randall <crandall@matchlogic.com>] PR#2947
5903 *) Fix mod_auth_*.html documents: NSCA -> NCSA
5904 [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#2991
5906 *) Fix INSTALL document: www.gnu.ai.mit.edu -> www.gnu.org
5907 [Karl Berry <karl@gnu.org>] PR#2994
5909 *) Fix dbmmanage.1 manual page.
5910 [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#2992
5912 *) Fix possible buffer overflow situation in suexec.c.
5913 [Jeff Stewart <jws@purdue.edu>] PR#2790
5915 *) Add some more LIBS for the SCO5 platform which are needed for the already
5916 used -lprot. It's actually a bug in SCO5, of course.
5917 [Ronald Record <rr@sco.com>] PR#2533
5919 *) Fix documentation of ProxyPass/ProxyPassReverse according to the
5920 trailing slash problem. [Jon Drukman <jsd@gamespot.com>] PR#2933
5922 *) Remove `-msym' option from LDFLAGS_SHLIB for the Digital UNIX (OSF/1)
5923 platform, because it's only supported under version 4.0 and higher. But
5924 because our GuessOS is still unaware of Digital UNIX versions and the
5925 -msym is just to optimize the DSO statup time a little bit it's safe and
5926 best when we leave it out now. [Ralf S. Engelschall] PR#2969
5928 *) Fix the ap_log_error_old(), ap_log_unixerr() and ap_log_printf()
5929 functions: First all three functions no longer fail on strings containing
5930 "%" chars and second ap_log_printf() no longer does a double-formatting
5931 (instead it directly passes through the message to be formatted to the
5932 real internal formatting function). [Ralf S. Engelschall] PR#2941
5934 *) Allow "Include" directives anywhere in the server config
5935 files (but not .htaccess files). [Ken Coar] PR#2727
5937 *) The proxy was refusing to serve CONNECT requests except to
5938 port 443 (https://) and 563 (snews://). The new AllowCONNECT
5939 directive allows the configuration of the ports to which a
5940 CONNECT is allowed. [Sameer Parekh, Martin Kraemer]
5942 *) mod_expires will now act on content that is not sent from a file
5943 on disk. Previously it would never add an Expires: header to
5944 any response that did not come from a file on disk; the only
5945 case where it still doesn't (and can't) add one for that type of
5946 content is if you are using a modification date based setting.
5947 [Marc Slemko, Paul Phillips <paulp@go2net.com>]
5949 *) Problems encountered during .htaccess parsing or CGI execution
5950 that lead to a "500 Server Error" condition now provide explanatory
5951 text (in the *ERROR_NOTES envariable) to ErrorDocument 500 scripts.
5954 *) Add NameWidth keyword to IndexOptions directive so that the
5955 width of the filename column is customisable. [Ken Coar, Dean Gaudet]
5958 *) Recognize lowercase _and_ uppercase `uname' results under
5959 SCO OpenServer. [David Coelho <drc@ppt.com>]
5961 *) As duplicate "HTTP/1.0 200 OK" lines within the header seem to be
5962 a common problem of (mis-administrated?) IIS servers, make the apache
5963 proxy immune to these errors (and ignore the duplicates, but log
5964 the fact to error_log). [Martin Kraemer], after the proposal in PR#2914
5966 *) The <IfModule and <IfDefine block starting directives now only
5967 allow exactly one argument. Previously, the optional negation
5968 character '!' could be separated by whitespace without a syntax
5969 error being reported, albeit defeating the IfModule functionality
5970 (enclosed directives would ALWAYS be executed). By using the
5971 stricter syntax, these hard-to-track errors can be avoided.
5974 *) Simplify handling of IndexOptions in mod_autoindex -- and BTW
5975 cause the standalone FancyIndexing directive to logically OR
5976 into any existing IndexOptions settings rather than wiping
5977 them out. [Ken Coar]
5979 *) Changes in ftp proxy: make URL parsing simpler by using the
5981 + Add display of the "current directory" in cases where it's
5982 different from the supplied path (e.g., ftp://user@host/ lives
5983 in /home/user, not in /, therefore clicking on "../" in the
5984 starting directory might send us to /home/).
5985 + When ftp login fails, (esp. when a user name was part of the
5986 URL already), we now return [401 Unauthorized ] to allow the
5987 browser to pop up an authorization dialog. This makes passwords
5988 slightly less visible (they don't appear in the regular log files)
5989 and implements a functionality that other www proxy servers
5993 *) Triggered by the recent "Via:" header changes, the proxy module would
5994 dump core for replies with invalid headers (e.g., duplicate
5995 "HTTP/1.0 200 OK" lines). These errors are now logged and the
5996 core dump is avoided. Also, broken replies are not cached.
5997 [Martin Kraemer] PR#2914
5999 *) new `GprofDir' directive when compiled with -DGPROF, where gprof can
6000 plop gmon.out profile data for each child [Doug MacEachern]
6002 *) Use the construct ``"$@"'' instead of ``$*'' in the generated
6003 config.status script to be immune against arguments with whitespaces.
6004 [Yves Arrouye <yves@apple.com>] PR#2866
6006 *) Replace the inlined information grabbing stuff for the configuration
6007 adjustment feature (no --without-confadjust) with calls to a new helper
6008 script `buildinfo.sh' which is both more flexible and already proofed to
6009 be more robust against platform differences. This mainly fixes the
6010 recently occured ``sed: command garbled: ...'' problems.
6011 [Ralf S. Engelschall] PR#2776, PR#2848
6013 *) Make ab.c again pass ``gcc -Wall -Wshadow -Wpointer-arith -Wcast-align
6014 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''
6015 without complains after we recently added the POST feature.
6016 [Ralf S. Engelschall]
6018 *) Renamed is_HTTP_xxx() macros to ap_is_HTTP_xxx() name. They are used inside
6019 modules as API functions and we forgot them at the big symbol renaming.
6020 [Ralf S. Engelschall]
6022 *) Remove bad reference to non-existing SERVER_VERSION in mod_rewrite.html
6023 [Youichirou Koga <y-koga@jp.FreeBSD.ORG>] PR#2895
6025 *) Dynamically size the filename column of mod_autoindex output.
6028 *) Add the ability to do POST requests to the ab benchmarking tool.
6029 [Kurt Sussman <kls@best.com>] PR#2871
6031 *) Bump up MAX_ENV_FLAGS in mod_rewrite.h from the too conservatice limit of
6032 5 to 10 because there are some users out there who always have 5 to 8
6033 variables in one RewriteRule and had to patch mod_rewrite.h for every
6034 release. So 15 should be now more than enough, even for them. (I never
6035 needed more than 4 in my RewriteRules ;-)
6036 [Ralf S. Engelschall]
6038 *) Make the proxy generate and understand Via: headers
6041 *) Change the proxy to use tables instead of array_headers for
6042 the header lines. [Martin Kraemer]
6044 *) Make sure the config.status file is not overridden when just
6045 ``configure --help'' is used. [Ralf S. Engelschall] PR#2844
6047 *) Split MODULE_MAGIC_NUMBER into _MAJOR/_MINOR numbers. This should
6048 provide a way to trace API changes that add functionality but do
6049 not create a compatibility issue for precompiled modules, etc.
6050 See include/ap_mmn.h for more details. [Randy Terbush]
6052 *) Fix suexec installation under `make install root=xxx' situation.
6053 [Ralf S. Engelschall]
6055 *) Extend the output of the -V switch to include the paths of all
6056 compiled-in configuration files, if they were overridden at
6057 compile time, for least astonishment of the user.
6060 *) When READing a request in ExtendedStatus mode, the "old"
6061 vhost, request and client information is not displayed.
6064 *) STATUS is no longer available. Full status information now
6065 run-time configurable using the ExtendedStatus directive.
6068 *) SECURITY: Eliminate O(n^2) space DoS attacks (and other O(n^2)
6069 cpu time attacks) in header parsing. Add ap_overlap_tables(),
6070 a function which can be used to perform bulk update operations
6071 on tables in a more efficient manner. [Dean Gaudet]
6073 *) SECURITY: Added compile-time and configurable limits for
6074 various aspects of reading a client request to avoid some simple
6075 denial of service attacks, including limits on maximum request-line
6076 size (LimitRequestLine), number of header fields (LimitRequestFields),
6077 and size of any one header field (LimitRequestFieldsize). Also added
6078 a configurable directive LimitRequestBody for limiting the size of the
6079 request message body. [Roy Fielding]
6081 *) Make status module aware of DNS and logging states, even if
6082 STATUS not defined. [Jim Jagielski]
6084 *) Fix a problem with the new OS/2 mutexes. [Brian Havard]
6086 *) Enhance mod_speling so that CheckSpelling can be used in
6087 <Directory> containers and .htaccess files. [Ken Coar]
6089 *) API: new ap_custom_response() function for hooking into the
6090 ErrorDocument mechanism at runtime [Doug MacEachern]
6092 *) API: new ap_uuencode() function [Doug MacEachern]
6094 *) API: scan_script_header_err_core() now "public" and renamed
6095 ap_scan_script_header_err_core() [Doug MacEachern]
6097 *) The 'status' module will now show the process pid's and their
6098 state even without full STATUS accounting. [Jim Jagielski]
6100 *) Restore the client IP address to the error log messages, this
6101 was lost during the transition from 1.2 to 1.3. Add a new
6102 function ap_log_rerror() which takes a request_rec * and
6103 formats it appropriately. [Dean Gaudet] PR#2661
6105 *) Cure ap_cfg_getline() of its nasty habit of compressing internal
6106 whitespace in input lines -- including within quoted strings.
6108 but leading and trailing whitespace should continue to be
6109 stripped [Martin Kraemer]
6111 *) Cleanup of the PrintPath/PrintPathOS2 helper functions. Avoid
6112 the ugly use of an env. variable and use command-line args for
6113 alternate $PATH. Make more like advanced 'type's as well.
6116 *) The IRIXN32 Rule was being ignored. Configure now correctly adds
6117 -n32 only if IRIXN32 says to. [Jim Jagielski, Alain St-Denis
6118 <alain.st-denis@ec.gc.ca>] PR#2736
6120 *) Clean up a warning in mod_proxy. [Ralf S. Engelschall]
6122 *) Renamed __EMX__ (internal define of the gcc port under OS/2) to OS2
6123 following the same idea as "MSVC vs WIN32". Additionally the src/os/emx/
6124 directory was renamed to src/os/os2/ for consistency.
6125 [Brian Havard, Ralf S. Engelschall]
6127 *) Add new Rule SHARED_CHAIN which can be used to enable linking of DSO
6128 files (here modules) against other DSO files (here shared libraries).
6129 This is done by determining a subset of LIBS which can be safely used for
6130 linking the DSOs, i.e. PIC libs and shared libs. Currently the rule is
6131 disabled for all platforms to avoid problems with this (experimental)
6132 rule. But we provide it now for those people how ran into problems and
6133 want to came out by forcing linking against DSOs.
6134 [Ralf S. Engelschall] PR#2587
6136 *) Fix suEXEC start message: Has to be of `notice' level to really get
6137 printed together with the standard startup message because the `notice'
6138 level is handled special inside ap_log_error() for startup messages.
6139 [Ralf S. Engelschall] PR#2761 PR#2761 PR#2765
6141 *) Add correct `model' MIME types from RFC2077 to mime.types file.
6142 [Ralf S. Engelschall] PR#2732
6144 *) Fixed examples in mod_rewrite.html document.
6145 [Youichirou Koga <y-koga@jp.FreeBSD.org>, Ralf S. Engelschall] PR#2756
6147 *) Allow ap_read_request errors to propagate through the normal request
6148 handling loop so that the connection can be properly closed with
6149 lingering_close, thus avoiding a potential TCP reset that would
6150 cause the client to miss the HTTP error response. [Roy Fielding]
6152 *) One more portability fix for APACI shadow tree support: Swap order of awk
6153 and sed in top-level configure script to avoid sed fails on some
6154 platforms (for instance SunOS 4.1.3 and NCR SysV) because of the
6155 non-newline-termined output of Awk. [Ralf S. Engelschall] PR#2729
6157 *) PORT: NEC EWS4800 support.
6158 [MATSUURA Takanori <t-matsuu@protein.osaka-u.ac.jp>]
6160 *) Fix a segfault in the proxy on OS/2. [Brian Havard]
6162 *) Fix Win32 part of ap_spawn_child() by providing a reasonable child_info
6163 structure instead of just NULL. This fixes at least the RewriteMap
6164 programs under Win32. [Marco De Michele <mdemichele@tin.it>] PR#2483
6166 *) Add workaround to top-level `configure' script for brain dead
6167 `echo' commands which interpet escape sequences per default.
6168 [Ralf S. Engelschall] PR#2654
6170 *) Make sure that the path to the Perl interpreter is correctly
6171 adjusted under `make install' also for the printenv CGI script.
6172 [Ralf S. Engelschall] PR#2595
6174 *) Update the mod_rewrite.html document to correctly reflect the situation
6175 of the `proxy' (`[P]') feature. [Ralf S. Engelschall] PR#2679
6177 *) Fix `install-includes' sub-target of `install' target in top-level
6178 Makefile.tmpl: The umask+cp approach didn't work as expected (especially
6179 for users which extracted the distribution under 'umask 077'), so replace
6180 it by an explicit cp+chmod approach.
6181 [Richard Lloyd, Curt Sampson, Ralf S. Engelschall] PR#2656 PR#2626
6183 *) Fix `distclean' and `clean' targets in src/Makefile.tmpl to have same
6184 behavior and to cleanup correctly even under enabled SHARED_CORE rule.
6185 [Ralf S. Engelschall]
6187 *) Use a more straight forward and thus less problematic Sed command in
6188 src/helper/mkdir.sh script. [Ralf S. Engelschall]
6190 *) Make sure the `configure' scripts doesn't fail when trying to guess the
6191 domainname of the machine and there are multiple `domainname' and
6192 `search' entries in /etc/resolv.conf.
6193 [Ralf S. Engelschall] PR#2710
6195 *) Add note about the SHARED_CORE requirement on some platforms also to the
6196 INSTALL file because a lot of users don't read htdocs/manual/dso.html
6197 first. [Ralf S. Engelschall] PR#2701
6199 *) Fix document "hyperlink" for dso.html in src/Configuration.tmpl
6200 [Knut A.Syed <Knut.Syed@nhh.no>] PR#2674
6202 *) Modify mod_rewrite to update the Vary response field if the URL rewriting
6203 engine does any manipulations or decisions based upon request fields.
6206 *) Document the special APACI behavior for installation paths where
6207 ``/apache'' is appended to paths under some (well defined, of course)
6208 situations to prevent pollution of system locations with Apache files.
6209 [Ralf S. Engelschall] PR#2660
6211 *) Fixed problem with buffered response message not being sent for
6212 the read_request error conditions of URI-too-long (414) and
6213 malformed header fields (400). [Roy Fielding] PR#2646
6215 *) Add support for the Max-Forwards: header line required by RFC2068 for
6216 the TRACE method. This allows apache to TRACE along a chain of proxies
6217 up to a predetermined depth. [Martin Kraemer]
6219 *) Fix SHARED_CORE rule: The CFLAGS_SHLIB variable is no longer doubled
6220 (compilers complained) and the .so.V.R.P filename extension was adjusted
6221 to correctly reflect the 1.3.2 version.
6222 [Ralf S. Engelschall] PR#2644
6224 *) SECURITY: Plug "..." and other canonicalization holes under OS/2.
6227 *) PORT: implement serialized accepts for OS/2. [Brian Havard]
6229 *) mod_include had problems with the fsize and flastmod directives
6230 under WIN32. Fix also avoids the minor security hole of using
6231 ".." paths for fsize and flastmod.
6232 [Manoj Kasichainula <manojk@raleigh.ibm.com>] PR#2355
6234 *) Fixed some Makefile dependency problems. [Dean Gaudet]
6236 Changes with Apache 1.3.1
6238 *) Disable the incorrect entry for application/msword in the
6239 mod_mime_magic "magic" file because it also matches other Office
6240 documents. [Ralf S. Engelschall] PR#2608
6242 *) Fix broken RANLIB handling in src/Configure (the entry from
6243 src/Configuration.tmpl was ignored) and additionally force RANLIB to
6244 /bin/true under HP/UX where ranlib exists but is deprecated.
6245 [Ralf S. Engelschall] PR#2627
6247 *) 'apachectl status' failed on some systems.
6248 [Steve VanDevender <stevev@darkwing.uoregon.edu>, Lars Eilebrecht] PR#2613
6250 *) Add new flags for ap_unparse_uri_components() to make it generate
6251 the scheme://sitepart string only, or to omit the query string.
6254 *) WIN32: Canonicalize ServerRoot before checking to see if it
6255 is a valid directory. The failure to do this caused certain
6256 ServerRoot settings (eg. "ServerRoot /apache") to be improperly
6257 rejected. [Marc Slemko]
6259 *) Global renaming of C header files to both get rid of conflicts with third
6260 party packages and to again reach consistency:
6261 1. conf.h -> ap_config.h
6262 2. conf_auto.h -> ap_config_auto.h \ these are now merged
6263 3. ap_config.h -> ap_config_auto.h / in the config process
6264 4. compat.h -> ap_compat.h
6265 5. apctype.h -> ap_ctype.h
6266 Backward compatibility files for conf.h and compat.h were created.
6268 *) mod_mmap_static will no longer take action on requests unless at
6269 least one "mmapfile" directive is present in the configuration.
6270 This experimental module has to do some black magic to operate
6271 inside the current API and thus creates side-effects for other
6272 modules under some circumstances.
6273 [Ralf S. Engelschall]
6275 *) Add conservative ticks around more egrep arguments in top-level configure
6276 to avoid problems under brain-dead platforms like Digital UNIX (OSF1).
6277 [Ralf S. Engelschall] PR#2596
6279 *) mod_rewrite created RewriteLock files under the UID of the parent
6280 process, thus the child processes had no write access to the files.
6281 Now a chown() is done on the file to the uid of the children,
6282 if applicable. [Lars Eilebrecht, Ralf S. Engelschall] PR#2341
6284 *) Autogenerate some HAVE_XXXXX_H defines in conf_auto.h (determined via
6285 TestCompile) instead of defining them manually in conf.h based on less
6286 accurate platform definitions. This way we no longer have to fiddle with
6287 OS-type and/or OS-version identifiers to discover whether a system header
6288 file exists or not. Instead we now directly check for the existence of
6289 those esoteric ones.
6290 [Ralf S. Engelschall] PR#2093, PR#2361, PR#2377, PR#2434,
6291 PR#2524, PR#2525, PR#2533, PR#2569
6293 *) mod_setenvif (BrowserMatch* and friends) will now match a missing
6294 field with "^$". [Ken Coar]
6296 *) Set the RTLD_GLOBAL dlopen mode parameter to allow dynamically loaded
6297 modules to load their own modules dynamically. This improves mod_perl
6298 and mod_php3 when these modules are loaded dynamically into Apache.
6301 *) Cache a proxied request in the event that the client cancels the
6302 transfer, provided that the configured percentage of the file has
6303 already been transfered. It works for HTTP transfers only. The
6304 new configuration directive is called CacheForceCompletion.
6305 [Glen Parker <glenebob@nwlink.com>] PR#2277
6307 *) Add the "<!DOCTYPE HTML" magic cookie used by modern documents (and
6308 required by HTML 3.2 and later) to mod_mime_magic's conf/magic.
6309 [Anna Shergold <anna@inext.co.uk>]
6311 *) Fix yet another signal-based race condition involving nested timers.
6312 Signals suck. [Dean Gaudet]
6314 *) suexec's error messages have been clarified a little bit. [Ken Coar]
6316 *) Clean up some, but perhaps not all, 8-bit character set problems
6317 with config file parsing, and URL parsing. We now define
6318 ap_isdigit(), ap_isupper(), ... which cast to an (unsigned char).
6319 This should work on most modern unixes.
6320 [Dean Gaudet] PR#800, 2282, 2553 (and others)
6322 *) The "handler not found" error was issued in cases where the handler
6323 really did exist, but was just declining to serve the request.
6324 [John Van Essen <jve@gamers.org>] PR#2529
6326 *) Add Dynamic Shared Object (DSO) support for SCO5 (OpenServer 5.0.x).
6327 [Ronald Record <rr@sco.com>] PR#2533
6329 *) The APACI libexecdir was not extended with an "apache/" subdir
6330 if the installation prefix didn't already contain "apache", but
6331 it should be because the DSO files are Apache-specific. Now
6332 libexecdir is treated the same way sysconfdir, datadir, localstatedir
6333 and includedir are already treated.
6334 [Charles Levert <charles@comm.polymtl.ca>] PR#2551
6336 *) The <Limit> parsing routine was incorrectly treating methods as
6337 case-insensitive. [Ken Coar]
6339 *) The ap_bprintf() code neglected to test if there was an error on
6340 the connection. ap_bflush() misdiagnosed a failure as a success.
6343 *) add support for #perl arg interpolation in mod_include
6346 *) API: Name changes of table_elts to ap_table_elts, is_table_empty
6347 to ap_is_table_empty and bgetflag to ap_bgetflag. [Ben Laurie]
6349 *) PORT: Add UnixWare 7 support
6350 [Vadim Kostoglodoff <vadim@olly.ru>] PR#2463
6352 *) Fix the Guess-DSO-flags-from-Perl stuff in src/Configure: "perl" was
6353 used instead of "$PERL" which contains the correctly determined Perl
6354 interpreter (important for instance on systems where "perl" and "perl5"
6355 exists, like BSDI or FreeBSD, etc).
6356 [Ralf S. Engelschall] PR#2505
6358 *) Move the initial suEXEC-related startup message from plain
6359 fprintf()/stderr to a delayed ap_log_error()-based one to avoid problems
6360 when Apache is started from inetd (instead of standalone). Under this
6361 situation startup messages on stderr lead to problems (the line is sent
6362 to the client in front of the requested document).
6363 [Ralf S. Engelschall] PR#871, PR#1318
6365 *) Add a flag so ap_fnmatch() can be used for case-blind pattern matching.
6366 [Ken Coar, Dean Gaudet]
6368 *) WIN32: Don't collapse multiple slashes in PATH_INFO.
6369 [Ben Laurie, Bill Stoddard <wgstodda@us.ibm.com>] PR#2274
6371 *) WIN32 SECURITY: Eliminate trailing "."s in path components. These are
6372 ignored by the Windows filesystem, and so can be used to bypass security.
6373 [Ben Laurie, Alexei Kosut].
6375 *) We now attempt to dump core when we get SIGILL. [Jim Jagielski]
6377 *) PORT: remove broken test for MAP_FILE in http_main.c.
6378 [Wilfredo Sanchez <wsanchez@apple.com>]
6380 *) PORT: Change support/apachectl to use "kill -0 $pid" to test if the
6381 httpd is running. This should be more portable than figuring out
6382 which of three dozen different versions of "ps" are installed.
6385 *) WIN32: If we can't figure out how to execute a file in a script
6386 directory, bail out of the request with an error message. [W G Stoddard]
6388 *) WIN32 SECURITY: Eliminate directories consisting of three or more dots;
6389 these are treated by Win32 as if they are ".." but are not detected by
6390 other machinery within Apache. This is something of a kludge but
6391 eliminates a security hole. [Manoj Kasichainula, Ben Laurie]
6393 *) Move ap_escape_quotes() from src/ap to src/main/util.c; it uses
6394 pools and thus pollutes libap (until the pool stuff is moved there).
6397 *) IndexIgnore should be case-blind on Win32 (and any other case-aware
6398 but case-insensitive platforms). New #define for this added to conf.h
6399 (CASE_BLIND_FILESYSTEM). [Ken Coar] PR#2455
6401 *) Enable DSO support for OpenBSD in general, not only for 2.x, because it
6402 also works for OpenBSD 1.x. [Ralf S. Engelschall]
6404 *) PORT: Fix compilation problem on ARM Linux.
6405 [Sam Kington <sam@illuminated.co.uk>] PR#2443
6407 *) Let APACI's configure script determine some configuration parameters
6408 (Group, Port, ServerAdmin, ServerName) via some intelligent tests to
6409 remove some of the classical hurdles for new users when setting up
6410 Apache. This is done per default because it is useful for the average
6411 user. Package authors can use the --without-confadjust option to disable
6412 these configuration adjustments.
6413 [Ralf S. Engelschall]
6415 *) Added an EXTRA_DEPS configuration parameter which can be used
6416 to add an extra Makefile dependency for the httpd target, for instance
6417 to external third-party libraries, etc.
6418 [Ralf S. Engelschall]
6420 *) Add <IfDefine>..</IfDefine> sections to the core module (with same spirit
6421 as <IfModule>..</IfModule> sections) which can be used to skip or process
6422 contained commands dependend of ``-D PARAMETER'' options on the command
6423 line. This can be used to achieve logical conditions like <IfDefine
6424 ReverseProxy> instead of physically ones (e.g. <IfModule mod_proxy.c>)
6425 and thus especially can be used for conditionally loading DSO-based
6426 modules via LoadModule, etc. [Ralf S. Engelschall]
6428 *) PORT: clean up a warning in mod_status for OS/2. [Brian Havard]
6430 *) Make table elements const. This may prevent obscure errors. [Ben Laurie]
6432 *) Fix parsing of FTP `SIZE' responses in proxy module: The newline was not
6433 truncated which forced following HTTP headers to be data in the HTTP
6434 reponse. [Ralf S. Engelschall, Charles Fu <ccwf@bacchus.com>]
6437 *) Portability fix for APACI shadow tree support: Swap order of awk and sed
6438 in top-level configure script to avoid sed fails on some platforms (for
6439 instance SunOS 4.1.3 and NCR SysV) because of the non-newline-termined
6440 output of Awk. [Bill Houle <bhoule@sandiegoca.ncr.com>] PR#2435
6442 *) Improve performance of directory listings (mod_autoindex) by comparing
6443 integer keys (last-modified and size) as integers rather than converting
6444 them to strings first. Also use a set of explicit byte tests rather
6445 than strcmp() to check for parent directory-ness of an entry. Oh, and
6446 make sure the parent directory (if displayed) is *always* listed first
6447 regardless of the sort key. Overall performance winnage should be good
6448 in CPU time, instruction cache, and memory usage, particularly for large
6449 directories. [Ken Coar]
6451 *) Add a tiny but useful goody to APACI's configure script: The generation
6452 of a config.status script (as GNU Autoconf does) which remembers the used
6453 configure command and hence can be used to restore the configuration by
6454 just re-running this script or for remembering the configuration between
6456 [Ralf S. Engelschall]
6458 *) Add httpd -t (test) option for running configuration syntax tests only.
6459 If something is broken it complains and exits with a return code
6460 non-equal to 0. This can be used manually by the user to check the Apache
6461 configuration after editing and is also automatically used by apachectl
6462 on (graceful) restart command to make sure Apache doesn't die on restarts
6463 because of a configuration which is now broken since the last (re)start.
6464 This way `apachectl restart' can be used inside cronjobs without having
6465 to expect Apache to be falling down. Additionally the httpd -t can be run
6466 via `apachectl configtest'.
6467 [Ralf S. Engelschall] PR#2393
6469 *) Minor display fix for "install" target of top-level Makefile:
6470 the displayed installation command was incorrect although the
6471 executed command was correct. Now they are in sync.
6472 [Ralf S. Engelschall] PR#2402
6474 *) Correct initialization of variable `allowed_globals' in http_main.c
6475 [Justin Bradford <justin@ukans.edu>] PR#2400
6477 *) Apache would incorrectly downcase the entire Content-Type passed from
6478 CGIs. This affected server-push scripts and such which use
6479 multipart/x-mixed-replace;boundary=ThisRandomString.
6480 [Dean Gaudet] PR#2394
6482 *) PORT: QNX update to properly guess 32-bit systems.
6483 [Sean Boudreau <seanb@qnx.com>] PR#2390
6485 *) Make sure the DSO emulation code for HPUX finds the proprietary shl_xxx()
6486 functions which are in libdld under HPUX 9/10.
6487 [Ralf S. Engelschall] PR#2378
6489 *) Make sure the "install" target of the top-level Makefile doesn't break
6490 because of a return code of 1 from an "if" (for instance under braindead
6491 Ultrix the result code of an "if" construct is 1 if the "then" clause
6492 didn't match). [Ralf S. Engelschall]
6494 *) Add an additional "dummy" target to the "$(LIB)" target in generated
6495 modules/xxx/Makefile's to avoid problems with SVR4 Make under "full-DSO"
6496 situation (no libxxx.a built, only mod_xxx.so's) where LIB and OBJS are
6497 empty. [Ralf S. Engelschall, Dean Gaudet, Martin Kraemer]
6499 *) Replace two bad sprintf() calls with ap_snprintf() variants in
6500 mod_rewrite. [Ralf S. Engelschall]
6502 *) Fix missing usage description for MetaFiles directive.
6503 [David MacKenzie <djm@va.pubnix.com>] PR#2384
6505 *) mod_log_config wouldn't let vhosts use log formats defined in the
6506 main server. [Christof Damian <damian@mediaconsult.com>] PR#2090
6508 *) mod_usertrack was corrupting the client hostname. As part of the
6509 fix, the cookie values were slightly extended to include the
6510 fully qualified hostname of the client.
6511 [Dean Gaudet] PR#2190, 2229, 2366
6513 *) Fix a typo in pool debugging code. [Alvaro Martinez Echevarria]
6515 *) mod_unique_id did not work on alpha linux (in general on any
6516 architecture that has 64-bit time_t).
6517 [Alvaro Martinez Echevarria]
6519 *) PORT: Make SCO 5 (and probably 3) compile again. [Ben Laurie]
6521 *) PORT: NCR MPRAS systems have the same bug with SIGHUP restart that
6522 Solaris systems experience. So define WORKAROUND_SOLARIS_BUG.
6523 [Klaus Weber <kweber@chephren.germany.ncr.com>] PR#1973
6525 *) Change "Options None" to "Options FollowSymLinks" in the
6526 <Directory /> section of the default access.conf-dist
6527 (and -win even though it doesn't matter there). This has better
6528 performance, and more intuitive semantics. [Dean Gaudet]
6530 *) PORT: Updated support for UTS 2.1.2.
6531 [Dave Dykstra <dwd@bell-labs.com>] PR#2320
6533 *) Fix symbol export list (src/support/httpd.exp) after recent
6534 API changes in the child spawning area.
6535 [Jens-Uwe Mager <jum@helios.de>]
6537 *) Workaround for configure script and old `test' commands which do not
6538 support the -x flag (for instance under platforms like Ultrix). This is
6539 solved by another helper script findprg.sh which searches for Perl and
6540 Awk like PrintPath but _via different names_.
6541 [Ralf S. Engelschall]
6543 *) Remove the system() call from htpasswd.c, which eliminates a system
6544 dependancy. ["M.D.Parker" <mdpc@netcom.com>] PR#2332
6546 *) PORT: Fix compilation failures on NEXTSTEP.
6547 [Rex Dieter <rdieter@math.unl.edu>] PR#2293, 2316
6549 *) PORT: F_NDELAY is a typo, should have been FNDELAY. There's also
6550 O_NDELAY on various systems. [Dave Dykstra <dwd@bell-labs.com>] PR#2313
6552 *) PORT: helpers/GuessOS updates for various versions for NCR SVR4.
6553 [juerg schreiner <j.schreiner@zh.ch>,
6554 Bill Houle <Bill.Houle@SanDiegoCA.NCR.COM>] PR#2310
6556 *) Fix recently introduced Win32 child spawning code in mod_rewrite.c which
6557 was broken because of invalid ap_pstrcat() -> strcat() transformation.
6558 [Ralf S. Engelschall]
6560 *) Proxy Cache Fixes: account for directory sizes, fork off garbage collection
6561 to continue in background, use predefined types (off_t, size_t, time_t),
6562 log the current cache usage percentage at LogLevel debug
6563 [Martin Kraemer, based on discussion between Dean Gaudet & Dirk vanGulik]
6565 Changes with Apache 1.3.0
6567 *) Using a type map file as a custom error document was not possible.
6568 [Lars Eilebrecht] PR#1031
6570 *) Avoid problems with braindead Awks by additionally searching for gawk
6571 and nawk in APACI's configure script.
6572 [Dave Dykstra <dwd@bell-labs.com>, Ralf S. Engelschall] PR#2319
6574 *) Rename md5.h to ap_md5.h to avoid conflicts with native MD5 on
6575 some systems. [Randy Terbush]
6577 *) Change usage of perror()+fprintf(stderr,...) in mod_rewrite to
6578 more proper ap_log_error() variants.
6579 [Ralf S. Engelschall]
6581 *) Make sure the argument for the --add-module option to APACI's configure
6582 script is of type [path/to/]mod_xxx.c because all calculations inside
6583 configure and src/Configure depend on this.
6584 [Ralf S. Engelschall] PR#2307
6586 *) Changes usage of perror/fprintf to stderr to more proper ap_log_error
6587 in mod_mime, mod_log_referer, mod_log_agent, and mod_log_config.
6590 *) Various OS/2 cleanups ["Brian Havard" <brianh@kheldar.apana.org.au>]
6592 *) PORT: QNX needed a #include <sys/mman.h>; and now it uses flock
6593 serialized accept to handle multiple sockets.
6594 [Rob Saccoccio <robs@InfiniteTechnology.com>] PR#2295, 2296
6596 *) Have NT properly set the directory for CGI scripts
6597 (& other spawned children)
6598 [W G Stoddard <wgstodda@us.ibm.com>]
6600 *) Propagate environment to CGI scripts correctly in Win32.
6601 [W G Stoddard <wgstodda@us.ibm.com>] PR#2294
6603 *) Some symbol renaming:
6604 ap_spawn_child_err became ap_spawn_child
6605 ap_spawn_child_err_buff became ap_bspawn_child
6606 spawn_child was obsoleted and moved to compat.h
6609 *) Upgrade the child spawning code in mod_rewrite for the RewriteMap
6610 programs: ap_spawn_child_err() is used and the Win32 case now uses
6611 CreateProcess() instead of a low-level execl() (which caused problems in
6612 the past under Win32).
6613 [Ralf S. Engelschall]
6615 *) A few cosmetics and trivial enhancements to APXS to make the
6616 generated Makefile more user friendly. [Ralf S. Engelschall]
6618 *) Proxy Fix: The proxy special failure routine ap_proxyerror()
6619 was updated to use the normal apache error processing, thereby allowing
6620 proxy errors to be treated by ErrorDocument's as well. For this
6621 purpose, a new module-to-core communication variable "error-notes"
6622 was introduced; the proxy (and possibly other modules) communicates
6623 its error text using this variable. Its content is copied to a new
6624 cgi-env-var REDIRECT_ERROR_NOTES for use by ErrorDocuments.
6625 The old proxy special error routine ap_proxy_log_uerror()
6626 was replaced by regular ap_log_error() calls, many messages were made
6628 [Martin Kraemer] PR#494, 1259
6630 *) SECURITY: A possible buffer overflow in the ftp proxy was fixed.
6633 *) Transform the configure message "You need root privileges for suEXEC"
6634 from a fatal error into a (more friendly) warning because the building
6635 ("make") of Apache we can allow, of course. Root privileges are needed
6636 only for the installation step ("make install"). So make sure the
6637 user is aware of this fact but let him proceed as long as he can.
6638 [Ralf S. Engelschall] PR#2288
6640 *) Renamed three more functions to common ap_ prefix which we missed at the
6641 Big Symbol Renaming because they're #defines and not real C functions:
6642 is_default_port(), default_port(), http_method().
6643 [Ralf S. Engelschall]
6645 *) A zero-length name after a $ in an SSI document should cause
6646 just the $ to be in the expansion. This was broken during the
6647 security fixes in 1.2.5. [Dean Gaudet] PR#1921, 2249
6649 *) Call ap_destroy_sub_req() in ap_add_cgi_vars() to reclaim some
6650 memory. [Rob Saccoccio <robs@InfiniteTechnology.com>] PR#2252
6652 *) Fix src/support/httpd.exp (DSO export file which is currently only
6653 used under AIX) because of recent changes to function names.
6654 [Ralf S. Engelschall]
6656 Changes with Apache 1.3b7
6658 *) Make sure a MIME-type can be forced via a RewriteRule even when no
6659 substitution takes place, for instance via the following rule:
6660 ``RewriteRule ^myscript$ - [T=application/x-httpd-cgi]'' This was often
6661 requested by users in the past to force a single script without a .cgi
6662 extension and outside any cgi-bin dirs to be executed as a CGI program.
6663 [Ralf S. Engelschall] PR#2254
6665 *) A fix for protocol issues surrounding 400, 408, and
6666 414 responses. [Ed Korthof]
6668 *) Ignore MaxRequestsPerChild on WIN32. [Brian Behlendorf]
6670 *) Fix discrepancy in proxy_ftp.c which was causing failures when
6671 trying to connect to certain ftpd's, such as anonftpd.
6672 [Rick Ohnemus <rick@ecompcon.com>]
6674 *) Make mod_rewrite use ap_open_piped_log() for RewriteLog directive's
6675 logfile instead of fiddling around itself with child spawning stuff.
6676 [Ralf S. Engelschall]
6678 *) Made RefererIgnore case-insensitive.
6680 *) Mod_log_agent, mod_log_referer now use ap_open_piped_log for piped logs.
6683 *) Replace use of spawn_child with ap_spawn_child_err_buff, to make everything
6684 "safe" under Win32. In: mod_include.c, mod_mime_magic.c
6687 *) Improve RFC1413 support. [Bob Beck <beck@bofh.ucs.ualberta.ca>]
6689 *) Fix support script `dbmmanage': It was unable to handle some sort
6690 of passwords, especially passwords with "0" chars.
6691 [Ralf S. Engelschall] PR#2242
6693 *) WIN32: Clicking on "Last Modified" in a fancy index caused a crash. Fixed.
6694 [Ben Laurie] PR#2238
6696 *) WIN32: CGIs could cause a hang (because of a deadlock in the standard C
6697 library), so CGI handling has been changed to use Win32 native handles
6698 instead of C file descriptors.
6699 [Ben Laurie and Bill Stoddard <wgstodda@us.ibm.com>] PR#1129, 1607
6701 *) The proxy cache would store an incorrect content-length in the cached
6702 file copy after a cache update. That resulted in repeated fetching
6703 of the original copy instead of using the cached copy.
6704 [Ernst Kloppenburg <kloppen@isr.uni-stuttgart.de>] PR#2094
6706 *) The Makefiles assumed that DSO files are build via $(LD). This
6707 is broken for two reasons: First we never defined at least LD=ld
6708 somewhere to make sure this works (it was silently assumed that most Make
6709 provide a built-in LD definition - ARGL!) and second using the generic LD
6710 variable is not the truth. Instead a special variable named LD_SHLIB is
6711 reasonable because although "ld" is usually the default, the command for
6712 building DSO files can be "libtool" or even "cc" on some systems.
6713 [Ralf S. Engelschall]
6715 *) Replace the AddVersionPlatform directive with ServerTokens which
6716 provides for more control over the format of the Server:
6717 header line. SERVER_SUBVERSION is no longer supported;
6718 all module should use the ap_add_version_component()
6719 API function instead. [Jim Jagielski]
6721 *) Support for the NCR MP/RAS 3.0
6722 [John Withers <withers@semi.kcsc.mwr.irs.gov>]
6724 *) The LDFLAGS_SHLIB_EXPORT variable of src/Configuration[.tmpl] was
6725 not retrieved in src/Configure and thus was not useable.
6726 [Ralf S. Engelschall]
6728 *) Various Makefile consistency cleanups:
6729 - make OSDIR also automatically be relative to src/ like INCDIR
6730 - SUBDIRS is now generated in src/Makefile only and not in
6731 Makefile.config because it is a local define for this location.
6732 - remove BROKEN_BPRINTF_FLAGS because is it no longer used inside
6733 any Makefile but make sure that at least the "-K inline" is kept in
6735 - update the "depend" targets in Makefile.tmpl files to use $(OSDIR), too.
6736 - updated the dependencies theirself
6737 - removed not existing SHLIB variable from "clean" targets
6738 - replaced SHLIB_OBJS/SHLIBS_OBJ consistently with OBJS_PIC because OBJS
6739 already exists and OBJS_PIC are also just plain objects and have not
6740 directly to do with "shared" things. The only difference is that they
6741 contain PIC. So OBJS_PIC is the more canonical name.
6742 - Updated the Makefile-dependency lines for OBJS_PIC
6743 - Removed the Makefile-dependency line in Configure to avoid double
6745 - replaced ugly xx-so.o/xx.so-o hack with a clean and consistent usage
6746 of xxx.lo as GNU libtool does with its PIC objects
6747 - reduce local complexity in modules Makefile.tmpl by moving the last
6748 existing target "depend" to the generation section in Configure, too.
6749 - removed the historical $(SPACER) which was used in the past together
6750 with BROKEN_BPRINTF_FLAGS to avoid zig-zags in the build process. This
6751 is no longer needed.
6752 - force the build and run of the gen_xxx programs under main/ as the
6753 first step before building the objects because it looks cleaner
6754 [Ralf S. Engelschall]
6756 *) WIN32: Make Win32 work again after the /dev/null DoS fix.
6759 *) WIN32: Check for buffer overflows in ap_os_canonical_filename.
6762 *) WIN32: Don't force ISAPI headers to finish with \n.
6763 [Jim Patterson <Jim.Patterson@Cognos.COM>, Ben Laurie] PR#2060
6765 *) When opening "configuration" files (like httpd.conf, htaccess
6766 and htpasswd), Apache will not allow them to be non-/dev/null
6767 device files. This closes a DoS hole. At the same time,
6768 we use ap_pfopen to open these files to handle timeouts.
6769 [Jim Jagielski, Martin Kraemer]
6771 *) Apache will now log the reason its httpd children exit if they exit
6772 due to an unexpected signal. (It requires a new porting define,
6773 SYS_SIGLIST, which if defined should point to a list of text
6774 descriptions of the signals available. See PORTING.) [Dean Gaudet]
6776 *) WIN32: chdir() doesn't make sense in a multithreaded environment
6777 like WIN32. Before, Win32 CGI's could have had sporadic failures
6778 if a chdir call from one thread was made between another chdir call
6779 and a spawn in another thread. So, for now don't chdir for CGI scripts
6780 in WIN32. The current CGI "spec" is unclear as to whether it's
6781 necessary. Long-term fix is to either serialize the chdir/spawn combo
6782 or use WIN32 native calls to spawn a process. This temp fix was
6783 necessary to remove this as a showstopper for 1.3's release.
6786 *) Cleanup the suEXEC support in APACI and make it more safe:
6787 1. Add big fat hint in INSTALL about risks and to read the
6788 htdocs/manual/suexec.html document before using the suexec-related
6790 2. Make sure the user has at least provided one --suexec-xxxx option
6791 (specifies suEXEC parameters) in addition to --enable-suexec option.
6792 If only --enable-suexec is given APACI stops with a hint to INSTALL
6793 and htdocs/manual/suexec.html documents.
6794 3. Provide two additional --suexec-xxxx options to make the suEXEC
6795 configuration complete (especially for package maintainers who else
6796 had to patch the source tree) by providing ways to configure minimal
6797 UID/GID and safe PATH, too.
6798 [Ralf S. Engelschall]
6800 *) Cleanup of the `configure --shadow' process:
6801 - make sure the configure script creates its temporary files in the
6802 shadow tree to avoid conflicts with parallel configure runs
6803 - removed unnecessary option "-r" from "rm" call for Makefiles
6804 - make sure the configure scripts creates the shadow-wrapper Makefile
6805 only when no shadow trees already exists
6806 - make sure "make distclean" removes the shadow-wrapper Makefile but only
6807 when no more shadow trees exists
6808 - overhauled mkshadow.sh script: now its more IFS-safe and approx. twice
6809 as fast (in the past it needed 70sec, now it runs just 38sec)
6810 - make sure CVS does not complain about the created files
6811 Makefille.<gnutriple> and directories src.<gnutriple>
6812 [Ralf S. Engelschall]
6814 *) Added the ap_add_version_component() API routine and the
6815 AddVersionPlatform core directive. The first allows modules to
6816 declare themselves in the Server response header field value,
6817 augmenting the SERVER_SUBVERSION define in the Configuration file
6818 with run-time settings (more useful in a loadable-module environment).
6819 AddVersionPlatform inserts a comment such as "(UNIX)" or "(Win32)"
6820 into the server version string. [Ken Coar] PR#2056
6822 *) Minor stability tweaks to avoid core dumps in ap_snprintf.
6825 *) Emit the "Accept-Range" header for the default handler.
6826 [Brian Behlendorf] PR#1464
6828 *) Add a note to httpd.conf-dist that apache will on some systems fail
6829 to start when the Group # is set to a negative or large positive value.
6832 *) Make sure the module execution order is correct even when some modules
6833 are loaded under runtime (`LoadModule') via the DSO mechanism:
6834 1. The list of loaded modules is now a dynamically allocated one
6835 and not the original statically list from modules.c
6836 2. The loaded modules are now correctly setup by LoadModule for
6837 later use by the AddModule command.
6838 3. When the DSO mechanism for modules is used APACI's `install'
6839 target now enables all created `LoadModule' lines per default because
6840 this is both already expected by the user _and_ needed to avoid
6841 confusion with the next point and reduces the Makefile.tmpl complexity
6842 4. When the DSO mechanism for modules is used, APACI's `install'
6843 target now additionally makes sure the module list is reconstructed
6844 via a complete `ClearModuleList+AddModule...' entry.
6845 5. The support tool `apxs' now also makes sure an AddModule command
6846 is added in addition to the LoadModule command.
6847 6. The modules.c generation was extended to now contain two
6848 comments to make sure no one is confused by the confusing terminology
6849 of loading/linking (we use load=link+load & link=activate instead of
6850 the obvious load=activate & link=link :-( )
6851 This way now there is no longer a difference under execution time between
6852 statically and dynamically linked modules.
6853 [Ralf S. Engelschall]
6855 *) Fix the generated mod_xxx.c from "apxs -g -f xxx" after the
6856 Big Symbol Renaming. [Ralf S. Engelschall]
6858 *) Add a comment to mod_example.c showing the format of a FLAG command
6861 *) Standardized the time format in mod_status to match that of other
6862 places in the code (e.g. DATE_GMT). PR#1551
6864 *) Fix handling of %Z in timefmt strings for those platforms with no time
6865 zone information in their tm struct. [Paul Eggert <eggert@twinsun.com>]
6868 *) Makes mod_rewrite, mod_log_config, mod_status and the ServerSignature
6869 feature compatible with 'UseCanonicalName off' by changing
6870 r->server->server_hostname to ap_get_server_name(). And I changed some
6871 functions which use r->server->port to use ap_get_server_port() instead,
6872 because if there's no Port directive in the config r->server->port is 0.
6875 *) get/set_module_config are trivial enough to be better off inline. Worth
6876 1.5% performance boost. [Dean Gaudet]
6878 *) Fix off-by-one error in ap_proxy_date_canon() in proxy_util.c
6879 when ensuring 'x' is at least 30-chars big. [Jim Jagielski,
6882 *) [BS2000 security] BS2000 needs an extra authentication to initialize
6883 the task environment to the unprivileged User id. Otherwise CGI scripts
6884 would have a way to gain super user access. [Martin Kraemer]
6886 *) Fix debug log messages for BS2000/OSD: instead of logging the whole
6887 absolute path, only log base name of logging source as is done
6888 in unix. [Martin Kraemer]
6890 *) Ronald Tschalaer's Accept-Encoding patch - preserve the "x-" in
6891 the encoding type from the Accept-Encoding header (if it's there)
6892 and use it in the response, as that's probably what it'll be expecting.
6893 [Ronald.Tschalaer@psi.ch]
6895 *) Fix to mod_alias: translate_alias_redir is dealing with
6896 a URI, not a filename, so the check for drive letters for win32
6897 and emx is not necessary. [Dean Gaudet]
6899 *) WIN32: Allow .cmd as an executable extension.
6900 [Kari Likovuori <Kari.Likovuori@mol.fi>] PR#2146
6902 *) Make Apache header files, and some variables, C++ friendly.
6903 [Michael Anderson's <mka@redes.int.com.mx>]
6905 *) Child processes can now "signal" (by exiting with a status
6906 of APEXIT_CHILDFATAL) the parent process to abort and
6907 shutdown the server if the error in the child process was
6908 fatal enough. [Jim Jagielski]
6910 *) mod_autoindex's find_itme() was sensitive to MIME type case.
6911 [Jim Jagielski] PR#2112
6913 *) Make sure the referer_log and agent_log entries in the default httpd.conf
6914 file are also adjusted for the actual relative installation paths.
6915 [Ralf S. Engelschall] PR#2175
6917 *) WIN32: Extensive overhaul of the way UNCs are handled. [Ben Laurie]
6919 *) WIN32: Make roots of filesystems (e.g. c:/) work. [Ben Laurie]
6922 *) PORT: Various porting changes to support AIX 3.2, 4.1.5, 4.2 and 4.3.
6923 Additionally the checks for finding the vendor DSO library were moved
6924 from mod_so.c to Configure because first it needs $PLAT etc. and second
6925 mod_so already uses an abstraction layer and does not fiddle with the
6926 vendor functions itself.
6927 [Jens-Uwe Mager, Ralf S. Engelschall]
6929 *) PORT: Some optimization defines for NetBSD
6930 [Jaromir Dolecek <dolecek@ics.muni.cz>] PR#2165
6932 *) PORT: Dynamic Shared Object (DSO) support for NetBSD.
6933 [Jaromir Dolecek <dolecek@ics.muni.cz>, Ralf S. Engelschall] PR#2158
6935 *) Add Dynamic Shared Object (DSO) support for AIX (at least 4.2 but older
6936 AIX variants should work fine, too. Even AIX 3.x should work). This is
6937 accomplished by using the free DSO emulation code from Jens-Uwe Mager
6938 which we put into a os/unix/os-dso-aix.c file.
6939 [Ralf S. Engelschall]
6941 *) PORT: Fix compiler warnings under AIX >= 4.2 where the manual pages imply
6942 that we should use NET_SIZE_T == int but the include files force size_t.
6943 [Ralf S. Engelschall]
6945 *) Fix two bugs in select() handling in http_main.c.
6948 *) Suppress "error(0)" messages for ap_log_error() when the APLOG_NOERRNO
6949 is unset (as it is in situations like timeouts) where it is unclear
6950 whether errno is set or not. [Martin Kraemer]
6952 *) Just having APACI's localstatedir is too general and not enough for most
6953 of the systems. 1.3b6 again required manual APACI patches by package
6954 maintainers from RedHat and FreeBSD because for their filesystem layout a
6955 little bit more flexibility in configuring the paths is needed. Hence we
6956 provide three additional configure options (--runtimedir, --logfiledir,
6957 --proxycachedir) which now can be used for more granular adjustments if
6958 --localstatedir is not enough to fit the particular needs. As a nice
6959 side-effect this reduces some subdir fiddling in configure+Makefile.tmpl.
6960 [Ralf S. Engelschall]
6962 *) Make the install root for "make install" in APACI's Makefile overrideable
6963 by package authors. This way we are even more friendly to package
6964 maintainers (especially Debian and RedHat) who build for the real prefix
6965 via "configure --prefix=/<real>" but use a different local prefix via
6966 "make root=/tmp/apache install" for rolling the package without bristling
6967 the target location on their system.
6968 [Ralf S. Engelschall]
6970 *) Workaround sed limitations in APACI's configure script by now
6971 substituting in chunks of 50 commands (because for instance HPUX's vendor
6972 sed has a limit of max. 98 commands)
6973 [Ralf S. Engelschall] PR#2136
6975 *) Adding SOCKS5 support and fixing existing SOCKS4 support.
6976 [Ralf S. Engelschall] PR#2140
6978 *) Manually fix some symbols which were not renamed to prefix ap_ in the BIG
6979 RENAMING process because they are defined as pre-processor macros instead
6980 of real functions: bputc, bgetc, piped_log_write_fd, piped_log_read_fd
6981 [Ralf S. Engelschall]
6983 *) Workaround braindead AWK's when generating ap_config.h: The split() and
6984 substr() functions cannot be nested under vendor AWK from Solaris 2.6.
6985 [Ralf S. Engelschall] PR#2139
6987 *) Various bugfixes and cleanups for the APACI configure script:
6988 o fix IFS handling for _nested_ situation
6989 o fix Perl interpreter search: take first one found instead of last one
6990 o fix DSO consistency check
6991 o print error messages to stderr instead of stdout
6992 o add install-quiet for --shadow situation to Makefile stub
6993 o reduce complexity by avoiding sed-hacks for rule and module list loops
6994 [Ralf S. Engelschall]
6996 *) Fix DEBUG_CGI situation in mod_cgi.c [David MacKenzie] PR#2114
6998 *) Make sure the input field separator (IFS) shell variable is explicitly
6999 initialized correctly before _every_ `for' loop and also restored after
7000 the loops. [Ralf S. Engelschall]
7002 *) Make sure that "make install" doesn't overwrite the `mime.types' and
7003 `magic' files from an existing Apache installation. Because people often
7004 customize these for own MIME and content types.
7005 [Ralf S. Engelschall]
7007 *) PORT: Dynamic Shared Object (DSO) support for OpenBSD 2.x
7008 [Peter Galbavy, Ralf S. Engelschall] PR#2109
7010 *) Fix the path to the ScoreBoardFile in the install-config target, too.
7011 [Ralf S. Engelschall] PR#2105
7013 *) Let "configure" clear out the users parameters (provided as shell
7014 variables) to avoid side-effects in "src/Configure" when the user
7015 exported them (which is not needed, but some users do it).
7016 [Ralf S. Engelschall] PR#2101
7018 *) Provide backward compatibility from some old src/Configuration.tmpl
7019 parameter names to the canonical Autoconf-style shell variable names. For
7020 instance CFLAGS vs. EXTRA_CFLAGS. The EXTRA_xxx variants are accepted now
7021 but a hint message is displayed. [Ralf S. Engelschall]
7023 *) Make sure that "make install" doesn't overwrite the DocumentRoot and
7024 CGI scripts from an existing Apache installation.
7025 [Ralf S. Engelschall, Jim Jagielski] PR#2084
7027 *) Make `configure --compat' more "compatible" by first
7028 let the libexecdir default to EPREFIX/libexec instead of EPREFIX/bin and
7029 second by making sure the "avoid-bristling-suffix" /apache is not
7030 appended to sysconfdir, datadir, localstatedir and includedir when
7031 --compat is used. [Ralf S. Engelschall, Lars Eilebrecht]
7033 *) NeXT required strdup() in support/logresolve.c
7034 [Francisco Tomei <fatomei@sandburg.unm.edu>] PR#2082
7036 *) AIX required sys/select.h in support/ab.c
7037 [Jens Schleusener <Jens.Schleusener@dlr.de>] PR#2081
7039 *) Fix the path to the MimeMagicFile in the install-config target, too.
7040 [Ralf S. Engelschall] PR#2089
7042 *) PORT: Added HP-UX 11 patches [Jeff Earickson <jaearick@colby.edu>]
7044 *) If you start apache with the -S command line option it will dump
7045 out the parsed vhost settings. This is useful for folks trying
7046 to figure out what is wrong with their vhost configuration.
7047 (Other dumps may be added in the future.) [Dean Gaudet]
7049 *) Add %pA, %pI, and %pp codes to ap_vformatter (and hence ap_bprintf,
7050 ap_snprintf, and ap_psprintf). See include/ap.h for docs.
7053 *) Because /usr/local/apache is the default prefix the ``configure
7054 --compat'' option no longer has to set prefix, again. This way the
7055 --compat option honors a leading --prefix option. [Lars Eilebrecht]
7057 *) PORT: Cast the first argument of dlopen() in ap_os_dso_load()
7058 to `char *' under OSF1 and FreeBSD 2.x where it is defined this way
7059 to avoid "discard const" warnings. [Ralf S. Engelschall]
7061 *) If a specific handler is set for a file yet the request still
7062 ends up being handled by the default handler, log an error
7063 message before handling it. This catches things such as trying
7064 to use SSIs without mod_include enabled. [Marc Slemko]
7066 *) Fix error logging for the startup case where ap_log_error() still uses
7067 stderr as the target. Now the default log level is honored here, too.
7068 [Ralf S. Engelschall]
7070 *) PORT: Make sure some AWK's don't fail in src/Configure with "string too
7071 long" errors when generating the MODULES entry for src/Makefile
7072 [Ben Hyde, Ralf S. Engelschall]
7074 *) Make sure src/Configure doesn't complain about the old directory
7075 /usr/local/etc/httpd/ when APACI is used. [Lars Eilebrecht]
7077 Changes with Apache 1.3b6
7079 *) PORT: Clean up warnings on Ultrix and HPUX. [Ben Hyde]
7081 *) Adding DSO support for the HP/UX platform by emulating the dlopen-style
7082 interface via the similar but proprietary HP/UX shl_xxx-style system
7083 calls. [Ralf S. Engelschall]
7085 *) PORT: Updated UnixWare 2.0.x and 2.1.x entries for DSO support and made
7086 APACI Makefile.tmpl "install" target more robust for sensible UnixWare
7087 Make. [Ralf S. Engelschall]
7089 *) ++++ THE BIG SYMBOL RENAMING ++++
7090 To avoid symbol clashes with third-party code compiled into the server,
7091 we globally applied the prefix "ap_" to the following classes of
7093 - Apache provided general functions (e.g., ap_cpystrn)
7094 - Public API functions (e.g., palloc, bgets)
7095 - Private functions which we can't make static (because of
7096 cross-object usage) but should be (e.g., new_connection)
7097 For backward source compatibility a new header file named compat.h was
7098 created which provides defines for the old symbol names and can be used
7099 by third-party module authors.
7102 *) Added dynamic shared object (DSO) support for SVR4-derivates: The
7103 problem under SVR4 is that there is no command flag to force the linker
7104 to export the global symbols of the httpd executable therewith they are
7105 available to the DSO's. Instead of problematic hacks like creating a
7106 dummy.so file (containing dummy references to all global symbols) the
7107 httpd binary is linked against, we use a clean trick stolen from Perl 5:
7108 Placing the Apache core code itself into a DSO library named libhttpd.so.
7109 This way the global symbols _HAVE_ to be exported and thus are available
7110 to any manually loaded DSO's under runtime. To reduce the impact to the
7111 user to null we go even further and create a stub httpd executable which
7112 automatically keeps track of the DSO library loading itself and thus
7113 hides the complete mechanism from the user. Although the generation of
7114 this DSO library is automatically triggered for platforms which
7115 essentially need it (mostly all SVR4-derivates) it can be also enabled
7116 manually via the Rule SHARED_CORE. This can be interesting in the future
7117 where we perhaps exploit this libhttpd.so mechanism for providing nifty
7118 features like graceful upgrades, or whatever.
7119 [Ralf S. Engelschall, Martin Kraemer]
7121 *) Build the libraries before building the rest of the tools. [Ben Hyde]
7123 *) Add "distclean" target to src/-Makefiles to provide "make distclean" also
7124 inside the src subtree (i.e. for non-APACI users). Following GNU Makefile
7125 conventions while "clean" removes only stuff created by "all" targets,
7126 "distclean" additionally removes the stuff from the configuration
7127 process. This way "make distclean" (hence the name) provides a fresh
7128 source tree as it was for distribution.
7129 [Ralf S. Engelschall]
7131 *) Allow top-level (APACI) Makefile to break on build errors
7132 the same way the src/ subtree Makefiles breaks on them by replacing the
7133 initial APACI sed-subdir-display-kludge with a more clean
7134 variable-passing-solution: variable SDP can optionally hold the subdir
7135 prefix which is consistently used for displaying the subdir movement.
7136 This way even the top-level Makefile can stop correctly on errors as the
7137 user expects. [Ralf S. Engelschall]
7139 *) Fixed ordering of argument checks for RewriteBase directive.
7140 [Todd Eigenschink <eigenstr@mixi.net>] PR#2045
7142 *) Change Win32 IS_MODULE to SHARED_MODULE to match Unix' method of
7143 indicating that a module is being compiled for dynamic loading. Also
7144 remove #define IS_MODULE from modules and add SHARED_MODULE define
7145 to the mak/dsp files. [Alexei Kosut]
7147 *) Reduce logging level of "normal" warning messages to APLOG_INFO,
7148 since we are now logging APLOG_WARNING by default. [Roy Fielding]
7150 *) PORT: OS/2 tweak to deal with multiple .exe targets. [Brian Havard]
7152 *) Add documentation file and src/Configuration.tmpl entry for the
7153 experimental mod_mmap_static module. Because although it is and marked as
7154 an experimental one it is distributed and thus should be documented and
7155 prepared for configuration the same way as all others modules.
7156 [Ralf S. Engelschall]
7158 *) Add query (-q) option to apxs support tool to be able to manually query
7159 specific settings from apxs. This is needed for instance when you
7160 manually want to access Apache's header files and you need to assemble
7161 the -I option. Now you can do -I`apxs -q INCLUDEDIR`.
7162 [Ralf S. Engelschall]
7164 *) Now src/Configure uses a fallback strategy for the shared object support
7165 on platforms where no explicit information is available: If a Perl
7166 installation exists we ask it about its shared object support and if it's
7167 the dlopen-style one we shamelessly guess the compiler and linker flags
7168 for creating shared objects from Perls knowledge. Of course, the user is
7169 warning about what we are doing and informed that he should send us
7170 the guessed flags when they work. [Ralf S. Engelschall]
7172 *) Provide APACI --without-support option to be able to disable the build
7173 and installation of the support tools from the src/support/ area.
7174 Although its useful to have these installed per default we should provide
7175 a way to compile and install without them for backward-compatibility.
7176 [Ralf S. Engelschall]
7178 *) Add of the new APache eXtenSion (apxs) support tool for building and
7179 installing modules into an _already installed_ Apache package through the
7180 dynamic shared object (DSO) mechanism [mod_so.c]. The trick here is that
7181 this approach actually doesn't need the Apache source tree. The
7182 (APACI-installed) server package is enough, because this now includes the
7183 Apache C header files (PREFIX/include) and the new APXS tool
7184 (SBINDIR/apxs). The intend is to provide a handy tool for third-party
7185 module authors to build their Apache modules _OUTSIDE_ the Apache source
7186 tree while avoiding them to fiddle around with the totally platform
7187 dependend way of compiling DSO files. The tool supports all ranges of
7188 modules, from trivial ones (single mod_foo.c) to complex ones (like PHP3
7189 which has a mod_php3.c plus a pre-built libmodphp3-so.a) and even can
7190 on-the-fly generate a minimalistic Makefile and sample module for the
7191 first step to provide both a quick success event and to demonstrate the
7192 APXS mechanism to module authors. [Ralf S. Engelschall]
7194 *) Fix core dumps in use of CONNECT in proxy.
7195 [Rainer.Scherg@rexroth.de] PR#1326, #1573, #1942
7197 *) Modify the log directives in httpd.conf-dist files to use CustomLog
7198 so that users have examples of how CustomLog can be used.
7201 *) Add the new Apache Autoconf-style Interface (APACI) for the top-level of
7202 the Apache distribution tree. Until Apache 1.3 there was no real
7203 out-of-the-box batch-capable build and installation procedure for the
7204 complete Apache package. This is now provided by a top-level "configure"
7205 script and a corresponding top-level "Makefile.tmpl" file. The goal is
7206 to provide a GNU Autoconf-style frontend which is capable to both drive
7207 the old src/Configure stuff in batch and additionally installs the
7208 package with a GNU-conforming directory layout. Any options from the old
7209 configuration scheme are available plus a lot of new options for flexibly
7210 customizing Apache. [Ralf S. Engelschall]
7212 *) The floating point ap_snprintf code wasn't threadsafe.
7213 Had to remove the HAVE_CVT macro in order to do threadsafe
7214 calling of the ?cvt() floating point routines. [Dean Gaudet]
7216 *) PORT: Add the SCO_SV port. [Jim Jagielski] PR#1962
7218 *) PORT: IRIX needs the -n32 flag iff using the 'cc' compiler
7219 [Jim Jagielski] PR#1901
7221 *) BUG: Configure was using TCC and CC inconsistently. Make sure
7222 Configure knows which CC we are using. [Jim Jagielski]
7224 *) "Options +Includes" wasn't correctly merged if "+IncludesNoExec"
7225 was defined in a parent directory. [Lars Eilebrecht]
7227 *) API: ap_snprintf() code mutated into ap_vformatter(), which is
7228 a generic printf-style routine that can call arbitrary output
7229 routines. Use this to replace http_bprintf.c. Add new routines
7230 psprintf(), pvsprintf() which allocate the exact amount of memory
7231 required for a string from a pool. Use psprintf() to clean up
7232 various bits of code which used ap_snprintf()/pstrdup().
7235 *) PORT: HAVE_SNPRINTF doesn't do anything any longer. This is because
7236 ap_snprintf() has different semantics and formatting codes than
7237 snprintf(). [Dean Gaudet]
7239 *) SIGXCPU and SIGXFSZ are now reset to SIG_DFL at boot-time. This
7240 is necessary on at least Solaris where the /etc/rc?.d scripts
7241 are run with these signals ignored, and "SIG_IGN" settings are
7242 maintained across exec().
7243 [Rein Tollevik <reint@sys.sol.no>] PR#2009
7245 *) Fix the check for symbolic links in ``RewriteCond ... -l'': stat() was
7246 used instead of lstat() and thus this flag didn't work as expected.
7247 [Rein Tollevik <reint@sys.sol.no>] PR#2010
7249 *) Fix the proxy pass-through feature of mod_rewrite for the case of
7250 existing QUERY_STRING now that mod_proxy was recently changed because of
7251 the new URL parsing stuff. [Ralf S. Engelschall]
7253 *) A few changes to scoreboard definitions which helps gcc generate
7254 better code. [Dean Gaudet]
7256 *) ANSI C doesn't guarantee that "int foo : 2" in a structure will
7257 be a signed bitfield. So mark a few bitfields as signed to
7258 ensure correct code. [Dean Gaudet]
7260 *) The default for HostnameLookups was changed to Off, but there
7261 was a problem and it wasn't taking effect. [Dean Gaudet]
7263 *) PORT: Clean up undefined signals on some platforms (SCO, BeOS).
7266 *) After a SIGHUP the listening sockets in the parent weren't
7267 properly marked for closure on fork().
7268 [Jürgen Keil <jk@tools.de>] PR#2000
7270 *) Allow %2F in two situations: 1) it is in the query part of the URI,
7271 therefore not exposed to %2F -> '/' translations and 2) the request
7272 is a proxy request, so we're not dealing with a local resource anyway.
7273 Without this, the proxy would fail to work for any URL's with
7274 %2f in them (occurs quite often in
7275 http://.../cgi-bin/...?http%3A%2F%2F... references) [Martin Kraemer]
7277 *) Protect against FD_SETSIZE mismatches. [Dean Gaudet]
7279 *) Make the shared object compilation command more portable by avoiding
7280 the direct combination of `-c' & `-o' which is not honored by some
7281 compilers like UnixWare's cc. [Ralf S. Engelschall]
7283 *) WIN32: the proxy was creating filenames missing the last four
7284 characters. While this normally doesn't stop anything from
7285 working, it can result in extra collisions.
7286 [Tim Costello <tjcostel@socs.uts.edu.au>] PR#1890
7288 *) Now mod_proxy uses the response string (in addition to the response status
7289 code) from the already used FTP SIZE command to setup the Content-Length
7290 header if available. [Ralf S. Engelschall] PR#1183
7292 *) Reanimated the (still undocumented) proxy receive buffer size directive:
7293 Renamed from ReceiveBufferSize to ProxyReceiveBufferSize because the old
7294 name was really too generic, added documentation for this directive to
7295 the mod_proxy.html and corrected the hyperlink to it in the
7296 new_features_1.3.html document. [Ralf S. Engelschall] PR#1348
7298 *) Fix a bug in the src/helpers/fp2rp script and make it a little bit
7299 faster [Martin Kraemer]
7301 *) Make Configure die when you give it an unknown command switch.
7304 *) Add five new and fresh manpages for the support programs: dbmmanage.1,
7305 suexec.8, htdigest.1, rotatelogs.8 and logresolve.8. Now all up-to-date
7306 and per default compiled support programs have manual pages - just to
7307 document our stuff a little bit more and to be able to do really
7308 Unix-like installations ;-) [Ralf S. Engelschall]
7310 *) Major cleanups to the Configure script to make it and its generated
7311 Makefiles again readable and maintainable: add SRCDIR option, removed
7312 INCLUDES_DEPTH[0-2] kludge, cleanup of TARGET option, cleanup of
7313 generated sections, consequently added Makefile headers with inheritance
7314 information, added subdir movement messages for easier following where
7315 the build process currently stays (more verbose then standard Make, less
7316 verbose than GNU make), same style to comments in the Configure script,
7317 added Apache license header, fixed a few bugs, etc. [Ralf S. Engelschall]
7319 *) Add the new ApacheBench program "ab" to src/support/: This is derived
7320 from the ZeusBench benchmarking program and can be used to determine the
7321 response performance of an Apache installation. This version is
7322 officially licensed with Zeus Technology, Ltd. See the license agreement
7323 statements in <199803171224.NAA24547@en1.engelschall.com> in apache-core.
7324 [Ralf S. Engelschall]
7326 *) API: Various core functions that are definately not part of the API
7327 have been made static, and a few have been marked API_EXPORT. Still
7328 more have been marked CORE_EXPORT and are not intended for general
7329 use by modules. [Doug MacEachern, Dean Gaudet]
7331 *) mod_proxy was not clearing the Proxy-Connection header from
7332 requests; now it does. This did not violate any spec, however
7333 causes poor interactions when you are talking to remote proxies.
7334 [Marc Slemko] PR#1741
7336 *) Various cleanups to the command line interface and manual pages.
7337 [Ralf S. Engelschall]
7339 *) cfg_getline() was not properly handling lines that did not end
7340 with a line termination character. [Marc Slemko] PR#1869, 1909
7342 *) Performance tweak to mod_log_config. [Dmitry Khrustalev]
7344 *) Clean up some undocumented behavior of mod_setenvif related to
7345 "merging" two SetEnvIf directives when they match the same header
7346 and regex. Document that mod_setenvif will perform comparisons in
7347 the order they appear in the config file. Optimize mod_setenvif by
7348 doing more work at config time rather than at runtime.
7351 *) src/include/ap_config.h now wraps it's #define's with #ifndef/#endif's
7352 to allow for modules to overrule them and to reduce redefinition
7353 warnings [Jim Jagielski]
7355 *) [PORT] For A/UX change the OS-#define for -DAUX to -DAUX3.
7358 *) Making the hard-coded cross-module function call mime_find_ct() (from
7359 mod_proxy to mod_mime) obsolete by making sure the API hook for MIME type
7360 checking is really called even for proxy requests except for URLs with
7361 HTTP schemes (because there we can optimize by not running the type
7362 checking hooks due to the fact that the proxy gets the MIME Content-type
7363 from the remote host later). This change cleans up mod_mime by removing
7364 the ugly export kludge, makes the one-liner file mod_mime.h obsolete, and
7365 especially unbundles mod_proxy and mod_mime. This way they both now can
7366 be compiled as shared objects and are no longer tied together.
7367 [Ralf S. Engelschall]
7369 *) util.c cleanup and speedup. [Dean Gaudet]
7371 *) API: Clarification, pstrndup() will always copy n bytes of the source
7372 and NUL terminate at the (n+1)st byte. [Dean Gaudet]
7374 *) Mark module command_rec and handler_rec structures const so that they
7375 end up in the read-only data section (and are friendlier to systems
7376 that don't do optimistic memory allocation on fork()). [Dean Gaudet]
7378 *) Add check to the "Port" directive to make sure the specified
7379 port is in the appropriate range. [Ben Hyde]
7381 *) Performance improvements to invoke_handler().
7382 [Dmitry Khrustalev <dima@bog.msu.su>]
7384 *) Added support for building shared objects even for library-style modules
7385 (which are built from more than one object file). This now provides the
7386 ability to build mod_proxy as a shared object module. Additionally
7387 modules like mod_example are now also supported for shared object
7388 building because the generated Makefiles now no longer assume there is at
7389 least one statically linked module. [Ralf S. Engelschall]
7391 *) API: Clarify usage of content_type, handler, content_encoding,
7392 content_language and content_languages fields in request_rec. They
7393 must always be lowercased; and the strings pointed to shouldn't
7394 be modified (you must copy them to modify them). Fix a few bugs
7395 related to this. [Dean Gaudet]
7397 *) API: Clarification: except for RAW_ARGS, all command handlers can
7398 treat the char * parameters as permanent, and modifiable. There
7399 is no need to pstrdup() them. Clean up some needless pstrdup().
7402 *) Now mod_so keeps track of which module shared objects with which names
7403 are loaded and thus avoids multiple loading and unloading and irritating
7404 error_log messages. [Ralf S. Engelschall]
7406 *) Prior to the existence of mod_setenv it was necessary to tweak the TZ
7407 environment variable in the apache core. But that tweaking interferes
7408 with mod_setenv. So don't tweak if the user has specified an explicit
7409 TZ variable. [Jay Soffian <jay@cimedia.com>] PR#1888
7411 *) rputs() did not calculate r->sent_bodyct properly.
7412 [Siegmund Stirnweiss <siegst@kat.ina.de>] PR#1900
7414 *) The CGI spec says that REMOTE_HOST should be set to the remote hosts's
7415 name, or left unset if this value is unavailable. Apache was setting
7416 it to the IP address when unavailable.
7417 [Tony Finch <fanf@demon.net>] PR#1925
7419 *) Various improvements to the configuration and build support for compiling
7420 modules as shared objects. Especially Solaris 2.x, SunOS 4.1, IRIX and
7421 OSF1 support with GCC and vendor compilers was added. This way shared
7422 object support is now provided out-of-the-box for FreeBSD, Linux,
7423 Solaris, SunOS, IRIX and OSF1. In short: On all major platforms!
7424 [Ralf S. Engelschall]
7426 *) Minor cleanup in http_main -- split QNX and OS2 specific "mmap"
7427 scoreboard code into separate #defines -- USE_POSIX_SCOREBOARD
7428 and USE_OS2_SCOREBOARD. [Dean Gaudet]
7430 *) Fix one more special locking problem for RewriteMap programs in
7431 mod_rewrite: According to the documentation of flock(), "Locks are on
7432 files, not file descriptors. That is, file descriptors duplicated
7433 through dup(2) or fork(2) do not result in multiple instances of a lock,
7434 but rather multiple references to a single lock. If a process holding a
7435 lock on a file forks and the child explicitly unlocks the file, the
7436 parent will lose its lock.". To overcome this we have to make sure the
7437 RewriteLock file is opened _AFTER_ the childs were spawned which is now
7438 the case by opening it in the child_init instead of the module_init API
7439 hook. [Ralf S. Engelschall] PR#1029
7441 *) Change to Location and LocationMatch semantics. LocationMatch no
7442 longer lets a single slash match multiple adjacent slashes in the
7443 URL. This change is for consistency with RewriteRule and
7444 AliasMatch. Multiple slashes have meaning in URLs that they do
7445 not have in (some) filesystems. Location on the other hand can
7446 be considered a shorthand for a more complicated regex, and it
7447 does match multiple slashes with a single slash -- which is
7448 also consistent with the Alias directive.
7449 [Dean Gaudet] related PR#1440
7451 *) Fix bug with mod_mime_magic causing certain files, including files
7452 of length 0, to result in no response from the server.
7455 *) The Configure script now generates src/include/ap_config.h which
7456 contains the set of defines used when Apache is compiled on a platform.
7457 This file can then be included by external modules before including
7458 any Apache header files in case they are being built separately from
7459 Apache. Along with this change, a couple of minor changes were
7460 made to make Apache's #defines coexist peacefully with any autoconf
7461 defines an external module might have. [Rasmus Lerdorf]
7463 *) Fix mod_rewrite for the ugly API case where <VirtualHost> sections exist
7464 but without any RewriteXXXXX directives. Here mod_rewrite is given no
7465 chance by the API to initialize its per-server configuration and thus
7466 receives the wrong one from the main server. This is now avoided by
7467 remembering the server together with the config structure while
7468 configuring and later assuming there is no config when we see a
7469 difference between the remembered server and the one calling us.
7470 [Ralf S. Engelschall] PR#1790
7472 *) Fixed the DBM RewriteMap support for mod_rewrite: First the support now
7473 is automatically disabled under configure time when the dbm_xxx functions
7474 are not available. Second, two heavy source code errors in the DBM
7475 support code were fixed. This makes DBM RewriteMap's usable again after
7476 a long time of brokenness. [Ralf S. Engelschall] PR#1696
7478 *) Now all configuration files support Unix-style line-continuation via
7479 the trailing backslash ("\") character. This enables us to write down
7480 complex or just very long directives in a more readable way. The
7481 backslash character has to be really the last character before the
7482 newline and it has not been prefixed by another (escaping) backslash.
7483 [Ralf S. Engelschall]
7485 *) When using ProxyPass the ?querystring was not passed correctly.
7486 [Joel Truher <truher@wired.com>]
7488 *) To deal with modules being compiled and [dynamically] linked
7489 at a different time from the core, the SERVER_VERSION and
7490 SERVER_BUILT symbols have been abstracted through the new
7491 API routines apapi_get_server_version() and apapi_get_server_built().
7494 *) WIN32: Preserve trailing slash in canonical path (and hence
7495 in PATH_INFO). [Paul Sutton, Ben Laurie]
7497 *) PORT: USE_PTHREAD_SERIALIZED_ACCEPT has proven unreliable
7498 depending on the rev of Solaris and what mixture of modules
7499 are in use. So it has been disabled, and Solaris is back to
7500 using USE_FCNTL_SERIALIZED_ACCEPT. Users may experiment with
7501 USE_PTHREAD_SERIALIZED_ACCEPT at their own risk, it may speed
7502 up static content only servers. Or it may fail unpredictably.
7503 [Dean Gaudet] PR#1779, 1854, 1904
7505 *) mod_test_util_uri.c created which tests the logic in util_uri.c.
7508 *) API: Rewrite of absoluteURI handling, and in particular how
7509 absoluteURIs match vhosts. Unless a request is a proxy request, a
7510 "http://host" url is treated as if a similar "Host:" header had been
7511 supplied. This change was made to support future HTTP/1.x protocols
7512 which may require clients to send absoluteURIs for all requests.
7514 In order to achieve this change subtle changes were made to the API. In a
7515 request_rec, r->hostlen has been removed. r->unparsed_uri now exists so
7516 that the unmodified uri can be retrieved easily. r->proxyreq is not set
7517 by the core, modules must set it during the post_read_request or
7518 translate_names phase.
7520 Plus changes to the virtualhost test suite for absoluteURI testing.
7522 This fixes several bugs with the proxy proxying requests to vhosts
7523 managed by the same httpd.
7526 *) API: Cleanup of code in http_vhost.c, and remove vhost matching
7527 code from mod_rewrite. The vhost matching is now performed by a
7528 globally available function matches_request_vhost(). [Dean Gaudet]
7530 *) Reduce memory usage, and speed up ServerAlias support. As a
7531 side-effect users can list multiple ServerAlias directives
7532 and they're all considered.
7533 [Chia-liang Kao <clkao@cirx.org>] PR#1531
7535 *) The "poly" directive in image maps did not include the borders of the
7536 polygon, whereas the "rect" directive does. Fix this inconsistency.
7537 [Konstantin Morshnev <moko@design.ru>] PR#1771
7539 *) Make \\ behave as expected. [Ronald.Tschalaer@psi.ch]
7541 *) Add the `%a' construct to LogFormat and CustomLog to log the client IP
7542 address. [Todd Eigenschink <eigenstr@mixi.net>] PR#1885
7544 *) API: A new source module main/util_uri.c; It contains a routine
7545 parse_uri_components() and friends which breaks a URI into its component
7546 parts. These parts are stored in a uri_components structure called
7547 parsed_uri within each request_rec, and are available to all modules.
7548 Additionally, an unparse routine is supplied which re-assembles the URI
7549 components back to an URI, optionally hiding the username:password@ part
7550 from ftp proxy requests, and other useful routines. Within the structure,
7551 you find on a ready-for-use basis:
7552 scheme; /* scheme ("http"/"ftp"/...) */
7553 hostinfo; /* combined [user[:password]@]host[:port] */
7554 user; /* user name, as in http://user:passwd@host:port/ */
7555 password; /* password, as in http://user:passwd@host:port/ */
7556 hostname; /* hostname from URI (or from Host: header) */
7557 port_str; /* port string (integer representation is in "port") */
7558 path; /* the request path (or "/" if only scheme://host was given) */
7559 query; /* Everything after a '?' in the path, if present */
7560 fragment; /* Trailing "#fragment" string, if present */
7561 This is meant to serve as the platform for *BIG* savings in
7562 code complexity for the proxy module (and maybe the vhost logic).
7565 *) Make all possible meta-construct expansions ($N, %N, %{NAME} and
7566 ${map:key}) available for all location where a string is created in
7567 mod_rewrite rewriting rulesets: 1st arg of RewriteCond, 2nd arg of
7568 RewriteRule and for the [E=NAME:STRING] flag of RewriteRule. This way the
7569 possible expansions are consequently usable at all string creation
7570 locations. [Ralf S. Engelschall]
7572 *) Fix initialization of RewriteLogLevel (default now is 0 as documented
7573 and not 1) and the per-virtual-server merging of directives. Now all
7574 directives except `RewriteEngine' and `RewriteOption' are either
7575 completely overridden (default) or completely inherited (when
7576 `RewriteOptions inherit') is used. [Ralf S. Engelschall] PR#1325
7578 *) Fix `RewriteMap' program lookup in situations where such maps are
7579 defined but disabled (`RewriteEngine off') in per-server context.
7580 [Ralf S. Engelschall] PR#1431
7582 *) Fix bug introduced in 1.3b4-dev, config with no Port setting would cause
7583 server to bind to port 0 rather than 80. [Dean Gaudet]
7585 *) Fix long-standing problem with RewriteMap _programs_ under Unix derivates
7586 (like SunOS and FreeBSD) which don't accept the locking of pipes
7587 directly. A new directive RewriteLock is introduced which can be used to
7588 setup a separate locking file which then is used for synchronization.
7589 [Ralf S. Engelschall] PR#1029
7591 *) WIN32: The server root is obtained from the registry key
7592 HKLM\SOFTWARE\Apache Group\Apache\<version> (version is currently
7593 "1.3 beta"), unless overridden by the -d command line flag. The
7594 value is stored by running "apache -i -d serverroot". [Paul Sutton]
7596 *) Merged os/win32/mod_dll.c into modules/standard/mod_so.c to support
7597 dynamic loading on Win32 and Unix via the same module. [Paul Sutton]
7599 *) Now mod_rewrite no longer makes problematic assumptions on the characters
7600 a username can contain when trying to expand it via /etc/passwd.
7601 [Ralf S. Engelschall]
7603 *) The mod_setenvif BrowserMatch backwards compatibility command did not
7604 work properly with spaces in the regex. [Ronald Tschalaer] PR#1825
7606 *) Add new RewriteMap types: First, `rnd' which is equivalent to the `txt'
7607 type but with a special post-processing for the looked-up value: It
7608 parses it into alternatives according to `|' chars and then only one
7609 particular alternative is chosen randomly (this is an essential
7610 functionality needed for balancing between backend-servers when using
7611 Apache as a Reverse Proxy. The looked up value here is a list of
7612 servers). Second, `int' with the built-in maps named `tolower' and
7613 `toupper' which can be used to map URL parts to a fixed case (this is an
7614 essential feature to fix the case of server names when doing mass
7615 virtual-hosting with the help of mod_rewrite instead of using
7616 <VirtualHost> sections). [Ralf S. Engelschall, parts based on code from
7617 Jay Soffian <jay@cimedia.com>] PR#1631
7619 *) Add a new directive to mod_proxy similar to ProxyPass: `ProxyPassReverse'.
7620 This directive lets Apache adjust the URL in Location-headers on HTTP
7621 redirect responses sent by the remote server. This way the virtually
7622 mapped area is no longer left on redirects and thus by-passed which is
7623 especially essential when running Apache as a reverse proxy.
7624 [Ralf S. Engelschall]
7626 *) Hide Proxy-Authorization from CGI/SSI/etc just like Authorization is
7627 hidden. [Alvaro Martinez Echevarria]
7629 *) Apache will, when started with the -X (single process) debugging flag,
7630 honor the SIGINT or SIGQUIT signals again now. This capability got lost
7631 a while ago during OS/2 signal handling changes.
7633 *) [PORT] Work around the fact that NeXT runs on more than the
7634 m68k chips in mod_status [Scott Anguish and Timothy Luoma
7637 *) [PORT] Recognize FreeBSD versions so we can use the OS regex as well
7638 as handling unsigned-chars for FreeBSD v3 and v2 [Andrey Chernov
7639 <ache@nagual.pp.ru> and Jim] PR#1450
7641 *) Use SA_RESETHAND or SA_ONESHOT when installing the coredump handlers.
7642 In particular the handlers could trigger themselves into an infinite
7643 loop if RLimitMem was used with a small amount of memory -- too small
7644 for the signal stack frame to be set up. [Dean Gaudet]
7646 *) Fix problems with absoluteURIs introduced during 1.3b4. [Dean Gaudet,
7647 Alvaro Martinez Echevarria <alvaro@lander.es>]
7649 *) Fix multiple UserDir problem introduced during 1.3b4-dev.
7650 [Dean Gaudet] PR#1850
7652 *) ap_cpystrn() had an off-by-1 error.
7653 [Charles Fu <ccwf@klab.caltech.edu>] PR#1847
7655 *) API: As Ken suggested the check_cmd_context() function and related
7656 defines are non-static now so modules can use 'em. [Martin Kraemer]
7658 *) mod_info would occasionally produce an unpaired <tt> in its
7659 output. Fixed. [Martin Kraemer]
7661 *) By default AIX binds a process (and it's children) to a single
7662 processor. httpd children now unbind themselves from that cpu
7663 and re-bind to one selected at random via bindprocessor()
7666 *) Linux 2.0 and above implement RLIMIT_AS, RLIMIT_DATA has almost no
7667 effect. Work around it by using RLIMIT_AS for the RLimitMEM
7668 directive. [Enrik Berkhan <enrik@inka.de>] PR#1816
7670 *) mod_mime_magic error message should indicate the filename when
7671 reads fail. ["M.D.Parker" <mdpc@netcom.com>] PR#1827
7673 *) Previously Apache would permit </Files> to end <FilesMatch> (and
7674 similary for Location and Directory), now this is diagnosed as an
7675 error. Improve error messages for mismatched sections (<Files>,
7676 <FilesMatch>, <Directory>, <DirectoryMatch>, ...).
7677 [Dean Gaudet, Martin Kraemer]
7679 *) <Files> is not permitted within <Location> (because of the
7680 semantic ordering). [Dean Gaudet] PR#379
7682 *) <Files> with wildcards was broken by the change in wildcard
7683 semantics (* does not match /). To fix this, <Files> now
7684 apply only to the basename of the request filename. This
7685 fixes some other inconsistencies in <Files> semantics
7686 (such as <Files a*b> not working). [Dean Gaudet] PR#1817
7688 *) Removed bogus "dist.tar" target from Makefile.tmpl and make sure
7689 backup files are removed on "clean" target [Ralf S. Engelschall]
7691 *) PORT: Add -lm to LIBS for HPUX. [Dean Gaudet] PR#1639
7693 *) Various errors from select() and accept() in child_main() would
7694 result in an infinite loop. It seems these two tickle kernel
7695 or library bugs occasionally, and result in log spammage and
7696 a generally bad scene. Now the child exits immediately,
7697 which seems to be a good workaround.
7698 [Dean Gaudet] PR#1747, 1107, 588, 1787, 987, 588
7700 *) Cleaned up some race conditions in unix child_main during
7701 initialization. [Dean Gaudet]
7703 *) SECURITY: "UserDir /abspath" without a * in the path would allow
7704 remote users to access "/~.." and bypass access restrictions
7705 (but note /~../.. was handled properly).
7706 [Lauri Jesmin <jesmin@ut.ee>] PR#1701
7708 *) API: os_is_path_absolute() now takes a const char * instead of a char *.
7711 Changes with Apache 1.3b5
7713 *) Source file dependencies in Makefile.tmpl files throughout the
7714 source tree were updated to accurately reflect reality.
7717 *) Preserve the content encoding given by the AddEncoding directive
7718 when the client doesn't otherwise specify an encoding.
7719 [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>]
7721 *) Sort out problems with canonical filename handling happening too late.
7722 [Dean Gaudet, Ben Laurie]
7724 Changes with Apache 1.3b4
7726 *) The module structure was modified to include a *dynamic_load_handle
7727 in the STANDARD_MODULE_STUFF portion, and the MODULE_MAGIC_NUMBER
7728 has been bumped accordingly. [Paul Sutton]
7730 *) All BrowserMatch directives mentioned in
7731 htdocs/manual/known_client_problems.html are in the default
7732 configuration files. [Lars Eilebrecht]
7734 *) MiNT port update. [Jan Paul Schmidt]
7736 *) HTTP/1.1 requires x-gzip and gzip encodings be treated
7737 equivalent, similarly for x-compress and compress. Apache
7738 now ignores a leading x- when comparing encodings. It also
7739 preserves the encoding the client requests (for example if
7740 it requests x-gzip, then Apache will respond with x-gzip
7741 in the Content-Encoding header).
7742 [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>] PR#1772
7744 *) Fix a memory leak on keep-alive connections. [Igor Tatarinov]
7746 *) Added mod_so module to support dynamic loading of modules on Unix
7747 (like mod_dld for Win32). This replaces mod_dld.c. Use SharedModule
7748 instead of AddModule in Configuration to build shared modules
7749 [Sameer Parekh, Paul Sutton]
7751 *) Minor cleanups to r->finfo handling in some modules.
7754 *) Abstract read()/write() to ap_read()/ap_write().
7755 Makes it easier to add other types of IO code such as SFIO.
7758 *) API: Generalize default_port manipulations to make support of
7759 different protocols easier. [Ben Laurie, Randy Terbush]
7761 *) There are many cases where users do not want Apache to form
7762 self-referential urls using the "canonical" ServerName and Port.
7763 The new UseCanonicalName directive (default on), if set to off
7764 will cause Apache to use the client-supplied hostname and port.
7765 API: Part of this change required a change to the construct_url()
7766 prototype; and the addition of get_server_name() and
7768 [Michael Douglass <mikedoug@texas.net>, Dean Gaudet]
7769 PR#315, 459, 485, 1433
7771 *) Yet another rearrangement of the source tree.. now all the common
7772 header files are in the src/include directory. The -Imain -Iap
7773 references in Makefiles have been changed to the simpler -Iinclude
7774 instead. In addition to simplifying the build a little bit, this
7775 also makes it clear when a module is referencing something in a
7776 other than kosher manner (e.g., the proxy including mod_mime.h).
7777 Module-private header files (the proxy, mod_mime, the regex library,
7778 and mod_rewrite) have not been moved to src/include; nor have
7779 the OS-abstraction files. [Ken Coar]
7781 *) Fix a bug where r->hostname didn't have the :port stripped
7782 from it. [Dean Gaudet]
7784 *) Tweaked the headers_out table size, and the subprocess_env
7785 table size guess in rename_original_environment(). Added
7786 MAKE_TABLE_PROFILE which can help discover make_table()
7787 calls that use too small an initial guess, see alloc.c.
7790 *) Options and AllowOverride weren't properly merging in the main
7791 server setting inside vhosts (only an issue when you have no
7792 <Directory> or other section containing an Options that affects
7793 a request). Options +foo or -foo in the main_server wouldn't
7794 affect the main_server's lookup defaults. [Dean Gaudet]
7796 *) Variable 'cwd' was being used pointlessly before being set.
7799 *) r->allowed handling cleaned up in the standard modules.
7802 *) Some case-sensitivity issues cleaned up to be consistent with
7803 RFC2068. [Dean Gaudet]
7805 *) SIGURG doesn't exist everywhere.
7806 [Mark Andrew Heinrich <heinrich@tinderbox.Stanford.EDU>]
7808 *) mod_unique_id was erroneously generating a second unique id when
7809 an internal redirect occured. Such redirects occur, for example,
7810 when processing a DirectoryIndex match. [Dean Gaudet]
7812 *) API: table_add, table_merge, and table_set include implicit pstrdup()
7813 of the key and value. But in many cases this is not required
7814 because the key/value is a constant, or the value has been built
7815 by pstrcat() or other similar means. New routines table_addn,
7816 table_mergen, and table_setn have been added to the API, these
7817 routines do not pstrdup() their arguments. The core code and
7818 standard modules were changed to take advantage of these routines.
7819 The resulting server is up to 20% faster in some situations.
7821 Note that it is easy to get code subtly wrong if you pass a key/value
7822 which is in a pool other than the pool of the table. The only
7823 safe thing to do is to pass key/values which are in the pool of
7824 the table, or in one of the ancestors of the pool of the table.
7825 i.e. if the table is part of a subrequest, a value from the main
7826 request's pool is OK since the subrequest pool is a sub_pool of the
7827 main request's pool (and therefore has a lifespan at most as long as
7828 the main pool). There is debugging code which can detect improper
7829 usage, enabled by defining POOL_DEBUG. See alloc.c for more details.
7830 [Dmitry Khrustalev <dima@bog.msu.su>, Dean Gaudet]
7832 *) More mod_mime_magic cleanup: fewer syscalls; should handle "files"
7833 which don't exist on disk more gracefully; handles vhosts properly.
7834 Update documentation to reflect the code -- if there's no
7835 MimeMagicFile directive then the module is not enabled.
7838 *) PORT: Some older *nix dialects cannot automatically start scripts
7839 which begin with a #! interpreter line (the shell starts the scripts
7840 appropriately on these platforms). Apache now supports starting of
7841 "hashbang-scripts" when the NEED_HASHBANG_EMUL define is set.
7842 [Martin Kraemer, with code from peter@zeus.dialix.oz.au (Peter Wemm)
7845 *) API: "typedef array_header table" removed from alloc.h, folks should
7846 have been writing to use table as if it were an opaque type, but even
7847 some standard modules got this wrong. By changing the definition
7848 to "typedef struct table table" module authors will receive compile
7849 time warnings that they're doing the wrong thing. This change
7850 facilitates future changes with more sophisticated table
7851 structures. Specifically, module authors should be using table_elts()
7852 to get access to an array_header * for the table. [Dean Gaudet]
7854 *) API: Renamed new_connection() to avoid namespace collision with LDAP
7855 library routines. [Ken Coar, Rasmus Lerdorf]
7857 *) WIN32: mod_speling is now available on the Win32 platform.
7860 *) For clarity the following compile time definition was changed:
7862 SAFE_UNSERIALIZED_ACCEPT -> SINGLE_LISTEN_UNSERIALIZED_ACCEPT
7864 Also, for example, HAVE_MMAP would mean to use mmap() scoreboards
7865 and not be a general notice that the OS has mmap(). Now the
7866 HAVE_MMAP/SHMGET #defines strictly are informational that the
7867 OS has that method of shared memory; the type to use for
7868 the scoreboard is a seperate #define (USE_MMAP_SCOREBOARD
7869 and USE_SHMGET_SCOREBOARD). This allows outside modules to
7870 determine if shared memory is available and allows Apache
7871 to determine the best method to use for the scoreboard.
7874 *) PORT: UnixWare 2.1.2 SMP appears to require USE_FCNTL_SERIALIZED_ACCEPT,
7875 as do various earlier versions. It should be safe on all versions.
7876 Unixware 1.x appears to have the same SIGHUP bug as solaris does with
7877 the slack code. A few other cleanups for Unixware.
7878 [Tom Hughes <thh@cyberscience.com>] PR#1082, PR#1282, PR#1499, PR#1553
7880 *) PORT: A/UX can handle single-listen accepts without mutex
7881 locking, so we add SINGLE_LISTEN_UNSERIALIZED_ACCEPT. [Jim Jagielski]
7883 *) When die() happens we need to eat any request body if one exists.
7884 Otherwise we can't continue with a keepalive session. This shows up
7885 as a POST problem with MSIE 4.0, typically against pages which are
7886 authenticated. [Roy Fielding] PR#1399
7888 *) If you define SECURITY_HOLE_PASS_AUTHORIZATION then the Authorization
7889 header will be passed to CGIs. This is generally a security hole, so
7890 it's not a default. [Marc Slemko] PR#549
7892 *) Fix Y2K problem with date printing in suexec log.
7893 [Paul Eggert <eggert@twinsun.com>] PR#1343
7895 *) WIN32 deserves a pid file. [Ben Hyde]
7897 *) suexec errors now include the errno/description. [Marc Slemko] PR#1543
7899 *) PORT: OSF/1 now uses USE_FLOCK_SERIALIZED_ACCEPT to solve PR#467.
7900 The choice of flock vs. fcntl was made based on timings which showed that
7901 even on non-NFS, non-exported filesystems fcntl() was an order of
7902 magnitude slower. It also uses SINGLE_LISTEN_UNSERIALIZED_ACCEPT so
7903 that single socket users will see no difference. [Dean Gaudet] PR#467
7905 *) "File does not exist" error message was erroneously including the
7906 errno. [Marc Slemko]
7908 *) Improve the warning message generated when a client drops the
7909 connection (hits stop button, etc.) during a send. [Roy Fielding]
7911 *) Defining GPROF will disable profiling in the parent and enable it
7912 in the children. If you're profiling under Linux this is pretty much
7913 necessary because SIGPROF is lost across a fork(). [Dean Gaudet]
7915 *) htdigest and htpasswd needed slight tweaks to work on OS/2 and WIN32.
7918 *) The NeXT cc (which is gcc hacked up) doesn't appear to support some
7919 gcc functionality. Work around it.
7920 [Keith Severson <keith@sssd.navy.mil>] PR#1613
7922 *) Some linkers complain when .o files contain no functions.
7923 [Keith Severson <keith@sssd.navy.mil>] PR#1614
7925 *) Some const declarations in mod_imap.c that were added for debugging
7926 purposes caused some compilers heartburn without adding any
7927 significant value, so they've been removed. [Ken Coar]
7929 *) The src/main/*.h header files have had #ifndef wrappers added to
7930 insulate them against duplicate calls if they get included through
7931 multiple paths (e.g., in .c files as well as other .h files).
7934 *) The libap routines now have a header file for their prototypes,
7935 src/ap/ap.h, to ease their use in non-httpd applications. [Ken Coar]
7937 *) mod_autoindex with a plaintext header file would emit the <PRE>
7938 start-tag before the HTML preamble, rather than after the preamble
7939 but before the header file contents. [John Van Essen <jve@gamers.org>]
7942 *) SECURITY: Fix a possible buffer overflow in logresolve. This is
7943 only an issue on systems without a MAXDNAME define or where
7944 the resolver returns domain names longer than MAXDNAME. [Marc Slemko]
7946 *) SECURITY: Eliminate possible buffer overflow in cfg_getline, which
7947 is used to read various types of files such as htaccess and
7948 htpasswd files. [Marc Slemko]
7950 *) SECURITY: Ensure that the buffer returned by ht_time is always
7951 properly null terminated. [Marc Slemko]
7953 *) The "Connection" header could be sent back with multiple "close"
7954 tokens. Not an error, but a waste.
7955 [Ronald.Tschalaer@psi.ch] PR#1683
7957 *) mod_rewrite's RewriteLog should behave like mod_log_config, it
7958 shouldn't force hostname lookups. [Dean Gaudet] PR#1684
7960 *) "basic" auth needs a case-insensitive comparison.
7961 [Ronald.Tschalaer@psi.ch] PR#1666
7963 *) For maximum portability, the environment passed to CGIs should
7964 only contain variables whose names match the regex
7965 /[a-zA-Z][a-zA-Z0-9_]*/. This is now enforced by stamping
7966 underscores over any character outside the regex. This
7967 affects HTTP_* variables, in a way that should be backward
7968 compatible for all the standard headers; and affects variables
7969 set with SetEnv/BrowserMatch and similar directives.
7972 *) mod_speling returned incorrect HREF's when an ambigous match
7973 was found. Noticed by <robinton@amtrash.comlink.de> (Soeren Ziehe)
7974 [robinton@amtrash.comlink.de (Soeren Ziehe), Martin Kraemer]
7976 *) PORT: Apache now compiles & runs on an EBCDIC mainframe
7977 (the Siemens BS2000/OSD family) in the POSIX subsystem
7980 *) PORT: Fix problem killing children when terminating. Allow ^C
7981 to shut down the server. [Brian Havard]
7983 *) pstrdup() is implicit in calls to table_* functions, so there's
7984 no need to do it before calling. Clean up a few cases.
7985 [Marc Slemko, Dean Gaudet]
7987 *) new -C and -c command line arguments
7989 -C "directive" : process directive before reading config files
7990 -c "directive" : process directive after reading config files
7992 httpd -C "PerlModule Apache::httpd_conf"
7993 [Doug MacEachern, Martin Kraemer]
7995 *) WIN32: Fix the execution of CGIs that are scripts and called
7996 with path info that does not have an '=' in.
7997 (eg. http://server/cgi-bin/printenv?foobar)
7998 [Marc Slemko] PR#1591
8000 *) WIN32: Fix a call to os_canonical_filename so it doesn't try to
8001 mess with fake filenames. This fixes proxy caching on
8004 *) SECURITY: General mod_include cleanup, including fixing several
8005 possible buffer overflows and a possible infinite loop.
8006 [Dean Gaudet, Marc Slemko]
8008 *) SECURITY: Numerous changes to mod_imap in a general cleanup
8009 including fixing a possible buffer overflow. [Dean Gaudet]
8011 *) WIN32: overhaul of multithreading code. Shutdowns are now graceful
8012 (connections are not dropped). Code can handle graceful restarts
8013 (but there is as yet no way to signal this to Apache). Various
8014 other cleanups. [Paul Sutton]
8016 *) The aplog_error changes specific to 1.3 introduced a buffer
8017 overrun in the (now legacy) log_printf function. Fixed.
8020 *) mod_digest didn't properly deal with proxy authentication. It
8021 also lacked a case-insensitive comparision of the "Digest"
8022 token. [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>] PR#1599
8024 *) A few cleanups in mod_status for efficiency. [Dean Gaudet]
8026 *) A few cleanups in mod_info to make it thread-safe, and remove an
8027 off-by-5 bug that could hammer \0 on the stack. [Dean Gaudet]
8029 *) no2slash() was O(n^2) in the length of the input. Make it O(n).
8032 *) API: migration from strncpy() to our "enhanced" version called
8033 ap_cpystrn() for performance and functionality reasons.
8034 Located in libap.a. [Jim Jagielski]
8036 *) table_set() and table_unset() did not deal correctly with
8037 multiple occurrences of the same key.
8038 [Stephen Scheck <sscheck@infonex.net>, Ben Laurie] PR#1604
8040 *) The AuthName must now be enclosed in quotes if it is to contain
8041 spaces. [Ken Coar] PR#1195
8043 *) API: new function: ap_escape_quotes(). [Ken Coar] PR#1195
8045 *) WIN32: Work around optimiser bug that killed ISAPI in release
8046 versions. [Ben Laurie] PR#1533
8048 *) PORT: Update the MPE port [Mark Bixby, Jim Jagielski]
8050 *) Interim (slow) fix for p->sub_pool critical sections in
8051 alloc.c (affects win32 only). [Ben Hyde]
8053 *) non-WIN32 was missing destroy_mutex definition. [Ben Hyde]
8055 *) send_fd_length() did not calculate total_bytes_sent properly.
8056 [Ben Reser <breser@regnow.com>] PR#1366
8058 *) The bputc() macro was not properly integrated with the chunking
8059 code; in many cases modules using bputc() could cause completely
8060 bogus chunked output. (Typically this will show up as problems
8061 with Internet Explorer 4.0 reading a page, but other browsers
8062 having no problem.) [Dean Gaudet]
8064 *) Create LARGE_WRITE_THRESHOLD define which determines how many
8065 bytes have to be supplied to bwrite() before it will consider
8066 doing a writev() to assemble multiple buffers in one system
8067 call. This is critical for modules such as mod_include,
8068 mod_autoindex, mod_php3 which all use bputc()/bputs() of smaller
8069 strings in some cases. The result would be extra effort
8070 setting up writev(), and in many cases extra effort building
8071 chunks. The default is 31, it can be overriden at compile
8074 *) Move the gid switching code into the child so that log files
8075 and pid files are opened with the root gid.
8076 [Gregory A Lundberg <lundberg@vr.net>]
8078 *) WIN32: Check for binaries by looking for the executable header
8079 instead of counting control characters.
8080 [Jim Patterson <Jim.Patterson@Cognos.COM>] PR#1340
8082 *) ap_snprintf() moved from main/util_snprintf.c to ap/ap_snprintf.c
8083 so the functionality is available to applications other than the
8084 server itself (like the src/support tools). [Ken Coar]
8086 *) ap_slack() moved out of main/util.c into ap/ap_slack.c as part of
8087 the libap consolidation work. [Ken Coar]
8089 *) ap_snprintf() with a len of 0 behaved like sprintf(). This is not
8090 useful, and isn't what the standards require. Now it returns 0
8091 and writes nothing. [Dean Gaudet]
8093 *) When an error occurs in fcntl() locking suggest the user look up
8094 the docs for LockFile. [Dean Gaudet]
8096 *) Eliminate some dead code from writev_it_all().
8097 [Igor Tatarinov <tatarino@prairie.NoDak.edu>]
8099 *) mod_autoindex had an fread() without checking the result code.
8100 It also wouldn't handle "AddIconByType (TXT,/icons/text.gif text/*"
8101 (note the missing closing paren) properly. [Dean Gaudet]
8103 *) It appears the "257th byte" bug (see
8104 htdocs/manual/misc/known_client_problems.html#257th-byte) can happen
8105 at the 256th byte as well. Fixed. [Dean Gaudet]
8107 *) PORT: Fix mod_mime_magic under OS/2, no support for block devices.
8110 *) Fix memory corruption caused by allocating auth usernames in the
8111 wrong pool. [Dean Gaudet] PR#1500
8113 *) Fix an off-by-1, and an unterminated string error in
8114 mod_mime_magic. [Dean Gaudet]
8116 *) Fix a potential SEGV problem in mod_negotiation when dealing
8117 with type-maps. [Dean Gaudet]
8119 *) Better glibc support under Linux. [Dean Gaudet] PR#1542
8121 *) "RedirectMatch gone /" would cause a SIGSEGV. [Dean Gaudet] PR#1319
8123 *) WIN32: avoid overflows during file canonicalisations.
8124 [malcolm@mgdev.demon.co.uk] PR#1378
8126 *) WIN32: set_file_slot() didn't detect absolute paths. [Ben Laurie]
8129 *) WIN32: mod_status display header didn't match fields. [Ben Laurie]
8131 *) The pthread_mutex_* functions return an error code, and don't
8132 set errno. [Igor Tatarinov <tatarino@prairie.NoDak.edu>]
8134 *) WIN32: Allow spaces to prefix the interpreter in #! lines.
8135 [Ben Laurie] PR#1101
8137 *) WIN32: Cure file leak in CGIs. [Peter Tillemans <pti@net4all.be>] PR#1523
8139 *) proxy_ftp: the directory listings generated by the proxy ftp module
8140 now have a title in which the path components are clickable and allow
8141 quick navigation to the clicked-on directory on the currently listed
8142 ftp server. This also fixes a bug where the ".." directory links would
8143 sometimes refer to the wrong directory. [Martin Kraemer]
8145 *) WIN32: Allocate the correct amount of memory for the scoreboard.
8148 *) WIN32: Only lowercase the part of the path that is real. [Ben Laurie]
8151 *) Fix problems with timeouts in inetd mode and -X mode. [Dean Gaudet]
8153 *) Fix the spurious "(0)unknown error: mmap_handler: mmap failed"
8154 error messages. [Ben Hyde]
8156 Changes with Apache 1.3b3
8158 *) WIN32: Work around brain-damaged spawn calls that can't deal
8159 with spaces and slashes. [Ben Laurie]
8161 *) WIN32: Fix the code so CGIs can use socket calls on Windows.
8162 The problem was that certain undocumented environment variables
8163 needed for sockets to work under Win32 were not being passed.
8164 [Frank Faubert <frank@sane.com>]
8166 *) Add a "-V" command line flag to the httpd binary. This
8167 flag shows some of the defines that Apache was compiled with.
8168 It is useful for debugging purposes. [Martin Kraemer]
8170 *) Start separating the ap_*() routines into their own library, so they
8171 can be used by items in src/support among other things.
8172 [Ken Coar] PR#512, 905, 1252, 1308
8174 *) Give a more informative error when no AuthType is set.
8177 *) Remove strtoul() use from mod_proxy because it isn't available
8178 on all platforms. [Marc Slemko] PR#1214
8180 *) WIN32: Some Win32 systems terminated all responses after 16 kB.
8181 This turns out to be a bug in Winsock - select() doesn't always
8182 return the correct status. [Ben Laurie]
8184 *) Directives owned by http_core can now use the new check_cmd_context()
8185 routine to ensure that they're not being used within a container
8186 (e.g., <Directory>) where they're invalid. [Martin Kraemer]
8188 *) PORT: Recent changes made it necessary to add explicit prototype
8189 for fgetc() and fgets() on SunOS 4.x. [Martin Kraemer, Ben Hyde]
8191 *) It was necessary to distinguish between resources which are
8192 allocated in the parent, for cleanup in the parent, and resources
8193 which are allocated in each child, for cleanup in each child.
8194 A new pool was created which is passed to the module child_init
8195 and child_exit functions; modules are free to register per-child
8196 cleanups there. This fixes a bug with reliable piped logs.
8199 *) mod_autoindex wasn't displaying the ReadmeName file at the bottom
8200 unless it was also doing FancyIndexes, but it displayed the
8201 HeaderName file at the top under all circumstances. It now shows
8202 the ReadmeName file for simple indices, too, as it should.
8205 *) http_core was mmap()ing even in cases where it wasn't going to
8206 read the file. [Ben Hyde <bhyde@gensym.com>]
8208 *) Complete rewrite ;-) of mod_rewrite's URL rewriting engine:
8209 Now the rewriting engine (the heart of mod_rewrite) is organized more
8210 straight-forward, first time well documented and reduced to the really
8211 essential parts. All redundant cases were stripped off and processing now
8212 is the same for both per-server and per-directory context with only a
8213 minimum difference (the prefix stripping in per-dir context). As a
8214 side-effect some subtle restrictions and two recently discovered problems
8215 are gone: Wrong escaping of QUERY_STRING on redirects in per-directory
8216 context and restrictions on the substitution URL on redirects.
8217 Additionally some minor source cleanups were done.
8218 [Ralf S. Engelschall]
8220 *) Lars Eilebrecht wrote a whole new set of Apache Vhost Internals
8221 documentation, examples, explanations and caveats. They live in a new
8222 subdirectory htdocs/manual/vhost/. [Lars Eilebrecht <sfx@unix-ag.org>]
8224 *) If ap_slack fails to allocate above the low slack line it's a good
8225 indication that further problems will occur; it's a better indication
8226 than many external libraries give us when we actually run out of
8227 descriptors. So report it to the user once per restart.
8228 [Dean Gaudet] PR#1181
8230 *) Change mod_include and mod_autoindex to use Y2K-safe date formats
8231 by default. [Ken Coar]
8233 *) Add a "SuppressColumnSorting" option to the IndexOptions list,
8234 which will keep the column heading from being links for sorting
8235 the display. [Ken Coar, suggested by Brian Tiemann <btman@pacific.net>]
8238 *) PORT: Update the LynxOS port. [Marius Groeger <mag@sysgo.de>]
8240 *) Fix logic error when issuing a mmap() failed message
8241 with a non-zero MMAP_THRESHOLD.
8242 [David Chambers <davidc@flosun.salk.edu>] PR#1294
8244 *) Preserve handler value on ProxyPass'ed requests by not
8245 calling find_types on a proxy'd request; fixes problems
8246 where some ProxyPass'ed URLs weren't actually passed
8248 [Lars Eilebrecht] PR#870
8250 *) Fix a byte ordering problem in mod_access which prevented
8251 the old-style syntax (i.e. "a.b.c." to match a class C)
8252 from working properly. [Dean Gaudet] PR#1248, 1328, 1384
8254 *) Fix problem with USE_FLOCK_SERIALIZED_ACCEPT not working
8255 properly. Each child needs to open the lockfile instead
8256 of using the passed file-descriptor from the parent.
8257 [Jim Jagielski] PR#1056
8259 *) Fix the error logging in mod_cgi; the recent error log changes
8260 introduced a bug that prevented it from working correctly.
8261 [M.D.Parker] PR#1352
8263 *) Default to USE_FCNTL_SERIALIZED_ACCEPT on HPUX to properly
8264 handle multiple Listen directives. [Marc Slemko] PR#872
8266 *) Inherit a bugfix to fnmatch.c from FreeBSD sources.
8267 ["[KOI8-R] áÎÄÒÅÊ þÅÒÎÏ×" <ache@nagual.pp.ru>] PR#1311
8269 *) When a configuration parse complained about a bad directive,
8270 the logger would use whatever (unrelated) value was in errno.
8271 errno is now forced to EINVAL first in this case. [Ken Coar]
8273 *) A sed command in the Configure script pushed the edge of POSIXness,
8274 breaking on some systems. [Bhaba R.Misra <system@vt.edu>] PR#1368
8276 *) Solaris >= 2.5 was totally broken due to a mess up using pthread
8277 mutexes. [Roy Fielding, Dean Gaudet]
8279 *) OS/2 Port updated; it should be possible to build OS/2 from the same
8280 sources as Unix now. [Brian Havard <brianh@kheldar.apana.org.au>]
8282 *) Fix a year formatting bug in mod_usertrack.
8283 [Paul Eggert <eggert@twinsun.com>] PR#1342
8285 *) A mild SIGTERM/SIGALRM race condition was eliminated.
8286 [Dean Gaudet] PR#1211
8288 *) Warn user that default path has changed if /usr/local/etc/httpd
8289 is found on the system. [Lars Eilebrecht]
8291 *) Various mod_mime_magic bug fixes and cleanups: Uncompression
8292 should work, it should work on WIN32, and a few resource
8293 leaks and abort conditions are fixed.
8294 [Dean Gaudet] PR#1205
8296 *) PORT: On AIX 1.x files can't be named '@', fix the proxy cache
8297 to use '%' instead of '@' in its encodings.
8298 [David Schuler <schuld@btv.ibm.com>] PR#1317
8300 *) Improve the warning message generated when the "server is busy".
8301 [Dean Gaudet] PR#1293
8303 *) PORT: All ports which don't otherwise define DEF_WANTHSREGEX will
8304 get Spencer regex by default. This is to avoid having to
8305 discover bugs in operating system libraries. [Dean Gaudet]
8307 *) PORT: "Fix" PR#467 by generating warnings on systems which we have
8308 not been able to get working USE_*_SERIALIZED_ACCEPT settings for.
8309 Document this a bit more in src/PORTING. [Dean Gaudet] PR#467
8311 *) Ensure that one copy of config warnings makes it to the
8312 error_log. [Dean Gaudet]
8314 *) Invent new structure and associated methods to handle config file
8315 reading. Add "custom" hook to use config file cfg_getline() on
8316 something which is not a FILE* [Martin Kraemer]
8318 *) Make single-exe Windows install. [Ben Laurie and Eric Esselink]
8320 *) WIN32: Make CGI work under Win95. [Ben Laurie and Paul Sutton]
8322 *) WIN32: Make index.html and friends work under Win95. [Ben Laurie]
8324 *) PORT: Solaris 2.4 needs Spencer regex, the system regex is broken.
8325 [John Line <jml4@cam.ac.uk>] PR#1321
8327 *) Default pathname has been changed everywhere to /usr/local/apache
8328 [Sameer <sameer@c2.net>]
8330 *) PORT: AIX now uses USE_FCNTL_SERIALIZED_ACCEPT.
8331 [David Bronder <David-Bronder@uiowa.edu>] PR#849
8333 *) PORT: i386 AIX does not have memmove.
8334 [David Schuler <schuld@btv.ibm.com>] PR#1267
8336 *) PORT: HPUX now defaults to using Spencer regex.
8337 [Philippe Vanhaesendonck <pvanhaes@be.oracle.com>,
8338 Omar Del Rio <al112263@academ01.lag.itesm.mx>] PR#482, 1246
8340 *) PORT: Some versions of NetBSD don't automatically define
8341 __NetBSD__. Workaround by defining NETBSD.
8342 [Chris Craft <ccraft@cncc.cc.co.us>] PR#977
8344 *) PORT: UnixWare 2.x requires -lgen for syslog.
8345 [Hans Snijder <hs@meganet.nl>] PR#1249
8347 *) PORT: ULTRIX appears to not have syslog.
8348 [Lars Eilebrecht <Lars.Eilebrecht@unix-ag.org>]
8350 *) PORT: Basic Gemini port (treat it like unixware212).
8351 ["Pavel Yakovlev (Paul McHacker)" <hac@tomcat.olly.ru>]
8353 *) PORT: All SVR4 systems now use NET_SIZE_T = size_t, and
8354 use USE_SHMGET_SCOREBOARD.
8357 *) Various improvements in detecting config file errors (missing closing
8358 directives for <Directory>, <Files> etc. blocks, prohibiting global
8359 server settings in <VirtualHost> blocks, flagging unhandled multiple
8360 arguments to <Directory>, <Files> etc.)
8363 *) Add support to suexec wrapper program for mod_unique_id's UNIQUE_ID
8364 variable to provide this one to suexec'd CGIs, too.
8365 [M.D.Parker <mdpc@netcom.com>] PR#1284
8367 *) New support tool: src/support/split-logfile, a sample Perl script which
8368 splits up a combined access log into separate files based on the
8369 name of the virtual host (listed first in the log records by "%v").
8372 Changes with Apache 1.3b2 (there is no 1.3b1)
8374 *) TestCompile was not passing $LIBS [Dean Gaudet]
8376 *) Makefile.tmpl was not using $CFLAGS in the link phase.
8379 *) Add debugging code to alloc.c. Defining ALLOC_DEBUG provides a
8380 rudimentary memory debugger which can be used on live servers with
8381 low impact -- it sets all allocated and freed memory bytes to 0xa5.
8382 Defining ALLOC_USE_MALLOC will cause the alloc code to use malloc()
8383 and free() for each object. This is far more expensive and should
8384 only be used for testing with tools such as Electric Fence and
8385 Purify. See main/alloc.c for more details. [Dean Gaudet]
8387 *) Configure uses a sh trap and didn't set its exitcode properly.
8388 [Dean Gaudet] PR#1159
8390 *) Yet another vhost revamp. Add the NameVirtualHost directive which
8391 explicitly lists the ip:port pairs that are to be used for name-vhosts.
8392 From a given ip:port, regardless what the Host: header is, you can
8393 only reach the vhosts defined on that ip:port. The precedence of
8394 vhosts was reversed to match other precedences in the config --
8395 the earlier vhosts override the later vhosts. All vhost matching was
8396 moved into http_vhost.[ch]. [Dean Gaudet]
8398 *) ap_inline can be used to force inlining. GNUC __attribute__() can
8399 be used for whatever reason is appropriate (i.e. format() warnings
8400 for printf style functions). Both are enabled only with
8401 gcc >= 2.7.x (so that we have fewer support issues with older
8402 versions). [Dean Gaudet]
8404 *) Fix support for Proxy Authentication (we were testing the response
8405 status too early). [Marc Slemko]
8407 *) CoreDumpDirectory directive directs where the core file is
8408 written when a SIGSEGV, SIGBUS, SIGABORT or SIGABRT are
8409 received. [Marc Slemko, Dean Gaudet]
8411 *) PORT: Support for Atari MINT.
8412 [Jan Paul Schmidt <Jan.P.Schmidt@mni.fh-giessen.de>]
8414 *) When booting, apache will now detach itself from stdin, stdout,
8415 and stderr. stderr will not be detached until after the config
8416 files have been read so you will be able to see initial error
8417 messages. After that all errors are logged in the error_log.
8418 This makes it more convenient to start apache via rsh, ssh,
8419 or crontabs. [Dean Gaudet] PR#523
8421 *) mod_proxy was sending HTTP/1.1 responses to ftp requests by mistake.
8422 Also removed the auto-generated link to www.apache.org that was the
8423 source of so many misdirected bug reports. [Roy Fielding, Marc Slemko]
8425 *) send_fb would not detect aborted connections in some situations.
8428 *) mod_include would use uninitialized data when parsing certain
8429 expressions involving && and ||. [Brian Slesinsky] PR#1139
8431 *) mod_imap should only handle GET methods. [Jay Bloodworth]
8433 *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
8435 *) mod_autoindex improperly counted &escapes; as more than one
8436 character in the description. It also improperly truncated
8437 descriptions that were exactly the maximum length.
8440 *) RedirectMatch was not properly escaping the result (PR#1155). Also
8441 "RedirectMatch /advertiser/(.*) $1" is now permitted.
8444 *) mod_include now uses symbolic names to check for request success
8445 and return HTTP errors, and correctly handles all types of
8446 redirections (previously it only did temporary redirect correctly).
8447 [Ken Coar, Roy Fielding]
8449 *) mod_userdir was modifying r->finfo in cases where it wasn't setting
8450 r->filename. Since those two are meant to be in sync with each other
8451 this is a bug. ["Paul B. Henson" <henson@intranet.csupomona.edu>]
8453 *) PORT: Support Unisys SVR4, whose uname returns mostly useless data.
8454 ["Kaufman, Steven E" <Steven.Kaufman@unisys.com>]
8456 *) Inetd mode (which is buggy) uses timeouts without having setup the
8457 jmpbuffer. [Dean Gaudet] PR#1064
8459 *) Work around problem under Linux where a child will start looping
8460 reporting a select error over and over.
8461 [Rick Franchuk <rickf@transpect.net>] PR#1107, 987, 588
8463 *) Fixed error in proxy_util.c when looping through multiple host IP
8464 addresses. [Lars Eilebrecht] PR#974
8466 *) If BUFFERED_LOGS is defined then mod_log_config will do atomic
8467 buffered writes -- that is, it will buffer up to PIPE_BUF (i.e. 4k)
8468 bytes before writing, but it will never split a log entry across a
8469 buffer boundary. [Dean Gaudet]
8471 *) API: the short_score record has been split into two pieces, one which
8472 the parent writes on, and one which the child writes on. As part of
8473 this change the get_scoreboard_info() function was removed, and
8474 scoreboard_image was exported. This change fixes a race condition
8475 in file based scoreboard systems, and speeds up changes involving the
8476 scoreboard in earlier 1.3 development. [Dean Gaudet]
8478 *) API: New register_other_child() API (see http_main.h) which allows
8479 modules to register children with the parent for maintenance. It
8480 is disabled by defining NO_OTHER_CHILD. [Dean Gaudet]
8482 *) API: New piped_log API (see http_log.h) which implements piped logs,
8483 and will use register_other_child to implement reliable piped logs
8484 when it is available. The reliable piped logs part can be disabled
8485 by defining NO_RELIABLE_PIPED_LOGS. At the moment reliable piped
8486 logs is only available on Unix. [Dean Gaudet]
8488 *) API: set_last_modified() broken into set_last_modified(), set_etag(), and
8489 meets_conditions(). This allows conditional HTTP selection to be
8490 handled separately from the storing of the header fields, and provides
8491 the ability for CGIs to set their own ETags for conditional checking.
8492 [Ken Coar, Roy Fielding] PR#895
8494 *) Changes to mod_log_config to allow naming of format strings.
8495 Format nicknames are defined with "LogFormat fmt nickname", and can
8496 be used with "LogFormat nickname" and "CustomLog logtarget nickname".
8499 *) New module, "mod_speling", which can help find files even when
8500 the URL is slightly misspelled. [Martin Kraemer, Alexei Kosut]
8502 *) API: New function child_terminate() triggers the child process to
8503 exit, while allowing the child finish what it needs to for the
8504 current request first.
8505 [Doug MacEachern, Alexei Kosut]
8507 *) Windows now defaults to using full status reports with mod_status.
8508 [Alexei Kosut] PR #1094
8510 *) *Really* disable all mod_rewrite operations if the engine is off.
8511 Some things (like RewriteMaps) were checked/performed even if they
8512 weren't supposed to be. [Ken Coar] PR #991
8514 *) Implement a new timer scheme which eliminates the need to call alarm() all
8515 the time. Instead a counter in the scoreboard for each child is used to
8516 show when the child has made forward progress. The parent samples this
8517 counter every scoreboard maintenance cycle, and issues SIGALRM if no
8518 progress has been made in the timeout period. This reduces the static
8519 request best-case syscall count to 22 from 29. This scheme is only
8520 used by systems with memory-based scoreboards. [Dean Gaudet]
8522 *) The proxy now properly handles CONNECT requests which are sent
8523 to proxy servers when using ProxyRemote. [Marc Slemko] PR#1024
8525 *) A script called apachectl has been added to the support
8526 directory. This script allows you to do things such as
8527 "apachectl start" and "apachectl restart" from the command
8530 *) Modules and core routines are now put into libraries, which
8531 simplifies the link line tremendously (among other advantages).
8534 *) Some of the MD5 names defined in Apache have been renamed to have
8535 an `ap_' prefix to avoid conflicts with routines supplied by
8536 external libraries. [Ken Coar]
8538 *) Removal of mod_auth_msql.c from the distribution. There are many
8539 other options for databases today. Rather than offer one option,
8540 offer none at this time. mod_auth_msql and other SQL database
8541 authentication modules can be found at the Apache Module Registry.
8542 http://modules.apache.org/ It would be nice to offer a generic
8543 mod_auth_sql option in the near future.
8545 *) PORT: BeOS support added [Alexei Kosut]
8547 *) Configure no longer accepts the -make option, since it creates
8548 Makefile on the fly based on Makefile.tmpl and Configuration.
8550 *) Apache now gracefully shuts down when it receives a SIGTERM, instead
8551 of forcibly killing off all its processes and exiting without
8552 cleaning up. [Alexei Kosut]
8554 *) API: A new field in the request_rec, r->mtime, has been added to
8555 avoid gratuitous parsing of date strings. It is intended to hold
8556 the last-modified date of the resource (if applicable). An
8557 update_mtime() routine has also been added to advance it if
8558 appropriate. [Roy Fielding, Ken Coar]
8560 *) SECURITY: If a htaccess file can not be read due to bad permissions,
8561 deny access to the directory with a HTTP_FORBIDDEN. The previous
8562 behavior was to ignore the htaccess file if it could not be read.
8563 This change may make some setups with unreadable htaccess files
8564 stop working. [Marc Slemko] PR#817
8566 *) Add aplog_error() providing a mechanism to define levels of
8567 verbosity to the server error logging. This addition also provides
8568 the ability to log errors using syslogd. Error logging is configurable
8569 on a per-server basis using the LogLevel directive. Conversion
8570 of log_*() in progress. [Randy Terbush]
8572 *) Further enhance aplog_error() to not log filename, line number, and
8573 errno information when it isn't applicable. [Ken Coar, Dean Gaudet]
8575 *) WIN32: Canonicalise filenames under Win32. Short filenames are
8576 converted to long ones. Backslashes are converted to forward
8577 slashes. Case is converted to lower. Parts of URLs that do not
8578 correspond to files are left completely alone. [Ben Laurie]
8580 *) PORT: 2 new OSs added to the list of ports:
8581 Encore's UMAX V: Arieh Markel <amarkel@encore.com>
8582 Acorn RISCiX: Stephen Borrill <sborrill@xemplar.co.uk>
8584 *) Add the server version (SERVER_VERSION macro) to the "server
8585 configured and running" entry in the error_log. Also build an
8586 object file at link-time that contains the current time
8587 (SERVER_BUILT global const char[]), and include that in the
8590 *) Set r->headers_out when sending responses from the proxy.
8591 This fixes things such as the logging of headers sent from
8592 the proxy. [Marc Slemko] PR#659
8594 *) support/httpd_monitor is no longer distributed because the
8595 scoreboard should not be file based if at all possible. Use
8596 mod_status to see current server snapshot.
8598 *) (set_file_slot): New function, allowing auth directives to be
8599 independent of the server root, so the server documents can be
8600 moved to a different directory or machine more easily.
8601 [David J. MacKenzie]
8603 *) If no TransferLog is given explicitly, decline
8604 to log. This supports coexistence with other logging modules,
8605 such as the custom one that UUNET uses. [David J. MacKenzie]
8607 *) Check for titles in server-parsed HTML files.
8608 Ignore leading newlines and returns in titles. The old behavior
8609 of replacing a newline after <title> with a space causes the
8610 title to be misaligned in the listing. [David J. MacKenzie]
8612 *) Change mod_cern_meta to be configurable on a per-directory basis.
8613 [David J. MacKenzie]
8615 *) Add 'Include' directive to allow inclusion of configuration
8616 files within configuration files. [Randy Terbush]
8618 *) Proxy errors on connect() are logged to the error_log (nothing
8619 new); now they include the IP address and port that failed
8620 (*that's* new). [Ken Coar, Marc Slemko] PR#352
8622 *) Various architectures now define USE_MMAP_FILES which causes
8623 the server to use mmap() for static files. There are two
8624 compile-time tunables MMAP_THRESHOLD (minimum number of bytes
8625 required to use mmap(), default is 0), and MMAP_SEGMENT_SIZE (maximum
8626 number of bytes written in one cycle from a single mmap()d object,
8627 default 32768). [Dean Gaudet]
8629 *) API: Added post_read_request API phase which is run right after reading
8630 the request from a client, or right after an internal redirect. It is
8631 useful for modules setting environment variables that depend only on
8632 the headers/contents of the request. It does not run during subrequests
8633 because subrequests inherit pretty much everything from the main
8634 request. [Dean Gaudet]
8636 *) Added mod_unique_id which is used to generate a unique identifier for
8637 each hit, available in the environment variable UNIQUE_ID.
8640 *) init_modules is now called after the error logs have been opened. This
8641 allows modules to emit information messages into the error logs.
8644 *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
8645 information for case where proxy module is not available. [Marc Slemko]
8647 *) PORT: Apache has need for mutexes to serialize its children around
8648 accept. In prior versions either fcntl file locking or flock file
8649 locking were used. The method is chosen by the definition of
8650 USE_xxx_SERIALIZED_ACCEPT in conf.h. xxx is FCNTL for fcntl(),
8651 and FLOCK for flock(). New options have been added:
8652 - SYSVSEM to use System V style semaphores
8653 - PTHREAD to use POSIX threads (appears to work on Solaris only)
8654 - USLOCK to use IRIX uslock
8655 Based on timing various techniques, the following changes were made
8657 - Linux 2.x uses flock instead of fcntl
8658 - Solaris 2.x uses pthreads
8659 - IRIX uses SysV semaphores -- however multiprocessor IRIX boxes
8660 work far faster if you -DUSE_USLOCK_SERIALIZED_ACCEPT
8661 [Dean Gaudet, Pierre-Yves Kerembellec <Pierre-Yves.Kerembellec@vtcom.fr>,
8662 Martijn Koster <m.koster@pobox.com>]
8664 *) PORT: The semantics of accept/select make it very desirable to use
8665 mutexes to serialize accept when multiple Listens are in use. But
8666 in the case where only a single socket is open it is sometimes
8667 redundant to serialize accept(). Not all unixes do a good job with
8668 potentially dozens of children blocked on accept() on the same
8669 socket. It's now possible to define SINGLE_LISTEN_UNSERIALIZED_ACCEPT and
8670 the server will avoid serialization when listening on only one socket,
8671 and use serialization when listening on multiple sockets.
8672 [Dean Gaudet] PR#467
8674 *) Configure changes: TestLib replaced by TestCompile, which has
8675 some additional capability (such as doing a sanity check of
8676 the compiler and flags selected); the version of Solaris is now
8677 available via the #define value of SOLARIS2; IRIX n32bit libs
8678 now supported and selectable by new Configuration Rule: IRIXN32;
8679 We no longer default to -O2 optimization. [Jim Jagielski]
8681 *) Updated Configure: Configuration now uses AddModule to specify
8682 module source or binary file location, relative to src directory.
8683 Modules can be dropped into modules/extra, or in their own
8684 directory, and modules can come with a Makefile or Configure can
8685 create one. Modules can add compiler or library information to
8686 generated Makefiles. [Paul Sutton]
8688 *) Source core re-organisation: distributed modules are now in
8689 modules/standard. All other source code is in main. OS-specific
8690 code is in os/{unix,emx,win32} directories. [Paul Sutton]
8692 *) mod_browser has been removed, since it's replaced by mod_setenvif.
8695 *) Fix another long-standing bug in sub_req_lookup_file where it would
8696 happily skip past access checks on subdirectories looked up with
8697 relative paths. (It's used by mod_dir, mod_negotiation,
8698 and mod_include.) [Dean Gaudet]
8700 *) directory_walk optimization to reduce an O(N*M) loop to O(N+M) where
8701 N is the number of <Directory> sections, and M is the number of
8702 components in the filename of an object.
8704 To achieve this optimization the following config changes were made:
8705 - Wildcards (* and ?, not the regex forms) in <Directory>s,
8706 <Files>s, and <Location>s now treat a slash as a special
8707 character. For example "/home/*/public_html" previously would
8708 match "/home/a/andrew/public_html", now it only matches things
8709 like "/home/bob/public_html". This mimics /bin/sh behaviour.
8710 - It's possible now to use [] wildcarding in <Directory>, <Files>
8712 - Regex <Directory>s are applied after all non-regex <Directory>s.
8716 *) Fix a bug introduced in 1.3a1 directory_walk regarding .htaccess files
8717 and corrupted paths. [Dean Gaudet]
8719 *) Enhanced and cleaned up the URL rewriting engine of mod_rewrite:
8720 First the grouped parts of RewriteRule pattern matches (parenthesis!) can
8721 be accessed now via backreferences $1..$9 in RewriteConds test-against
8722 strings in addition to RewriteRules subst string. Second the grouped
8723 parts of RewriteCond pattern matches (parenthesis!) can be accessed now
8724 via backreferences %1..%9 both in following RewriteCond test-against
8725 strings and RewriteRules subst string. This provides maximum flexibility
8726 through the use of backreferences.
8727 Additionally the rewriting engine was cleaned up by putting common
8728 code to the new expand_backrefs_inbuffer() function.
8729 [Ralf S. Engelschall]
8731 *) When merging the main server's <Directory> and <Location> sections into
8732 a vhost, put the main server's first and the vhost's second. Otherwise
8733 the vhost can't override the main server. [Dean Gaudet] PR#717
8735 *) The <Directory> code would merge and re-merge the same section after
8736 a match was found, possibly causing problems with some modules.
8739 *) ip-based vhosts are stored and queried using a hashing function, which
8740 has been shown to improve performance on servers with many ip-vhosts.
8741 Some other changes had to be made to accommodate this:
8742 - the * address for vhosts now behaves like _default_
8743 - the matching process now is:
8744 - match an ip-vhost directly via hash (possibly matches main
8746 - if that fails, just pretend it matched the main server
8747 - if so far only the main server has been matched, perform
8748 name-based lookups (ServerName, ServerAlias, ServerPath)
8749 *only on name-based vhosts*
8750 - if they fail, look for _default_ vhosts
8751 [Dean Gaudet, Dave Hankins <dhankins@sugarat.net>]
8753 *) dbmmanage overhaul:
8754 - merge dbmmanage and dbmmanage.new functionality, remove dbmmanage.new
8755 - tie() to AnyDBM_File which will use one of DB_File, NDBM_File or
8756 GDBM_File (-ldb, -lndbm, -lgdbm) (trying each in that order)
8757 - provide better seed for rand
8758 - prompt for password as per getpass(3) (turn off echo, read from
8760 - use "newstyle" crypt based on $Config{osname} ($^O)
8761 - will not add a user if already in database, use new `update' command
8763 - added `check' command to check a users' password
8764 - added `import' command to convert existing password text-files or
8765 dbm files exported with `view'
8766 - more descriptive usage, general cleanup, 'use strict' clean, etc.
8769 *) Added psocket() which is a pool form of socket(), various places within
8770 the proxy weren't properly blocking alarms while registering the cleanup
8771 for its sockets. bclose() now uses pclose() and pclosesocket(). There
8772 was a bug where the client socket was being close()d twice due a still
8773 registered cleanup. [Dean Gaudet]
8775 *) A few cleanups were made to reduce time(), getpid(), and signal() calls.
8778 *) PORT: AIX >= 4.2 requires -lm due to libc changes.
8779 [Jason Venner <jason@idiom.com>] PR#667
8781 *) Enable ``=""'' for RewriteCond directives to match against
8782 the empty string. This is the preferred way instead of ``^$''.
8783 [Ralf S. Engelschall]
8785 *) Fixed an infinite loop in mod_imap for references above the server root
8786 [Dean Gaudet] PR#748
8788 *) mod_proxy now has a ReceiveBufferSize directive, similar to
8789 SendBufferSize, so that the TCP window can be set appropriately
8790 for LFNs. [Phillip A. Prindeville]
8792 *) mod_browser has been replaced by the more general mod_setenvif
8793 (courtesy of Paul Sutton). BrowserMatch* directives are still
8794 available, but are now joined by SetEnvIf*, UnSetEnvIf*, and
8795 UnSetEnvIfZero directives. [Ken Coar]
8797 *) "HostnameLookups double" forces double-reverse DNS to succeed in
8798 order for remote_host to be set (for logging, or for the env var
8799 REMOTE_HOST). The old define MAXIMUM_DNS has been deprecated.
8802 *) mod_access overhaul:
8803 - Now understands network/netmask syntax (i.e. 10.1.0.0/255.255.0.0)
8804 and cidr syntax (i.e. 10.1.0.0/16). PR#762
8805 - Critical path was sped up by pre-computing a few things at config time.
8806 - The undocumented syntax "allow user-agents" was removed,
8807 the replacement is "allow from env=foobar" combined with mod_browser.
8808 - When used with hostnames it now forces a double-reverse lookup
8809 no matter what the directory settings are. This double-reverse
8810 doesn't affect any of the other routines that use the remote
8811 hostname. In particular it's still passed to CGIs and the log
8812 without the double-reverse check. Related PR#860.
8815 *) When a large bwrite() occurs (larger than the internal buffer size),
8816 while there is already something in the buffer, apache will combine
8817 the large write and the buffer into a single writev(). (This is
8818 in anticipation of using mmap() for reading files.)
8821 *) In obscure cases where a partial socket write occurred while chunking,
8822 Apache would omit the chunk header/footer on the next block. Cleaned
8823 up other bugs/inconsistencies in error conditions in buff.c. Fixed
8824 a bug where a long pause in DNS lookups could cause the last packet
8825 of a response to be unduly delayed. [Roy Fielding, Dean Gaudet]
8827 *) API: Added child_exit function to module structure. This is called
8828 once per "heavy-weight process" just before a server child exit()'s
8829 e.g. when max_requests_per_child is reached, etc.
8830 [Doug MacEachern, Dean Gaudet]
8832 *) mod_include cleanup showed that handle_else was being used to handle
8833 endif. It didn't cause problems, but it was cleaned up too.
8836 *) mod_cern_meta would attempt to find meta files for the directory itself
8837 in some cases, but not in others. It now avoids it in all cases.
8840 *) mod_mime_magic would core dump if there was a decompression error.
8841 [Martin Kraemer <Martin.Kraemer@mch.sni.de>] PR#904
8843 *) PORT: some variants of DGUX require -lsocket -lnsl
8844 [Alexander L Jones <alex@systems-options.co.uk>] PR#732
8846 *) mod_autoindex now allows sorting of FancyIndexed directory listings
8847 by the various fields (name, size, et cetera), either in ascending
8848 or descending order. Just click on the column header. [Ken Coar]
8850 *) PORT: Various tweaks to eliminate pointer-int casting warnings on 64-bit
8851 CPUs like the Alpha. Apache still stores ints in pointers, but that's
8852 the relatively safe direction. [Dean Gaudet] PR#344
8854 *) PORT: QNX mmap() support for faster/more reliable scoreboard handling.
8855 [Igor N Kovalenko <infoh@mail.wplus.net>] PR#683
8857 *) child_main avoids an unneeded call to select() when there is only one
8858 listening socket. [Dean Gaudet]
8860 *) In the event that the server is starved for idle servers it will
8861 spawn 1, then 2, then 4, ..., then 32 servers each second,
8862 doubling each second. It'll also give a warning in the errorlog
8863 since the most common reason for this is a poor StartServers
8864 setting. The define MAX_SPAWN_RATE can be used to raise/lower
8865 the maximum. [Dean Gaudet]
8867 *) Apache now provides an effectively unbuffered connection for
8868 CGI scripts. This means that data will be sent to the client
8869 as soon as the CGI pauses or stops output; previously, Apache would
8870 buffer the output up to a fixed buffer size before sending, which
8871 could result in the user viewing an empty page until the CGI finished
8872 or output a complete buffer. It is no longer necessary to use an
8873 "nph-" CGI to get unbuffered output. Given that most CGIs are written
8874 in a language that by default does buffering (e.g. perl) this
8875 shouldn't have a detrimental effect on performance.
8877 "nph-" CGIs, which formerly provided a direct socket to the client
8878 without any server post-processing, were not fully compatible with
8879 HTTP/1.1 or SSL support. As such they would have had to implement
8880 the transport details, such as encryption or chunking, in order
8881 to work properly in certain situations. Now, the only difference
8882 between nph and non-nph scripts is "non-parsed headers".
8883 [Dean Gaudet, Sameer Parekh, Roy Fielding]
8885 *) If a BUFF is switched from buffered to unbuffered reading the first
8886 bread() will return whatever remained in the buffer prior to the
8887 switch. [Dean Gaudet]
8889 Changes with Apache 1.3a1
8891 *) Added another Configure helper script: TestLib. It determines
8892 if a specified library exists. [Jim Jagielski]
8894 *) PORT: Allow for use of n32bit libraries under IRIX 6.x
8895 [derived from patch from Jeff Hayes <jhayes@aw.sgi.com>]
8898 *) PORT: Some architectures use size_t for various lengths in network
8899 functions such as accept(), and getsockname(). The definition
8900 NET_SIZE_T is used to control this. [Dean Gaudet]
8902 *) PORT: Linux: Attempt to detect glibc based systems and include crypt.h
8903 and -lcrypt. Test for various db libraries (dbm, ndbm, db) when
8904 mod_auth_dbm or mod_auth_db are included. [Dean Gaudet]
8906 *) PORT: QNX doesn't have initgroups() which support/suexec.c uses.
8907 [Igor N Kovalenko <infoh@mail.wplus.net>]
8909 *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
8910 begin with. "nokeepalive" now works for HTTP/1.1 clients. Added
8911 "downgrade-1.0" which causes Apache to pretend it received a 1.0.
8912 [Dean Gaudet] related PR#875
8914 *) API: Correct child_init() slot declaration from int to void, to
8915 match the init() declaration. Update mod_example to use the new
8918 *) added transport handle slot (t_handle) to the BUFF structure
8921 *) get_client_block() returns wrong length if policy is
8922 REQUEST_CHUNKED_DECHUNK.
8923 [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#815
8925 *) Support the image map format of FrontPage. For example:
8926 rect /url.hrm 10 20 30 40
8927 ["Chris O'Byrne" <obyrne@iol.ie>] PR#807
8929 *) PORT: -lresolv and -lsocks were in the wrong order for Solaris.
8930 ["Darren O'Shaughnessy" <darren@aaii.oz.au>] PR#846
8932 *) AddModuleInfo directive for mod_info which allows you to annotate
8933 the output of mod_info. ["Lou D. Langholtz" <ldl@usi.utah.edu>]
8935 *) Added NoProxy directive to avoid using ProxyRemote for selected
8936 addresses. Added ProxyDomain directive to cause unqualified
8937 names to be qualified by redirection.
8938 [Martin Kraemer <Martin.Kraemer@mch.sni.de>]
8940 *) Support Proxy Authentication, and don't pass the Proxy-Authorize
8941 header to the remote host in the proxy. [Sameer Parekh and
8944 *) Upgraded mod_rewrite from 3.0.6+ to latest officially available version
8945 3.0.9. This upgrade includes: fixed deadlooping on rewriting to same
8946 URLs, fixed rewritelog(), fixed forced response code handling on
8947 redirects from within .htaccess files, disabled pipe locking under
8948 braindead SunOS 4.1.x, allow env variables to be set even on rules with
8949 no substitution, bugfixed situations where HostnameLookups is off, made
8950 mod_rewrite more thread-safe for NT port and fixed problem when creating
8951 an empty query string via "xxx?".
8952 This update also removes the copyright of Ralf S. Engelschall,
8953 i.e. now mod_rewrite no longer has a shared copyright. Instead is is
8954 exclusively copyrighted by the Apache Group now. This happened because
8955 the author now has gifted mod_rewrite exclusively to the Apache Group and
8956 no longer maintains an external version.
8957 [Ralf S. Engelschall]
8959 *) API: Added child_init function to module structure. This is called
8960 once per "heavy-weight process" before any requests are handled.
8961 See http_config.h for more details. [Dean Gaudet]
8963 *) Anonymous_LogEmail was logging on each subrequest.
8964 [Dean Gaudet] PR#421, 868
8966 *) API: Added is_initial_req() which tests if the request being
8967 processed is the initial request, or a subrequest.
8970 *) Extended SSI (mod_include) now handles additional relops for
8971 string comparisons (<, >, <=, and >=). [Bruno Wolff III] PR#41
8973 *) Configure fixed to correctly propagate user-selected options and
8974 settings (such as CC and OPTIM) to Makefiles other than
8975 src/Makefile (notably support/Makefile). [Ken Coar] PR#666, #834
8977 *) IndexOptions SuppressHTMLPreamble now causes the actual HTML of
8978 directory indices to start with the contents of the HeaderName file
8979 if there is one. If there isn't one, the behaviour is unchanged.
8980 [Ken Coar, Roy Fielding, Andrey A. Chernov]
8982 *) WIN32: Modules can now be dynamically loaded DLLs using the
8983 LoadModule/LoadFile directives. Note that module DLLs must be
8984 compiled with the multithreaded DLL version of the runtime library.
8985 [Alexei Kosut and Ben Laurie]
8987 *) Automatic indexing removed from mod_dir and placed into mod_autoindex.
8988 This allows the admin to completely remove automatic indexing
8989 from the server, while still supporting the basic functions of
8990 trailing-slash redirects and DirectoryIndex files. Note that if
8991 you're carrying over an old Configuration file and you use directory
8992 indexing then you'll want to add:
8994 Module autoindex_module mod_autoindex.o
8996 before mod_dir in your Configuration. [Dean Gaudet]
8998 *) popendir/pclosedir created to properly protect directory scanning.
8999 [Dean Gaudet] PR#525
9001 *) AliasMatch, ScriptAliasMatch and RedirectMatch directives added,
9002 giving regex support to mod_alias. <DirectoryMatch>, <LocationMatch>
9003 and <FilesMatch> sections added to succeed <DirectoryMatch ~>, etc...
9006 *) The AccessFileName directive can now take more than one filename.
9007 ["Lou D. Langholtz" <ldl@usi.utah.edu>]
9009 *) The new mod_mime_magic can be used to "magically" determine the type
9010 of a file if the extension is unknown. Based on the unix file(1)
9011 command. [Ian Kluft <ikluft@cisco.com>]
9013 *) We now determine and display the time spent processing a
9014 request if desired. [Jim Jagielski]
9016 *) mod_status: PID field of "dead" child slots no longer displays
9017 main httpd process's PID. [Jim Jagielski]
9019 *) Makefile.nt added - to build all the bits from the command line:
9020 nmake -f Makefile.nt
9021 Doesn't yet work properly. [Ben Laurie]
9023 *) Default text of 404 error is now "Not Found" rather than the
9024 potentially misleading "File Not Found". [Ken Coar]
9026 *) CONFIG: "HostnameLookups" now defaults to off because it is far better
9027 for the net if we require people that actually need this data to
9028 enable it. [Linus Torvalds]
9030 *) directory_walk() is an expensive function, keep a little more state to
9031 avoid needless string counting. Add two new functions make_dirstr_parent
9032 and make_dirstr_prefix which replace all existing uses of make_dirstr.
9033 The new functions are a little less general than make_dirstr, but
9034 work more efficiently (less memory, less string counting).
9037 *) EXTRA_LFLAGS was changed to EXTRA_LDFLAGS (and LFLAGS was changed
9038 to LDFLAGS) to avoid complications with lex rules in make files.
9039 [Dean Gaudet] PR#372
9041 *) run_method optimized to avoid needless scanning over NULLs in the
9042 module list. [Dean Gaudet]
9044 *) Revamp of (unix) scoreboard management code such that it avoids
9045 unnecessary traversals of the scoreboard on each hit. This is
9046 particularly important for high volume sites with a large
9047 HARD_SERVER_LIMIT. Some of the previous operations were O(n^2),
9048 and are now O(n). See also SCOREBOARD_MAINTENANCE_INTERVAL in
9049 httpd.h. [Dean Gaudet]
9051 *) In configurations using multiple Listen statements it was possible for
9052 busy sockets to starve other sockets of service. [Dean Gaudet]
9054 *) Added hook so standalone_main can be replaced at compile time
9055 (define STANDALONE_MAIN)
9058 *) Lowest-level read/write functions in buff.c will be replaced with
9059 the SFIO library calls sfread/sfwrite if B_SFIO is defined at
9060 compile time. The default sfio discipline will behave as apache
9061 would without sfio compiled in.
9064 *) Enhance UserDir directive (mod_userdir) to accept a list of
9065 usernames for the 'disable' keyword, and add 'enable user...' to
9066 selectively *en*able userdirs if they're globally disabled.
9069 *) If NETSCAPE_DBM_COMPAT is defined in EXTRA_CFLAGS then Apache
9070 will work with Netscape dbm files. (dbmmanage will probably not
9071 work however.) [Alexander Spohr <aspohr@netmatic.com>] PR#444
9073 *) Add a ListenBacklog directive to control the backlog parameter
9074 passed to listen(). Also change the default to 511 from 512.
9077 *) API: A new handler response DONE which informs apache that the
9078 request has been handled and it can finish off quickly, similar to
9079 how it handles errors. [Rob Hartill]
9081 *) Turn off chunked encoding after sending terminating chunk/footer
9082 so that we can't do it twice by accident. [Roy Fielding]
9084 *) mod_expire also issues Cache-Control: max-age headers.
9087 *) API: Added kill_only_once option for free_proc_chain so that it won't
9088 aggressively try to kill off specific children. For fastcgi.
9089 [Stanley Gambarin <gambarin@OpenMarket.com>]
9091 *) mod_auth deals with extra ':' delimited fields. [Marc Slemko]
9093 *) Added IconHeight and IconWidth to mod_dir's IndexOptions directive.
9094 When used together, these cause mod_dir to emit HEIGHT and WIDTH
9095 attributes in the FancyIndexing IMG tags. [Ken Coar]
9097 *) PORT: Sequent and SONY NEWS-OS support added. [Jim Jagielski]
9099 *) PORT: Added Windows NT support
9100 [Ben Laurie and Ambarish Malpani <ambarish@valicert.com>]
9102 Changes with Apache 1.2.6
9104 *) mod_include when using XBitHack Full would send ETags in addition to
9105 sending Last-Modifieds. This is incorrect HTTP/1.1 behaviour.
9106 [Dean Gaudet] PR#1133
9108 *) SECURITY: When a client connects to a particular port/addr, and
9109 gives a Host: header ensure that the virtual host requested can
9110 actually be reached via that port/addr. [Ed Korthof <ed@organic.com>]
9112 *) Support virtual hosts with wildcard port and/or multiple ports
9113 properly. [Ed Korthof <ed@organic.com>]
9115 *) Fixed some case-sensitivity issues according to RFC2068.
9118 *) Set r->allowed properly in mod_asis.c, mod_dir.c, mod_info.c,
9119 and mod_include.c. [Dean Gaudet]
9121 *) Variable 'cwd' was being used pointlessly before being set.
9124 *) SIGURG doesn't exist on all platforms.
9125 [Mark Andrew Heinrich <heinrich@tinderbox.Stanford.EDU>]
9127 *) When an error occurs during a POST, or other operation with a
9128 request body, the body has to be read from the net before allowing
9129 a keepalive session to continue. [Roy Fielding] PR#1399
9131 *) When an error occurs in fcntl() locking suggest the user look up
9132 the docs for LockFile. [Dean Gaudet]
9134 *) table_set() and table_unset() did not deal correctly with
9135 multiple occurrences of the same key. [Stephen Scheck
9136 <sscheck@infonex.net>, Ben Laurie] PR#1604
9138 *) send_fd_length() did not calculate total_bytes_sent properly in error
9139 cases. [Ben Reser <breser@regnow.com>] PR#1366
9141 *) r->connection->user was allocated in the wrong pool causing corruption
9142 in some cases when used with mod_cern_meta. [Dean Gaudet] PR#1500
9144 *) mod_proxy was sending HTTP/1.1 responses to ftp requests by mistake.
9145 Also removed the auto-generated link to www.apache.org that was the
9146 source of so many misdirected bug reports. [Roy Fielding, Marc Slemko]
9148 *) Multiple "close" tokens may have been set in the "Connection"
9149 header, not an error, but a waste.
9150 [Ronald.Tschalaer@psi.ch] PR#1683
9152 *) "basic" and "digest" auth tokens should be tested case-insensitive.
9153 [Ronald.Tschalaer@psi.ch] PR#1599, PR#1666
9155 *) It appears the "257th byte" bug (see
9156 htdocs/manual/misc/known_client_problems.html#257th-byte) can happen
9157 at the 256th byte as well. Fixed. [Dean Gaudet]
9159 *) mod_rewrite would not handle %3f properly in some situations.
9162 *) Apache could generate improperly chunked HTTP/1.1 responses when
9163 the bputc() or rputc() functions were used by modules (such as
9164 mod_include). [Dean Gaudet]
9166 *) #ifdef wrap a few #defines in httpd.h to make life easier on
9167 some ports. [Ralf Engelschall]
9169 *) Fix MPE compilation error in mod_usertrack.c. [Mark Bixby]
9171 *) Quote CC='$(CC)' to improve recurse make calls. [Martin Kraemer]
9173 *) Avoid B_ERROR redeclaration on sysvr4 systems. [Martin Kraemer]
9175 Changes with Apache 1.2.5
9177 *) SECURITY: Fix a possible buffer overflow in logresolve. This is
9178 only an issue on systems without a MAXDNAME define or where
9179 the resolver returns domain names longer than MAXDNAME. [Marc Slemko]
9181 *) Fix an improper length in an ap_snprintf call in proxy_date_canon().
9184 *) Fix core dump in the ftp proxy when reading incorrectly formatted
9185 directory listings. [Marc Slemko]
9187 *) SECURITY: Fix possible minor buffer overflow in the proxy cache.
9190 *) SECURITY: Eliminate possible buffer overflow in cfg_getline, which
9191 is used to read various types of files such as htaccess and
9192 htpasswd files. [Marc Slemko]
9194 *) SECURITY: Ensure that the buffer returned by ht_time is always
9195 properly null terminated. [Marc Slemko]
9197 *) SECURITY: General mod_include cleanup, including fixing several
9198 possible buffer overflows and a possible infinite loop. This cleanup
9199 was done against 1.3 code and then backported to 1.2, the result
9200 is a large difference (due to indentation cleanup in 1.3 code).
9201 Users interested in seeing a smaller set of relevant differences
9202 should consider comparing against src/modules/standard/mod_include.c
9203 from the 1.3b3 release. Non-indentation changes to mod_include
9204 between 1.2 and 1.3 were minimal. [Dean Gaudet, Marc Slemko]
9206 *) SECURITY: Numerous changes to mod_imap in a general cleanup
9207 including fixing a possible buffer overflow. This cleanup also
9208 was done with 1.3 code as a basis, see the the previous note
9209 about mod_include. [Dean Gaudet]
9211 *) SECURITY: If a htaccess file can not be read due to bad
9212 permissions, deny access to the directory with a HTTP_FORBIDDEN.
9213 The previous behavior was to ignore the htaccess file if it could not
9214 be read. This change may make some setups with unreadable
9215 htaccess files stop working. PR#817 [Marc Slemko]
9217 *) SECURITY: no2slash() was O(n^2) in the length of the input.
9218 Make it O(n). This inefficiency could be used to mount a denial
9219 of service attack against the Apache server. Thanks to
9220 Michal Zalewski <lcamtuf@boss.staszic.waw.pl> for reporting
9223 *) mod_include used uninitialized data for some uses of && and ||.
9224 [Brian Slesinsky <bslesins@wired.com>] PR#1139
9226 *) mod_imap should decline all non-GET methods.
9227 [Jay Bloodworth <jay@pathways.sde.state.sc.us>]
9229 *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
9231 *) mod_userdir was modifying r->finfo in cases where it wasn't setting
9232 r->filename. Since those two are meant to be in sync with each other
9233 this is a bug. ["Paul B. Henson" <henson@intranet.csupomona.edu>]
9235 *) mod_include did not properly handle all possible redirects from sub-
9236 requests. [Ken Coar]
9238 *) Inetd mode (which is buggy) uses timeouts without having setup the
9239 jmpbuffer. [Dean Gaudet] PR#1064
9241 *) Work around problem under Linux where a child will start looping
9242 reporting a select error over and over.
9243 [Rick Franchuk <rickf@transpect.net>] PR#1107
9245 Changes with Apache 1.2.4
9247 *) The ProxyRemote change in 1.2.3 introduced a bug resulting in the proxy
9248 always making requests with the full-URI instead of just the URI path.
9249 [Marc Slemko, Roy Fielding]
9251 *) Add -lm for AIX versions >= 4.2 to allow Apache to link properly
9252 on this platform. [Marc Slemko]
9254 Changes with Apache 1.2.3
9256 *) The request to a remote proxy was mangled if it was generated as the
9257 result of a ProxyPass directive. URL schemes other than http:// were not
9258 supported when ProxyRemote was used. PR#260, PR#656, PR#699, PR#713,
9259 PR#812 [Lars Eilebrecht]
9261 *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
9262 information for case where proxy module is not available. [Marc Slemko]
9264 *) Force proxy to always respond as HTTP/1.0, which it was failing to
9265 do for errors and cached responses. [Roy Fielding]
9267 *) PORT: Improved support for ConvexOS 11. [Jeff Venters]
9269 Changes with Apache 1.2.2 [not released]
9271 *) Fixed another long-standing bug in sub_req_lookup_file where it would
9272 happily skip past access checks on subdirectories looked up with relative
9273 paths. (It's used by mod_dir, mod_negotiation, and mod_include.)
9276 *) Add lockfile name to error message printed out when
9277 USE_FLOCK_SERIALIZED_ACCEPT is defined.
9280 *) Enhanced the chunking and error handling inside the buffer functions.
9281 [Dean Gaudet, Roy Fielding]
9283 *) When merging the main server's <Directory> and <Location> sections into
9284 a vhost, put the main server's first and the vhost's second. Otherwise
9285 the vhost can't override the main server. [Dean Gaudet] PR#717
9287 *) The <Directory> code would merge and re-merge the same section after
9288 a match was found, possibly causing problems with some modules.
9291 *) Fixed an infinite loop in mod_imap for references above the server root.
9292 [Dean Gaudet] PR#748
9294 *) mod_include cleanup showed that handle_else was being used to handle
9295 endif. It didn't cause problems, but it was cleaned up too.
9298 *) Last official synchronization of mod_rewrite with author version (because
9299 mod_rewrite is now directly developed by the author at the Apache Group):
9300 o added diff between mod_rewrite 3.0.6+ and 3.0.9
9301 minus WIN32/NT stuff, but plus copyright removement.
9303 - workaround for detecting infinite rewriting loops
9304 - fixed setting of env vars when "-" is used as subst string
9305 - fixed forced response code on redirects (PR#777)
9306 - fixed cases where r->args is ""
9307 - kludge to disable locking on pipes under braindead SunOS
9308 - fix for rewritelog in cases where remote hostname is unknown
9309 - fixed totally damaged request_rec walk-back loop
9310 o remove static from local data and add static to global ones.
9311 o replaced ugly proxy finding stuff by simple
9312 find_linked_module("mod_proxy") call.
9313 o added missing negation char on rewritelog()
9314 o fixed a few comment typos
9315 [Ralf S. Engelschall]
9317 *) Anonymous_LogEmail was logging on each subrequest.
9318 [Dean Gaudet] PR#421, PR#868
9320 *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
9321 begin with. "nokeepalive" now works for HTTP/1.1 clients. Added
9322 "downgrade-1.0" which causes Apache to pretend it received a 1.0.
9323 Additionally mod_browser now triggers during translate_name to workaround
9324 a deficiency in the header_parse phase.
9325 [Dean Gaudet] PR#875
9327 *) get_client_block() returns wrong length if policy is
9328 REQUEST_CHUNKED_DECHUNK.
9329 [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#815
9331 *) Properly treat <files> container like other containers in mod_info.
9332 [Marc Slemko] PR#848
9334 *) The proxy didn't treat the "Host:" keyword of the host header as case-
9335 insensitive. The proxy would corrupt the first line of a response from
9336 an HTTP/0.9 server. [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#813,814
9338 *) mod_include would log some bogus values occasionally.
9339 [Skip Montanaro <skip@calendar.com>, Marc Slemko] PR#797
9341 *) PORT: The slack fd changes in 1.2.1 introduced a problem with SIGHUP
9342 under Solaris 2.x (up through 2.5.1). It has been fixed.
9343 [Dean Gaudet] PR#832
9345 *) API: In HTTP/1.1, whether or not a request message contains a body
9346 is independent of the request method and based solely on the presence
9347 of a Content-Length or Transfer-Encoding. Therefore, our default
9348 handlers need to be prepared to read a body even if they don't know
9349 what to do with it; otherwise, the body would be mistaken for the
9350 next request on a persistent connection. discard_request_body()
9351 has been added to take care of that. [Roy Fielding] PR#378
9353 *) API: Symbol APACHE_RELEASE provides a numeric form of the Apache
9354 release version number, such that it always increases along the
9355 same lines as our source code branching. [Roy Fielding]
9357 *) Minor oversight on multiple variants fixed. [Paul Sutton] PR#94
9359 Changes with Apache 1.2.1
9361 *) SECURITY: Don't serve file system objects unless they are plain files,
9362 symlinks, or directories. This prevents local users from using pipes
9363 or named sockets to invoke programs for an extremely crude form of
9366 *) SECURITY: HeaderName and ReadmeName were settable in .htaccess and
9367 could contain "../" allowing a local user to "publish" any file on
9368 the system. No slashes are allowed now. [Dean Gaudet]
9370 *) SECURITY: It was possible to violate the symlink Options using mod_dir
9371 (headers, readmes, titles), mod_negotiation (type maps), or
9372 mod_cern_meta (meta files). [Dean Gaudet]
9374 *) SECURITY: Apache will refuse to run as "User root" unless
9375 BIG_SECURITY_HOLE is defined at compile time. [Dean Gaudet]
9377 *) CONFIG: If a symlink pointed to a directory then it would be disallowed
9378 if it contained a .htaccess disallowing symlinks. This is contrary
9379 to the rule that symlink permissions are tested with the symlink
9380 options of the parent directory. [Dean Gaudet] PR#353
9382 *) CONFIG: The LockFile directive can be used to place the serializing
9383 lockfile in any location. It previously defaulted to /usr/tmp/htlock.
9384 [Somehow it took four of us: Randy Terbush, Jim Jagielski, Dean Gaudet,
9387 *) Request processing now retains state of whether or not the request
9388 body has been read, so that internal redirects and subrequests will
9389 not try to read it twice (and block). [Roy Fielding]
9391 *) Add a placeholder in modules/Makefile to avoid errors with certain
9392 makes. [Marc Slemko]
9394 *) QUERY_STRING was unescaped in mod_include, it shouldn't be.
9395 [Dean Gaudet] PR#644
9397 *) mod_include was not properly changing the current directory.
9398 [Marc Slemko] PR#742
9400 *) Attempt to work around problems with third party libraries that do not
9401 handle high numbered descriptors (examples include bind, and
9402 solaris libc). On all systems apache attempts to keep all permanent
9403 descriptors above 15 (called the low slack line). Solaris users
9404 can also benefit from adding -DHIGH_SLACK_LINE=256 to EXTRA_CFLAGS
9405 which keeps all non-FILE * descriptors above 255. On all systems
9406 this should make supporting large numbers of vhosts with many open
9407 log files more feasible. If this causes trouble please report it,
9408 you can disable this workaround by adding -DNO_SLACK to EXTRA_CFLAGS.
9409 [Dean Gaudet] various PRs
9411 *) Related to the last entry, network sockets are now opened before
9412 log files are opened. The only known case where this can cause
9413 problems is under Solaris with many virtualhosts and many Listen
9414 directives. But using -DHIGH_SLACK_LINE=256 described above will
9415 work around this problem. [Dean Gaudet]
9417 *) USE_FLOCK_SERIALIZED_ACCEPT is now default for FreeBSD, A/UX, and
9420 *) Improved unix error response logging. [Marc Slemko]
9422 *) Update mod_rewrite from 3.0.5 to 3.0.6. New ruleflag
9423 QSA=query_string_append. Also fixed a nasty bug in per-dir context:
9424 when a URL http://... was used in conjunction with a special
9425 redirect flag, e.g. R=permanent, the permanent status was lost.
9426 [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>, Ralf S. Engelschall]
9428 *) If an object has multiple variants that are otherwise equal Apache
9429 would prefer the last listed variant rather than the first.
9432 *) "make clean" at the top level now removes *.o. [Dean Gaudet] PR#752
9434 *) mod_status dumps core in inetd mode. [Marc Slemko and Roy Fielding]
9437 *) pregsub had an off-by-1 in its error checking code. [Alexei Kosut]
9439 *) PORT: fix rlim_t problems with AIX 4.2. [Marc Slemko] PR#333
9441 *) PORT: Update UnixWare support for 2.1.2.
9442 [Lawrence Rosenman <ler@lerctr.org>] PR#511
9444 *) PORT: NonStop-UX [Joachim Schmitz <schmitz_joachim@tandem.com>] PR#327
9446 *) PORT: Update ConvexOS support for 11.5.
9447 [David DeSimone <fox@convex.com>] PR#399
9449 *) PORT: Support for DEC cc compiler under ULTRIX.
9450 ["P. Alejandro Lopez-Valencia" <alejolo@ideam.gov.co>] PR#388
9452 *) PORT: Support for Maxion/OS SVR4.2 Real Time Unix. [no name given] PR#383
9454 *) PORT: Workaround for AIX 3.x compiler bug in http_bprintf.c.
9455 [Marc Slemko] PR#725
9457 *) PORT: fix problem compiling http_bprintf.c with gcc under SCO
9458 [Marc Slemko] PR#695
9460 Changes with Apache 1.2
9462 Changes with Apache 1.2b11
9464 *) Fixed open timestamp fd in proxy_cache.c [Chuck Murcko]
9466 *) Added undocumented perl SSI mechanism for -DUSE_PERL_SSI and mod_perl.
9467 [Doug MacEachern, Rob Hartill]
9469 *) Proxy needs to use hard_timeout instead of soft_timeout when it is
9470 reading from one buffer and writing to another, at least until it has
9471 a custom timeout handler. [Roy Fielding and Petr Lampa]
9473 *) Fixed problem on IRIX with servers hanging in IdentityCheck,
9474 apparently due to a mismatch between sigaction and setjmp.
9475 [Roy Fielding] PR#502
9477 *) Log correct status code if we timeout before receiving a request (408)
9478 or if we received a request-line that was too long to process (414).
9479 [Ed Korthof and Roy Fielding] PR#601
9481 *) Virtual hosts with the same ServerName, but on different ports, were
9482 not being selected properly. [Ed Korthof]
9484 *) Added code to return the requested IP address from proxy_host2addr()
9485 if gethostbyaddr() fails due to reverse DNS lookup problems. Original
9486 change submitted by Jozsef Hollosi <hollosi@sbcm.com>.
9487 [Chuck Murcko] PR#614
9489 *) If multiple requests on a single connection are used to retrieve
9490 data from different virtual hosts, the virtual host list would be
9491 scanned starting with the most recently used VH instead of the first,
9492 causing most virtual hosts to be ignored.
9493 [Paul Sutton and Martin Mares] PR#610
9495 *) The OS/2 handling of process group was broken by a porting patch for
9496 MPE, so restored prior code for OS/2. [Roy Fielding and Garey Smiley]
9498 *) Inherit virtual server port from main server if none (or "*") is
9499 given for VirtualHost. [Dean Gaudet] PR#576
9501 *) If the lookup for a DirectoryIndex name with content negotiation
9502 has found matching variants, but none are acceptable, return the
9503 negotiation result if there are no more DirectoryIndex names to lookup.
9504 [Petr Lampa and Roy Fielding]
9506 *) If a soft_timeout occurs after keepalive is set, then the main child
9507 loop would try to read another request even though the connection
9508 has been aborted. [Roy Fielding]
9510 *) Configure changes: Allow for whitespace at the start of a
9511 Module declaration. Also, be more understanding about the
9512 CC=/OPTIM= format in Configuration. Finally, fix compiler
9513 flags if using HP-UX's cc compiler. [Jim Jagielski]
9515 *) Subrequests and internal redirects now inherit the_request from the
9516 original request-line. [Roy Fielding]
9518 *) Test for error conditions before creating output header fields, since
9519 we don't want the error message to include those fields. Likewise,
9520 reset the content_language(s) and content_encoding of the response
9521 before generating or redirecting to an error message, since the new
9522 message will have its own Content-* definitions. [Dean Gaudet]
9524 *) Restored the semantics of headers_out (headers sent only with 200..299
9525 and 304 responses) and err_headers_out (headers sent with all responses).
9526 Avoid the overhead of copying tables if err_headers_out is empty
9527 (the usual case). [Roy Fielding]
9529 *) Fixed a couple places where a check for the default Content-Type was
9530 not properly checking both the value configured by the DefaultType
9531 directive and the DEFAULT_TYPE symbol in httpd.h. Changed the value
9532 of DEFAULT_TYPE to match the documented default (text/plain).
9533 [Dean Gaudet] PR#506
9535 *) Escape the HTML-sensitive characters in the Request-URI that is
9536 output for each child by mod_status. [Dean Gaudet and Ken Coar] PR#501
9538 *) Properly initialize the flock structures used by the mutex locking
9539 around accept() when USE_FCNTL_SERIALIZED_ACCEPT is defined.
9542 *) The method for determining PATH_INFO has been restored to the pre-1.2b
9543 (and NCSA httpd) definition wherein it was the extra path info beyond
9544 the CGI script filename. The environment variable FILEPATH_INFO has
9545 been removed, and instead we supply the original REQUEST_URI to any
9546 script that wants to be Apache-specific and needs the real URI path.
9547 This solves a problem with existing scripts that use extra path info
9548 in the ScriptAlias directive to pass options to the CGI script.
9551 *) The _default_ change in 1.2b10 will change the behaviour on configs
9552 that use multiple Listen statements for listening on multiple ports.
9553 But that change is necessary to make _default_ consistent with other
9554 forms of <VirtualHost>. It requires such configs to be modified
9555 to use <VirtualHost _default_:*>. The documentation has been
9556 updated. [Dean Gaudet] PR#530
9558 *) If an ErrorDocument CGI script is used to respond to an error
9559 generated by another CGI script which has already read the message
9560 body of the request, the server would block trying to read the
9561 message body again. [Rob Hartill]
9563 *) signal() replacement conflicted with a define on QNX (and potentially
9564 other platforms). Fixed. [Ben Laurie] PR#512
9566 Changes with Apache 1.2b10
9568 *) Allow HTTPD_ROOT, SERVER_CONFIG_FILE, DEFAULT_PATH, and SHELL_PATH
9569 to be configured via -D in Configuration. [Dean Gaudet] PR#449
9571 *) <VirtualHost _default_:portnum> didn't work properly. [Dean Gaudet]
9573 *) Added prototype for mktemp() for SUNOS4 [Marc Slemko]
9575 *) In mod_proxy.c, check return values for proxy_host2addr() when reading
9576 config, in case the hostent struct returned is trash.
9577 [Chuck Murcko] PR #491
9579 *) Fixed the fix in 1.2b9 for parsing URL query info into args for CGI
9580 scripts. [Dean Gaudet, Roy Fielding, Marc Slemko]
9582 Changes with Apache 1.2b9 [never announced]
9584 *) Reset the MODULE_MAGIC_NUMBER to account for the unsigned port
9585 changes and in anticipation of 1.2 final release. [Roy Fielding]
9587 *) Fix problem with scripts not receiving a SIGPIPE when client drops
9588 the connection (e.g., when user presses Stop). Apache will now stop
9589 trying to send a message body immediately after an error from write.
9590 [Roy Fielding and Nathan Kurz] PR#335
9592 *) Rearrange Configuration.tmpl so that mod_rewrite has higher priority
9593 than mod_alias, and mod_alias has higher priority than mod_proxy;
9594 rearranged other modules to enhance understanding of their purpose
9595 and relative order (and maybe even reduce some overhead).
9596 [Roy Fielding and Sameer Parekh]
9598 *) Fix graceful restart. Eliminate many signal-related race
9599 conditions in both forms of restart, and in SIGTERM. See
9600 htdocs/manual/stopping.html for details on stopping and
9601 restarting the parent. [Dean Gaudet]
9603 *) Fix memory leaks in mod_rewrite, mod_browser, mod_include. Tune
9604 memory allocator to avoid a behaviour that required extra blocks to
9605 be allocated. [Dean Gaudet]
9607 *) Allow suexec to access files relative to current directory but not
9608 above. (Excluding leading / or any .. directory.) [Ken Coar]
9611 *) Fix suexec segfault when group doesn't exist. [Gregory Neil Shapiro]
9612 PR#367, 368, 354, 453
9614 *) Fix the above fix: if suexec is enabled, avoid destroying r->url
9615 while obtaining the /~user and save the username in a separate data
9616 area so that it won't be overwritten by the call to getgrgid(), and
9617 fix some misuse of the pool string allocation functions. Also fixes
9618 a general problem with parsing URL query info into args for CGI scripts.
9619 [Roy Fielding] PR#339, 367, 354, 453
9621 *) Fix IRIX warning about bzero undefined. [Marc Slemko]
9623 *) Fix problem with <Directory proxy:...>. [Martin Kraemer] PR#271
9625 *) Corrected spelling of "authoritative". AuthDBAuthoratative became
9626 AuthDBAuthoritative. [Marc Slemko] PR#420
9628 *) MaxClients should be at least 1. [Lars Eilebrecht] PR#375
9630 *) The default handler now logs invalid methods or URIs (i.e. PUT on an
9631 object that can't be PUT, or FOOBAR for some method FOOBAR that
9632 apache doesn't know about at all). Log 404s that occur in mod_include.
9633 [Paul Sutton, John Van Essen]
9635 *) If a soft timeout (or lingerout) occurs while trying to flush a
9636 buffer or write inside buff.c or fread'ing from a CGI's output,
9637 then the timeout would be ignored. [Roy Fielding] PR#373
9639 *) Work around a bug in Netscape Navigator versions 2.x, 3.x and 4.0b2's
9640 parsing of headers. If the terminating empty-line CRLF occurs starting
9641 at the 256th or 257th byte of output, then Navigator will think a normal
9642 image is invalid. We are guessing that this is because their initial
9643 read of a new request uses a 256 byte buffer. We check the bytes written
9644 so far and, if we are about to tickle the bug, we instead insert a
9645 padding header of eminent bogosity. [Roy Fielding and Dean Gaudet] PR#232
9647 *) Fixed SIGSEGV problem when a DirectoryIndex file is also the source
9648 of an external redirection. [Roy Fielding and Paul Sutton]
9650 *) Configure would create a broken Makefile if the configuration file
9651 contained a commented-out Rule. [Roy Fielding]
9653 *) Promote per_dir_config and subprocess_env from the subrequest to the
9654 main request in mod_negotiation. In particular this fixes a bug
9655 where <Files> sections wouldn't properly apply to negotiated content.
9658 *) Fix a potential deadlock in mod_cgi script_err handling.
9659 [Ralf S. Engelschall]
9661 *) rotatelogs zero-pads the logfile names to improve alphabetic sorting.
9664 *) Updated mod_rewrite to 3.0.4: Fixes HTTP redirects from within
9665 .htaccess files because the RewriteBase was not replaced correctly.
9666 Updated mod_rewrite to 3.0.5: Fixes problem with rewriting inside
9667 <Directory> sections missing a trailing /. [Ralf S. Engelschall]
9669 *) Clean up Linux settings in conf.h by detecting 2.x versus 1.x. For
9670 1.x the settings are those of pre-1.2b8. For 2.x we include
9671 USE_SHMGET_SCOREBOARD (scoreboard in shared memory rather than file) and
9672 HAVE_SYS_RESOURCE_H (enable the RLimit commands).
9673 [Dean Gaudet] PR#336, PR#340
9675 *) Redirect did not preserve ?query_strings when present in the client's
9676 request. [Dean Gaudet]
9678 *) Configure was finding non-modules on EXTRA_LIBS. [Frank Cringle] PR#380
9680 *) Use /bin/sh5 on ULTRIX. [P. Alejandro Lopez-Valencia] PR#369
9682 *) Add UnixWare compile/install instructions. [Chuck Murcko]
9684 *) Add mod_example (illustration of API techniques). [Ken Coar]
9686 *) Add macro for memmove to conf.h for SUNOS4. [Marc Slemko]
9688 *) Improve handling of directories when filenames have spaces in them.
9691 *) For hosts with multiple IP addresses, try all additional addresses if
9692 necessary to get a connect. Fail only if hostent address list is
9693 exhausted. [Chuck Murcko]
9695 *) More signed/unsigned port fixes. [Dean Gaudet]
9697 *) HARD_SERVER_LIMIT can be defined in the Configuration file now.
9700 Changes with Apache 1.2b8
9702 *) suexec.c doesn't close the log file, allowing CGIs to continue writing
9703 to it. [Marc Slemko]
9705 *) The addition of <Location> and <File> directives made the
9706 sub_req_lookup_simple() function bogus, so we now handle
9707 the special cases directly. [Dean Gaudet]
9709 *) We now try to log where the server is dumping core when a fatal
9710 signal is received. [Ken Coar]
9712 *) Improved lingering_close by adding a special timeout, removing the
9713 spurious log messages, removing the nonblocking settings (they
9714 are not needed with the better timeout), and adding commentary
9715 about the NO_LINGCLOSE and USE_SO_LINGER issues. NO_LINGCLOSE is
9716 now the default for SunOS4, UnixWare, NeXT, and IRIX. [Roy Fielding]
9718 *) Send error messages about setsockopt failures to the server error
9719 log instead of stderr. [Roy Fielding]
9721 *) Fix loopholes in proxy cache expiry vis a vis alarms. [Brian Moore]
9723 *) Stopgap solution for CGI 3-second delay with server-side includes: if
9724 processing a subrequest, allocate memory from r->main->pool instead
9725 of r->pool so that we can avoid waiting for free_proc_chain to cleanup
9726 in the middle of an SSI request. [Dean Gaudet] PR #122
9728 *) Fixed status of response when POST is received for a nonexistent URL
9729 (was sending 405, now 404) and when any method is sent with a
9730 full-URI that doesn't match the server and the server is not acting
9731 as a proxy (was sending 501, now 403). [Roy Fielding]
9733 *) Host port changed to unsigned short. [Ken Coar] PR #276
9735 *) Fix typo in command definition of AuthAuthoritative. [Ken Coar] PR #246
9737 *) Defined USE_SHMGET_SCOREBOARD for shared memory on Linux. [Dean Gaudet]
9739 *) Report extra info from errno with many errors that cause httpd to exit.
9740 spawn_child, popenf, and pclosef now have valid errno returns in the
9741 event of an error. Correct problems where errno was stomped on
9742 before being reported. [Dean Gaudet]
9744 *) In the proxy, if the cache filesystem was full, garbage_coll() was
9745 never called, and thus the filesystem would remain full indefinitely.
9746 We now also remove incomplete cache files left if the origin server
9747 didn't send a Content-Length header and either the client has aborted
9748 transfer or bwrite() to client has failed. [Petr Lampa]
9750 *) Fixed the handling of module and script-added header fields.
9751 Improved the interface for sending header fields and reduced
9752 the duplication of code between sending okay responses and errors.
9753 We now always send both headers_out and err_headers_out, and
9754 ensure that the server-reserved fields are not being overridden,
9755 while not overriding those that are not reserved. [Roy Fielding]
9757 *) Moved transparent content negotiation fields to err_headers_out
9758 to reflect above changes. [Petr Lampa]
9760 *) Fixed the determination of whether or not we should make the
9761 connection persistent for all of the cases where some other part
9762 of the server has already indicated that we should not. Also
9763 improved the ordering of the test so that chunked encoding will
9764 be set whenever it is desired instead of only when KeepAlive
9765 is enabled. Added persistent connection capability for most error
9766 responses (those that do not indicate a bad input stream) when
9767 accessed by an HTTP/1.1 client. [Roy Fielding]
9769 *) Added missing timeouts for sending header fields, error responses,
9770 and the last chunk of chunked encoding, each of which could have
9771 resulted in a process being stuck in write forever. Using soft_timeout
9772 requires that the sender check for an aborted connection rather than
9773 continuing after an EINTR. Timeouts that used to be initiated before
9774 send_http_header (and never killed) are now initiated only within or
9775 around the routines that actually do the sending, and not allowed to
9776 propagate above the caller. [Roy Fielding]
9778 *) mod_auth_anon required an @ or a . in the email address, not both.
9781 *) per_dir_defaults weren't set correctly until directory_walk for
9782 name-based vhosts. This fixes an obscure bug with the wrong config
9783 info being used for vhosts that share the same ip as the server.
9786 *) Improved generation of modules/Makefile to be more generic for
9787 new module directories. [Ken Coar, Chuck Murcko, Roy Fielding]
9789 *) Generate makefile dependency for Configuration based on the actual
9790 name given when running the Configure process. [Dean Gaudet]
9792 *) Fixed problem with vhost error log not being set prior to
9793 initializing virtual hosts. [Dean Gaudet]
9795 *) Fixed infinite loop when a trailing slash is included after a type map
9796 file URL (extra path info). [Petr Lampa]
9798 *) Fixed server status updating of per-connection counters. [Roy Fielding]
9800 *) Add documentation for DNS issues (reliability and security), and try
9801 to explain the virtual host matching process. [Dean Gaudet]
9803 *) Try to continue gracefully by disabling the vhost if a DNS lookup
9804 fails while parsing the configuration file. [Dean Gaudet]
9806 *) Improved calls to setsockopt. [Roy Fielding]
9808 *) Negotiation changes: Don't output empty content-type in variant list;
9809 Output charset in variant list; Return sooner from handle_multi() if
9810 no variants found; Add handling of '*' wildcard in Accept-Charset.
9811 [Petr Lampa and Paul Sutton]
9813 *) Fixed overlaying of request/sub-request notes and headers in
9814 mod_negotiation. [Dean Gaudet]
9816 *) If two variants' charset quality are equal and one is the default
9817 charset (iso-8859-1), then prefer the variant that was specifically
9818 listed in Accept-Charset instead of the default. [Petr Lampa]
9820 *) Memory allocation problem in push_array() -- it would corrupt memory
9821 when nalloc==0. [Kai Risku <krisku@tf.hut.fi> and Roy Fielding]
9823 *) invoke_handler() doesn't handle mime arguments in content-type
9826 *) Reduced IdentityCheck timeout to 30 seconds, as per RFC 1413 minimum.
9829 *) Fixed problem with ErrorDocument not working for virtual hosts
9830 due to one of the performance changes in 1.2b7. [Dean Gaudet]
9832 *) Log an error message if we get a request header that is too long,
9833 since it may indicate a buffer overflow attack. [Marc Slemko]
9835 *) Made is_url() allow "[-.+a-zA-Z0-9]+:" as a valid scheme and
9836 not reject URLs without a double-slash, as per RFC2068 section 3.2.
9837 [Ken Coar] PR #146, #187
9839 *) Added table entry placeholder for new header_parser callback
9840 in all of the distributed modules. [Ken Coar] PR #191
9842 *) Allow for cgi files without the .EXE extension on them under OS/2.
9843 [Garey Smiley] PR #59
9845 *) Fixed error message when resource is not found and URL contains
9846 path info. [Petr Lampa and Dean Gaudet] PR #40
9848 *) Fixed user and server confusion over what should be a virtual host
9849 and what is the main server, resulting in access to something
9850 other than the name defined in the virtualhost directive (but
9851 with the same IP address) failing. [Dean Gaudet]
9853 *) Updated mod_rewrite to version 3.0.2, which: fixes compile error on
9854 AIX; improves the redirection stuff to enable the users to generally
9855 redirect to http, https, gopher and ftp; added TIME variable for
9856 RewriteCond which expands to YYYYMMDDHHMMSS strings and added the
9857 special patterns >STRING, <STRING and =STRING to RewriteCond, which
9858 can be used in conjunction with %{TIME} or other variables to create
9859 time-dependent rewriting rules. [Ralf S. Engelschall]
9861 *) bpushfd() no longer notes cleanups for the file descriptors it is handed.
9862 Module authors may need to adjust their code for proper cleanup to take
9863 place (that is, call note_cleanups_for_fd()). This change fixes problems
9864 with file descriptors being erroneously closed when the proxy module was
9865 in use. [Ben Laurie]
9867 *) Fix bug in suexec reintroduced by changes in 1.2b7 which allows
9868 initgroups() to hose the group information needed for later
9869 comparisons. [Randy Terbush]
9871 *) Remove unnecessary call to va_end() in create_argv() which
9872 caused a SEGV on some systems.
9874 *) Use proper MAXHOSTNAMELEN symbol for limiting length of server name.
9877 *) Clear memory allocated for listeners. [Randy Terbush]
9879 *) Improved handling of IP address as a virtualhost address and
9880 introduced "_default_" as a synonym for the default vhost config.
9881 [Dean Gaudet] PR #212
9883 Changes with Apache 1.2b7
9885 *) Port to UXP/DS(V20) [Toshiaki Nomura <nom@yk.fujitsu.co.jp>]
9887 *) unset Content-Length if chunked (RFC-2068) [Petr Lampa]
9889 *) mod_negotiation fixes [Petr Lampa] PR#157, PR#158, PR#159
9890 - replace protocol response numbers with symbols
9891 - save variant-list into main request notes
9892 - free allocated memory from subrequests
9893 - merge notes, headers_out and err_headers_out
9895 *) changed status check mask in proxy_http.c from "HTTP/#.# ### *" to
9896 "HTTP/#.# ###*" to be more lenient about what we accept.
9899 *) more proxy FTP bug fixes:
9900 - Changed send_dir() to remove user/passwd from displayed URL.
9901 - Changed login error messages to be more descriptive.
9902 - remove setting of SO_DEBUG socket option
9903 - Make ftp_getrc() more lenient about multiline responses,
9904 specifically, 230 responses which don't have continuation 230-
9905 on each line). These seem to be all NT FTP servers, and while
9906 perhaps questionable, they appear to be legal by RFC 959.
9907 - Add missing kill_timeout() after transfer to user completes.
9910 *) Fixed problem where a busy server could hang when restarting
9911 after being sent a SIGHUP due to child processes not exiting.
9914 *) Modify mod_include escaping so a '\' only signifies an escaped
9915 character if the next character is one that needs
9916 escaping. [Ben Laurie]
9918 *) Eliminated possible infinite loop in mod_imap when relative URLs are
9919 used with a 'base' directive that does not have a '/' in it.
9920 [Marc Slemko, reported by Onno Witvliet <onno@tc.hsa.nl>]
9922 *) Reduced the default timeout from 1200 seconds to 300, and the
9923 one in the sample configfile from 400 to 300. [Marc Slemko]
9925 *) Stop vbprintf from crashing if given a NULL string pointer;
9926 print (null) instead. [Ken Coar]
9928 *) Don't disable Nagle algorithm if system doesn't have TCP_NODELAY.
9929 [Marc Slemko and Roy Fielding]
9931 *) Fixed problem with mod_cgi-generated internal redirects trying to
9932 read the request message-body twice. [Archie Cobbs and Roy Fielding]
9934 *) Reduced timeout on lingering close, removed possibility of a blocked
9935 read causing the child to hang, and stopped logging of errors if
9936 the socket is not connected (reset by client). [Roy Fielding]
9938 *) Rearranged main child loop to remove duplication of code in
9939 select/accept and keep-alive requests, fixed several bugs regarding
9940 checking scoreboard_image for exit indication and failure to
9941 account for all success conditions and trap all error conditions,
9942 prevented multiple flushes before closing the socket; close the entire
9943 socket buffer instead of just one descriptor, prevent logging of
9944 EPROTO and ECONNABORTED on platforms where supported, and generally
9945 improved readability. [Roy Fielding]
9947 *) Extensive performance improvements. Cleaned up inefficient use of
9948 auto initializers, multiple is_matchexp calls on a static string,
9949 and excessive merging of response_code_strings. [Dean Gaudet]
9951 *) Added double-buffering to mod_include to improve performance on
9952 server-side includes. [Marc Slemko]
9954 *) Several fixes for suexec wrapper. [Randy Terbush]
9955 - Make wrapper work for files on NFS filesystem.
9956 - Fix portability problem of MAXPATHLEN.
9957 - Fix array overrun problem in clean_env().
9958 - Fix allocation of PATH environment variable
9960 *) Removed extraneous blank line is description of mod_status chars.
9963 *) Logging of errors from the call_exec routine simply went nowhere,
9964 since the logfile fd has been closed, so now we send them to stderr.
9965 [Harald T. Alvestrand]
9967 *) Fixed core dump when DocumentRoot is a CGI.
9968 [Ben Laurie, reported by geddis@tesserae.com]
9970 *) Fixed potential file descriptor leak in mod_asis; updated it and
9971 http_core to use pfopen/pfclose instead of fopen/fclose.
9972 [Randy Terbush and Roy Fielding]
9974 *) Fixed handling of unsigned ints in ap_snprintf() on some chips such
9975 as the DEC Alpha which is 64-bit but uses 32-bit ints.
9976 [Dean Gaudet and Ken Coar]
9978 *) Return a 302 response code to the client when sending a redirect
9979 due to a missing trailing '/' on a directory instead of a 301; now
9980 it is cacheable. [Markus Gyger]
9982 *) Fix condition where, if a bad directive occurs in .htaccess, and
9983 sub_request() goes first to this directory, then log_reason() will
9984 SIGSEGV because it doesn't have initialized r->per_dir_config.
9985 [PR#162 from Petr Lampa, fix by Marc Slemko and Dean Gaudet]
9987 *) Fix handling of lang_index in is_variant_better(). This was
9988 causing problems which resulted in the server sending the
9989 wrong language document in some cases. [Petr Lampa]
9991 *) Remove free() from clean_env() in suexec wrapper. This was nuking
9992 the clean environment on some systems.
9994 *) Tweak byteserving code (e.g. serving PDF files) to work around
9995 bugs in Netscape Navigator and Microsoft Internet Explorer.
9996 Emit Content-Length header when sending multipart/byteranges.
9999 *) Port to HI-UX/WE2. [Nick Maclaren]
10001 *) Port to HP MPE operating system for HP 3000 machines
10002 [Mark Bixby <markb@cccd.edu>]
10004 *) Fixed bug which caused a segmentation fault if only one argument
10005 given to RLimit* directives. [Ed Korthof]
10007 *) Continue persistent connection after 204 or 304 response. [Dean Gaudet]
10009 *) Improved buffered output to the client by delaying the flush decision
10010 until the BUFF code is actually about to read the next request.
10011 This fixes a problem introduced in 1.2b5 with clients that send
10012 an extra CRLF after a POST request. Also improved chunked output
10013 performance by combining writes using writev() and removing as
10014 many bflush() calls as possible. NOTE: Platforms without writev()
10015 must add -DNO_WRITEV to the compiler CFLAGS, either in Configuration
10016 or Configure, unless we have already done so. [Dean Gaudet]
10018 *) Fixed mod_rewrite bug which truncated the rewritten URL [Marc Slemko]
10020 *) Fixed mod_info output corruption bug introduced by buffer overflow
10021 fixes. [Dean Gaudet]
10023 *) Fixed http_protocol to correctly output all HTTP/1.1 headers, including
10024 for the special case of a 304 response. [Paul Sutton]
10026 *) Improved handling of TRACE method by bypassing normal method handling
10027 and header parsing routines; fixed Allow response to always allow TRACE.
10030 *) Fixed compiler warnings in the regex library. [Dean Gaudet]
10032 *) Cleaned-up some of the generated HTML. [Ken Coar]
10034 Changes with Apache 1.2b6
10036 *) Allow whitespace in imagemap mapfile coordinates. [Marc Slemko]
10038 *) Fix typo introduced in fix for potential infinite loop around
10039 accept() in child_main(). This change caused the rev to 1.2b6.
10040 1.2b5 was never a public beta.
10042 Changes with Apache 1.2b5
10044 *) Change KeepAlive semantics (On|Off instead of a number), add
10045 MaxKeepAliveRequests directive. [Alexei Kosut]
10047 *) Various NeXT compilation patches, as well as a change in
10048 regex/regcomp.c since that file also used a NEXT define.
10051 *) Allow * to terminate the end of a directory match in mod_dir.
10052 Allows /~* to match for both /~joe and /~joe/. [David Bronder]
10054 *) Don't call can_exec() if suexec_enabled. Calling this requires
10055 scripts executed by the suexec wrapper to be world executable, which
10056 defeats one of the advantages of running the wrapper. [Randy Terbush]
10058 *) Portability Fix: IRIX complained with 'make clean' about *pure* (removed)
10061 *) Migration from sprintf() to snprintf() to avoid buffer
10062 overflows. [Marc Slemko]
10064 *) Provide portable snprintf() implementation (ap_snprintf)
10065 as well as *cvt family. [Jim Jagielski]
10067 *) Portability Fix: NeXT lacks unistd.h so we wrap it's inclusion
10070 *) Remove mod_fastcgi.c from the distribution. This module appears
10071 to be maintained more through the Open Market channels and should
10072 continue to be easily available at http://www.fastcgi.com/
10074 *) Fixed bug in modules/Makefile that wouldn't allow building in more
10075 than one subdirectory (or cleaning, either). [Jeremy Laidman]
10077 *) mod_info assumed that the config files were relative to ServerRoot.
10080 *) CGI scripts called as an error document resulting from failed
10081 CGI execution would hang waiting for POST'ed data. [Rob Hartill]
10083 *) Log reason when mod_dir returns access HTTP_FORBIDDEN
10086 *) Properly check errno to prevent display of a directory index
10087 when server receives a long enough URL to confuse stat().
10090 *) Several security enhancements to suexec wrapper. It is _highly_
10091 recommended that previously installed versions of the wrapper
10092 be replaced with this version. [Randy Terbush, Jason Dour]
10094 - ~user execution now properly restricted to ~user's home
10095 directory and below.
10096 - execution restricted to UID/GID > 100
10097 - restrict passed environment to known variables
10098 - call setgid() before initgroups() (portability fix)
10099 - remove use of setenv() (portability fix)
10101 *) Add HTTP/1.0 response forcing. [Ben Laurie]
10103 *) Add access control via environment variables. [Ben Laurie]
10105 *) Add rflush() function. [Alexei Kosut]
10107 *) remove duplicate pcalloc() call in new_connection().
10109 *) Fix incorrect comparison which could allow number of children =
10110 MaxClients + 1 if less than HARD_SERVER_LIMIT. Also fix potential
10111 problem if StartServers > HARD_SERVER_LIMIT. [Ed Korthof]
10113 *) Updated support for OSes (MachTen, ULTRIX, Paragon, ISC, OpenBSD
10114 AIX PS/2, CONVEXOS. [Jim Jagielski]
10116 *) Replace instances of inet_ntoa() with inet_addr() for ProxyBlock.
10117 It's more portable. [Martin Kraemer]
10119 *) Replace references to make in Makefile.tmpl with $(MAKE).
10122 *) Add ProxyBlock directive w/IP address caching. Add IP address
10123 caching to NoCache directive as well. ProxyBlock works with all
10124 handlers; NoCache now also works with FTP for anonymous logins.
10125 Still more code cleanup. [Chuck Murcko]
10127 *) Add "header parse" API hook [Ben Laurie]
10129 *) Fix byte ordering problems for REMOTE_PORT [Chuck Murcko]
10131 *) suEXEC wrapper was freeing memory that had not been malloc'ed.
10133 *) Correctly allow access and auth directives in <Files> sections in
10134 server config files. [Alexei Kosut]
10136 *) Fix bug with ServerPath that could cause certain files to be not
10137 found by the server. [Alexei Kosut]
10139 *) Fix handling of ErrorDocument so that it doesn't remove a trailing
10140 double-quote from text and so that it properly checks for unsupported
10141 status codes using the new index_of_response interface. [Roy Fielding]
10143 *) Multiple fixes to the lingering_close code in order to avoid being
10144 interrupted by a stray timeout, to avoid lingering on a connection
10145 that has already been aborted or never really existed, to ensure that
10146 we stop lingering as soon as any error condition is received, and to
10147 prevent being stuck indefinitely if the read blocks. Also improves
10148 reporting of error conditions. [Marc Slemko and Roy Fielding]
10150 *) Fixed initialization of parameter structure for sigaction.
10151 [mgyger@itr.ch, Adrian Filipi-Martin]
10153 *) Fixed reinitializing the parameters before each call to accept and
10154 select, and removed potential for infinite loop in accept.
10155 [Roy Fielding, after useful PR from adrian@virginia.edu]
10157 *) Fixed condition where, if a child fails to fork, the scoreboard would
10158 continue to say SERVER_STARTING forever. Eventually, the main process
10159 would refuse to start new children because count_idle_servers() will
10160 count those SERVER_STARTING entries and will always report that there
10161 are enough idle servers. [Phillip Vandry]
10163 *) Fixed bug in bcwrite regarding failure to account for partial writes.
10164 Avoided calling bflush() when the client is pipelining requests.
10165 Removed unnecessary flushes from http_protocol. [Dean Gaudet]
10167 *) Added description of "." mode in server-status [Jim Jagielski]
10169 Changes with Apache 1.2b4
10171 *) Fix possible race condition in accept_mutex_init() that
10172 could leave a small security hole open allowing files to be
10173 overwritten in cases where the server UID has write permissions.
10176 *) Fix awk compatibilty problem in Configure. [Jim Jagielski]
10178 *) Fix portablity problem in util_script where ARG_MAX may not be
10179 defined for some systems.
10181 *) Add changes to allow compilation on Machten 4.0.3 for PowerPC.
10184 *) OS/2 changes to support an MMAP style scoreboard file and UNIX
10185 style magic #! token for better script portability. [Garey Smiley]
10187 *) Fix bug in suexec wrapper introduced in b3 that would cause failed
10188 execution for ~userdir CGI. [Jason Dour]
10190 *) Fix initgroups() business in suexec wrapper. [Jason Dour]
10192 *) Fix month off by one in suexec wrapper logging.
10194 Changes with Apache 1.2b3:
10196 *) Fix error in mod_cgi which could cause resources not to be properly
10197 freed, or worse. [Dean Gaudet]
10199 *) Fix find_string() NULL pointer dereference. [Howard Fear]
10201 *) Add set_flag_slot() at the request of Dirk and others.
10204 *) Sync mod_rewrite with patch level 10. [Ralf Engelschall]
10206 *) Add changes to improve the error message given for invalid
10207 ServerName parameters. [Dirk vanGulik]
10209 *) Add "Authoritative" directive for Auth modules that don't
10210 currently have it. This gives admin control to assign authoritative
10211 control to an authentication scheme and allow "fall through" for
10212 those authentication modules that aren't "Authoritative" thereby
10213 allowing multiple authentication mechanisms to be chained.
10216 *) Remove requirement for ResourceConfig/AccessConfig if not using
10217 the three config file layout. [Randy Terbush]
10219 *) Add PASV mode to mod_proxy FTP handler. [Chuck Murcko]
10221 *) Changes to suexec wrapper to fix the following problems:
10222 1. symlinked homedirs will kill ~userdirs.
10223 2. initgroups() on Linux 2.0.x clobbers gr->grid.
10224 3. CGI command lines paramters problems
10225 4. pw-pwdir for "docroot check" still the httpd user's pw record.
10226 [Randy Terbush, Jason Dour]
10228 *) Change create_argv() to accept variable arguments. This fixes
10229 a problem where arguments were not getting passed to the CGI via
10230 argv[] when the suexec wrapper was active. [Randy Terbush, Jake Buchholz]
10232 *) Collapse multiple slashes in path URLs to properly apply
10233 handlers defined by <Location>. [Alexei Kosut]
10235 *) Define a sane set of DEFAULT_USER and DEFAULT_GROUP values for AIX.
10237 *) Improve the accuracy of request duration timings by setting
10238 r->request_time in read_request_line() instead of read_request().
10241 *) Reset timeout while reading via get_client_block() in mod_cgi.c
10242 Fixes problem with timed out transfers of large files. [Rasmus Lerdorf]
10244 *) Add the ability to pass different Makefile.tmpl files to Configure
10245 using the -make flag. [Rob Hartill]
10247 *) Fix coredump triggered when sending a SIGHUP to the server caused
10248 by an assertion failure, in turn caused by an uninitialised field in a
10252 *) Add FILEPATH_INFO variable to CGI environment, which is equal to
10253 PATH_INFO from previous versions of Apache (in certain situations,
10254 Apache 1.2's PATH_INFO will be different than 1.1's). [Alexei Kosut]
10255 [later removed in 1.2b11]
10257 *) Add rwrite() function to API to allow for sending strings of
10258 arbitrary length. [Doug MacEachern]
10260 *) Remove rlim_t typedef for NetBSD. Do older versions need this?
10262 *) Defined rlim_t and WANTHSREGEX=yes and fixed waitpid() substitute for
10263 NeXT. [Jim Jagielski]
10265 *) Removed recent modification to promote the status code on internal
10266 redirects, since the correct fix was to change the default log format
10267 in mod_log_config so that it outputs the original status. [Rob Hartill]
10269 Changes with Apache 1.2b2:
10271 *) Update set_signals() to use sigaction() for setting handlers.
10272 This appears to fix a re-entrant problem in the seg_fault()
10273 bus_error() handlers. [Randy Terbush]
10275 *) Changes to allow mod_status compile for OS/2 [Garey Smiley]
10277 *) changes for DEC AXP running OSF/1 v3.0. [Marc Evans]
10279 *) proxy_http.c bugfixes: [Chuck Murcko]
10280 1) fixes possible NULL pointer reference w/NoCache
10281 2) fixes NoCache behavior when using ProxyRemote (ProxyRemote
10282 host would cache nothing if it was in the local domain,
10283 and the local domain was in the NoCache list)
10284 3) Adds Host: header when not available
10285 4) Some code cleanup and clarification
10287 *) mod_include.c bugfixes:
10288 1) Fixed an ommission that caused include variables to not
10289 be parsed in config errmsg directives [Howard Fear]
10290 2) Remove HAVE_POSIX_REGEX cruft [Alexei Kosut]
10291 3) Patch to fix compiler warnings [perrot@lal.in2p3.fr]
10292 4) Allow backslash-escaping to all quoted text
10293 [Ben Yoshino <ben@wiliki.eng.hawaii.edu>]
10294 5) Pass variable to command line if not set in XSSI's env
10297 *) Fix infinite loop when processing Content-language lines in
10298 type-map files. [Alexei Kosut]
10300 *) Closed file-globbing hole in test-cgi script. [Brian Behlendorf]
10302 *) Fixed problem in set_[user|group] that prevented CGI execution
10303 for non-virtualhosts when suEXEC was enabled. [Randy Terbush]
10305 *) Added PORTING information file. [Jim Jagielski]
10307 *) Added definitions for S_IWGRP and S_IWOTH to conf.h [Ben Laurie]
10309 *) Changed default group to "nogroup" instead of "nobody" [Randy Terbush]
10311 *) Fixed define typo of FCNTL_SERIALIZED_ACCEPT where
10312 USE_FCNTL_SERIALIZED_ACCEPT was intended.
10314 *) Fixed additional uses of 0xffffffff where INADDR_NONE was intended,
10315 which caused problems of systems where socket s_addr is >32bits.
10317 *) Added comment to explain (r->chunked = 1) side-effect in
10318 http_protocol.c [Roy Fielding]
10320 *) Replaced use of index() in mod_expires.c with more appropriate
10321 and portable isdigit() test. [Ben Laurie]
10323 *) Updated Configure for ...
10324 OS/2 (DEF_WANTHSREGEX=yes, other code changes)
10325 *-dg-dgux* (bad pattern match)
10326 QNX (DEF_WANTHSREGEX=yes)
10327 *-sunos4* (DEF_WANTHSREGEX=yes, -DUSEBCOPY)
10329 *-unixware211 (new)
10330 and added some user diagnostic info. [Ben Laurie]
10332 *) In helpers/CutRule, replaced "cut" invocation with "awk" invocation
10333 for better portability. [Jim Jagielski]
10335 *) Updated helpers/GuessOS for ...
10336 SCO 5 (recognize minor releases)
10337 SCO UnixWare (braindamaged uname, whatever-whatever-unixware2)
10338 SCO UnixWare 2.1.1 (requires a separate set of #defines in conf.h)
10339 IRIX64 (-sgi-irix64)
10340 ULTRIX (-unknown-ultrix)
10341 SINIX (-whatever-sysv4)
10342 NCR Unix (-ncr-sysv4)
10343 and fixed something in helpers/PrintPath [Ben Laurie]
10345 Changes with Apache 1.2b1
10347 *) Not listed. See <http://www.apache.org/docs/new_features_1_2.html>
10349 Changes with Apache 1.1.1
10351 *) Fixed bug where Cookie module would make two entries in the
10352 logfile for each access [Mark Cox]
10354 *) Fixed bug where Redirect in .htaccess files would cause memory
10355 leak. [Nathan Neulinger]
10357 *) MultiViews now works correctly with AddHandler [Alexei Kosut]
10359 *) Problems with mod_auth_msql fixed [Dirk vanGulik]
10361 *) Fix misspelling of "Anonymous_Authorative" directive in mod_auth_anon.
10363 Changes with Apache 1.1.0
10365 *) Bring NeXT support up to date. [Takaaki Matsumoto]
10367 *) Bring QNX support up to date. [Ben Laurie]
10369 *) Make virtual hosts default to main server keepalive parameters.
10370 [Alexei Kosut, Ben Laurie]
10372 *) Allow ScanHTMLTitles to work with lowercase <title> tags. [Alexei Kosut]
10374 *) Fix missing address family for connect, also remove unreachable statement
10375 in mod_proxy. [Ben Laurie]
10377 *) mod_env now turned on by default in Configuration.tmpl.
10379 *) Bugs which were fixed:
10380 a) yet more mod_proxy bugs [Ben Laurie]
10381 b) CGI works again with inetd [Alexei Kosut]
10382 c) Leading colons were stripped from passwords [osm@interguide.com]
10383 d) Another fix to multi-method Limit problem [jk@tools.de]
10385 Changes with Apache 1.1b4
10387 *) r->bytes_sent variable restored. [Robert Thau]
10389 *) Previously broken multi-method <Limit> parsing fixed. [Robert Thau]
10391 *) More possibly unsecure programs removed from the support directory.
10393 *) More mod_auth_msql authentication improvements.
10395 *) VirtualHosts based on Host: headers no longer conflict with the
10398 *) OS/2 compatibility enhancements. [Gary Smiley]
10400 *) POST now allowed to directory index CGI scripts.
10402 *) Actions now work with files of the default type.
10404 *) Bugs which were fixed:
10405 a) more mod_proxy bugs
10406 b) early termination of inetd requests
10407 c) compile warnings on several systems
10408 d) problems when scripts stop reading output early
10410 Changes with Apache 1.1b3
10412 *) Much of cgi-bin and all of cgi-src has been removed, due to
10413 various security holes found and that we could no longer support
10416 *) The "Set-Cookie" header is now special-cased to not merge multiple
10417 instances, since certain popular browsers can not handle multiple
10418 Set-Cookie instructions in a single header. [Paul Sutton]
10420 *) rprintf() added to buffer code, occurrences of sprintf removed.
10423 *) CONNECT method for proxy module, which means tunneling SSL should work.
10424 (No crypto needed) Also a NoCache config directive.
10426 *) Several API additions: pstrndup(), table_unset() and get_token()
10427 functions now available to modules.
10429 *) mod_imap fixups, in particular Location: headers are now complete
10432 *) New "info" module which reports on installed module set through a
10433 special URL, a la mod_status.
10435 *) "ServerPath" directive added - allows for graceful transition
10436 for Host:-header-based virtual hosts.
10438 *) Anonymous authentication module improvements.
10440 *) MSQL authentication module improvements.
10442 *) Status module design improved - output now table-based. [Ben Laurie]
10444 *) htdigest utility included for use with digest authentication
10447 *) mod_negotiation: Accept values with wildcards to be treated with
10448 less priority than those without wildcards at the same quality
10449 value. [Alexei Kosut]
10451 *) Bugs which were fixed:
10452 a) numerous mod_proxy bugs
10453 b) CGI early-termination bug [Ben Laurie]
10454 c) Keepalives not working with virtual hosts
10455 d) RefererIgnore problems
10456 e) closing fd's twice in mod_include (causing core dumps on
10457 Linux and elsewhere).
10459 Changes with Apache 1.1b2
10462 a) core dumps in mod_digest
10463 b) truncated hostnames/ip address in the logs
10464 c) relative URL's in mod_imap map files
10466 Changes with Apache 1.1b1
10468 *) Not listed. See <http://www.apache.org/docs/new_features_1_1.html>
10470 Changes with Apache 1.0.3
10472 *) Internal redirects which occur in mod_dir.c now preserve the
10473 query portion of a request (the bit after the question mark).
10476 *) Escape active characters '<', '>' and '&' in html output in
10477 directory listings, error messages and redirection links.
10480 *) Apache will now work with LynxOS 2.3 and later [Steven Watt]
10482 *) Fix for POSIX compliance in waiting for processes in alloc.c.
10485 *) setsockopt no longer takes a const declared argument [Martijn Koster]
10487 *) Reset timeout timer after each successful fwrite() to the network.
10488 This patch adds a reset_timeout() procedure that is called by
10489 send_fd() to reset the timeout ever time data is written to the net.
10492 *) timeout() signal handler now checks for SIGPIPE and reports
10493 lost connections in a more user friendly way. [Rob Hartill]
10495 *) Location of the "scoreboard" file which used to live in /tmp is
10496 now configurable (for OSes that can't use mmap) via ScoreBoardFile
10497 which works similar to PidFile (in httpd.conf) [Rob Hartill]
10499 *) Include sys/resource.h in the correct place for SunOS4 [Sameer Parekh]
10501 *) the pstrcat call in mod_cookies.c didn't have an ending NULL,
10502 which caused a SEGV with cookies enabled
10504 *) Output warning when MinSpareServers is set to <= 0 and change it to 1
10507 *) Log the UNIX textual error returned by some system calls, in
10508 particular errors from accept() [David Robinson]
10510 *) Add strerror function to util.c for SunOS4 [Randy Terbush]
10512 Changes with Apache 1.0.2
10514 *) patch to get Apache compiled on UnixWare 2.x, recommended as
10515 a temporary measure, pending rewrite of rfc931.c. [Chuck Murcko]
10517 *) Fix get_basic_auth_pw() to set the auth_type of the request.
10520 *) past changes to http_config.c to only use the
10521 setrlimit function on systems defining RLIMIT_NOFILE
10522 broke the feature on SUNOS4. Now defines HAVE_RESOURCE
10523 for SUNOS and prototypes the needed functions.
10525 *) Remove uses of MAX_STRING_LEN/HUGE_STRING_LEN from several routines.
10528 *) Fix use of pointer to scratch memory. [Cliff Skolnick]
10530 *) Merge multiple headers from CGI scripts instead of taking last
10531 one. [David Robinson]
10533 *) Add support for SCO 5. [Ben Laurie]
10535 Changes with Apache 1.0.1
10537 *) Silence mod_log_referer and mod_log_agent if not configured
10540 *) Recursive includes can occur if the client supplies PATH_INFO data
10541 and the server provider uses relative links; as file.html
10542 relative to /doc.shtml/pathinfo is /doc.shtml/file.html. [David Robinson]
10544 *) The replacement for initgroups() did not call {set,end}grent(). This
10545 had two implications: if anything else used getgrent(), then
10546 initgroups() would fail, and it was consuming a file descriptor.
10549 *) On heavily loaded servers it was possible for the scoreboard to get
10550 out of sync with reality, as a result of a race condition.
10551 The observed symptoms are far more Apaches running than should
10552 be, and heavy system loads, generally followed by catastrophic
10553 system failure. [Ben Laurie]
10555 *) Fix typo in license. [David Robinson]
10557 Changes with Apache 1.0.0 23 Nov 1995
10559 *) Not listed. See <http://www.apache.org/docs/new_features_1_0.html>
10561 Changes with Apache 0.8.16 05 Nov 1995
10563 *) New man page for 'httpd' added to support directory [David Robinson]
10565 *) .htgroup files can have more than one line giving members for a
10566 given group (each must have the group name in front), for NCSA
10567 back-compatibility [Robert Thau]
10569 *) Mutual exclusion around accept() is on by default for SVR4 systems
10570 generally, since they generally can't handle multiple processes in
10571 accept() on the same socket. This should cure flaky behavior on
10572 a lot of those systems. [David Robinson]
10574 *) AddType, AddEncoding, and AddLanguage directives take multiple
10575 extensions on a single command line [David Robinson]
10577 *) UserDir can be disabled for a given virtual host by saying
10578 "UserDir disabled" in the <VirtualHost> section --- it was a bug
10579 that this didn't work. [David Robinson]
10581 *) Compiles on QNX [Ben Laurie]
10583 *) Corrected parsing of ctime time format [David Robinson]
10585 *) httpd does a perror() before exiting if it can't log its pid
10586 to the PidFile, to make diagnosing the error a bit easier.
10589 *) <!--#include file="..."--> can no longer include files in the
10590 parent directory, for NCSA back-compatibility. [David Robinson]
10592 *) '~' is *not* escaped in URIs generated for directory listings
10595 *) Eliminated compiler warning in the imagemap module [Randy Terbush]
10597 *) Fixed bug involving handling URIs with escaped %-characters
10598 in redirects [David Robinson]
10600 Changes with Apache 0.8.15 14 Oct 1995
10602 *) Switched to new, simpler license
10604 *) Eliminated core dumps with improperly formatted DBM group files [Mark Cox]
10606 *) Don't allow requests for ordinary files to have PATH_INFO [Ben Laurie]
10608 *) Reject paths containing %-escaped '%' or null characters [David Robinson]
10610 *) Correctly handles internal redirects to files with names containing '%'
10613 *) Repunctuated some error messages [Aram Mirzadeh, Andrew Wilson]
10615 *) Use geteuid() rather than getuid() to see if we have root privilege,
10616 so that server correctly resets privilege if run setuid root. [Andrew
10619 *) Handle ftp: and telnet: URLs correctly in imagemaps (built-in module)
10622 *) Fix relative URLs in imagemap files [Randy Terbush]
10624 *) Somewhat better fix for the old "Alias /foo/ /bar/" business
10627 *) Don't repeatedly open the ErrorLog if a bunch of <VirtualHost>
10628 entries all name the same one. [David Robinson]
10630 *) Fix directory listings with filenames containing unusual characters
10633 *) Better URI-escaping for generated URIs in directories with filenames
10634 containing unusual characters [Ben Laurie]
10636 *) Fixed potential FILE* leak in http_main.c [Ben Laurie]
10638 *) Unblock alarms on error return from spawn_child() [David Robinson]
10640 *) Sample Config files have extra note for SCO users [Ben Laurie]
10642 *) Configuration has note for HP-UX users [Rob Hartill]
10644 *) Eliminated some bogus Linux-only #defines in conf.h [Aram Mirzadeh]
10646 *) Nuked bogus #define in httpd.h [David Robinson]
10648 *) Better test for whether a system has setrlimit() [David Robinson]
10650 *) Calls update_child_status() after reopen_scoreboard() [David Robinson]
10652 *) Doesn't send itself SIGHUP on startup when run in the -X debug-only mode
10655 Changes with Apache 0.8.14 19 Sep 1995
10657 *) Compiles on SCO ODT 3.0 [Ben Laurie]
10659 *) AddDescription works (better) [Ben Laurie]
10661 *) Leaves an intelligible error diagnostic when it can't set group
10662 privileges on standalone startup [Andrew Wilson]
10664 *) Compiles on NeXT again --- the 0.8.13 RLIMIT patch was failing on
10665 that machine, which claims to be BSD but does not support RLIMIT.
10668 *) gcc -Wall no longer complains about an unused variable when util.c
10669 is compiled with -DMINIMAL_DNS [Andrew Wilson]
10671 *) Nuked another compiler warning for -Wall on Linux [Aram Mirzadeh]
10673 Changes with Apache 0.8.13 07 Sep 1995
10675 *) Make IndexIgnore *work* (ooops) [Jarkko Torppa]
10677 *) Have built-in imagemap code recognize & honor Point directive [James
10680 *) Generate cleaner directory listings in directories with a mix of
10681 long and short filenames [Rob Hartill]
10683 *) Properly initialize dynamically loaded modules [Royston Shufflebotham]
10685 *) Properly default ServerName for virtual servers [Robert Thau]
10687 *) Rationalize handling of BSD in conf.h and elsewhere [Randy Terbush,
10688 Paul Richards and a cast of thousands...]
10690 *) On self-identified BSD systems (we don't try to guess any more),
10691 allocate a few extra file descriptors per virtual host with setrlimit,
10692 if we can, to avoid running out. [Randy Terbush]
10694 *) Write 22-character lock file name into buffer with enough space
10695 on startup [Konstantin Olchanski]
10697 *) Use archaic setpgrp() interface on NeXT, which requires it [Brian
10700 *) Suppress -Wall warning by casting const away in util.c [Aram Mirzadeh]
10702 *) Suppress -Wall warning by initializing variable in negotiation code
10703 [Tobias Weingartner]
10705 Changes with Apache 0.8.12 31 Aug 1995
10707 *) Doesn't pause three seconds after including a CGI script which is
10708 too slow to die off (this is done by not even trying to kill off
10709 subprocesses, including the SIGTERM/pause/SIGKILL routine, until
10710 after the entire document has been processed). [Robert Thau]
10712 *) Doesn't do SSI if Options Includes is off. (Ooops). [David Robinson]
10714 *) Options IncludesNoExec allows inclusion of at least text/* [Roy Fielding]
10716 *) Allows .htaccess files to override <Directory> sections naming the
10717 same directory [David Robinson]
10719 *) Removed an efficiency hack in sub_req_lookup_uri which was
10720 causing certain extremely marginal cases (e.g., ScriptAlias of a
10721 *particular* index.html file) to fail. [David Robinson]
10723 *) Doesn't log an error when the requested URI requires
10724 authentication, but no auth header line was supplied by the
10725 client; this is a normal condition (the client doesn't no auth is
10726 needed here yet). [Robert Thau]
10728 *) Behaves more sanely when the name server loses its mind [Sean Welch]
10730 *) RFC931 code compiles cleanly on old BSDI releases [Randy Terbush]
10732 *) RFC931 code no longer passes out name of prior clients on current
10733 requests if the current request came from a server that doesn't
10734 do RFC931. [David Robinson]
10736 *) Configuration script accepts "Module" lines with trailing whitespace.
10739 *) Cleaned up compiler warning from mod_access.c [Robert Thau]
10741 *) Cleaned up comments in mod_cgi.c [Robert Thau]
10743 Changes with Apache 0.8.11 24 Aug 1995
10745 *) Wildcard <Directory> specifications work. [Robert Thau]
10747 *) Doesn't loop for buggy CGI on Solaris [Cliff Skolnick]
10749 *) Symlink checks (FollowSymLinks off, or SymLinkIfOwnerMatch) always check
10750 the file being requested itself, in addition to the directories leading
10751 up to it. [Robert Thau]
10753 *) Logs access failures due to symlink checks or invalid client address
10754 in the error log [Roy Fielding, Robert Thau]
10756 *) Symlink checks deal correctly with systems where lstat of
10757 "/path/to/some/link/" follows the link. [Thau, Fielding]
10759 *) Doesn't reset DirectoryIndex to 'index.html' when
10760 other directory options are set in a .htaccess file. [Robert Thau]
10762 *) Clarified init code and nuked bogus warning in mod_access.c
10763 [Florent Guillaume]
10765 *) Corrected several directives in sample srm.conf
10766 --- includes corrections to directory indexing icon-related directives
10767 (using unknown.gif rather than unknown.xbm as the DefaultIcon, doing
10768 icons for encodings right, and turning on AddEncoding by default).
10771 *) Corrected descriptions of args to AddIcon and AddAlt in command table
10774 *) INSTALL & README mention "contributed modules" directory [Brian
10777 *) Fixed English in the license language... "for for" --> "for".
10780 *) Fixed ScriptAlias/Alias interaction by moving ScriptAlias handling to
10781 mod_alias.c, merging it almost completely with handling of Alias, and
10782 adding a 'notes' field to the request_rec which allows the CGI module
10783 to discover whether the Alias module has put this request through
10784 ScriptAlias (which it needs to know for back-compatibility, as the old
10785 NCSA code did not check Options ExecCGI in ScriptAlias directories).
10788 Changes with Apache 0.8.10 18 Aug 1995
10790 *) AllowOverride applies to the named directory, and not just
10791 subdirectories. [David Robinson]
10793 *) Do locking for accept() exclusion (on systems that need it)
10794 using a special file created for the purpose in /usr/tmp, and
10795 not the error log; using the error log causes real problems
10796 if it's NFS-mounted; this is known to be the cause of a whole
10797 lot of "server hang" problems with Solaris. [David Robinson;
10798 thanks to Merten Schumann for help diagnosing the problem].
10800 Changes with Apache 0.8.9 12 Aug 1995
10802 *) Compiles with -DMAXIMUM_DNS ---- ooops! [Henrik Mortensen]
10804 *) Nested includes see environment variables of the including document,
10805 for NCSA bug-compatibility (some sites have standard footer includes
10806 which try to print out the last-modified date). [Eric Hagberg/Robert
10809 *) <!--exec cgi="/some/uri/here"--> always treats the item named by the
10810 URI as a CGI script, even if it would have been treated as something
10811 else if requested directly, for NCSA back-compatibility. (Note that
10812 this means that people who know the name of the script can see the
10813 code just by asking for it). [Robert Thau]
10815 *) New version of dbmmanage script included in support directory as
10818 *) Check if scoreboard file couldn't be opened, and say so, rather
10819 then going insane [David Robinson]
10821 *) POST to CGI works on A/UX [Jim Jagielski]
10823 *) AddIcon and AddAlt commands work properly [Rob Hartill]
10825 *) NCSA server push works properly --- the Arena bug compatibility
10826 workaround, which broke it, is gone (use -DARENA_BUG_WORKAROUND
10827 if you still want the workaround). [Rob Hartill]
10829 *) If client didn't submit any Accept-encodings, ignore encodings in
10830 content negotiation. (NB this will all have to be reworked anyway
10831 for the new HTTP draft). [Florent Guillaume]
10833 *) Don't dump core when trying to log timed-out requests [Jim Jagielski]
10835 *) Really honor CacheNegotiatedDocs [Florent Guillaume]
10837 *) Give Redirect priority over Alias, for NCSA bug compatibility
10840 *) Correctly set PATH_TRANSLATED in all cases from <!--#exec cmd=""-->,
10841 paralleling earlier bug fix for CGI [David Robinson]
10843 *) If DBM auth is improperly configured, report a server error and don't
10846 *) Deleted FCNTL_SERIALIZED_ACCEPTS from conf.h entry for A/UX;
10847 it seems to work well enough without it (even in a 10 hits/sec
10848 workout), and the overhead for the locking under A/UX is
10849 alarmingly high (though it is very low on other systems).
10850 [Eric Hagberg, Jim Jagielski]
10852 *) Fixed portability problems with mod_cookies.c [Cliff Skolnick]
10854 *) Further de-Berklize mod_cookies.c; change the bogus #include. [Brian
10855 Behlendorf/Eric Hagberg]
10857 *) More improvements to default Configuration for A/UX [Jim Jagielski]
10859 *) Compiles clean on NEXT [Rob Hartill]
10861 *) Compiles clean on SGI [Robert Thau]
10863 Changes with Apache 0.8.8 08 Aug 1995
10865 *) SunOS library prototypes now never included unless explicitly
10866 requested in the configuration (via -DSUNOS_LIB_PROTOTYPES);
10867 people using GNU libc on SunOS are screwed by prototypes for the
10870 (Those who wish to compile clean with gcc -Wall on a standard
10871 SunOS setup need the prototypes, and may obtain them using
10872 -DSUNOS_LIB_PROTOTYPES. Those wishing to use -Wall on a system
10873 with nonstandard libraries are presumably competent to make their
10876 *) Strips trailing '/' characters off both args to the Alias command,
10877 to make 'Alias /foo/ /bar/' work.
10879 Changes with Apache 0.8.7 03 Aug 1995
10881 *) Don't hang when restarting with a child from 'TransferLog "|..."' running
10882 [reported by David Robinson]
10884 *) Compiles clean on OSF/1 [David Robinson]
10886 *) Added some of the more recent significant changes (AddLanguage stuff,
10887 experimental LogFormat support) to CHANGES file in distribution root
10890 Changes with Apache 0.8.6 02 Aug 1995
10892 *) Deleted Netscape reload workaround --- it's in violation of HTTP specs.
10893 (If you actually wanted a conditional GET which bypassed the cache, you
10894 couldn't get it). [Reported by Roy Fielding]
10896 *) Properly terminate headers on '304 Not Modified' replies to conditional
10897 GETs --- no browser we can find cares much, but the CERN proxy chokes.
10898 [Reported by Cliff Skolnick; fix discovered independently by Rob Hartill]
10900 *) httpd -v doesn't call itself "Shambhala". [Reported by Chuck Murcko]
10902 *) SunOS lib-function prototypes in conf.h conditionalized on __GNUC__,
10903 not __SUNPRO_C (they're needed to quiet gcc -Wall, but acc chokes on 'em,
10904 and older versions don't set the __SUNPRO_C preprocessor variable). On
10905 all other systems, these are never used anyway. [Reported by Mark Cox].
10907 *) Scoreboard file (/tmp/htstatus.*) no longer publically writable.
10909 Changes with Apache 0.8.5 01 Aug 1995
10911 *) Added last-minute configurable log experiment, as optional module
10913 *) Correctly set r->bytes_sent for HTTP/0.9 requests, so they get logged
10914 properly. (One-line fix to http_protocol.c).
10916 *) Work around bogus behavior when reloading from Netscape.
10917 It's Netscape's bug --- for some reason they expect a request with
10918 If-modified-since: to not function as a conditional GET if it also
10919 comes with Pragma: no-cache, which is way out of line with the HTTP
10920 spec (according to Roy Fielding, the redactor).
10922 *) Added parameter to set maximum number of server processes.
10924 *) Added patches to make it work on A/UX. A/UX is *weird*. [Eric Hagberg,
10927 *) IdentityCheck bugfix [Chuck Murcko].
10929 *) Corrected cgi-src/Makefile entry for new imagemap script. [Alexei Kosut]
10931 *) More sample config file corrections; add extension to AddType for
10932 *.asis, move AddType generic description to its proper place, and
10933 fix miscellaneous typos. [ Alexei Kosut ]
10935 *) Deleted the *other* reference to the regents from the Berkeley
10936 legal disclaimer (everyplace).
10938 *) Nuked Shambhala name from src/README; had already cleaned it out
10939 of everywhere else.
10941 Changes with Apache 0.8.4
10943 *) Changes to server-pool management parms --- renamed current
10944 StartServers to MinSpareServers, created separate StartServers
10945 parameter which means what it says, and renamed MaxServers to
10946 MaxSpareServers (though the old name still works, for NCSA 1.4
10947 back-compatibility). The old names were generally regarded as
10948 too confusing. Also altered "docs" in sample config files.
10950 *) More improvements to default config files ---
10951 sample directives (commented out) for XBitHack, BindAddress,
10952 CacheNegotiatedDocs, VirtualHost; decent set of AddLanguage
10953 defaults, AddTypes for send-as-is and imagemap magic types, and
10954 improvements to samples for DirectoryIndex [Alexei Kosut]
10956 *) Yet more improvements to default config files --- changes to
10957 Alexei's sample AddLanguage directives, and sample LanguagePriority
10958 [ Florent Guillaume ]
10960 *) Set config file locations properly if not set in httpd.conf
10963 *) Don't escape URIs in internal redirects multiple times; don't
10964 do that when translating PATH_INFO to PATH_TRANSLATED either.
10967 *) Corrected spelling of "Required" in 401 error reports [Andrew Wilson]
10969 Changes with Apache 0.8.3
10971 *) Edited distribution README to *briefly* summarize installation
10972 procedures, and give a pointer to the INSTALL file in the src/
10975 *) Upgraded imagemap script in cgi-bin to 1.8 version from more
10976 recent NCSA distributions.
10978 *) Bug fix to previous bug fix --- if .htaccess file and <Directory>
10979 exist for the same directory, use both and don't segfault. [Reported
10982 *) Proper makefile dependencies [David Robinson]
10984 *) Note (re)starts in error log --- reported by Rob Hartill.
10986 *) Only call no2slash() after get_path_info() has been done, to
10987 preserve multiple slashes in the PATH_INFO [NCSA compatibility,
10988 reported by Andrew Wilson, though this one is probably a real bug]
10990 *) Fixed mod_imap.c --- relative paths with base_uri referer don't
10991 dump core when Referer is not supplied. [Randy Terbush]
10993 *) Lightly edited sample config files to refer people to our documentation
10994 instead of NCSA's, and to list Rob McCool as *original* author (also
10995 deleted his old, and no doubt non-functional email address). Would be
10996 nice to have examples of new features...
10998 Changes with Apache 0.8.2 19 Jul 1995
11000 *) Added AddLanuage code [Florent Guillaume]
11002 *) Don't say "access forbidden" when a CGI script is not found. [Mark Cox]
11004 *) All sorts of problems when MultiViews finds a directory. It would
11005 be nice if mod_dir.c was robust enough to handle that, but for now,
11006 just punt. [reported by Brian Behlendorf]
11008 *) Wait for all children on restart, to make sure that the old socket
11009 is gone and we can reopen it. [reported by Randy Terbush]
11011 *) Imagemap module is enabled in default Configuration
11013 *) RefererLog and UserAgentLog modules properly default the logfile
11016 *) Mark Cox's mod_cookies added to the distribution as an optional
11017 module (commented out in the default Configuration, and noted as
11018 an experiment, along with mod_dld). [Mark Cox]
11020 *) Compiles on ULTRIX (a continuing battle...). [Robert Thau]
11022 *) Fixed nasty bug in SIGTERM handling [reported by Randy Terbush]
11024 *) Changed "Shambhala" to "Apache" in API docs. [Robert Thau]
11026 *) Added new, toothier legal disclaimer. [Robert Thau; copied from BSD
11029 Changes with Apache 0.8.1
11031 *) New imagemap module [Randy Terbush]
11033 *) Replacement referer log module with NCSA-compatible RefererIgnore
11034 [Matthew Gray again]
11036 *) Don't mung directory listings with very long filenames.
11037 [Florent Guillaume]
11039 Changes with Apache 0.8.0 (nee Shambhala 0.6.2) 16 Jul 1995
11041 *) New config script. See INSTALL for info. [Robert Thau]
11043 *) Scoreboard mechanism for regulating the number of extant server
11044 processes. MaxServers and StartServers defaults are the same as
11045 for NCSA, but the meanings are slightly different. (Actually,
11046 I should probably lower the MaxServers default to 10).
11048 Before asking for a new connection, each server process checks
11049 the number of other servers which are also waiting for a
11050 connection. If there are more than MaxServers, it quietly dies
11051 off. Conversely, every second, the root, or caretaker, process
11052 looks to see how many servers are waiting for a new connection;
11053 if there are fewer than StartServers, it starts a new one. This
11054 does not depend on the number of server processes already extant.
11055 The accounting is arranged through a "scoreboard" file, named
11056 /tmp/htstatus.*, on which each process has an independent file
11057 descriptor (they need to seek without interference).
11059 The end effect is that MaxServers is the maximum number of
11060 servers on an *inactive* server machine, but more will be forked
11061 off to handle unusually heavy loads (or unusually slow clients);
11062 these will die off when they are no longer needed --- without
11063 reverting to the overhead of full forking operation. There is a
11064 hard maximum of 150 server processes compiled in, largely to
11065 avoid forking out of control and dragging the machine down.
11066 (This is arguably too high).
11068 In my server endurance tests, this mechanism did not appear to
11069 impose any significant overhead, even after I forced it to put the
11070 scoreboard file on a normal filesystem (which might have more
11071 overhead than tmpfs). [Robert Thau]
11073 *) Set HTTP_FOO variables for SSI <!--#exec cmd-->s, not just CGI scripts.
11076 *) Read .htaccess files even in directory with <Directory> section.
11077 (Former incompatibility noted on mailing list, now fixed). [Robert
11080 *) "HEAD /" gives the client a "Bad Request" error message, rather
11081 than trying to send no body *and* no headers. [Cliff Skolnick].
11083 *) Don't produce double error reports for some very obscure cases
11084 mainly involving auth configuration (the "all modules decline to
11085 handle" case which is a sure sign of a server bug in most cases,
11086 but also happens when authentication is badly misconfigured).
11089 *) Moved FCNTL_SERIALIZED_ACCEPT defines into conf.h (that's what
11090 it's *for*, and this sort of thing really shouldn't be cluttering
11091 up the Makefile). [Robert Thau]
11093 *) Incidental code cleanups in http_main.c --- stop dragging
11094 sa_client around; just declare it where used. [Robert Thau]
11096 *) Another acc-related fix. (It doesn't like const char
11097 in some places...). [Mark Cox]
11099 Changes with Shambhala 0.6.1 13 Jul 1995
11101 *) Fixed auth_name-related typos in http_core.c [Brian Behlendorf]
11102 Also, fixed auth typo in http_protocol.c unmasked by this fix.
11104 *) Compiles clean with acc on SunOS [Paul Sutton]
11106 *) Reordered modules in modules.c so that Redirect takes priority
11107 over ScriptAlias, for NCSA bug-compatibility [Rob Hartill] ---
11108 believe it or not, he has an actual site with a ScriptAlias and
11109 a Redirect declared for the *exact same directory*. Even *my*
11110 compatibility fetish wouldn't motivate me to fix this if the fix
11111 required any effort, but it doesn't, so what the hey.
11113 *) Fixed to properly default several server_rec fields for virtual
11114 servers from the corresponding fields in the main server_rec.
11115 [Cliff Skolnick --- 'port' was a particular irritant].
11117 *) No longer kills off nph- child processes before they are
11118 finished sending output. [Matthew Gray]
11120 Changes with Shambhala 0.6.0 10 Jul 1995
11122 *) Two styles of timeout --- hard and soft. soft_timeout()s just put
11123 the connection to the client in an "aborted" state, but otherwise
11124 allow whatever handlers are running to clean up. hard_timeout()s
11125 abort the request in progress completely; anything not tied to some
11126 resource pool cleanup will leak. They're still around because I
11127 haven't yet come up with a more elegant way of handling
11128 timeouts when talking to something that isn't the client. The
11129 default_handler and the dir_handler now use soft timeouts, largely
11130 so I can test the feature. [Robert Thau]
11132 *) TransferLog "| my_postprocessor ..." seems to be there. Note that
11133 the case of log handlers dying prematurely is probably handled VERY
11134 gracelessly at this point, and if the logger stops reading input,
11135 the server will hang. (It is known to correctly restart the
11136 logging process on server restart; this is (should be!) going through
11137 the same SIGTERM/pause/SIGKILL routine used to ding an errant CGI
11138 script). [Robert Thau]
11140 *) asis files supported (new module). [Robert Thau]
11142 *) IdentityCheck code is compiled in, but has not been tested. (I
11143 don't know anyone who runs identd). [Robert Thau]
11145 *) PATH_INFO and PATH_TRANSLATED are not set unless some real PATH_INFO
11146 came in with the request, for NCSA bug-compatibility. [Robert Thau]
11148 *) Don't leak the DIR * on HEAD request for a directory. [Robert Thau]
11150 *) Deleted the block_alarms() stuff from dbm_auth; no longer necessary,
11151 as timeouts are not in scope. [Robert Thau]
11153 *) quoted-string args in config files now handled correctly (doesn't drop
11154 the last character). [Robert Thau; reported by Randy Terbush]
11156 *) Fixed silly typo in http_main.c which was suddenly fatal in HP-UX.
11157 How the hell did it ever work? [Robert Thau; reported by Rob Hartill]
11159 *) mod_core.c --- default_type returns DEFAULT_TYPE (the compile-time
11160 default default type); the former default default behavior when all
11161 type-checkers defaulted had been a core dump. [Paul Sutton]
11163 *) Copy filenames out of the struct dirent when indexing
11164 directories. (On Linux, readdir() returns a pointer to the same
11165 memory area every time). Fix is in mod_dir.c. [Paul Sutton]
11167 Changes with Shambhala 0.5.3 [not released]
11169 *) Default response handler notes "file not found" in the error log,
11170 if the file was not found. [Cliff Skolnick].
11172 *) Another Cliff bug --- "GET /~user" now properly redirects (the userdir
11173 code no longer sets up bogus PATH_INFO which fakes out the directory
11174 handler). [Cliff Skolnick]
11176 Changes with Shambhala 0.5.2 06 Jul 1995
11178 *) Changes to http_main.c --- root server no longer plays silly
11179 games with SIGCHLD, and so now detects and replaces dying
11180 children. Child processes just die on SIGTERM, without taking
11181 the whole process group with them. Potential problem --- if any
11182 child process refuses to die, we hang in restart.
11183 MaxRequestsPerChild may still not work, but it certainly works
11184 better than it did before this! [Robert Thau]
11186 *) mod_dir.c bug fixes: ReadmeName and HeaderName
11187 work (or work better, at least); over-long description lines
11188 properly terminated. [Mark Cox]
11190 *) http_request.c now calls unescape_url() more places where it
11191 should [Paul Sutton].
11193 *) More directory handling bugs (reported by Cox)
11194 Parent Directory link is now set correctly. [Robert Thau]
11196 Changes with Shambhala 0.5.1 04 Jul 1995
11198 *) Generalized cleanup interface in alloc.c --- any function can be
11199 registered with alloc.c as a cleanup for a resource pool;
11200 tracking of files and file descriptors has been reimplemented in
11201 terms of this interface, so I can give it some sort of a test.
11204 *) More changes in alloc.c --- new cleanup_for_exec() function,
11205 which tracks down and closes all file descriptors which have been
11206 registered with the alloc.c machinery before the server exec()s a
11207 child process for CGI or <!--#exec-->. CGI children now get
11208 started with exactly three file descriptors open. Hopefully,
11209 this cures the problem Rob H. was having with overly persistent
11210 CGI connections. [Robert Thau]
11212 *) Mutual exclusion around the accept() in child_main() --- this is
11213 required on at least SGI, Solaris and Linux, and is #ifdef'ed in
11214 by default on those systems only (-DFCNTL_SERIALIZED_ACCEPT).
11215 This uses fcntl(F_SETLK,...) on the error log descriptor because
11216 flock() on that descriptor won't work on systems which have BSD
11217 flock() semantics, including (I think) Linux 1.3 and Solaris.
11219 This does work on SunOS (when the server is idle, only one
11220 process in the pool is waiting on accept()); it *ought* to work
11221 on the other systems. [Robert Thau]
11223 *) FreeBSD and BSDI portability tweaks [Chuck Murcko]
11225 *) sizeof(*sa_client) bugfix from [Rob Hartill]
11227 *) pstrdup(..., NULL) returns NULL, [Randy Terbush]
11229 *) block_alarms() to avoid leaking the DBM* in dbm auth (this should
11230 be unnecessary if I go to the revised timeout-handling scheme).
11233 *) For NCSA bug-compatibility, set QUERY_STRING env var (to a null
11234 string) even if none came in with the request. [Robert Thau]
11236 *) CHANGES file added to distribution ;-).
11238 Changes with Shambhala 0.4.5
11240 *) mod_dld --- early dynamic loading support [rst]
11241 *) Add wildcard content handlers for XBITHACK; default_hander now
11242 invoked with that mechanism (as a handler hanging off mod_core) [rst]
11243 *) XBITHACK supported as a wildcard content-handler, and
11244 configurable at run-time (not just at compile time, as in the
11245 "patchy server" releases) [rst]
11247 Changes with Shambhala 0.4.4 30 Jun 1995
11249 *) Fixed basic thinkos in mod_dbm_auth.c [rst, reported by Mark Cox]
11250 *) Handle Addtype x/y .z [rst, reported by Cox]
11252 Changes with Shambhala 0.4.3
11254 *) Fixed very dumb bug in mod_alias; "Alias" and "Redirect" are not
11255 synonymous [rst, terbush]
11257 Changes with Shambhala 0.4.1 28 Jun 1995
11259 *) First-cut virtual host implementation; some refit in the config
11260 reading code, and log management, was necessary to support this [rst]
11261 *) Sub-pool machinery, originally added to avoid excessive storage
11262 allocation on listings of large directories (which turned out to
11263 be the problem that the 0.3 storage accounting was added to
11264 find). Subrequests and mod_dir changed to use subpools. [rst]
11265 *) More memory debugging --- free list consistency checks. [rst]
11266 *) Added err_headers to request_rec, with support elsewhere [rst]
11267 *) Other fixes to minor bugs in mod_dir and mod_includes [rst, terbush]
11269 Changes with Shambhala 0.3 19 Jun 1995
11271 *) Switch ONE_PROCESS to a runtime command-line option (-X)
11272 *) Don't compile in mod_ai_backcompat by default
11273 *) Switch name of server from Apache to Shambhala in Makefile
11274 *) Add some accounting routines to track memory usage in the pools,
11277 Changes with Shambhala 0.2
11279 *) Set DOCUMENT_ROOT CGI variable
11280 *) Add single-process debugging, as a compile-time option (ONE_PROCESS)
11281 *) Add critical section protection to handling of cleanup structures
11283 *) Significant code reorg within the server core to group related
11284 functions together [rst]
11285 *) Correctly handle clients that hang up before sending any request
11287 *) Replace dying child processes. [rst]
11289 Changes with Shambhala 0.1 12 Jun 1995
11291 Major rewrite of the pre-existing "patchy server" codebase, by
11292 Robert Thau (rst). Significant portions of the server code, such
11293 as configuration-file handling and HTTP authentication support,
11294 were ripped out and rewritten from scratch. Code that was not
11295 completely rewritten was significantly altered.
11297 Major changes with this release include:
11299 *) Introduction of the module API; in request handling, the central
11300 machinery just dispatches to various modules, which actually do
11301 most of the work. Configuration handling is similar --- modules
11302 declare their own commands, and the central machinery just
11303 dispatches to them.
11305 API features from shambhala/0.1 were substantially unchanged in
11306 Apache 1.0 and 1.1. (1.0 API features not yet present in this
11307 release, such as wildcard handlers and subpools, were added in
11308 subsequent Shambhala releases, and were also generally rst's
11311 *) This release included the following modules:
11313 mod_access (access control --- allow and deny directives),
11314 mod_alias (Alias and Redirect commands),
11315 mod_auth (straight HTTP authentication, based on flat-files)
11316 mod_auth_dbm (same, with dbm files)
11317 mod_cgi (CGI scripts and, in this release, ScriptAlias)
11318 mod_common_log (CLF access logs; later renamed mod_log_common)
11319 mod_dir (directory indexing)
11320 mod_include (server-side includes)
11321 mod_mime (AddType directives)
11322 mod_negotiation (content negotiation)
11323 mod_userdir (support for users' public_html directories)
11325 It also included a mod_ai_backcompat, which was a private hack
11326 for back-compatibility with rst's own AI-lab servers.
11328 All of these modules were substantially complete, and functional
11329 or nearly so (a few, which implemented features not in use at
11330 Thau's site, required patches of a few lines).
11332 *) sub-request machinery, to allow modules to determine how other
11333 modules would assign MIME types to a given file, or optionally
11334 serve its content (this is heavily used by mod_dir, mod_include
11335 and mod_negotiation).
11337 *) Resource pool system for keeping track of memory allocated and
11338 files opened in service of a particular request. Much of the
11339 code in the modules (when they weren't rewrites) was adjusted to
11340 replace a pervasive convention of using fixed-size buffers on
11341 the stack with an equally pervasive convention of using memory
11342 allocated with palloc().
11344 *) Reorganization of data structures associated with a given
11345 request to eliminate use of global variables and the troublesome
11346 unmunge_name function (used in NCSA and early Apache releases to
11347 attempt to determine the URI which mapped to a given filename
11348 --- a difficult proposition, given that it is easy to produce
11349 setups in which multiple URIs map to the same file).
11351 *) Source files renamed and rearranged
11353 *) Very simple pre-forking behavior --- parent process forked off a
11354 fixed number of children, and then just waited for SIGHUP.
11356 *) Other more minor changes too numerous to list.
11358 This release included modified versions of a lot of code from the
11359 Apache 0.6.4 public release, plus an early pre-forking patch
11360 codeveloped by Robert Thau and Rob Hartill.
11362 Changes with Apache 0.7.3 20 Jun 1995
11364 *) There were a bunch of changes between Apache 0.6.4 and 0.7.3 that
11365 were incorporated by Rob Hartill on the main branch while Robert Thau
11366 worked on the Shambhala rewrite above. Most were merged into the
11367 Shambala architecture after Apache 0.8.0.
11369 Changes with Apache 0.6.4 13 May 1995
11371 *) Patches by Rob Hartill, Cliff Skolnick, Randy Terbush, Robert Thau,
11374 Changes with Apache 0.5.1 10 Apr 1995
11376 Changes with Apache 0.4 02 Apr 1995
11378 *) Patches by Brian Behlendorf, Andrew Wilson, Robert Thau,
11381 Changes with Apache 0.3 24 Mar 1995
11383 *) Patches by Robert Thau, David Robinson, Rob Hartill, and
11386 Changes with Apache 0.2 18 Mar 1995
11388 *) Based on NCSA httpd 1.3 by Rob McCool and patches by CERT,
11389 Roy Fielding, Robert Thau, Nicolas Pioch, David Robinson,
11390 Brian Behlendorf, Rob Hartill, and Cliff Skolnick.