CHANGES revision 26d590c0e5338f66ca1aad6f925374843fac5121
712b976a0633806b7140b17354a9398300f616b9Mark AndrewsChanges with Apache 2.0.30-dev
712b976a0633806b7140b17354a9398300f616b9Mark Andrews *) Win32: The async AcceptEx() event should be autoreset upon
712b976a0633806b7140b17354a9398300f616b9Mark Andrews successful completion of a wait (WaitForSingleObject). This
f0835301386ff7026fd0097198d4b42f2f8d0867Mark Andrews eliminates a number of spurious
f0835301386ff7026fd0097198d4b42f2f8d0867Mark Andrews setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed." messages.
f0835301386ff7026fd0097198d4b42f2f8d0867Mark Andrews [Bill Stoddard]
f0835301386ff7026fd0097198d4b42f2f8d0867Mark Andrews
f0835301386ff7026fd0097198d4b42f2f8d0867Mark Andrews *) Move any load library path environment variables out of
cb933b69ff357100768d0b33b88e4ee986b128f2Evan Hunt apachectl and into a separate environment variable file which
cb933b69ff357100768d0b33b88e4ee986b128f2Evan Hunt can be more easily tailored by the admin. The environment
cb933b69ff357100768d0b33b88e4ee986b128f2Evan Hunt variable file as built by Apache may have additional system-
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉 specific settings. For example, on OS/390 we tailor the heap
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉 settings to allow lots of threads. [Jeff Trawick]
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉 *) Use the new APR pool code to reduce pool-related lock
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉 contention in the worker MPM. [Sander Striker]
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt *) The POD no longer assumes the child is listening on 127.0.0.1
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt and now pulls the first hostname in the list of listeners to
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt perform the dummy connect on. This fixes a bug when the user
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt had configured the Listen directive for an IP other than
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt 127.0.0.1. This would result in undead children and error
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt messages such as "Connection refused: connect to listener".
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt [Aaron Bannert]
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt *) The worker MPM now respects the LockFile setting, needed to
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt avoid locking problems with NFS. [Jeff Trawick]
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt *) Fix segfault when worker MPM receives SIGHUP.
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt [Ian Holsman, Aaron Bannert, Justin Erenkrantz]
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt *) Fix bug that could potentially prevent the perchild MPM from
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt working with more than one vhost/uid. [Aaron Bannert]
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt *) Change make install and apxs -i processing of DSO modules to
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt perform special handling on platforms where libtool doesn't install
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt mod_foo.so. This fixes some wonkiness on HP-UX, Tru64, and AIX
ff5864ef42c3bc55e9be20434d1f7de2f6794894Mark Andrews which prevented standard LoadModule statements from working.
ff5864ef42c3bc55e9be20434d1f7de2f6794894Mark Andrews [Jeff Trawick]
ff5864ef42c3bc55e9be20434d1f7de2f6794894Mark Andrews
f3792d4bda1273fe82f9d0a13f141923e41d4537Tatuya JINMEI 神明達哉 *) Whenever mod_so is enabled (not just when there are DSOs for
f3792d4bda1273fe82f9d0a13f141923e41d4537Tatuya JINMEI 神明達哉 our modules), do whatever special magic is required for compiling/
45d9b38097eb7b43e7e0d5d20c2d0903c7224ebdMark Andrews loading third-party modules. This allows third-party DSOs to
45d9b38097eb7b43e7e0d5d20c2d0903c7224ebdMark Andrews be used on an AIX build when there were no built-in modules
810656a187f2c358323bbf679f792f19a46a7973Mark Andrews built as DSOs. (This should help on OS/390 and BeOS as well.)
810656a187f2c358323bbf679f792f19a46a7973Mark Andrews [Jeff Trawick]
810656a187f2c358323bbf679f792f19a46a7973Mark Andrews
bf13e709db49bb19e0c2e73f0a964fe9d7bea4dfMark Andrews *) Allow apxs to be used to build DSOs on AIX without requiring the
bf13e709db49bb19e0c2e73f0a964fe9d7bea4dfMark Andrews user to hard-code the list of import files. (This should help
bf13e709db49bb19e0c2e73f0a964fe9d7bea4dfMark Andrews on OS/390 and BeOS as well.) [Jeff Trawick]
bf13e709db49bb19e0c2e73f0a964fe9d7bea4dfMark Andrews
bdc1d1b1bfad04bbae3fdf974e49e392951fb911Mark Andrews *) Resolved segfault in mod_isapi when configuring with ISAPICacheFile.
43888c231579e5b021beeadd7265cda302ea1efeMark Andrews PR 8563, 8919 [William Rowe]
43888c231579e5b021beeadd7265cda302ea1efeMark Andrews
b7ba273d32232dfadaea5af384f1e6f36c915249Mark Andrews *) Get binary builds working when libapr and libaprutil are built
c52235e52ee12e4d15f808ac06608584257f6479Mark Andrews shared [Greg Ames]
4a8dc5f8efcc8bc3033a9383f958d1de22c844f4Mark Andrews
0627874ff86b2d5c9d6d90ea9fde8111dc97654bMark Andrews *) Get shared builds of libapr and libaprutil, as well as Apache DSOs,
4a8dc5f8efcc8bc3033a9383f958d1de22c844f4Mark Andrews working on AIX. [Aaron Bannert, Dick Dunbar <RLDunbar@pacbell.net>,
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrews Gary Hook <ghook@us.ibm.com>, Victor Orlikowski, Jeff Trawick]
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrews
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrews *) Fix the handling of SSI directives in which the ">" of the
718c4becc5711be71e23202a87f3aaea1aedde79Mark Andrews terminating "-->" is the last byte in a file [Brian Pane]
718c4becc5711be71e23202a87f3aaea1aedde79Mark Andrews
718c4becc5711be71e23202a87f3aaea1aedde79Mark Andrews *) Add back in the "suEXEC mechanism enabled (wrapper: /path/to/suexec)"
081b36ff9588e4d67a1a3095f5333a2b223482f7Mark Andrews message that we had back in apache-1.3 and still have scattered
081b36ff9588e4d67a1a3095f5333a2b223482f7Mark Andrews throughout our docs. [Aaron Bannert]
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews
43c770b9987375e9e0efa19617b22e8e6a748a63Mark Andrews *) Prevent the Win32 port from continuing after encountering an
9a56f03c4c63c3729ebfcff9f99b9394c6004a20Mark Andrews error in the command line args to apache. [William Rowe]
9a56f03c4c63c3729ebfcff9f99b9394c6004a20Mark Andrews
9a56f03c4c63c3729ebfcff9f99b9394c6004a20Mark Andrews *) On a error in the proxy, make it write a line to the error log
02181a6c7420e8f3c083d0d20e0e65a78ea25d0fMark Andrews [Ian Holsman]
02181a6c7420e8f3c083d0d20e0e65a78ea25d0fMark Andrews
02181a6c7420e8f3c083d0d20e0e65a78ea25d0fMark AndrewsChanges with Apache 2.0.29
e24ccb512c110d181e01f977196e518b0e72e451Mark Andrews
e24ccb512c110d181e01f977196e518b0e72e451Mark Andrews *) Add buffering in core_output_filter to ensure that long
e24ccb512c110d181e01f977196e518b0e72e451Mark Andrews lists of small buckets don't cause small packet writes.
63af1a646a006867dbd99dc0aa74559d832a420fMark Andrews [Brian Pane, Ryan Bloom]
63af1a646a006867dbd99dc0aa74559d832a420fMark Andrews
b7bc86a4d3d78fae33577682cea7d1449abb7b33Mark Andrews *) Fix the installation target to make sure that the manual is
b7bc86a4d3d78fae33577682cea7d1449abb7b33Mark Andrews installed in the correct location.
b7bc86a4d3d78fae33577682cea7d1449abb7b33Mark Andrews [Yoshifumi Hiramatsu <hiramatu@boreas.dti.ne.jp> and
675cc80975eb7d15e0d9f1d5f424baafaf189fdeMark Andrews Gomez Henri <hgomez@slib.fr>]
675cc80975eb7d15e0d9f1d5f424baafaf189fdeMark Andrews
675cc80975eb7d15e0d9f1d5f424baafaf189fdeMark Andrews *) Fix the cmd command for mod_include. When we are processing
a20996ab6ff2be473b85470fddd2380a3e180e7bMark Andrews a cmd command, we do not want to use the r->filename to set
a20996ab6ff2be473b85470fddd2380a3e180e7bMark Andrews the command name. The command comes from the SSI tag. To do this,
80852eb5a8df5f3d70efb764e00f8f09efc5730cMark Andrews I added a variable to the function that builds the command line
a27bbd21cf07371fc71e7ade75c3d78a5b98b7f9Mark Andrews in mod_cgi. This allows the include_cmd function to specify
a27bbd21cf07371fc71e7ade75c3d78a5b98b7f9Mark Andrews the command line itself. [Ryan Bloom]
29f0da7fb84ea8010175769baecd12ab20903bb4Mark Andrews
29f0da7fb84ea8010175769baecd12ab20903bb4Mark Andrews *) Change open_logs hook to return a value, allowing you
29f0da7fb84ea8010175769baecd12ab20903bb4Mark Andrews to flag a error while opening logs
b00de53de2e37154d9046d481734cfb9a8573204Mark Andrews [Ian Holsman, Doug MacEachern]
b00de53de2e37154d9046d481734cfb9a8573204Mark Andrews
b00de53de2e37154d9046d481734cfb9a8573204Mark Andrews *) Change post_config hook to return a value, allowing you
249dcf3932668693a53c2790b97f5170efb233e1Mark Andrews to flag a error post config
ead77b9ad4821433ad45ef1de2c072b7c8f94f48Mark Andrews [Ian Holsman, Jeff Trawick]
8e22c73f3ea64337926151b53245f61342fa52faMark Andrews
8e22c73f3ea64337926151b53245f61342fa52faMark Andrews *) Allow SUEXEC_BIN (the path to the suexec binary that is
8e22c73f3ea64337926151b53245f61342fa52faMark Andrews hard-coded into the server) to be specified to the configure
e27d55e3ee06b6edcf625b8920a5c809da7f0b98Mark Andrews script by the --with-suexec-bin parameter. [Aaron Bannert]
e27d55e3ee06b6edcf625b8920a5c809da7f0b98Mark Andrews
e27d55e3ee06b6edcf625b8920a5c809da7f0b98Mark Andrews *) Fix segv in worker MPM following accept on pipe-of-death
e27d55e3ee06b6edcf625b8920a5c809da7f0b98Mark Andrews [Brian Pane]
e27d55e3ee06b6edcf625b8920a5c809da7f0b98Mark Andrews
7d9be933d7f4504cd0355ced1fb7fbd137e455b7Mark Andrews *) Add mod_deflate to experimental.
7d9be933d7f4504cd0355ced1fb7fbd137e455b7Mark Andrews [Ian Holsman, Justin Erenkrantz]
7d9be933d7f4504cd0355ced1fb7fbd137e455b7Mark Andrews
5ae2eac4c16bdbbef032544bd9fc86f47e7bdc2cMark Andrews *) Bail out at configure time if an invalid MPM was specified.
5ae2eac4c16bdbbef032544bd9fc86f47e7bdc2cMark Andrews [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
5b02fc32d693bb811199308a40143df0adf818c1Mark Andrews
5b02fc32d693bb811199308a40143df0adf818c1Mark Andrews *) Prevent segv in ap_note_basic_auth_failure() when no AuthName is
b667946fa548bf8cb93029458ec130be6365419fMark Andrews configured [John Sterling <sterling@covalent.net>]
b667946fa548bf8cb93029458ec130be6365419fMark Andrews
b667946fa548bf8cb93029458ec130be6365419fMark Andrews *) Fix apxs to use sbindir. [Henri Gomez <hgomez@slib.fr>]
b667946fa548bf8cb93029458ec130be6365419fMark Andrews
d8624c1f19777853aa96cb797759743c82480f70Mark Andrews *) Fix a problem with IPv6 vhosts. PR #8118 [Jeff Trawick]
d8624c1f19777853aa96cb797759743c82480f70Mark Andrews
98744b51112090a3fb7abcf858cb0657c13609ccMark Andrews *) Optimization for the BNDM string-search function in
98744b51112090a3fb7abcf858cb0657c13609ccMark Andrews mod_include. [Brian Pane]
98744b51112090a3fb7abcf858cb0657c13609ccMark Andrews
8d31dd9ab62d91b5f23ac687657c966d44074a3fMark Andrews *) Fixed the behavior of the XBitHack directive.
8d31dd9ab62d91b5f23ac687657c966d44074a3fMark Andrews [Taketo Kabe <kabe@sra-tohoku.co.jp>, Cliff Woolley] PR#8804
8d31dd9ab62d91b5f23ac687657c966d44074a3fMark Andrews
6d5840017831db1eee3be47236ff5044449a0256Mark Andrews *) The threaded MPM for Unix has been removed. Use the worker
6d5840017831db1eee3be47236ff5044449a0256Mark Andrews MPM instead. [various]
6d5840017831db1eee3be47236ff5044449a0256Mark Andrews
3ec79bbc03fc5378a6cb37b276807cd40b5332aaMark Andrews *) APR-ize the resolver logic in mod_unique_id. This fixes a bug
3ec79bbc03fc5378a6cb37b276807cd40b5332aaMark Andrews in logging the error from a failed DNS lookup. [Jeff Trawick]
3ec79bbc03fc5378a6cb37b276807cd40b5332aaMark Andrews
dc64df4479df5e7cb3ed1dead21888b5af98f67eMark Andrews *) Added the missing macros AP_INIT_TAKE13 and AP_INIT_TAKE123.
dc64df4479df5e7cb3ed1dead21888b5af98f67eMark Andrews [Cliff Woolley]
778a01b1aa76273d4a28c7559a509edc7a00ec95Mark Andrews
778a01b1aa76273d4a28c7559a509edc7a00ec95Mark Andrews *) Get mod_cgid killed when a MPM exits due to a fatal error.
778a01b1aa76273d4a28c7559a509edc7a00ec95Mark Andrews [Jeff Trawick]
44f175a90a855326725439b2f1178f0dcca8f67dMark Andrews
44f175a90a855326725439b2f1178f0dcca8f67dMark Andrews *) Fix a file descriptor leak in mod_include. When we include a
21991bd14e8b59000dfc2acf2ce614596cf28cbaMark Andrews file, we use a sub-request, but we didn't destroy the sub-request
21991bd14e8b59000dfc2acf2ce614596cf28cbaMark Andrews immediately, instead we waited until the original request was
21991bd14e8b59000dfc2acf2ce614596cf28cbaMark Andrews done. This patch closes the sub-request as soon as the data is
b335299322e50f045f10e4636262cd2f8d407a8bMark Andrews done being generated. [Brian Pane <bpane@pacbell.net>]
b335299322e50f045f10e4636262cd2f8d407a8bMark Andrews
b335299322e50f045f10e4636262cd2f8d407a8bMark Andrews *) Allow modules that add sockets to the ap_listeners list to
ff5c52617eecd06161344c99987a866691592e4aMark Andrews define the function that should be used to accept on that
e12030c433a08b9e9678717ec5e8092c9e4da72cMark Andrews socket. Each MPM can define their own function to use for
e12030c433a08b9e9678717ec5e8092c9e4da72cMark Andrews the accept function with the MPM_ACCEPT_FUNC macro. This
e18c62b1dab6bf82530a94c00e2320e542f40c3fMark Andrews also abstracts out all of the Unix accept error handling
e18c62b1dab6bf82530a94c00e2320e542f40c3fMark Andrews logic, which has become out of synch across Unix MPMs.
5c40acf2156bbc258fc290f38cf8d5e12d085bedMark Andrews [Ryan Bloom]
5c40acf2156bbc258fc290f38cf8d5e12d085bedMark Andrews
5c40acf2156bbc258fc290f38cf8d5e12d085bedMark Andrews *) Fix a bug which would cause the response headers to be omitted
5c40acf2156bbc258fc290f38cf8d5e12d085bedMark Andrews when sending a negotiated ErrorDocument because the required
5c40acf2156bbc258fc290f38cf8d5e12d085bedMark Andrews filters were attached to the wrong request_rec.
5c40acf2156bbc258fc290f38cf8d5e12d085bedMark Andrews [John Sterling <sterling@covalent.net>]
8b7d3aeda264513ca83961fb752703cc3c85451dMark Andrews
8b7d3aeda264513ca83961fb752703cc3c85451dMark Andrews *) Remove commas from the end of the macros that define
8b7d3aeda264513ca83961fb752703cc3c85451dMark Andrews directives that are used by MPMs. Prior to this patch,
f083a44415365f6464f8bd35f439dc13ee0b684fMark Andrews you would use these macros without commas, which was unlike
f083a44415365f6464f8bd35f439dc13ee0b684fMark Andrews the macros for any other directives. Now, the caller provides
f083a44415365f6464f8bd35f439dc13ee0b684fMark Andrews the comma rather than the macro providing it. This makes
108300f7f14315b7fa72a04f009dcb4d0839f207Mark Andrews the macros look more like the rest of the directives.
108300f7f14315b7fa72a04f009dcb4d0839f207Mark Andrews [Ryan Bloom and Cliff Woolley]
108300f7f14315b7fa72a04f009dcb4d0839f207Mark Andrews
2fca4a3321c0137a0bcaa4692564b249ae26322eMark Andrews *) Add 'redirect-carefully' environment option to disable sending
2fca4a3321c0137a0bcaa4692564b249ae26322eMark Andrews redirects under special circumstances. This is helpful for
2fca4a3321c0137a0bcaa4692564b249ae26322eMark Andrews Microsoft's WebFolders when accessing a directory resource via
121f783b6660f2cb49829bdc51eb522fd327437eMark Andrews DAV methods. [Justin Erenkrantz]
121f783b6660f2cb49829bdc51eb522fd327437eMark Andrews
121f783b6660f2cb49829bdc51eb522fd327437eMark Andrews *) Begin to abstract out the underlying transport layer.
707d9fbd86a15a7112936473a31191dc09ca642cMark Andrews The first step is to remove the socket from the conn_rec,
707d9fbd86a15a7112936473a31191dc09ca642cMark Andrews the server now lives in a context that is passed to the
707d9fbd86a15a7112936473a31191dc09ca642cMark Andrews core's input and output filters. This forces us to be very
bb9298e0088e8a636ea59f5b435f7c5b536c8017Mark Andrews careful when adding calls that use the socket directly,
bb9298e0088e8a636ea59f5b435f7c5b536c8017Mark Andrews because the socket isn't available in most locations.
bb9298e0088e8a636ea59f5b435f7c5b536c8017Mark Andrews [Ryan Bloom]
1df2b7edfecd7cb7edc08ae9ec43d008cfbe7d34Mark Andrews
1df2b7edfecd7cb7edc08ae9ec43d008cfbe7d34Mark Andrews *) Really reset the MaxClients value in worker and threaded
1df2b7edfecd7cb7edc08ae9ec43d008cfbe7d34Mark Andrews when the configured value is not a multiple of the number
fd95cc0da9563aa85ac67462433b6a2b6ac0db9fMark Andrews of threads per child. We said we did previously but we
fd95cc0da9563aa85ac67462433b6a2b6ac0db9fMark Andrews forgot to. [Jeff Trawick]
fd95cc0da9563aa85ac67462433b6a2b6ac0db9fMark Andrews
bb6d33103e672d21429ae1837ce10d91f2419800Mark Andrews *) Add Debian layout. [Daniel Stone <daniel@sfarc.net>]
bb6d33103e672d21429ae1837ce10d91f2419800Mark Andrews
bb6d33103e672d21429ae1837ce10d91f2419800Mark Andrews *) If shared modules are requested and mod_so is not available,
cc6d67469cf390842adf1bd35dd2b21fc3b7df18Mark Andrews produce a fatal config-time error. [Justin Erenkrantz]
cc6d67469cf390842adf1bd35dd2b21fc3b7df18Mark Andrews
cc6d67469cf390842adf1bd35dd2b21fc3b7df18Mark Andrews *) Improve http2env's performance by cutting the work it has to
1e9848fb2b4573711c02696dc4ee6540de4c81f6Mark Andrews do. [Brian Pane <bpane@pacbell.net>]
1e9848fb2b4573711c02696dc4ee6540de4c81f6Mark Andrews
1e9848fb2b4573711c02696dc4ee6540de4c81f6Mark Andrews *) use new 'apr_hash_merge' function in mod_mime (performance fix)
1e9848fb2b4573711c02696dc4ee6540de4c81f6Mark Andrews [Brian Pane <bpane@pacbell.net>]
c45d848e2a5898975a14a6311a406f45028a45b0Tatuya JINMEI 神明達哉
c45d848e2a5898975a14a6311a406f45028a45b0Tatuya JINMEI 神明達哉Changes with Apache 2.0.28
c45d848e2a5898975a14a6311a406f45028a45b0Tatuya JINMEI 神明達哉
7dc38ccd52efe59c8fef8e73f9313080652a1c4aShawn Routhier *) Fix infinite loop in mod_cgid.c.
7dc38ccd52efe59c8fef8e73f9313080652a1c4aShawn Routhier [Dale Ghent <daleg@elemental.org>, Brian Pane <bpane@pacbell.net>]
7dc38ccd52efe59c8fef8e73f9313080652a1c4aShawn Routhier
7dc38ccd52efe59c8fef8e73f9313080652a1c4aShawn Routhier *) When no port is given in a "ServerName host" directive, the
ce164dbd9c97331a54994748df3ba72c35920946Tatuya JINMEI 神明達哉 server_rec->port is now set to zero, not 80. That allows for
ce164dbd9c97331a54994748df3ba72c35920946Tatuya JINMEI 神明達哉 run-time deduction of the correct server port (depending on
ce164dbd9c97331a54994748df3ba72c35920946Tatuya JINMEI 神明達哉 SSL/plain, and depending also on the current setting of
ce164dbd9c97331a54994748df3ba72c35920946Tatuya JINMEI 神明達哉 UseCanonicalName). This change makes redirections
c6217b2899ea2bca7f5870ea5dbb3e46fbb72391Mark Andrews work, even with https:// connections. As in Apache-1.3, the
86077a2e87bcf2b13cbe2ecfeb17502cc2c12b04Mark Andrews connection's actual port number is never used, only the ServerName
b8d036c434d68e358c95bcb7268b5c310ed0579cMark Andrews setting or the client's Host: setting. Documentation updated
b8d036c434d68e358c95bcb7268b5c310ed0579cMark Andrews to reflect the change. [Martin Kraemer]
b8d036c434d68e358c95bcb7268b5c310ed0579cMark Andrews
003fd2f720f79404b62d49f6dfe7aa1257f03b08Mark Andrews *) Add a '%{note-name}e' argument to mod-headers, which works in
003fd2f720f79404b62d49f6dfe7aa1257f03b08Mark Andrews the same way as mod_log_confg. [Ian Holsman]
003fd2f720f79404b62d49f6dfe7aa1257f03b08Mark Andrews
003fd2f720f79404b62d49f6dfe7aa1257f03b08Mark Andrews *) Fix the spelling of the AP_MPMQ_MIN_SPARE_DAEMONS and
a80d26914afece7324158918e8d74c7c8384a0dfMark Andrews AP_MPMQ_MAX_REQUESTS_DAEMON macros in ap_mpm.h and all standard
a80d26914afece7324158918e8d74c7c8384a0dfMark Andrews MPMs. [Cliff Woolley]
a80d26914afece7324158918e8d74c7c8384a0dfMark Andrews
c19f322914f380404b613fbb31f5ac2582098f9dMark Andrews *) Introduce htdbm, a user management utility for db/dbm authorization
c19f322914f380404b613fbb31f5ac2582098f9dMark Andrews databases. [Mladen Turk <mturk@mappingsoft.com>]
c19f322914f380404b613fbb31f5ac2582098f9dMark Andrews
ff9301990d83dedca3806a16b4c9693f16d6e8b1Mark Andrews *) Optimize usage of strlen and strcat in ap_directory_walk.
ff9301990d83dedca3806a16b4c9693f16d6e8b1Mark Andrews [Brian Pane <bpane@pacbell.net>]
fa2cb8d61d8699709b9fc14ed4f47bb63507b2a5Mark Andrews
fa2cb8d61d8699709b9fc14ed4f47bb63507b2a5Mark AndrewsChanges with Apache 2.0.27
fa2cb8d61d8699709b9fc14ed4f47bb63507b2a5Mark Andrews
08fb52ec8c3923e501c7f8d74c524cced52551f9Mark Andrews *) Introduce an Apache mod_ssl initial configuration template
08fb52ec8c3923e501c7f8d74c524cced52551f9Mark Andrews (ssl.conf, generated from ssl-std.conf). [Ralf S. Engelschall]
08fb52ec8c3923e501c7f8d74c524cced52551f9Mark Andrews
64c43af4f464b4ead99c3d2a561f0013fd26308cMark Andrews *) Fixed a memory leak in the getline parsing code that could
64c43af4f464b4ead99c3d2a561f0013fd26308cMark Andrews be triggered by arbitrarily large header lines. Requests
64c43af4f464b4ead99c3d2a561f0013fd26308cMark Andrews from the core input filter for single lines are now limited
c5259c013bba297cb0d38b85bd1c83fc26ef268cMark Andrews to HUGE_STRING_LEN (8192 bytes). [Aaron Bannert]
c5259c013bba297cb0d38b85bd1c83fc26ef268cMark Andrews
c5259c013bba297cb0d38b85bd1c83fc26ef268cMark Andrews *) Fix a truncation bug in how we print the port on the Via: header.
c5259c013bba297cb0d38b85bd1c83fc26ef268cMark Andrews The routine that prints the Via: header now takes a length for
c5259c013bba297cb0d38b85bd1c83fc26ef268cMark Andrews the port string. [Zvi Har'El <rl@math.technion.ac.il>]
ce0a4906ad27a8743e4f59e8ea06433640d78e54Mark Andrews
22c4126ba51175af1453cd2254c303c6f65a766cMark Andrews *) Some syntax errors in mod_mime_magic's magic file can result
22c4126ba51175af1453cd2254c303c6f65a766cMark Andrews in a 500 error, which previously was unlogged. Now we log the
637a4234fab5dacacfa0d4fb8b41290b634b252fMark Andrews error. [Jeff Trawick]
b1003ace6f6e15ffa212c7982c80845f549e6cefMark Andrews
b1003ace6f6e15ffa212c7982c80845f549e6cefMark Andrews *) Add the support/checkgid helper app, which checks the run-time
637a4234fab5dacacfa0d4fb8b41290b634b252fMark Andrews validity of group identifiers usable in the Group directive.
92348098ebe7ef4c26bfe2204a7364fa18735afcMark Andrews [Ken Coar]
92348098ebe7ef4c26bfe2204a7364fa18735afcMark Andrews
637a4234fab5dacacfa0d4fb8b41290b634b252fMark Andrews *) Various --enable-so options have been fixed: --enable-so is
d1a5fdc34a3d7caabead7bbf0cbf6fa7d89f0910Mark Andrews treated as "static"; explicit --enable-so=shared issues an error;
d1a5fdc34a3d7caabead7bbf0cbf6fa7d89f0910Mark Andrews and explicit --enable-so fails with error on systems without
5e95cf76e46d93d6b6c2e3cd1aca4c1ab33f827eMark Andrews APR_HAS_DSO. [Aaron Bannert]
2e20dea9fc0a84217c7debdef8b4b6c6f04d3998Mark Andrews
2e20dea9fc0a84217c7debdef8b4b6c6f04d3998Mark Andrews *) Fix a segfault in the core input filter when the client socket
13396661f46572d7b94703a25721aad040fbd91aMark Andrews gets disconnected unexpectedly. [Cliff Woolley]
13396661f46572d7b94703a25721aad040fbd91aMark Andrews
13396661f46572d7b94703a25721aad040fbd91aMark Andrews *) Fix the reporting for child processes that die. This removes
64f8608ed6b7f42a4a7d358fade2c82dfd1e9c01Mark Andrews all of the non-portable W* macros from Apache.
64f8608ed6b7f42a4a7d358fade2c82dfd1e9c01Mark Andrews [Jeff Trawick and Ryan Bloom]
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews *) Win32: Track and display "Parent Server Generation:" in
d3cbd6b05c16c6e0e86c1651bda3b3ee06574d62Mark Andrews mod_status output. The generation will be bumped at
d3cbd6b05c16c6e0e86c1651bda3b3ee06574d62Mark Andrews server graceful restart, when the child process exits
d3cbd6b05c16c6e0e86c1651bda3b3ee06574d62Mark Andrews by hitting MaxRequestsPerChild or if the child
139cedabf9242add24d8326e216e451dd2d5a935Tatuya JINMEI 神明達哉 process exits abnormally. [Bill Stoddard]
3a28f0dc73549d8c59ad18898540892c7eed957bTatuya JINMEI 神明達哉
139cedabf9242add24d8326e216e451dd2d5a935Tatuya JINMEI 神明達哉 *) Win32: Fix problem where MaxRequestsPerChild directive was
8ac908b38a2fd9b780ae3a27ff26932a17823ae0Mark Andrews not being picked up in favor of the default. Enable
8ac908b38a2fd9b780ae3a27ff26932a17823ae0Mark Andrews the parent to start up a new child process immediately upon
8ac908b38a2fd9b780ae3a27ff26932a17823ae0Mark Andrews the old child starting shutdown.
0b24b2d3c423560a0a4cd9a4476b9a2dcafb7ea3Evan Hunt [Bill Stoddard]
0b24b2d3c423560a0a4cd9a4476b9a2dcafb7ea3Evan Hunt
0b24b2d3c423560a0a4cd9a4476b9a2dcafb7ea3Evan Hunt *) Fix some bungling of the remote port in rfc1413.c so that
dcfca6f18d5069155ae50025aaeead0cc8c04730Evan Hunt IdentityCheck retrieves the proper user id instead of failing
dcfca6f18d5069155ae50025aaeead0cc8c04730Evan Hunt and thus always returning "nobody."
ebaf977ecfe6b26ba4482e00d1fd78914a1e17ebMark Andrews [Dick Streefland <Dick.Streefland@xs4all.nl>]
ebaf977ecfe6b26ba4482e00d1fd78914a1e17ebMark Andrews
ebaf977ecfe6b26ba4482e00d1fd78914a1e17ebMark Andrews *) Introduced thread saftey for mod_rewrite's internal cache.
140cf92b3bbff9da00a782c8afe27f5fa63bd7f7Evan Hunt [Brian Pane <bpane@pacbell.net>]
19a62c240d4bac66eabc96139bc4a773250495ccFrancis Dupont
fd3a3783538312dc8f61a85ce4d3720f43b912c0Mark Andrews *) Simplified mod_env's directives to behave as most directives are
fd3a3783538312dc8f61a85ce4d3720f43b912c0Mark Andrews expected, in that UnsetEnv will not unset a SetEnv and PassEnv
fd3a3783538312dc8f61a85ce4d3720f43b912c0Mark Andrews directive following that UnsetEnv within the same container.
0185a9358cb8324f44e114c6fd3cbbc4b9c507e4Francis Dupont Also provides a runtime startup warning if a PassEnv configured
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt environment value is undefined. [William Rowe]
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt *) The worker MPM is now completely ported to APR's new lock API. It
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt uses native APR types for thread mutexes, cross-process mutexes,
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt and condition variables. [Aaron Bannert]
ce0a4906ad27a8743e4f59e8ea06433640d78e54Mark Andrews
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt *) Sync up documentation to remove all references to the now deprecated
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt Port directive. [Justin Erenkrantz]
0185a9358cb8324f44e114c6fd3cbbc4b9c507e4Francis Dupont
e11a0c114cdaf8f7e7832e9f1a011138248093a6Evan Hunt *) Moved all ldap modules from the core to httpd-ldap sub-project
e11a0c114cdaf8f7e7832e9f1a011138248093a6Evan Hunt [Ryan Bloom]
0185a9358cb8324f44e114c6fd3cbbc4b9c507e4Francis Dupont
b47d410f8409294863f214542a05c92cbe86cf04Evan Hunt *) Exit when we can't listen on any of the configured ports. This
0185a9358cb8324f44e114c6fd3cbbc4b9c507e4Francis Dupont is the same behavior as 1.3, and it avoids having the MPMs to
6ff7cd9fa57e8f8092c08df8f9ceccbffb6b19c9Francis Dupont deal with bogus ap_listen_rec structures. [Jeff Trawick]
6ff7cd9fa57e8f8092c08df8f9ceccbffb6b19c9Francis Dupont
0185a9358cb8324f44e114c6fd3cbbc4b9c507e4Francis Dupont *) Cleanup the proxy code that creates a request to the origin
f77148e02902a96bddd5948e594bd4be2efe67ffFrancis Dupont server. This change adds an optional hook, which allows modules
f77148e02902a96bddd5948e594bd4be2efe67ffFrancis Dupont to gain control while the request is created if the proxy module
0185a9358cb8324f44e114c6fd3cbbc4b9c507e4Francis Dupont is loaded. The purpose of this hook is to allow modules to add
0185a9358cb8324f44e114c6fd3cbbc4b9c507e4Francis Dupont input and/or output filters to the request to the origin. While
a91029a00e83e3933046cc9354357bccaa66c272Francis Dupont I was at it, I made the core use this hook, so that proxy request
a91029a00e83e3933046cc9354357bccaa66c272Francis Dupont creation uses some of the code from the core. This can still be
a91029a00e83e3933046cc9354357bccaa66c272Francis Dupont greatly improved, but this is a good start. [Ryan Bloom]
05b1ab91a62c09b052cdd9641355671997430d15Evan Hunt
05b1ab91a62c09b052cdd9641355671997430d15Evan HuntChanges with Apache 2.0.26
05b1ab91a62c09b052cdd9641355671997430d15Evan Hunt
03e5afa4c09d57f85a007149999619e87f501138Evan Hunt *) Port the MaxClients changes from the worker MPM to the threaded
03e5afa4c09d57f85a007149999619e87f501138Evan Hunt MPM. [Ryan Bloom]
03e5afa4c09d57f85a007149999619e87f501138Evan Hunt
03e5afa4c09d57f85a007149999619e87f501138Evan Hunt *) Fix mod_proxy so that it handles chunked transfer-encoding and works
03e5afa4c09d57f85a007149999619e87f501138Evan Hunt with the new input filtering system. [Justin Erenkrantz]
03e5afa4c09d57f85a007149999619e87f501138Evan Hunt
03e5afa4c09d57f85a007149999619e87f501138Evan Hunt *) Introduce the MultiviewsMatch directive, to allow the operator
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt to be flexible in recognizing Handlers and Filters filename
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt extensions as part of the Multiviews matching logic, strict with
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt MultiviewsMatch NegotiatedOnly to accept only filename extentions
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt that designate negotiated parameters, (content type, charset, etc.)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt or MultiviewsAll for the 1.3 behavior of matching any files, even
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt if they have unregistered extensions. [William Rowe]
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt *) Fixed the configure script to add a LoadModule directive to
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt the default httpd.conf for any module that was compiled
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt as a DSO. [Aaron Bannert <aaron@clove.org>]
8ebf67b7f0aeea7ef8c6e034c57a1dc57a7b216aEvan Hunt
8ebf67b7f0aeea7ef8c6e034c57a1dc57a7b216aEvan Hunt *) rewrite mod_ssl input filtering to work with the new input filtering
8ebf67b7f0aeea7ef8c6e034c57a1dc57a7b216aEvan Hunt system. [Justin Erenkrantz]
7c25b5f311a5a97ba3e9323956507f551c9b3b53Shawn Routhier
7c25b5f311a5a97ba3e9323956507f551c9b3b53Shawn Routhier *) prefork: Don't segfault when we are able to listen on some but
7c25b5f311a5a97ba3e9323956507f551c9b3b53Shawn Routhier not all of the configured ports. [Jeff Trawick]
597642c0baaf66172ca44104ed5a18957a969748Evan Hunt
597642c0baaf66172ca44104ed5a18957a969748Evan Hunt *) Build mod_so even if no core modules are built shared.
597642c0baaf66172ca44104ed5a18957a969748Evan Hunt [Aaron Bannert <aaron@clove.org>]
597642c0baaf66172ca44104ed5a18957a969748Evan Hunt
597642c0baaf66172ca44104ed5a18957a969748Evan Hunt *) Introduce ap_directory_walk rewrite (with further optimizations
d3a6cd7c7e13707d0c26e1af0e026dd6c22c5e99Evan Hunt required) to adapt to the ap_process_request_internal() changes.
d3a6cd7c7e13707d0c26e1af0e026dd6c22c5e99Evan Hunt Optimized so subrequests and redirects now reuse previous section
d3a6cd7c7e13707d0c26e1af0e026dd6c22c5e99Evan Hunt merges, until we mismatch with the original directory_walk, and
845bb3195a4f50d438ec0fcd5d79593010314319Evan Hunt precomputed r->finfo results will cause directory_walk to skip
845bb3195a4f50d438ec0fcd5d79593010314319Evan Hunt the most expensive phases of the function. [William Rowe]
845bb3195a4f50d438ec0fcd5d79593010314319Evan Hunt
d8680445d6212d5552ea8a22fd2f9951b11c4b10Tatuya JINMEI 神明達哉 *) Allow ApacheMonitor to connect to and control Apache on other
d8680445d6212d5552ea8a22fd2f9951b11c4b10Tatuya JINMEI 神明達哉 WinNT/2K machines. [Mladen Turk <mturk@mappingsoft.com>]
d8680445d6212d5552ea8a22fd2f9951b11c4b10Tatuya JINMEI 神明達哉
9ead684875ab0ab5fdb8b5dd837a88f7dbd0e01dEvan Hunt *) Remove the Port directive. In it's place, the Listen directive
9ead684875ab0ab5fdb8b5dd837a88f7dbd0e01dEvan Hunt is now a required directive, which tells Apache what port to
687b6322fb189c41c3672226a59461cc5c24c087Evan Hunt listen on. The ServerName directive has also been extended
687b6322fb189c41c3672226a59461cc5c24c087Evan Hunt to accept an optional port. If the port is specified to the
687b6322fb189c41c3672226a59461cc5c24c087Evan Hunt ServerName, the server will report that port whenever it
57fb4f7bbec88bc6431a39d4a10f82c265798b1fMark Andrews reports the port that it is listening on. This change was
57fb4f7bbec88bc6431a39d4a10f82c265798b1fMark Andrews made to ease configuration errors that stem from having a Port
57fb4f7bbec88bc6431a39d4a10f82c265798b1fMark Andrews directive, and a Listen directive. In that situation, the server
57fb4f7bbec88bc6431a39d4a10f82c265798b1fMark Andrews would only listen to the port specified by the Listen command,
5b77627c09dea9a65a70d2a0b95a22ff75b3ac04Mark Andrews which caused a lot of confusion to users. [Ryan Bloom]
5b77627c09dea9a65a70d2a0b95a22ff75b3ac04Mark Andrews
5b77627c09dea9a65a70d2a0b95a22ff75b3ac04Mark Andrews *) Added mod_mime_magic, mod_unique_id and mod_vhost_alias to the Win32
288486df9df0c5a39b3c3d625c7f133d9a8e69fbMark Andrews build, as loadable modules. [William Rowe]
288486df9df0c5a39b3c3d625c7f133d9a8e69fbMark Andrews
5773d3c007c0c065f83480aa17e61bea728221f9Mark Andrews *) Fix --enable-mods-shared processing. If most is specified,
5773d3c007c0c065f83480aa17e61bea728221f9Mark Andrews then all modules that can be compiled as shared modules are.
5773d3c007c0c065f83480aa17e61bea728221f9Mark Andrews [Aaron Bannert <aaron@clove.org>]
85c5ed3577655f4f710f0af5ee93edd71c336055Evan Hunt
85c5ed3577655f4f710f0af5ee93edd71c336055Evan Hunt *) Update the mime.types file to map video/vnd.mpegurl to mxu
85c5ed3577655f4f710f0af5ee93edd71c336055Evan Hunt and add commonly used audio/x-mpegurl for m3u extensions.
0faf1492c711ddb063efda9f3f03b7afa938cff8Francis Dupont [Heiko Recktenwald <uzs106@uni-bonn.de>, Lars Eilebrecht]
0faf1492c711ddb063efda9f3f03b7afa938cff8Francis Dupont
0faf1492c711ddb063efda9f3f03b7afa938cff8Francis Dupont *) Eliminate the depreciated r->content_language, in favor of the array
0faf1492c711ddb063efda9f3f03b7afa938cff8Francis Dupont r->content_languages introduced many years ago. Module authors must
0faf1492c711ddb063efda9f3f03b7afa938cff8Francis Dupont substantially overhaul their modules, so this needs to be upgraded
bd31f734eec1884bd14024a232eb3ad3b0b86489Evan Hunt if the module still relied on backwards-brokeness. [William Rowe]
bd31f734eec1884bd14024a232eb3ad3b0b86489Evan Hunt
1361014b02f11cf8de8725d1770a3dccbc1c8975Evan Hunt *) Allow configure help strings to work with autoconf 2.50+ and 2.13.
1361014b02f11cf8de8725d1770a3dccbc1c8975Evan Hunt [Justin Erenkrantz]
1361014b02f11cf8de8725d1770a3dccbc1c8975Evan Hunt
ce0a4906ad27a8743e4f59e8ea06433640d78e54Mark Andrews *) Rewrite the input filtering mechanisms to consolidate and reorganize
40ad4ed01be1cace49a62214d11ef1309b3029a0Evan Hunt code. In short, core_input_filter does something now and
40ad4ed01be1cace49a62214d11ef1309b3029a0Evan Hunt ap_http_filter is now only concerned with HTTP. [Justin Erenkrantz]
b09559fd36c5081ffaf58ab64bdef170c1a720f1Evan Hunt
b09559fd36c5081ffaf58ab64bdef170c1a720f1Evan Hunt *) Update the Win32 build to re-absorb mod_proxy and family.
b09559fd36c5081ffaf58ab64bdef170c1a720f1Evan Hunt [William Rowe]
aa3415ba49c7f322845ee3dd59c2d0159f37bb34Evan Hunt
aa3415ba49c7f322845ee3dd59c2d0159f37bb34Evan Hunt *) Resolved the build failure on Win32 using MSVC 5.0 (without the
aa3415ba49c7f322845ee3dd59c2d0159f37bb34Evan Hunt current SDK.) [William Rowe]
c9630524c7560b27784fca6e456e652ff41ae7f1Mark Andrews
c9630524c7560b27784fca6e456e652ff41ae7f1Mark Andrews *) Some style changes to the code that does ProxyErrorOverride. Fixed
c9630524c7560b27784fca6e456e652ff41ae7f1Mark Andrews config merge behaviour. [Graham Leggett]
4e55893d307162770fbd7e0967043f0aef9d7583Evan Hunt
4e55893d307162770fbd7e0967043f0aef9d7583Evan Hunt *) Allow support programs to be compiled against a static version
4e55893d307162770fbd7e0967043f0aef9d7583Evan Hunt of libapr. This allows the smaller support programs to be
4e55893d307162770fbd7e0967043f0aef9d7583Evan Hunt relocated. [Aaron Bannert <aaron@clove.org>]
4e55893d307162770fbd7e0967043f0aef9d7583Evan Hunt
4e55893d307162770fbd7e0967043f0aef9d7583Evan Hunt *) Update the mime.types file to the registered media types as
0da859c5a7f17298577616577197cc6c857e4579Evan Hunt of 2001-09-25, and add mapping for xsl extension [Mark Cox]
0da859c5a7f17298577616577197cc6c857e4579Evan Hunt
0da859c5a7f17298577616577197cc6c857e4579Evan Hunt *) Fix MaxClients in the Worker MPM, so that it specifies the maximum
19a6c40c37cd22a07b29542a5cc5c8986c1fbf57Evan Hunt number of clients that can connect at the same time, instead of
19a6c40c37cd22a07b29542a5cc5c8986c1fbf57Evan Hunt specifying the maximum number of child processes.
19a6c40c37cd22a07b29542a5cc5c8986c1fbf57Evan Hunt [Aaron Bannert <aaron@clove.org>]
9de98fbbbee124bbb8d609669cfaff17ec7a36e0Evan Hunt
9de98fbbbee124bbb8d609669cfaff17ec7a36e0Evan Hunt *) Switch proc_pthread AcceptMutex configuration directive to pthread to
9de98fbbbee124bbb8d609669cfaff17ec7a36e0Evan Hunt be consistent with 1.3. [Justin Erenkrantz]
28f4cd0a4503b91d7a48ed4d157347b251ae5686Mark Andrews
c221360e9f511be38c1385b9a647ebd7dceb8b42Mark Andrews *) Cache apr_explode_localtime() value for 15 seconds.
28f4cd0a4503b91d7a48ed4d157347b251ae5686Mark Andrews [Brian Pane <bpane@pacbell.net>]
485a435efecda961aa117b63d8e02494a5e11e37Mark Andrews
bc04d6ec155564b7f0c0171ac88e9e5918366c9dEvan Hunt *) Fix mod_include to not return ETag or Last-Modified headers.
bc04d6ec155564b7f0c0171ac88e9e5918366c9dEvan Hunt [Ian Holsman <ianh@cnet.com>]
bc04d6ec155564b7f0c0171ac88e9e5918366c9dEvan Hunt
16de5dbc7178b7fe8a9d4beb9ff50778cc8d3847Evan Hunt *) Fix worker MPM's scoreboard logic. [Aaron Bannert <aaron@clove.org>]
16de5dbc7178b7fe8a9d4beb9ff50778cc8d3847Evan Hunt
b8b602f89be848d44472df92320e9d88213a1411Evan Hunt *) Eliminate the wasteful run-time conversion of method names from strings
b8b602f89be848d44472df92320e9d88213a1411Evan Hunt to numbers in places where the methods are known at compile time.
b8b602f89be848d44472df92320e9d88213a1411Evan Hunt [Brian Pane <bpane@pacbell.net>]
12178c86525332bb0ab66155feb61fbf32eca6acEvan Hunt
12178c86525332bb0ab66155feb61fbf32eca6acEvan Hunt *) Turn the worker MPM's queue into a LIFO. This may
12178c86525332bb0ab66155feb61fbf32eca6acEvan Hunt improve cache-hit performance under some conditions.
12178c86525332bb0ab66155feb61fbf32eca6acEvan Hunt [Aaron Bannert <aaron@clove.org>]
d601ef9e8914bc914220865328de64cb4b6cec67Evan Hunt
d601ef9e8914bc914220865328de64cb4b6cec67Evan Hunt *) Switch back to SIGUSR1 for graceful restarts on all platforms that
d601ef9e8914bc914220865328de64cb4b6cec67Evan Hunt support it. [Justin Erenkrantz]
71ba75c604df3604673232828a68bb28c420e698Mark Andrews
71ba75c604df3604673232828a68bb28c420e698Mark Andrews *) Cleanup the worker MPM. We no longer re-use transaction
71ba75c604df3604673232828a68bb28c420e698Mark Andrews pools. This incurs less overhead than shuffling the pools
71ba75c604df3604673232828a68bb28c420e698Mark Andrews around so that they can be re-used. Remove one of the
71ba75c604df3604673232828a68bb28c420e698Mark Andrews queue's condition variables. We just redefined the API to
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews state that you can't try to add more stuff than you allocated
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews segments for. [Aaron Bannert <aaron@clove.org>]
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews *) Fix SSL VPATH builds [Cody Sherr <csherr@covalent.net>]
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews *) Fixed persistent connections when a request contains a body.
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews [Greg Stein]
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews *) mod_dav uses a new API to speak to the backend provider for dead
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews property management. [Greg Stein]
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews
3d17a3ba61a303d5c4d9867068d0fbe9f24d2988Mark Andrews *) Remove the Win32 script-processing exception from mod_cgi, and
5d850024cb41fdcb0b85efd3f7997bc52e6b33e8Mark Andrews roll build_command_line/build_argv_list into a unified, overrideable
5d850024cb41fdcb0b85efd3f7997bc52e6b33e8Mark Andrews ap_cgi_build_command optional function. [William Rowe]
5d850024cb41fdcb0b85efd3f7997bc52e6b33e8Mark Andrews
5d850024cb41fdcb0b85efd3f7997bc52e6b33e8Mark Andrews *) Rewrite find_start_sequence to use a better search algorithm
5d850024cb41fdcb0b85efd3f7997bc52e6b33e8Mark Andrews to find the start tag. [Justin Erenkrantz]
8e4f3f1cbceef520ba889270c993de0ac376a2a7Evan Hunt
8e4f3f1cbceef520ba889270c993de0ac376a2a7Evan Hunt *) Fix a seg fault in mod_include. When we are generating an
8e4f3f1cbceef520ba889270c993de0ac376a2a7Evan Hunt internal redirect, we must set r->uri to "", not a bogus
8e4f3f1cbceef520ba889270c993de0ac376a2a7Evan Hunt string, and not NULL. [Ryan Bloom]
e6dda86e8b18ca24db86bd6cd986fdcbfda3f06aEvan Hunt
e6dda86e8b18ca24db86bd6cd986fdcbfda3f06aEvan Hunt *) Optimized location_walk, so subrequests, redirects and second passes
e6dda86e8b18ca24db86bd6cd986fdcbfda3f06aEvan Hunt now reuse previous section merges on a <Location > by <Location >
2a0d4c4d6ba5addb33cd1bccecc55ca4a095f191Mark Andrews basis, until we mismatch with the original location_walk.
2a0d4c4d6ba5addb33cd1bccecc55ca4a095f191Mark Andrews [William Rowe]
2a0d4c4d6ba5addb33cd1bccecc55ca4a095f191Mark Andrews
d524a81532c87c7fa8d0ce0261645fb18276b1eeMark Andrews *) Back out the 1.45 change to util_script.c. This change made
d524a81532c87c7fa8d0ce0261645fb18276b1eeMark Andrews us set the environment variable REQUEST_URI to the redirected
d524a81532c87c7fa8d0ce0261645fb18276b1eeMark Andrews URI, instead of the originally requested URI.
feeca57f18fe7ae1825bef81a210068d4ddaf4eeEvan Hunt [Taketo Kabe <kabe@sra-tohoku.co.jp>]
feeca57f18fe7ae1825bef81a210068d4ddaf4eeEvan Hunt
feeca57f18fe7ae1825bef81a210068d4ddaf4eeEvan Hunt *) Make mod_include do lazy evaluation of potentially expensive to
8b37c0dd6e1cf3f8849f4f28b77b43ab3fb20ea4Mark Andrews compute variables. [Brian Pane <bpane@pacbell.net>]
8b37c0dd6e1cf3f8849f4f28b77b43ab3fb20ea4Mark Andrews
c073c65719eb5a7a525176d9a62e1b58a11ecab7Evan Hunt *) Fix logging of bytes sent for HEAD requests. %b and %B should
c073c65719eb5a7a525176d9a62e1b58a11ecab7Evan Hunt log either - or 0, before this patch, they were both logging
c073c65719eb5a7a525176d9a62e1b58a11ecab7Evan Hunt the file size. [Taketo Kabe <kabe@sra-tohoku.co.jp>]
c073c65719eb5a7a525176d9a62e1b58a11ecab7Evan Hunt
c073c65719eb5a7a525176d9a62e1b58a11ecab7Evan Hunt *) Make mod_include check for BYTE_CHECK_THRESHOLD per bucket rather
5d9922e86f3d7f58f4c6b1234962ee4567108830Vernon Schryver than per character. [Brian Pane <bpane@pacbell.net>]
c4e3976707829c3225983b80afb09215e49ea10dMark Andrews
c4e3976707829c3225983b80afb09215e49ea10dMark Andrews *) Normalize the primary request, redirects and sub-requests to
49f788cbd39eb9218c19e077c7b2519c617e044dMark Andrews run the same ap_process_request_internal for consistency in
88a7702a9dc82581c554cc0b04902879cdda41a6Mark Andrews robustness, behavior and security. [William Rowe]
66ecb6789b7effa68f75dc70f0843a26825b44f6Mark Andrews
cfc22e53a89ccac4eb04b4f41a93f73e629e80edEvan Hunt *) Fix a segfault with mod_include when r->path_info is not set
cfc22e53a89ccac4eb04b4f41a93f73e629e80edEvan Hunt (which is the case with mod_proxy). [Ian Holsman <ianh@cnet.com>]
ce3b2c5189e874f1c45d699cfb4f30fc7a8cd604Evan Hunt
ce3b2c5189e874f1c45d699cfb4f30fc7a8cd604Evan Hunt *) Add -X functionality back. This indicates to all MPMs and any other
ce3b2c5189e874f1c45d699cfb4f30fc7a8cd604Evan Hunt part of Apache that it should run in "debug" mode. [Justin Erenkrantz]
fc1fb1a469dc44fb12bbe51ead6caf568239d5abEvan Hunt
fc1fb1a469dc44fb12bbe51ead6caf568239d5abEvan Hunt *) Some initial support for the cygwin platform [prefork only].
fc1fb1a469dc44fb12bbe51ead6caf568239d5abEvan Hunt This is not to be confused with support for the WinNT/Win32
d0ca4e90e2dd584db70e403ef92ab08d78d9cd6dMark Andrews platform, which is the recommended configuration for native
d0ca4e90e2dd584db70e403ef92ab08d78d9cd6dMark Andrews Win32 users. The cygwin platform support is recommended for
d312bc5d81cff8fc156b62c970334b52227ee854Evan Hunt cygwin platform users. [Stipe Tolj <tolj@wapme-systems.de>]
d312bc5d81cff8fc156b62c970334b52227ee854Evan Hunt
d312bc5d81cff8fc156b62c970334b52227ee854Evan Hunt *) Changed syntax of Set{Input|Output}Filter. The list of filters
d312bc5d81cff8fc156b62c970334b52227ee854Evan Hunt must be semicolon delimited (if more than one filter is given.)
9dd2ee95f11de29e358cc01059861e724dbb5807Mark Andrews The Set{Input|Output}Filter directive now overrides a parent
db6cd7ee05471eddeaac642b2f45dde87e770da5Mark Andrews container's directive (e.g. SetInputFilter in <Directory /web/foo>
9dd2ee95f11de29e358cc01059861e724dbb5807Mark Andrews will override any SetInputFilter directive in <Directory /web>.)
dc9270706619976c47236892c655ba76671c37f1Mark Andrews This new syntax is more consistent with Add{Input|Output}Filter
dc9270706619976c47236892c655ba76671c37f1Mark Andrews directives defined in mod_mime. Also cures a bug in prior releases
dc9270706619976c47236892c655ba76671c37f1Mark Andrews where the Set{Input|Output}Filter directive would corrupt the
503e5aa8d2400e47c9617db10b57f2d4f3495fd2Mark Andrews global configuration if the multiple directives were nested.
503e5aa8d2400e47c9617db10b57f2d4f3495fd2Mark Andrews [William Rowe]
503e5aa8d2400e47c9617db10b57f2d4f3495fd2Mark Andrews
5985af3f5ca3bd3aecd177c7eab497e7414c3945Evan Hunt *) Cured what's ailed mime for quite some time. If an AddSomething
5985af3f5ca3bd3aecd177c7eab497e7414c3945Evan Hunt was given in the configuration (Language, Charset, Handler or
cef109efa70b55ec1cd3ed706a9607ba1c3382d5Evan Hunt Encoding) Apache would set the content type as given by AddType,
cef109efa70b55ec1cd3ed706a9607ba1c3382d5Evan Hunt but refused to check the mime.types file if AddType wasn't given
cef109efa70b55ec1cd3ed706a9607ba1c3382d5Evan Hunt for that specific extension. Setting the AddHandler for .html
cef109efa70b55ec1cd3ed706a9607ba1c3382d5Evan Hunt without setting the AddType text/html html would cause Apache to
cef109efa70b55ec1cd3ed706a9607ba1c3382d5Evan Hunt use the default content type. [William Rowe]
cef109efa70b55ec1cd3ed706a9607ba1c3382d5Evan Hunt
cef109efa70b55ec1cd3ed706a9607ba1c3382d5Evan Hunt *) Added some bulletproofing to memory allocation in the LDAP cache
cef109efa70b55ec1cd3ed706a9607ba1c3382d5Evan Hunt code. [Graham Leggett]
289dbe005c271d344296cad043157fee6604bdb0Mark Andrews
289dbe005c271d344296cad043157fee6604bdb0Mark AndrewsChanges with Apache 2.0.25
c16d37d06e103b259073a61e610e688e2849289aMark Andrews
c16d37d06e103b259073a61e610e688e2849289aMark Andrews *) Move the installed /manual directory out of the /htdocs/ tree, so
1cd538c05181b7236e4a2d159a99997dcfa1cb5cFrancis Dupont that it can be kept more independently from the remaining document
1cd538c05181b7236e4a2d159a99997dcfa1cb5cFrancis Dupont root. The "Alias /manual ..." already allowed for easy projection
1cd538c05181b7236e4a2d159a99997dcfa1cb5cFrancis Dupont into existing private document trees. [Martin Kraemer]
0088b45de515b891622e7e81dee9602291231c10Evan Hunt
0088b45de515b891622e7e81dee9602291231c10Evan Hunt *) Add specified user attributes to the environment when using
0088b45de515b891622e7e81dee9602291231c10Evan Hunt mod_auth_ldap. This allows you to use mod_include to embed specified
b08325a7f3092cca1131e1a04a43a4ecef713e29Evan Hunt user attributes in a page like so:
b08325a7f3092cca1131e1a04a43a4ecef713e29Evan Hunt Hello <!--#echo var="AUTHENTICATE_CN"-->, how are you?
b08325a7f3092cca1131e1a04a43a4ecef713e29Evan Hunt [Graham Leggett]
a39a5f4d816ca7d3f43106712ca668dd1ab31d69Mark Andrews
a39a5f4d816ca7d3f43106712ca668dd1ab31d69Mark Andrews *) Fix a performance problem with the worker MPM. We now create
a39a5f4d816ca7d3f43106712ca668dd1ab31d69Mark Andrews transaction pools once, and re-use them for each connection.
a39a5f4d816ca7d3f43106712ca668dd1ab31d69Mark Andrews [Aaron Bannert <aaron@clove.org>]
7ee4b13ded769df52e8c66b3dfa1de968df7bd28Evan Hunt
7ee4b13ded769df52e8c66b3dfa1de968df7bd28Evan Hunt *) Modfied mod_mime to prevent mod_negotation from serving a multiview
7ee4b13ded769df52e8c66b3dfa1de968df7bd28Evan Hunt of a 'handler' or 'filter', so that any filename extension that does
44a3999cf4f71bd81a7942ff5e60c6b1828e5f9dEvan Hunt not contribute to the negotiated metadata can't be served without
44a3999cf4f71bd81a7942ff5e60c6b1828e5f9dEvan Hunt an explicit request. E.g., if the .Z extension is associated with
44a3999cf4f71bd81a7942ff5e60c6b1828e5f9dEvan Hunt an unzip filter, the user request somefile.Z.html, mod_negotiation
7048af0a551f13d2916a06cce21357714939a89bEvan Hunt won't serve it. It can serve somefile.Z.html when somefile.Z is
7048af0a551f13d2916a06cce21357714939a89bEvan Hunt requested, since the .Z extension is explictly requested, if the
00295e065080e0b9856d00b15976d1ed5d280cbfEvan Hunt .html extension is associated with ContentType text/html.
00295e065080e0b9856d00b15976d1ed5d280cbfEvan Hunt [William Rowe]
e856482b1fe1c554a8e47a519b59902b21792564Evan Hunt
e856482b1fe1c554a8e47a519b59902b21792564Evan Hunt *) Introduce the AddInputFilter filter[;filter...] ext [ext...]
e856482b1fe1c554a8e47a519b59902b21792564Evan Hunt and corresponding AddOutputFilter syntax, to insert one or more
e856482b1fe1c554a8e47a519b59902b21792564Evan Hunt filters by mod_mime filename extension processing.
37a34ab54fbd17651961316fadcb48edef7039c9Evan Hunt [William Rowe]
37a34ab54fbd17651961316fadcb48edef7039c9Evan Hunt
37a34ab54fbd17651961316fadcb48edef7039c9Evan Hunt *) Fix a growing connection pool in core_output_filter() for
37a34ab54fbd17651961316fadcb48edef7039c9Evan Hunt keepalive requests. [Jeff Trawick]
1d0ebb4cf21324b28215c5df84cce0f84dd6948bMark Andrews
1d0ebb4cf21324b28215c5df84cce0f84dd6948bMark Andrews *) Moved split_and_pass_pretag_buckets back to being a
1d0ebb4cf21324b28215c5df84cce0f84dd6948bMark Andrews macro at Ryans's request. Removed the return from it
adb42115869b8258cd38bc7fd044766f662bdd78Mark Andrews by setting and returning a return code instead. Updated
adb42115869b8258cd38bc7fd044766f662bdd78Mark Andrews the code to check the return code from the macro and
e9dff04d3bd9b7b247cad0f914ed80914a49bcccEvan Hunt do the right thing. [Paul J. Reder]
e9dff04d3bd9b7b247cad0f914ed80914a49bcccEvan Hunt
0c3948e6066e8910edb3f6a7820bd42ffaefedf6Evan Hunt *) Fix a segfault when a numeric value was received for Host:.
0c3948e6066e8910edb3f6a7820bd42ffaefedf6Evan Hunt [Jeff Trawick]
0c3948e6066e8910edb3f6a7820bd42ffaefedf6Evan Hunt
2c016c64f533171e1342c1914754b017026c8ad5Tatuya JINMEI 神明達哉 *) Add a function ap_remove_input_filter. This is to match
2c016c64f533171e1342c1914754b017026c8ad5Tatuya JINMEI 神明達哉 up with ap_remove_output_filter. [Ryan Bloom]
2c016c64f533171e1342c1914754b017026c8ad5Tatuya JINMEI 神明達哉
2c016c64f533171e1342c1914754b017026c8ad5Tatuya JINMEI 神明達哉 *) Clean up location_walk, so that this step performs a minimum
38397492000c996d50f9bf96a4da318a742bd07cEvan Hunt amount of redundant effort (it must be run twice, but it will no
38397492000c996d50f9bf96a4da318a742bd07cEvan Hunt longer reparse all <Location > blocks when the request uri
9d5e42bb875bc287387241dd7563f5698afd31f6Mark Andrews hadn't changed.) [William Rowe]
f82d52e82defd947805f0882f1559e88d830922aEvan Hunt
f82d52e82defd947805f0882f1559e88d830922aEvan Hunt *) Eliminate proxy: (and all other 'special') processing from the
5857247dbbfe384a1bcf376d0451f1b2bc3c2c7aEvan Hunt ap_directory_walk() phase. Modules that want to use special
5857247dbbfe384a1bcf376d0451f1b2bc3c2c7aEvan Hunt walk logic should refer to the mod_proxy map_to_location example,
5857247dbbfe384a1bcf376d0451f1b2bc3c2c7aEvan Hunt with it's proxy_walk and proxysection implementation. This makes
5857247dbbfe384a1bcf376d0451f1b2bc3c2c7aEvan Hunt either directory_walk flavor much more legible, since that phase
7fe4b0447fb3ef0c8ff9851624a7bca072732973Evan Hunt only runs against real <Directory > blocks.
7fe4b0447fb3ef0c8ff9851624a7bca072732973Evan Hunt [William Rowe]
7fe4b0447fb3ef0c8ff9851624a7bca072732973Evan Hunt
e2facd7af296d90d0d1fef7994b6b8e795490a92Evan Hunt *) Fix a security problem in mod_include which would allow
e2facd7af296d90d0d1fef7994b6b8e795490a92Evan Hunt an SSI document to be passed to the client unparsed.
3594635af7c6fedb2893ad1a9df4935bd0234a47Evan Hunt [Cliff Woolley, Brian Pane]
3594635af7c6fedb2893ad1a9df4935bd0234a47Evan Hunt
cc3ed192b030ccf9a903a4a7c8667cda8ad23eebEvan Hunt *) Introduce the map_to_storage hook, which allows modules to bypass
cc3ed192b030ccf9a903a4a7c8667cda8ad23eebEvan Hunt the directory_walk and file_walk for non-file requests. TRACE
cc3ed192b030ccf9a903a4a7c8667cda8ad23eebEvan Hunt shortcut moved to http_protocol.c as APR_HOOK_MIDDLE, and the
c1bfa5b0ad6a031b0a3038207938897128a241b4Evan Hunt directory_walk/file_walk happen as APR_HOOK_VERY_LAST in core.c.
b99efc39de7711d483f62f42bf6c365843637238Mark Andrews [William Rowe]
c1bfa5b0ad6a031b0a3038207938897128a241b4Evan Hunt
302ed789bd97f34500ee4ba3a8329590d6453fc6Mark Andrews *) Add the ability for mod_include to add the INCLUDES filter
302ed789bd97f34500ee4ba3a8329590d6453fc6Mark Andrews if the file is configured for the server-parsed handler.
6f6f08b7a4ea50806099b23ca97010195c1365cdEvan Hunt This makes the configuration for .shtml files much easier
6f6f08b7a4ea50806099b23ca97010195c1365cdEvan Hunt to understand, and allows mod_include to honor Apache 1.3
9a050780dce1bf3cbe81bd18404df3e79c146583Evan Hunt config files. Based on Doug MacEachern's patch to PHP
9a050780dce1bf3cbe81bd18404df3e79c146583Evan Hunt to do the same thing. [Ryan Bloom]
9a050780dce1bf3cbe81bd18404df3e79c146583Evan Hunt
e94fe42a2007a4ffdd27ba99d3756622f8da1008Mark Andrews *) force OpenSSL to ignore process local-caching and to always
e94fe42a2007a4ffdd27ba99d3756622f8da1008Mark Andrews get/set/delete sessions using mod_ssl's callbacks
e94fe42a2007a4ffdd27ba99d3756622f8da1008Mark Andrews [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>,
0a30185f80f3962aba0e1f30ad7743fb8c8aa65dMark Andrews Geoff Thorpe <geoff@geoffthorpe.net>]
0a30185f80f3962aba0e1f30ad7743fb8c8aa65dMark Andrews
0a30185f80f3962aba0e1f30ad7743fb8c8aa65dMark Andrews *) Make the worker MPM shutdown and restart cleanly. This also
0181a0a92f0d3a9ec7f04754253bb6bd47307e6fMark Andrews cleans up some race conditions, and gets the worker using
0181a0a92f0d3a9ec7f04754253bb6bd47307e6fMark Andrews pools more cleanly. [Aaron Bannert <aaron@clove.org>]
0181a0a92f0d3a9ec7f04754253bb6bd47307e6fMark Andrews
a3285e811de7204f1d4d296c7f16082fc58e1b7aMark Andrews *) Implement CRYPTO_set_locking_callback() in terms of apr_lock
a3285e811de7204f1d4d296c7f16082fc58e1b7aMark Andrews for mod_ssl
a3285e811de7204f1d4d296c7f16082fc58e1b7aMark Andrews [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
4ffd660d41080dc4c5641c9ce4f80b04af611849Tatuya JINMEI 神明達哉
4ffd660d41080dc4c5641c9ce4f80b04af611849Tatuya JINMEI 神明達哉 *) Fix for mod_include. Ryan's patch to check error
4ffd660d41080dc4c5641c9ce4f80b04af611849Tatuya JINMEI 神明達哉 codes put a return in the wrong place. Also, the
9d856845d63784690e347c8e8dc013f1c830c86dMark Andrews include handler return code wasn't being checked.
9d856845d63784690e347c8e8dc013f1c830c86dMark Andrews I don't like macros with returns, so I converted
90065a6881d58420120ae33aac55e5ff10f65fd5Mark Andrews SPLIT_AND_PASS_PRETAG_BUCKETS into a function.
554d22d2deb8889bb16434176b5716ab79d15c50Mark Andrews [Paul J. Reder <rederpj@raleigh.ibm.com>]
554d22d2deb8889bb16434176b5716ab79d15c50Mark Andrews
da1f044e5d5e15846a9464647ebdd0e9cee3f63aEvan Hunt *) fix segv in mod_mime if no AddTypes are configured
da1f044e5d5e15846a9464647ebdd0e9cee3f63aEvan Hunt [John Sterling <sterling@covalent.net>]
be69d484434e10d920c4d8a8bb735356eb0c2cc8Evan Hunt
be69d484434e10d920c4d8a8bb735356eb0c2cc8Evan Hunt *) Enable ssl client authentication at SSL_accept time
be69d484434e10d920c4d8a8bb735356eb0c2cc8Evan Hunt [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]
c6d2578fd67bc1a427d13fd0699b25a187feec8aMark Andrews
9d5e42bb875bc287387241dd7563f5698afd31f6Mark Andrews *) Fix a segfault in mod_include when the original request has no
c6d2578fd67bc1a427d13fd0699b25a187feec8aMark Andrews associated filename (e.g., we're filtering the error document for
c6d2578fd67bc1a427d13fd0699b25a187feec8aMark Andrews a bad URI). [Jeff Trawick]
c6d2578fd67bc1a427d13fd0699b25a187feec8aMark Andrews
5cb44a38d9b6fbd1144cf396a199db54e9e56f5bEvan Hunt *) Fix a storage leak (a strdup() call) in mod_mime_magic. [Jeff Trawick]
e9d45c0a0456d6267d9ea220751b6e495c55a8cfMark Andrews
95f2377b4f180a564d35343c8d150e8f03c98a52Evan Hunt *) The prefork and OS/2 MPMs are overwriting the pid file when a second copy
95f2377b4f180a564d35343c8d150e8f03c98a52Evan Hunt of httpd is started and shuts down due to socket conflict. Moving the
95f2377b4f180a564d35343c8d150e8f03c98a52Evan Hunt call to ap_log_pid solves the problem.
e09cdbac087b88524ac40e943d040e2a032c48f2Mark Andrews
e09cdbac087b88524ac40e943d040e2a032c48f2Mark Andrews *) Changed the late-1.3 log_config substitution %c to %X, to log the
e09cdbac087b88524ac40e943d040e2a032c48f2Mark Andrews status of the closed connection, as it conflicts with the far more
9e9e7112f9d712fe9e1740162f88a82ef1aa4711Mark Andrews common, historical ssl logging directive %...{var}c. [William Rowe]
9e9e7112f9d712fe9e1740162f88a82ef1aa4711Mark Andrews
9e9e7112f9d712fe9e1740162f88a82ef1aa4711Mark Andrews *) Added the common error/ tree to the build/install targets
63d5a6f680864b58b8eddc58dfa9957e19abf084Mark Andrews (similar to the common icons/ tree) for the multi-language error
63d5a6f680864b58b8eddc58dfa9957e19abf084Mark Andrews messages that Lars committed earlier. [William Rowe]
63d5a6f680864b58b8eddc58dfa9957e19abf084Mark Andrews
63d5a6f680864b58b8eddc58dfa9957e19abf084Mark Andrews *) Added a multi process, multi threaded OS/2 MPM mpmt_os2. [Brian Havard]
e8831e51c162f5961fcf1d89f68acd9336cf8a83Evan Hunt
e8831e51c162f5961fcf1d89f68acd9336cf8a83Evan Hunt *) Added a default commented-out mod_ldap and mod_auth_ldap
e8831e51c162f5961fcf1d89f68acd9336cf8a83Evan Hunt configuration to httpd-std.conf and httpd-win.conf
e8831e51c162f5961fcf1d89f68acd9336cf8a83Evan Hunt [Graham Leggett]
e8831e51c162f5961fcf1d89f68acd9336cf8a83Evan Hunt
af30180834ac4b3b206338be5c42e89bab07ca27Mark Andrews *) Added documentation for mod_ldap and mod_auth_ldap.
af30180834ac4b3b206338be5c42e89bab07ca27Mark Andrews [Graham Leggett]
6f9c93a8858a28b131dbd36b75b81e9250c6d11aEvan Hunt
6f9c93a8858a28b131dbd36b75b81e9250c6d11aEvan Hunt *) Enabled negative caching on attribute comparisons in the LDAP cache.
c8aa7ce70d75d5d8f28f941e3a522c71e948b166Evan Hunt Fixed a problem where the default cache TTL was set in milliseconds
c8aa7ce70d75d5d8f28f941e3a522c71e948b166Evan Hunt not microseconds causing the cache to time out almost immediately.
c8aa7ce70d75d5d8f28f941e3a522c71e948b166Evan Hunt [Graham Leggett]
c8aa7ce70d75d5d8f28f941e3a522c71e948b166Evan Hunt
c8aa7ce70d75d5d8f28f941e3a522c71e948b166Evan Hunt *) Fixed all the #if APR_HAS_SHARED_MEMORY checks within the LDAP
c8aa7ce70d75d5d8f28f941e3a522c71e948b166Evan Hunt module code to follow APR. [Graham Leggett]
c02149960459e4406d9e50fb1867433e7f0e8f0dEvan Hunt
c02149960459e4406d9e50fb1867433e7f0e8f0dEvan Hunt *) Fixed LDAP cleanup on graceful restarts. LDAP connections are now
c02149960459e4406d9e50fb1867433e7f0e8f0dEvan Hunt cleaned up when the connection pool pool is cleaned up.
c02149960459e4406d9e50fb1867433e7f0e8f0dEvan Hunt [Graham Leggett]
c02149960459e4406d9e50fb1867433e7f0e8f0dEvan Hunt
c02149960459e4406d9e50fb1867433e7f0e8f0dEvan Hunt *) Fix a minor issue with Jeff Trawick's mod_include
775a8d86d93269a621a7ad15c49b31b533da0671Francis Dupont patch. Without this patch, the code will just allocate
775a8d86d93269a621a7ad15c49b31b533da0671Francis Dupont more bytes in get_combined_directive than are needed.
775a8d86d93269a621a7ad15c49b31b533da0671Francis Dupont [Paul Reder]
775a8d86d93269a621a7ad15c49b31b533da0671Francis Dupont
775a8d86d93269a621a7ad15c49b31b533da0671Francis Dupont *) Added the LDAP authentication module mod_auth_ldap.
775a8d86d93269a621a7ad15c49b31b533da0671Francis Dupont [Dave Carrigan <dave@rudedog.org>, Graham Leggett]
775a8d86d93269a621a7ad15c49b31b533da0671Francis Dupont
c07236a635d2bbe10ffd03804a2478835c7f7018Mark Andrews *) Added the LDAP cache and connection pooling module mod_ldap.
c07236a635d2bbe10ffd03804a2478835c7f7018Mark Andrews [Dave Carrigan <dave@rudedog.org>, Graham Leggett]
c07236a635d2bbe10ffd03804a2478835c7f7018Mark Andrews
8f0502e922120f27207fbf6b6dda18f1112e486cEvan Hunt *) Fix --enable-modules=all breakage with mod_auth_db and mod_auth_digest
8f0502e922120f27207fbf6b6dda18f1112e486cEvan Hunt by allowing a module to disable itself if its prerequisites are not
8f0502e922120f27207fbf6b6dda18f1112e486cEvan Hunt met. [Justin Erenkrantz]
8f0502e922120f27207fbf6b6dda18f1112e486cEvan Hunt
f10a8fa0343038946384c44f6bb8dc2615f0cc20Evan HuntChanges with Apache 2.0.24
f10a8fa0343038946384c44f6bb8dc2615f0cc20Evan Hunt
f10a8fa0343038946384c44f6bb8dc2615f0cc20Evan Hunt *) Fix a couple of issues in mod_include when the tag appeared at
cc6cddfd94e8f0c58c290317b0853dac30b1b895Evan Hunt offsets near 8192 in the file being parsed. [Jeff Trawick]
cc6cddfd94e8f0c58c290317b0853dac30b1b895Evan Hunt
cc6cddfd94e8f0c58c290317b0853dac30b1b895Evan Hunt *) Fix an assertion failure in mod_ssl when the keepalive timeout is
8d307467b70800564491f37097f4b877c155ab3eEvan Hunt reached. [Jeff Trawick]
8d307467b70800564491f37097f4b877c155ab3eEvan Hunt
8d307467b70800564491f37097f4b877c155ab3eEvan Hunt *) Numerous improvements to the Win32 build system. Introduced command line
d2a8d00228973e59eb3efcc377126d856bf7df18Mark Andrews builds without requiring .mak files for MSVC 6.0 and later versions.
d2a8d00228973e59eb3efcc377126d856bf7df18Mark Andrews Improved .dsp file compatibility for both Visual Studio 5.0 and 6.0 users.
d2a8d00228973e59eb3efcc377126d856bf7df18Mark Andrews [William Rowe]
8ec993c774d7c996cb266d0ff5f1282fa3940f09Evan Hunt
8ec993c774d7c996cb266d0ff5f1282fa3940f09Evan Hunt *) Assorted corrections and improvements to the winnt_mpm startup code. Better
8ec993c774d7c996cb266d0ff5f1282fa3940f09Evan Hunt reporting of uninstalled services and other error conditions, and changed the
8ec993c774d7c996cb266d0ff5f1282fa3940f09Evan Hunt default service name to Apache2. [William Rowe]
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews *) Numerous improvements to the Win32 ApacheMonitor utility, including winnt_mpm
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews compatibility with existing Apache 1.3 Win32 Apache management utilites.
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews [Mladen Turk <mturk@mappingsoft.com>, William Rowe]
a01095a487a2c858c4f86e0f32c93b482d179a78Mark Andrews
a01095a487a2c858c4f86e0f32c93b482d179a78Mark Andrews *) Fixed the segfaults in mod_mime introduced by hash tables in 2.0.20.
a01095a487a2c858c4f86e0f32c93b482d179a78Mark Andrews [William Rowe, Greg Ames]
bfbd69c43f2b63ac122e4a47a510d46ffffb613cEvan Hunt
bfbd69c43f2b63ac122e4a47a510d46ffffb613cEvan Hunt *) Rounded out the mod_mime Add/Remove pairs by adding RemoveLanguage
bfbd69c43f2b63ac122e4a47a510d46ffffb613cEvan Hunt and RemoveCharset directives. [William Rowe]
06e7340198bbd89b6765998a04abde217e7b0e7bMark Andrews
06e7340198bbd89b6765998a04abde217e7b0e7bMark Andrews *) The Unix MPMs other than perchild now allow child server
06e7340198bbd89b6765998a04abde217e7b0e7bMark Andrews processes to use the accept mutex when starting as root and
3c5e54941fe8ed891d1588e84e210d8829b9903aMark Andrews using SysV sems for the accept mutex. Previously, this
3c5e54941fe8ed891d1588e84e210d8829b9903aMark Andrews combination would lead to fatal errors in the child server
3c5e54941fe8ed891d1588e84e210d8829b9903aMark Andrews processes. perchild can't use SysV sems because of security
29dd4bdd14d359dbf45bf9c8a9151b73a1a389b8Mark Andrews issues. [Jeff Trawick, Greg Ames]
29dd4bdd14d359dbf45bf9c8a9151b73a1a389b8Mark Andrews
29dd4bdd14d359dbf45bf9c8a9151b73a1a389b8Mark Andrews *) Added Win32 revision stamp resources to all http binaries
29dd4bdd14d359dbf45bf9c8a9151b73a1a389b8Mark Andrews (including modules/ and support/ tools.) PR7322 [William Rowe]
29dd4bdd14d359dbf45bf9c8a9151b73a1a389b8Mark Andrews
4b30598fb908755c4fd04f51cf3ce1f550434bf3Mark Andrews *) Fix ap_rvprintf to support more than 4K of data at one time.
4b30598fb908755c4fd04f51cf3ce1f550434bf3Mark Andrews [Cody Sherr <csherr@covalent.net>]
abe20c2cca12abe0523fc314af31183626c87325Evan Hunt
abe20c2cca12abe0523fc314af31183626c87325Evan Hunt *) We have always used the obsolete/deprecated Netscape syntax
45eea1bda65a66106bb7d85eae5997deb013bf0cMark Andrews for our tracking cookies; now the CookieStyle directive
45eea1bda65a66106bb7d85eae5997deb013bf0cMark Andrews allows the Webmaster to choose the Netscape, RFC2109, or
45eea1bda65a66106bb7d85eae5997deb013bf0cMark Andrews RFC2965 format. The new CookieDomain directive allows the
45eea1bda65a66106bb7d85eae5997deb013bf0cMark Andrews setting of the cookie's Domain= attribute, too. PR #s 5006,
616560e3db487f548b383c7eecc6e855e8afe7d6Mark Andrews 5023, 5920, 6140 [Ken Coar]
616560e3db487f548b383c7eecc6e855e8afe7d6Mark Andrews
cbee6197d1fb31453ff51f9f1c705feed67c9c73Mark Andrews *) Tweak server/Makefile so that the rules for generating exports.c
cbee6197d1fb31453ff51f9f1c705feed67c9c73Mark Andrews are compatible with make utilities which don't expand wildcards
cbee6197d1fb31453ff51f9f1c705feed67c9c73Mark Andrews in a dependency list (e.g., OS/390 make, certain levels of GNU
77b8f88f144928eddcca144c348d6ef53e7d5c43Evan Hunt make). [Jeff Trawick]
77b8f88f144928eddcca144c348d6ef53e7d5c43Evan Hunt
77b8f88f144928eddcca144c348d6ef53e7d5c43Evan Hunt *) Install the SSL headers. [John Sterling <sterling@covalent.net>]
77b8f88f144928eddcca144c348d6ef53e7d5c43Evan Hunt
77b8f88f144928eddcca144c348d6ef53e7d5c43Evan Hunt *) Begin to sanitize the MPM configuration directives. Now, all
77b8f88f144928eddcca144c348d6ef53e7d5c43Evan Hunt MPMs use the same functions for all common MPM directives. This
77b8f88f144928eddcca144c348d6ef53e7d5c43Evan Hunt should make it easier to catch all bugs in these directives once.
77b8f88f144928eddcca144c348d6ef53e7d5c43Evan Hunt [Cody Sherr <csherr@covalent.net>]
9d5e42bb875bc287387241dd7563f5698afd31f6Mark Andrews
6a90baa0d5ac5ad6bf5a5e29b6e8b26a931e844eEvan Hunt *) Close a major resource leak. Every time we had issued a
6a90baa0d5ac5ad6bf5a5e29b6e8b26a931e844eEvan Hunt graceful restart, we leaked a socket descriptor.
6a90baa0d5ac5ad6bf5a5e29b6e8b26a931e844eEvan Hunt [Ryan Bloom]
3727725bb7d63605b68a644060857013d563b67fEvan Hunt
3727725bb7d63605b68a644060857013d563b67fEvan Hunt *) Fix a problem with the new method code. We need to cast
3727725bb7d63605b68a644060857013d563b67fEvan Hunt the 1 to an apr_int64_t or it will be treated as a 32-bit
3727725bb7d63605b68a644060857013d563b67fEvan Hunt integer, and it will wrap after being shifted 32 times.
3727725bb7d63605b68a644060857013d563b67fEvan Hunt [Cody Sherr <csherr@covalent.net> and Ryan Morgan <rmorgan@covalent.net>]
315a1514a58dbb1ca563445313d67c1cf664d248Evan Hunt
315a1514a58dbb1ca563445313d67c1cf664d248Evan Hunt *) Fix a bug in mod_expires. Previous to this patch, if you
315a1514a58dbb1ca563445313d67c1cf664d248Evan Hunt told mod_expires to add 604800 seconds to the last-modified
315a1514a58dbb1ca563445313d67c1cf664d248Evan Hunt time, it actually added 604800 usec's to the last-modified time,
315a1514a58dbb1ca563445313d67c1cf664d248Evan Hunt so that when looking at the response it looked like nothing
315a1514a58dbb1ca563445313d67c1cf664d248Evan Hunt had been done. The root of the problem was that we always compute
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews time in usec's, but we ask users to input sec's. This means we
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews need to convert to usec's before using those values.
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews [Ryan Bloom]
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews *) The worker MPM now handles shutdown and restart requests. It
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews definitely isn't perfect, but we do stop the servers correctly.
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews The biggest problem right now is that SIGHUP causes the server to
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews just die. [Ryan Bloom]
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews
28479307225582ad0b2e11441d85fcf5169551d0Mark AndrewsChanges with Apache 2.0.23
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews *) Use the prefork MPM by default on Unix. [various]
28479307225582ad0b2e11441d85fcf5169551d0Mark Andrews
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt *) Added a systray icon monitor application for Win32.
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt [Mladen Turk <mturk@mappingsoft.com>]
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt *) mod_rewrite: Fix the line ending on some non-Unix systems for
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt messages written to the rewrite log.
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt [Richard Labennett <rlabenn@us.ibm.com>]
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt
246c504f90f42e5633dfd5e85bd57b01064961feEvan Hunt *) All mod_autoindex query parsing is now quietly quashed with the
246c504f90f42e5633dfd5e85bd57b01064961feEvan Hunt IndexOption IgnoreClient. The IndexOption SuppressColumnSorting
246c504f90f42e5633dfd5e85bd57b01064961feEvan Hunt still drops the column sort <a href>'s for the column headers, but
ff71474ede45c496b303af7be7cd0e2f3403bda6Evan Hunt IgnoreClient is required to ignore these Query options entirely.
ff71474ede45c496b303af7be7cd0e2f3403bda6Evan Hunt [William Rowe]
3ff75c89eb7b8c4f8c7dd375beec2981d147c791Evan Hunt
3ff75c89eb7b8c4f8c7dd375beec2981d147c791Evan Hunt *) Introduced new mod_autoindex query argument parsing for F=[0|1|2]
3ff75c89eb7b8c4f8c7dd375beec2981d147c791Evan Hunt to allow the client to select plain, FancyIndexing or HTMLTable
8b78c993cb475cc94e88560941b28c37684789d9Francis Dupont formatting, V=[0|1] to inhibit or enable version sorting, and
8b78c993cb475cc94e88560941b28c37684789d9Francis Dupont P=pattern to return only specific files. The old Query Arguments
8b78c993cb475cc94e88560941b28c37684789d9Francis Dupont were reorganized as C=f for sorting column 'f' (same N, D, S, or M
8b78c993cb475cc94e88560941b28c37684789d9Francis Dupont as before), and O=A|D for ordering ascending or descending.
b56f3f5c6663a40852866cbca469f680f7118e79Francis Dupont [William Rowe]
b56f3f5c6663a40852866cbca469f680f7118e79Francis Dupont
48b6d2f585d753ac89a11cb5bafb14f239e08430Evan Hunt *) Fixed an error in mod_include's directive parsing routines which
48b6d2f585d753ac89a11cb5bafb14f239e08430Evan Hunt caused #if, #elif, and #else expressions containing backslashes
48b6d2f585d753ac89a11cb5bafb14f239e08430Evan Hunt to be improperly evaluated. [Cliff Woolley]
1a0eecfe694275dfadccc6074aaa4340845cc85dEvan Hunt
1a0eecfe694275dfadccc6074aaa4340845cc85dEvan Hunt *) Introduced new mod_autoindex IndexOptions flags: SuppressIcon to
1a0eecfe694275dfadccc6074aaa4340845cc85dEvan Hunt drop the icon column, SuppressRules to drop the <hr> elements,
c36ba263d6318740da965f5351fe09e74f1d8aa2Evan Hunt and HTMLTable to create rudimentary HTML table listings (implies
c36ba263d6318740da965f5351fe09e74f1d8aa2Evan Hunt FancyIndexing). [William Rowe]
4256ffffb9da267edf7925597714afaacabebf5aEvan Hunt
4256ffffb9da267edf7925597714afaacabebf5aEvan Hunt *) Re-introduced the mod_autoindex IndexOptions flag TrackModified
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews from Apache 1.3.15. This is needed for two reasons, first, given
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews multiple machines within a server farm, ETags and Last-Modified
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews stamps won't correspond from machine to machine, and second, many
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews Unixes don't capture changes to the date or time stamp of existing
eb95d2e917b3f71c33a8be53eac75eb191ee5a9dMark Andrews files, since these don't modify the dirent itself. [William Rowe]
eb95d2e917b3f71c33a8be53eac75eb191ee5a9dMark Andrews
eb95d2e917b3f71c33a8be53eac75eb191ee5a9dMark Andrews *) Re-introduced the mod_autoindex IndexOptions flag FoldersFirst
bafa76b324e2336d707a158cccdb309df30bca65Shawn Routhier and DirectoryWidth options from Apache 1.3.10.
bafa76b324e2336d707a158cccdb309df30bca65Shawn Routhier [William Rowe, Ken Coar]
bafa76b324e2336d707a158cccdb309df30bca65Shawn Routhier
bafa76b324e2336d707a158cccdb309df30bca65Shawn Routhier *) Eliminated FancyIndexing directive, deprecated early in Apache
bafa76b324e2336d707a158cccdb309df30bca65Shawn Routhier 1.3 by the IndexOptions FancyIndexing syntax. [William Rowe]
bafa76b324e2336d707a158cccdb309df30bca65Shawn Routhier
bafa76b324e2336d707a158cccdb309df30bca65Shawn Routhier *) mod_autoindex now excludes any file names that would result in
4977518a4c906da7c7cf2c5bba2cef2ccd1a409aMark Andrews an error, other than a success or redirect. Also optimized
a93a66f61872a92ef4a272ca998aaff954ab4fedEvan Hunt the parent directory, always included except in the URI '/'.
a93a66f61872a92ef4a272ca998aaff954ab4fedEvan Hunt [William Rowe]
4977518a4c906da7c7cf2c5bba2cef2ccd1a409aMark Andrews
debd489a44363870f96f75818e89ec27d3cab736Francis Dupont *) Refactored mod_negotiation and mod_mime to help mod_dir accept
4977518a4c906da7c7cf2c5bba2cef2ccd1a409aMark Andrews negotiated index pages, and prevent the server from defaulting
1e733ffc1103667dd6cf0eae01f5dfd0c84c5108Mark Andrews to an autoindex of the directory. mod_negotiation will now die
fb596cc9af28ab5bf71c6796ebd1809654307a08Evan Hunt with a 500 Internal Error if it could match some filenames
fb596cc9af28ab5bf71c6796ebd1809654307a08Evan Hunt (e.g. for mod_dir) but none can be served. mod_negotation now
fb596cc9af28ab5bf71c6796ebd1809654307a08Evan Hunt refuses to serve any file with an extention that mod_mime doesn't
fb596cc9af28ab5bf71c6796ebd1809654307a08Evan Hunt recognize, and wasn't part of the request. [William Rowe]
fb596cc9af28ab5bf71c6796ebd1809654307a08Evan Hunt
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Eliminate mod_cgi's handling of .exe files without the .exe file
ff850b81c814787c72e96b162f47a208665814c4Mark Andrews extension. This is already handled by multiviews, if the admin
ff850b81c814787c72e96b162f47a208665814c4Mark Andrews wishes to AddHandler .exe or define a content type handler and
0f869e8d52fec87684c7551dcc0f315a7ed19da1Mark Andrews associate .exe files with that content type. Multiviews must be
0f869e8d52fec87684c7551dcc0f315a7ed19da1Mark Andrews enabled to allow these to be served. [William Rowe]
69338455d91b46bef10a2d73beafa05df49ed2d9Mark Andrews
69338455d91b46bef10a2d73beafa05df49ed2d9Mark Andrews *) Speed up the server's response to a spike in incoming workload
69338455d91b46bef10a2d73beafa05df49ed2d9Mark Andrews or restarts by assigning empty scoreboard slots to new processes
b3c8f1e9e864c30d1bb68fdf1ba7eb242c24be6eMark Andrews when they are available. [Greg Ames]
53c22b8e0da67ca756ca309d5f84db9c189cd0a2Evan Hunt
53c22b8e0da67ca756ca309d5f84db9c189cd0a2Evan Hunt *) Add a handler to mod_includes.c. This handler is designed to
53c22b8e0da67ca756ca309d5f84db9c189cd0a2Evan Hunt implement the XbitHack directive. This can't be done with a
b3c8f1e9e864c30d1bb68fdf1ba7eb242c24be6eMark Andrews fixup, because we need to check the content-type, which is
91c6a86724e34827bdedfa3245986b31e0653ef2Mark Andrews only available in the handler phase. [Ryan Bloom]
4d0e2cf9b9ffcf5941b347e6bea084a12455e388Mark Andrews
484076c3255e0cc5b179ad736cd930900e4bb06bFrancis Dupont *) Make the includes filter check return codes from filters lower in
484076c3255e0cc5b179ad736cd930900e4bb06bFrancis Dupont the filter chain. If a lower level filter returns an error, then
8436cc14ba43418d60da21eee1ed045570edbd58Evan Hunt the request needs to stop immediately. This allows mod_include to
8436cc14ba43418d60da21eee1ed045570edbd58Evan Hunt stop parsing data once a lower filter recognizes an error.
8436cc14ba43418d60da21eee1ed045570edbd58Evan Hunt [Ryan Bloom]
011d0b7dc81e51ac5ea150935c1d9613212b58cfMark Andrews
011d0b7dc81e51ac5ea150935c1d9613212b58cfMark Andrews *) Add the ability to extend the methods that Apache understands
011d0b7dc81e51ac5ea150935c1d9613212b58cfMark Andrews and have those methods <limit>able in the httpd.conf. It uses
011d0b7dc81e51ac5ea150935c1d9613212b58cfMark Andrews the same bit mask/shifted offset as the original HTTP methods
2f4d747a267026e6298ba9ece22c9dfa0ac254daFrancis Dupont such as M_GET or M_POST, but expands the total bits from an int to
2f4d747a267026e6298ba9ece22c9dfa0ac254daFrancis Dupont an ap_int64_t to handle more bits for new request methods than
2f4d747a267026e6298ba9ece22c9dfa0ac254daFrancis Dupont an int provides. [Cody Sherr <csherr@covalent.net>]
790e471f6e97fd4da5dc03dd34824d814a50b9a1Tatuya JINMEI 神明達哉
c9424f08b013c676ac07173d5b058721ea632875Tatuya JINMEI 神明達哉 *) Fix broken mod_mime behavior in merging its arguments. Possible
790e471f6e97fd4da5dc03dd34824d814a50b9a1Tatuya JINMEI 神明達哉 cause of unexplicable crashes introduced in 2.0.20. [William Rowe]
265daffadb5b69702ca355fb500d1f0d8077a983Francis Dupont
6b87f604311735826a0b2e1bde672a2a4f352892Francis Dupont *) Solve many mod_ssl porting issues (too many to detail) with
d514c0dc9b7f369a94d79c709b77a8f3a08afd84Evan Hunt help from the whole team, but most notably [Ralf S. Engelschall,
d514c0dc9b7f369a94d79c709b77a8f3a08afd84Evan Hunt Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>,
d514c0dc9b7f369a94d79c709b77a8f3a08afd84Evan Hunt Doug MacEachern, William Rowe, Cliff Woolley]
a12c8549d62d16cfcdf51c9ba9cdf7065191b4f6Mark Andrews
a12c8549d62d16cfcdf51c9ba9cdf7065191b4f6Mark Andrews *) More stall fixes for the threaded & worker mpm's.
a12c8549d62d16cfcdf51c9ba9cdf7065191b4f6Mark Andrews Make mod_status output more accurate. Don't
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt count workers in processes which aren't actively
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt serving requests. [Greg Ames]
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt *) Win32: Get SSI exec cgi tag working. [Bill Stoddard]
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt *) Add a single listener/multiple worker MPM. This MPM is
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt definately not fully correct, but it allows us to solve many
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt of the problems that exist in the threaded MPM. This is a
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt modified version of the threaded MPM. [Ryan Bloom]
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt *) Improve content generation throughout Apache, providing closer
d514c0dc9b7f369a94d79c709b77a8f3a08afd84Evan Hunt compliance with HTML 3.2, HTML 4.01 Transitional and XHTML 1.0
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt Transitional specifications. [William Rowe]
2fa5af7b736eac0092845c5ccbddf6cc00d0321eTatuya JINMEI 神明達哉
2fa5af7b736eac0092845c5ccbddf6cc00d0321eTatuya JINMEI 神明達哉Changes with Apache 2.0.22
2fa5af7b736eac0092845c5ccbddf6cc00d0321eTatuya JINMEI 神明達哉
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Fix a problem where the threaded MPM stalls after restarts or
f267b27f0e1cdc55c7f1ca2a56632ce36907ff63Evan Hunt segfaults. Also prevent multiple active processes from using
f267b27f0e1cdc55c7f1ca2a56632ce36907ff63Evan Hunt the same scoreboard slot. [Greg Ames]
be63f34b6af410ff34a169657625c12394b4f8e7Evan Hunt
be63f34b6af410ff34a169657625c12394b4f8e7Evan Hunt *) Apache/Win32 now fills in the service description with Apache's
be63f34b6af410ff34a169657625c12394b4f8e7Evan Hunt server version string, including loaded and advertised modules.
be63f34b6af410ff34a169657625c12394b4f8e7Evan Hunt [William Rowe]
be63f34b6af410ff34a169657625c12394b4f8e7Evan Hunt
be63f34b6af410ff34a169657625c12394b4f8e7Evan Hunt *) Improved support for the Win32 build, to recover gracefully from
be63f34b6af410ff34a169657625c12394b4f8e7Evan Hunt missing apr or apr-util directories or the awk interpreter,
be63f34b6af410ff34a169657625c12394b4f8e7Evan Hunt create the proper cgi-bin examples, including a test-cgi.bat, and
be63f34b6af410ff34a169657625c12394b4f8e7Evan Hunt fix the perl shebang line for printenv.pl, when installing from
14cd8ac04c999fd1d2e620856330e808cae57950Mark Andrews the build environment. [William Rowe]
14cd8ac04c999fd1d2e620856330e808cae57950Mark Andrews
14cd8ac04c999fd1d2e620856330e808cae57950Mark Andrews *) Fix a segfault in threaded.c caused by passing uninitialized
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont apr_thread_t * to apr_thread_join(). [Jeff Trawick]
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont *) Use new APR number conversion functions to reduce CPU consumption
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont when setting the content length, and in mod_log_config.
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont [Brian Pane]
0b8385f5c51def183dbccd1bc569ea8fe092dfb2Mark Andrews
0b8385f5c51def183dbccd1bc569ea8fe092dfb2Mark Andrews *) Fix problem reported by Taketo Kabe <kabe@sra-tohoku.co.jp>
0b8385f5c51def183dbccd1bc569ea8fe092dfb2Mark Andrews where HEAD response headers were being repeated twice for
bbc204a23719180dce68142ea2440c484e3ccb75Mark Andrews files greater than 32K bytes (4*AP_MIN_BYTES_TO_WRITE). This
bbc204a23719180dce68142ea2440c484e3ccb75Mark Andrews problem in the http_header filter was exposed by the recent rewrite
bbc204a23719180dce68142ea2440c484e3ccb75Mark Andrews of the content_length filter. [Taketo Kabe, Bill Stoddard]
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt *) Fix seg faults in mod_status with ExtendedStatus enabled, after
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt restarts. A garbage pointer to a vhost's server_rec from the
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt previous generation was being left around under certain
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt conditions. [Greg Ames]
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt *) Fix a cosmetic problem with mod_include. Non-existant SSI vars
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt used to appear as '(none', without the closing paren.
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt [G�nter Knauf <eflash@gmx.net>]
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt
eab9975bcf5830a73f18ed8f320ae18ea32775eeEvan Hunt *) Improve the exports generating awk script. In the past, we had
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 work around problems in the awk script by avoiding some #if and
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 #ifdefs. This has bitten us many times in generating the exports.c
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 file. This improvement allows corrects the header file parsing.
44de0b1f7d9997aaf6092589c4c7da4a1df908dbTatuya JINMEI 神明達哉 [Sander Striker <striker@apache.org>]
44de0b1f7d9997aaf6092589c4c7da4a1df908dbTatuya JINMEI 神明達哉
44de0b1f7d9997aaf6092589c4c7da4a1df908dbTatuya JINMEI 神明達哉Changes with Apache 2.0.21
85be60e3c8e47b9fdfeaa0770f445b206c39bca8Evan Hunt
85be60e3c8e47b9fdfeaa0770f445b206c39bca8Evan Hunt *) Resolve the Win32 htpasswd bug, where a file that existed would be
85be60e3c8e47b9fdfeaa0770f445b206c39bca8Evan Hunt overwritten, regardless of the -c flag.
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [William Rowe, Mladen Turk <mladen.turk@mail.inet.hr>]
b1f3364f52261c3198b3717530aabc612c5a431aEvan Hunt
b1f3364f52261c3198b3717530aabc612c5a431aEvan Hunt *) Introduce connection sub-pools into ab. Truncating the lifetime
b1f3364f52261c3198b3717530aabc612c5a431aEvan Hunt of these allocations means that ab no longer perpetually grows
479b80d4d706be399fd8974e941d9a0edb4259efMark Andrews its working set, running out of memory on large request attempts.
479b80d4d706be399fd8974e941d9a0edb4259efMark Andrews [William Rowe]
479b80d4d706be399fd8974e941d9a0edb4259efMark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Make scoreboard creation a hook. This allows management
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt modules to have access to the scoreboard at the time that it is
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt created, and at every restart request.
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt [Cody Sherr <csherr@covalent.net>]
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt *) Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 daemon index actually used in the scoreboard. I also
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 updated the pertinent calls. [Paul J. Reder]
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉
41eeb37b516d1bac073781b6ec50a39a669987dfEvan Hunt *) Win32: Prevent listening sockets from being inherited by
41eeb37b516d1bac073781b6ec50a39a669987dfEvan Hunt the Apache child process, CGI scripts, rotatelog process
41eeb37b516d1bac073781b6ec50a39a669987dfEvan Hunt etc. If the Apache child process segfaults, any processes
747abb4993e03b8812514e4476bff67f5248c717Evan Hunt that the child started are not reaped. Prior to this fix,
747abb4993e03b8812514e4476bff67f5248c717Evan Hunt these processes inherited the listening sockets which sometimes
747abb4993e03b8812514e4476bff67f5248c717Evan Hunt prevented the restarted Apache child process from accepting
11b4f17027f4cf67d494eb89a8d2ea919dd16615Mark Andrews connections (ie, the server would hang).
11b4f17027f4cf67d494eb89a8d2ea919dd16615Mark Andrews [Bill Stoddard]
11b4f17027f4cf67d494eb89a8d2ea919dd16615Mark Andrews
7179c3476f676bc8c520583b3ed7a738aa8eeee2Mark Andrews *) Provide vhost and request strings when ExtendedStatus is on.
7179c3476f676bc8c520583b3ed7a738aa8eeee2Mark Andrews [Greg Ames]
d699672160ba01589227ac046a28e20d55336facEvan Hunt
7179c3476f676bc8c520583b3ed7a738aa8eeee2Mark Andrews *) Fix some issues with the pod and prefork: check the pod *after*
a0ba5a502e0ca8049bff7ef4305948566703ea26Mark Andrews processing a connection so that a server processing a time-
a0ba5a502e0ca8049bff7ef4305948566703ea26Mark Andrews consuming request bails out as soon as practical; when the
a0ba5a502e0ca8049bff7ef4305948566703ea26Mark Andrews parent process wakes up a server process via connect(), use an
18114698b4fad77aa0f32741cf815cff0def7696Mark Andrews APR timeout on the connect() so that we don't hang for a long
18114698b4fad77aa0f32741cf815cff0def7696Mark Andrews time if there aren't server processes around to do accept().
18114698b4fad77aa0f32741cf815cff0def7696Mark Andrews [Jeff Trawick, Greg Ames]
97a2451eea9dfb4ccb8d5c5392142c80b34a7e48Mark Andrews
97a2451eea9dfb4ccb8d5c5392142c80b34a7e48Mark Andrews *) Performance improvement to mod_mime.c. find_ct() in mod_mime,
97a2451eea9dfb4ccb8d5c5392142c80b34a7e48Mark Andrews spends a lot of time in apr_table_get calls. Using the default
88471538d69a7c21b8b9fd13b489399ad6c26597Mark Andrews httpd.conf, the tables for languages and charsets are somewhat
88471538d69a7c21b8b9fd13b489399ad6c26597Mark Andrews large, so the time spent scanning them on each request is
88471538d69a7c21b8b9fd13b489399ad6c26597Mark Andrews significant. Replacing the tables with hash tables provides
ddc225b15d04e5b7d637d305f4ea3c04df1896bfEvan Hunt a nice speedup. [Brian Pane <bpane@pacbell.net>]
ddc225b15d04e5b7d637d305f4ea3c04df1896bfEvan Hunt
ddc225b15d04e5b7d637d305f4ea3c04df1896bfEvan Hunt *) Add two functions to allow modules to access random parts of the
813b34ebecba1293ccfb91e52e3c69d5c819073dEvan Hunt scoreboard. This allows modules compiled for one MPM to access the
813b34ebecba1293ccfb91e52e3c69d5c819073dEvan Hunt scoreboard, even if it the server was compiled for another MPM.
813b34ebecba1293ccfb91e52e3c69d5c819073dEvan Hunt [Harrie Hazewinkel <harrie@covalent.net>]
bcd0cbfdae6729c48894501b6bcddc972feda67fMark Andrews
bcd0cbfdae6729c48894501b6bcddc972feda67fMark AndrewsChanges with Apache 2.0.20
1d9958c6cc291916010779792f0fbdf6cd5ba368Mark Andrews
1d9958c6cc291916010779792f0fbdf6cd5ba368Mark Andrews *) Fix problem in content-length filter where the filter would
8cff1a894f09360814f88437c0c6bce90db11944Mark Andrews buffer all the output from a CGI before sending any bytes
8cff1a894f09360814f88437c0c6bce90db11944Mark Andrews down the filter stack to the network. This problem would cause
8cff1a894f09360814f88437c0c6bce90db11944Mark Andrews significant memory consumption if the CGIs generated
048690a34d0fa89bd128ac21d1a4c84b4703a3deMark Andrews lots of bytes. [Bill Stoddard]
048690a34d0fa89bd128ac21d1a4c84b4703a3deMark Andrews
90c1e763d577da656b5eeb02462b5236dca5f266Mark Andrews *) Get non-blocking CGI pipe reads working with the bucket brigades.
90c1e763d577da656b5eeb02462b5236dca5f266Mark Andrews [Bill Stoddard]
90c1e763d577da656b5eeb02462b5236dca5f266Mark Andrews
3a875400473e5c06199272a1292ed84646990e2fEvan Hunt *) Fix seg fault on Windows when serving files cached with mod_file_cache.
3a875400473e5c06199272a1292ed84646990e2fEvan Hunt [Bill Stoddard]
3a875400473e5c06199272a1292ed84646990e2fEvan Hunt
3a875400473e5c06199272a1292ed84646990e2fEvan Hunt *) Fix a bug in the threaded MPM that would cause it to kill off all
3a875400473e5c06199272a1292ed84646990e2fEvan Hunt workers immediately after starting if the number of workers started
3a875400473e5c06199272a1292ed84646990e2fEvan Hunt was above a certain threshold. [Ryan Bloom, Bill Stoddard]
6beee732e49fb77e92afd613f8634f828b885560Mark Andrews
6beee732e49fb77e92afd613f8634f828b885560Mark AndrewsChanges with Apache 2.0.19
6beee732e49fb77e92afd613f8634f828b885560Mark Andrews
a3288b425ae88f415d2d8209769d140b5d952fb3Evan Hunt *) Fix problem with threaded MPM. The problem was that if each child
a3288b425ae88f415d2d8209769d140b5d952fb3Evan Hunt process was busy serving a single long-lived request and the server
a3288b425ae88f415d2d8209769d140b5d952fb3Evan Hunt was sent a graceful restart signal, the server would stop serving
9069215eac23e32f4ef1c8e44ad7ff2865cfcdacEvan Hunt requests. This would happen because each child process would wait to
9069215eac23e32f4ef1c8e44ad7ff2865cfcdacEvan Hunt die until the last thread was done, and the parent wouldn't spawn any
9069215eac23e32f4ef1c8e44ad7ff2865cfcdacEvan Hunt new children until a process died. Now, the parent looks at the fact
bd190a40a85e5ed780c9c428c6261bc397059b4bMark Andrews that the children are dying gracefully, and starts new children.
bd190a40a85e5ed780c9c428c6261bc397059b4bMark Andrews Those new children only start enough threads to compliment the number
610f3aa54c026e0506d22a80945bbadfcf0f6c7fMark Andrews of threads in the other child process that shares the same spot in
d173d06cae4995f61970445d8e4216c48fb925cdMark Andrews the scoreboard. In this way, we make sure to never go over
d173d06cae4995f61970445d8e4216c48fb925cdMark Andrews MaxClients. [Ryan Bloom]
ca8576a564a0ff6aa200936f0b5392f62b2ffe02Mark Andrews
97725b410a7a65cd300028996b01960393532822Mark Andrews *) modified mod_negotiation and mod_autoindex to speed up by almost a
ca8576a564a0ff6aa200936f0b5392f62b2ffe02Mark Andrews factor of two on apr_dir_read()-enhanced platforms, such as Win32
520cea04a257e6009d855ddeb20f8d3a46cee22cMark Andrews and OS2, by calling ap_sub_request_lookup_dirent() with the results
520cea04a257e6009d855ddeb20f8d3a46cee22cMark Andrews already provided by apr_dir_read(). [William Rowe]
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt *) mod_file_cache is now more robust to filtering and serves requests
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt slightly more efficiently. [Cliff Woolley]
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt *) Fix problem handling FLUSH bucket in the chunked encoding filter.
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt Module was calling ap_rwrite() followed by ap_rflush() but the
15fcbe39173856ae3bd0198099a693e594536869Tatuya JINMEI 神明達哉 served content was not being displayed in the browser. Inspection
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt of the output stream revealed that the first data chunk was
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt missing the trailing CRLF required by the RFC. [Bill Stoddard]
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt *) apxs no longer generates ap_send_http_header() in the example handler
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt *) Fix an ab problem which could cause a divide-by-zero exception
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt with certain invocations (e.g., ab -k -c 6 -n 100 localhost/).
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt [Ian Holsman <ianh@cnet.com>]
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt
3967528c773745ac32a83c2c77a910fd15db743dEvan Hunt *) Solve case-insensitive platforms' confusion about negotiated
3967528c773745ac32a83c2c77a910fd15db743dEvan Hunt filenames, allowing files of differnt case to match in choosing
3967528c773745ac32a83c2c77a910fd15db743dEvan Hunt the document to serve. [William Rowe]
aeff7de836558fa8002ab5db35292d2bb6450da8Evan Hunt
aeff7de836558fa8002ab5db35292d2bb6450da8Evan Hunt *) Fix brokenness when ThreadsPerChild is higher than the built-in
aeff7de836558fa8002ab5db35292d2bb6450da8Evan Hunt limit. We left ap_threads_per_child at the higher value which
2792e226c786e739b2924efdf8246af389384a2fMark Andrews led to segfaults when doing certain scoreboard operations.
2792e226c786e739b2924efdf8246af389384a2fMark Andrews [Jeff Trawick]
ab280fdfc5e4251758aa9929457fba6dce3f1847Mark Andrews
ab280fdfc5e4251758aa9929457fba6dce3f1847Mark Andrews *) Fix seg faults and/or missing output from mod_include. The
ab280fdfc5e4251758aa9929457fba6dce3f1847Mark Andrews default_handler was using the subrequest pool for files and
fb8db7fc3f3ea597a959e4c8ac42247fd78ca887Mark Andrews MMAPs, even though the associated APR structures typically
fb8db7fc3f3ea597a959e4c8ac42247fd78ca887Mark Andrews live longer than the subrequest. [Greg Ames]
fb8db7fc3f3ea597a959e4c8ac42247fd78ca887Mark Andrews
08f860f800d32007a0c9bf456f6c35fbb2ecbc81Evan Hunt *) Extend mod_setenvif to support specifying regular expressions
08f860f800d32007a0c9bf456f6c35fbb2ecbc81Evan Hunt on the SetEnvIf (and SetEnvIfNoCase) directive attribute field.
63b17e175fc75adebf16563b08c89d54e6dfa253Evan Hunt Example: SetEnvIf ^TS* [a-z].* HAVE_TS
63b17e175fc75adebf16563b08c89d54e6dfa253Evan Hunt will cause HAVE_TS to be set if any of the request headers begins
08f860f800d32007a0c9bf456f6c35fbb2ecbc81Evan Hunt with "TS" and has a value that begins with any character in the
38cd4d14cc341c2663e574035074788bb6f0fce2Evan Hunt set [a-z]. [Bill Stoddard]
38cd4d14cc341c2663e574035074788bb6f0fce2Evan Hunt
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) httpd children now re-bind themselves to a random CPU on
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews multiprocessor systems on AIX via bindprocessor() in 2.0.
a4463732ad7935992a101b3d19f0a41120b85458Mark Andrews [Victor J. Orlikowski]
a4463732ad7935992a101b3d19f0a41120b85458Mark Andrews
a4463732ad7935992a101b3d19f0a41120b85458Mark Andrews *) Fix htdigest. It would go into a loop in getline when adding
943cbe8ae58834fb3f9a57ae799d006741a52344Evan Hunt a second user. [Bill Stoddard]
943cbe8ae58834fb3f9a57ae799d006741a52344Evan Hunt
943cbe8ae58834fb3f9a57ae799d006741a52344Evan Hunt *) Win32 platforms now fully support mod_userdir options. [Will Rowe]
ef370118d5d850912a4612122f5678e3db99ee87Evan Hunt
ef370118d5d850912a4612122f5678e3db99ee87Evan Hunt *) Automatically generate httpd.exp for AIX.
ef370118d5d850912a4612122f5678e3db99ee87Evan Hunt DSOs now work again on AIX in 2.0
5b7525f51fbcb074bf031d92f5cd95267c628137Mark Andrews [Victor J. Orlikowski]
5b7525f51fbcb074bf031d92f5cd95267c628137Mark Andrews
3bc4221346e5045c5679dd0d84f4f7d888a9da79Mark Andrews *) Add a new request hook, error_log. This phase allows modules
3bc4221346e5045c5679dd0d84f4f7d888a9da79Mark Andrews to act on the error log string _after_ it has been written
3bc4221346e5045c5679dd0d84f4f7d888a9da79Mark Andrews to the error log. The goal for this hook is to allow monitoring
6d5852f318a7d09cff05a347456d1cd12407ceb1Mark Andrews modules to send the error string to the monitoring agent.
6d5852f318a7d09cff05a347456d1cd12407ceb1Mark Andrews [Ryan Bloom]
98e8948bd715fbefa8870e6f344183bc67e22340Mark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Modify mod_echo to make it use filters for input and output.
d7d05319a67229b250de910b8876bea0f6e9a0b1Tatuya JINMEI 神明達哉 [Ryan Morgan <rmorgan@covalent.net>]
d7d05319a67229b250de910b8876bea0f6e9a0b1Tatuya JINMEI 神明達哉
8d80232e77cb7f2ec38bdbec424e9399d04165f3Mark Andrews *) Extend mod_headers to support conditional driven Header
109580e7e5c92b98c641836ccb5949b4802ffcedMark Andrews add, append and set. Use SetEnvIf to set an envar and conditionally
109580e7e5c92b98c641836ccb5949b4802ffcedMark Andrews add/append/set headers based on this envar thusly:
cfb1587eb9a6dc6d1d36ea0344e1b20068b81e88Evan Hunt
cfb1587eb9a6dc6d1d36ea0344e1b20068b81e88Evan Hunt SetEnvIf TSMyHeader value HAVE_TSMyHeader
cfb1587eb9a6dc6d1d36ea0344e1b20068b81e88Evan Hunt Header add MyHeader "%t %D" env=HAVE_TSMyHeader
cfb1587eb9a6dc6d1d36ea0344e1b20068b81e88Evan Hunt
cfb1587eb9a6dc6d1d36ea0344e1b20068b81e88Evan Hunt If the request contains header "TSMyHeader: value" then header
cfb1587eb9a6dc6d1d36ea0344e1b20068b81e88Evan Hunt MyHeader: "t=xxxxxxxxxx D=yyyy" will be sent on the response.
01dbc4fc00adc933af96e88bfce95c07ef1f3c39Mark Andrews [Bill Stoddard]
01dbc4fc00adc933af96e88bfce95c07ef1f3c39Mark Andrews
01dbc4fc00adc933af96e88bfce95c07ef1f3c39Mark Andrews *) Extend mod_headers to support using format specifiers on Header
870332fb6d15e9fde8753399b00cb9e721c4d64fMark Andrews add, append and set header values. Two format specifiers are supported:
870332fb6d15e9fde8753399b00cb9e721c4d64fMark Andrews
01dbc4fc00adc933af96e88bfce95c07ef1f3c39Mark Andrews %t - reports, in UTC microseconds since the epoch, when the
371642de8b1863b2fc6ec9a89416de4dca71bc47Mark Andrews request was received.
371642de8b1863b2fc6ec9a89416de4dca71bc47Mark Andrews
d8f118f4a06cae6ec6b4ae133882f0eee1478599Mark Andrews %D - reports the time, in microseconds, between when the request was
76110b31fe98564564693a7daf2e99c78ff39a05Mark Andrews received and the response sent.
76110b31fe98564564693a7daf2e99c78ff39a05Mark Andrews
76110b31fe98564564693a7daf2e99c78ff39a05Mark Andrews Examples:
877769641186144911152622b4345b27ca393df8Mark Andrews Header add MyHeader "This request served in %D microseconds. %t"
f7b683b054c4deb05f09d2f39da6ceb4ac838873Mark Andrews
f7b683b054c4deb05f09d2f39da6ceb4ac838873Mark Andrews results in a header being added to the response that looks like this:
95f999508b908a95d7ef7b0f891ac8b1a4f21abfTatuya JINMEI 神明達哉
95f999508b908a95d7ef7b0f891ac8b1a4f21abfTatuya JINMEI 神明達哉 MyHeader: This request served in D=5438 microseconds. t=991424704447256
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt [Bill Stoddard]
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt *) Fix reset_filter(). We need to be careful how we remove filters.
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt If we set r->output_filters to NULL, we also have to reset the
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt connection's filters. [John Sterling]
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt *) Optimise reset_filter() in http_protocol.c. [Greg Stein]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt *) Add a check to ap_die() to make sure the filter stack is sane and
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt contains the correct basic filters when an error occurs. This fixes
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews a problem where headers are not being sent on error. [John Sterling]
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt *) New Header directive 'echo' option. "Header echo regex" will
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt cause any headers received on the request that match regex to be
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt echoed to (included in) the response headers.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt [Bill Stoddard]
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt *) include/ap_compat.h tested and set APR_COMPAT_H instead of AP_COMPAT_H.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt This prevented the inclusion of apr_compat.h. PR #7773
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt [Oleg Broytmann <phd@phd.pp.ru>]
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt *) Moved util_uri to the apr-util library. This required a bunch of
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt apr_name changes for the uri utility functions. [Justin Erenkrantz]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark Andrews *) Move the addition of default AP_HTTP_HTTP_HEADER filters to the
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark Andrews insert_filter phase so that other filters are not bypassed by default.
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark Andrews [Graham Leggett]
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark Andrews
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark Andrews *) Reimplement mod_headers as an output filter. mod_headers can now
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark Andrews add custom headers to inbound requests using the RequestHeader directive
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark Andrews and to responses using the same old Header directive. [Graham Leggett]
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark Andrews
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark AndrewsChanges with Apache 2.0.18
f05a6b110fc93d9b04743ffc957242fa7f53de02Mark Andrews
f05a6b110fc93d9b04743ffc957242fa7f53de02Mark Andrews *) Fix command-line processing so that if a bad argument is specified
f05a6b110fc93d9b04743ffc957242fa7f53de02Mark Andrews Apache will exit. [Jeff Trawick]
f05a6b110fc93d9b04743ffc957242fa7f53de02Mark Andrews
0bc3af9834214650b29710757da2ad41e416c4b5Mark Andrews *) Change the make targets and rules to be consistent in all of the
0bc3af9834214650b29710757da2ad41e416c4b5Mark Andrews Apache-owned source trees. [Roy Fielding]
0bc3af9834214650b29710757da2ad41e416c4b5Mark Andrews
5422cf284f2ad63aeb561aca57a59e0cffe9af64Mark Andrews *) Fix processing of the TRACE method. Previously we passed bogus
5422cf284f2ad63aeb561aca57a59e0cffe9af64Mark Andrews parms to form_header_field() and it overlaid some vhost structures,
5422cf284f2ad63aeb561aca57a59e0cffe9af64Mark Andrews resulting in a segfault in check_hostalias().
40d0f115a64595aa83cfe0b760587d3d1efa0385Tatuya JINMEI 神明達哉 [Greg Ames, Jeff Trawick]
40d0f115a64595aa83cfe0b760587d3d1efa0385Tatuya JINMEI 神明達哉
40d0f115a64595aa83cfe0b760587d3d1efa0385Tatuya JINMEI 神明達哉 *) Win32: Add support for reliable piped logs. If the logging process
40d0f115a64595aa83cfe0b760587d3d1efa0385Tatuya JINMEI 神明達哉 goes down, Apache will automatically restart it. This function has
40d0f115a64595aa83cfe0b760587d3d1efa0385Tatuya JINMEI 神明達哉 been part of Apache on Unix/Linux/BSD since the early v1.3 releases.
fc7ecc628dcdc1cfceee6f2dd52bc7c433eb1b8bMark Andrews [Bill Stoddard]
fc7ecc628dcdc1cfceee6f2dd52bc7c433eb1b8bMark Andrews
fc7ecc628dcdc1cfceee6f2dd52bc7c433eb1b8bMark Andrews *) Do not start piped log processes during the config file
fc7ecc628dcdc1cfceee6f2dd52bc7c433eb1b8bMark Andrews preflight. This change also circumvents a problem on
7be633656564e109f57f01e1b18319ba019851f9Mark Andrews Windows where the rotatelog processes created during preflight
7be633656564e109f57f01e1b18319ba019851f9Mark Andrews was not getting cleaned up properly.
7be633656564e109f57f01e1b18319ba019851f9Mark Andrews [Bill Stoddard]
5d924e398ed15c57c506315c7d11125dcc9cb098Jeremy Reed
5d924e398ed15c57c506315c7d11125dcc9cb098Jeremy Reed *) add "Request Phase Participation" info to mod_info
5d924e398ed15c57c506315c7d11125dcc9cb098Jeremy Reed [Doug MacEachern]
6c3c79e491635d868d5ec288dfa29226da898a2eJeremy Reed
6c3c79e491635d868d5ec288dfa29226da898a2eJeremy Reed *) Make first phase changes to the scoreboard data structures in
6c3c79e491635d868d5ec288dfa29226da898a2eJeremy Reed preparation for the rewriting of the scoreboard per my posted
4c2ed3d14168cfe34d1c036eb4885019a8153e7cMark Andrews design notes. [Paul J. Reder]
4c2ed3d14168cfe34d1c036eb4885019a8153e7cMark Andrews
4c2ed3d14168cfe34d1c036eb4885019a8153e7cMark Andrews *) Fix httpd's definition of LTFLAGS to be consistent with that of apr
ddac1a2b9822b00aa936ef24c6d971f4a1407532Francis Dupont and apr-util, allow it to be overridden by the configure command-line
ddac1a2b9822b00aa936ef24c6d971f4a1407532Francis Dupont (default="--silent") and introduce LT_LDFLAGS to replace what we were
e7eede965dbc67842cb32591a8c2ace2620e5359Mark Andrews formerly abusing as LTFLAGS. [Roy Fielding]
e7eede965dbc67842cb32591a8c2ace2620e5359Mark Andrews
e7eede965dbc67842cb32591a8c2ace2620e5359Mark Andrews *) Clean up the reporting of incorrect closing container tags.
5d7849ad7ffc6d08870dbfbc8d6bfffd90007488Tatuya JINMEI 神明達哉 [Barrie Slaymaker <barries@slaysys.com>]
5d7849ad7ffc6d08870dbfbc8d6bfffd90007488Tatuya JINMEI 神明達哉
5d7849ad7ffc6d08870dbfbc8d6bfffd90007488Tatuya JINMEI 神明達哉 *) Simplify the configure process by moving all libtool stuff to APR
5d7849ad7ffc6d08870dbfbc8d6bfffd90007488Tatuya JINMEI 神明達哉 and moving hints.m4 inline. [Roy Fielding]
d302a620e0d49811874b9555ac2e4c6e05861a6bFrancis Dupont
d302a620e0d49811874b9555ac2e4c6e05861a6bFrancis Dupont *) Add the AP_DECLARE()/AP_CORE_DECLARE macros on the return types
708ebf710e1c2c8f5bee6d5ba5376ec44d97aa71Jeremy Reed of functions used by mod_proxy for export in the DLL
708ebf710e1c2c8f5bee6d5ba5376ec44d97aa71Jeremy Reed [Ian Holsman <IanH@cnet.com>]
4144efb39046963989ad002cf88a0c195401100aJeremy Reed
cc620f9fdb69c13f1ea12bb1c90bc442f6dc0117Francis Dupont *) Prevent a hang when a cgi handled by mod_cgid tries to read a
cc620f9fdb69c13f1ea12bb1c90bc442f6dc0117Francis Dupont request body from its stdin but no reqest body is being written to
3836f447eeb437ae058dfecb8c321b48c50b7076Mark Andrews the cgi. [Jeff Trawick]
3836f447eeb437ae058dfecb8c321b48c50b7076Mark Andrews
47323be2afd461c2b0d44400907f3ac020488080Mark Andrews *) mod_log_config: %c connection status incorrectly logged
47323be2afd461c2b0d44400907f3ac020488080Mark Andrews as "-" (non-keepalive) when MaxKeepAliveRequests is set to 0.
47323be2afd461c2b0d44400907f3ac020488080Mark Andrews [Bill Stoddard]
b770eae51e5d53730d3836b1548829f69ab15e66Mark Andrews
b770eae51e5d53730d3836b1548829f69ab15e66Mark Andrews *) Get mod_cern_meta working under Windows
d2c115f9134acfefaaeb6b84036672bef93e7df8Mark Andrews [Bill Stoddard]
f030c715007053e4ceb557c78ad5c8cfdedb4240Mark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Create Files, and thus MMAPs, out of the request pool, not the
f030c715007053e4ceb557c78ad5c8cfdedb4240Mark Andrews connection pool. This solves a small resource leak that had us
089f456eb39d614cb6904107d4a9580ed4f3f296Tatuya JINMEI 神明達哉 not closing files until a connection was closed. In order to do
089f456eb39d614cb6904107d4a9580ed4f3f296Tatuya JINMEI 神明達哉 this, at the end of the core_output_filter, we loop through the
089f456eb39d614cb6904107d4a9580ed4f3f296Tatuya JINMEI 神明達哉 brigade and convert any data we have into a single HEAP bucket
089f456eb39d614cb6904107d4a9580ed4f3f296Tatuya JINMEI 神明達哉 that we know will survive clearing the request_rec.
089f456eb39d614cb6904107d4a9580ed4f3f296Tatuya JINMEI 神明達哉 [Ryan Bloom, Justin Erenkrantz <jerenkrantz@ebuilt.com>,
f20f19de1995fb65f0b7184b2e596a0e9da9acb3Jeremy Reed Cliff Woolley]
f20f19de1995fb65f0b7184b2e596a0e9da9acb3Jeremy Reed
f20f19de1995fb65f0b7184b2e596a0e9da9acb3Jeremy Reed *) Completely revamp configure so that it preserves the standard make
f20f19de1995fb65f0b7184b2e596a0e9da9acb3Jeremy Reed variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving
b1b0dca1464a11b8a63623e8567e744dccfbcb41Tatuya JINMEI 神明達哉 the configure additions to EXTRA_* variables. Also, allow the user
b1b0dca1464a11b8a63623e8567e744dccfbcb41Tatuya JINMEI 神明達哉 to specify NOTEST_* values for all of the above, which eliminates the
b1b0dca1464a11b8a63623e8567e744dccfbcb41Tatuya JINMEI 神明達哉 need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM. Fix the setting
cda7c783c3e65ab022a8b5806cf63ce021abd33eTatuya JINMEI 神明達哉 of INCLUDES and EXTRA_INCLUDES. Check flags as they are added to
cda7c783c3e65ab022a8b5806cf63ce021abd33eTatuya JINMEI 神明達哉 avoid pointless duplications. Fix the order in which flags are given
cda7c783c3e65ab022a8b5806cf63ce021abd33eTatuya JINMEI 神明達哉 on the compile and link lines. Remove obsolete macros APR_DOEXTRA,
cda7c783c3e65ab022a8b5806cf63ce021abd33eTatuya JINMEI 神明達哉 AC_ADD_LIBRARY, AC_CHECK_DEFINE, APACHE_PASSTHRU, and APACHE_ONCE.
af2e2f5ed750530aaf479f5ab24e1fa8a8d0a482Tatuya JINMEI 神明達哉 Added APR_SAVE_THE_ENVIRONMENT and APR_RESTORE_THE_ENVIRONMENT macros.
af2e2f5ed750530aaf479f5ab24e1fa8a8d0a482Tatuya JINMEI 神明達哉 Renamed AC_TYPE_RLIM_T macro to APACHE_TYPE_RLIM_T. [Roy Fielding]
af2e2f5ed750530aaf479f5ab24e1fa8a8d0a482Tatuya JINMEI 神明達哉
b9636a8e43f791e093baa0fcbd7797f4ad2979deMark Andrews *) Get mod_tls to compile/work better on Windows. PR #7612
b9636a8e43f791e093baa0fcbd7797f4ad2979deMark Andrews [Bernhard Schrenk <b.schrenk@improx.com>]
b9636a8e43f791e093baa0fcbd7797f4ad2979deMark Andrews
64e161a7f7f7f1692ccdf2400a81b471cf6ac508Mark Andrews *) Fix shutdown/restart hangs in the threaded MPM.
ac8aa59f6226ba950c6c233dda209a58fc1f112aMark Andrews [Jeff Trawick, Greg Ames, Ryan Bloom]
64e161a7f7f7f1692ccdf2400a81b471cf6ac508Mark Andrews
9384dc16a1f2c3022f50f2e1ce18a28204baaef7Mark Andrews *) Removed the keptalive boolean from conn_rec because it is now only
9384dc16a1f2c3022f50f2e1ce18a28204baaef7Mark Andrews used by a single routine and can be replaced by a local variable.
9384dc16a1f2c3022f50f2e1ce18a28204baaef7Mark Andrews [Greg Stein, Ryan Bloom, Roy Fielding]
3af7cd2661b84f1a27bfc78e55e2ab09d2133ac8Tatuya JINMEI 神明達哉
3af7cd2661b84f1a27bfc78e55e2ab09d2133ac8Tatuya JINMEI 神明達哉 *) Patch prefork to put enough of the signal processing back in so that
3af7cd2661b84f1a27bfc78e55e2ab09d2133ac8Tatuya JINMEI 神明達哉 signals are all handled properly now. The previous patch fixed the
72dbc7216aae3626a66e6154443be219f5edcaf0Mark Andrews deadlock race condition, but broke the user directed signal handling.
72dbc7216aae3626a66e6154443be219f5edcaf0Mark Andrews This fixes it to work the way it did before my previous prefork patch
72dbc7216aae3626a66e6154443be219f5edcaf0Mark Andrews (primarily, SIGTERM is now working).
f2e6839b8afaf5ba545f1f978c770fba304bcd0aMark Andrews
ca23cf7e28b9799436c9950ea269953e29dfde16Evan Hunt *) Change how input filters decide how much data is returned to the
ca23cf7e28b9799436c9950ea269953e29dfde16Evan Hunt higher filter. We used to use a field in the conn_rec, with this
a142972ea9697b4ecaa5587fb6d9057e821d5339Tatuya JINMEI 神明達哉 change, we use an argument to ap_get_brigade to determine how much
a142972ea9697b4ecaa5587fb6d9057e821d5339Tatuya JINMEI 神明達哉 data is retrieved. [Ryan Bloom]
56708c6fb441402e0568f8947cdf0ddda40532b1Mark Andrews
56708c6fb441402e0568f8947cdf0ddda40532b1Mark Andrews *) Fix seg fault at start-up introduced by Ryan's change to enable
d0e7c8712f25fff65f10d70dba519e9cacc4cc8fMark Andrews modules to specify their own logging tags. mod_log_config
56708c6fb441402e0568f8947cdf0ddda40532b1Mark Andrews registers an optional function, ap_register_log_handler().
3f8be559f0871022c78a229bad0eb09560b90909Evan Hunt ap_register_log_handler() was being called by http_core before
3f8be559f0871022c78a229bad0eb09560b90909Evan Hunt the directive hash table was created. This patch creates the
3f8be559f0871022c78a229bad0eb09560b90909Evan Hunt directive hash table before ap_register_log_handler() is
3f8be559f0871022c78a229bad0eb09560b90909Evan Hunt registered as an optional function.
3f8be559f0871022c78a229bad0eb09560b90909Evan Hunt [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
b98225ff8a5721a998ccb440df4d261488fef163Mark Andrews
b98225ff8a5721a998ccb440df4d261488fef163Mark Andrews *) Add ap_set_int_slot() function
e422b84c737d6bb4cf09657777992a30903e187aMark Andrews [John K. Sterling <sterling@covalent.net>]
e422b84c737d6bb4cf09657777992a30903e187aMark Andrews
e422b84c737d6bb4cf09657777992a30903e187aMark Andrews *) Under certain circumstances, Apache did not supply the
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt right response headers when requiring authentication.
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt [Gertjan van Wingerde <Gertjan.van.Wingerde@cmg.nl>] PR#7114
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt (This is a port of the change that went into Apache 1.3.19.)
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt *) Allow modules to specify their own logging tags. This basically
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt allows a module to tell mod_log_config that when %x is encountered
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt a specific function should be called. Currently, x can be any single
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt character. It may be more useful to make this a string at some point.
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt [Ryan Bloom]
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan HuntChanges with Apache 2.0.17
3a30493983df83a3184dd1ecd39cf31ccdac3badEvan Hunt
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews *) If a higher-level filter handles the the byterange aspects of a
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews request, then the byterange filter should not try to redo the
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews work. The most common case of this happening, is a byterange
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews request going through the proxy, and the origin server handles
d36ba0f0caa64111a9a3236944f730dfb3fe5245Mark Andrews the byterange request. The proxy should ignore it.
d36ba0f0caa64111a9a3236944f730dfb3fe5245Mark Andrews [Graham Leggett <minfrin@sharp.fm>]
d36ba0f0caa64111a9a3236944f730dfb3fe5245Mark Andrews
ca42dcc0686fefd3db202edab80e5adb09d6add5Evan Hunt *) Changed the threaded mpm to have child_main join to each of the
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews worker threads to make sure the kids are all gone before child_main
ca42dcc0686fefd3db202edab80e5adb09d6add5Evan Hunt exits after a signal (cleanup from perform_idle_server_maintenance).
ca42dcc0686fefd3db202edab80e5adb09d6add5Evan Hunt This is an extension of Ryans recent commit to make the child_main
b3ea72e4d1c78791b807f03ea5c26e1b762d701fMark Andrews the signal thread.
b3ea72e4d1c78791b807f03ea5c26e1b762d701fMark Andrews
dfa3ca995c99e66ab56e98da79e386bcdb23c43aMark Andrews *) Add more options to the ap_mpm_query function. This also allows MPMs to
05c162292ff0db1cc65f6e5bd9052a65089ec5c3Mark Andrews report if their threads are dynamic or static. Finally, this also
98b2be76fc57a337534cda07a5ce20a41b8793adMark Andrews implements a new API, ap_show_mpm, which returns the MPM that was
98b2be76fc57a337534cda07a5ce20a41b8793adMark Andrews required into the core. [Harrie Hazewinkel <harrie@covalent.net>]
05c162292ff0db1cc65f6e5bd9052a65089ec5c3Mark Andrews
05c162292ff0db1cc65f6e5bd9052a65089ec5c3Mark Andrews *) Do not install the binaries from the support directory twice.
bfe0517fdcbe1dc62fee18e460ecf467dd491d9bEvan Hunt [jun-ichiro hagino <itojun@iijlab.net>]
bfe0517fdcbe1dc62fee18e460ecf467dd491d9bEvan Hunt
bfe0517fdcbe1dc62fee18e460ecf467dd491d9bEvan Hunt *) The ap_f* functions should flush data to the filter that is passed
bfe0517fdcbe1dc62fee18e460ecf467dd491d9bEvan Hunt in, not the the filter after the one passed in.
bfe0517fdcbe1dc62fee18e460ecf467dd491d9bEvan Hunt [Ryan Morgan <rmorgan@covalent.net>]
e4c6491bbf7ad131cf0a9ae839566b22e3632cddMark Andrews
e4c6491bbf7ad131cf0a9ae839566b22e3632cddMark Andrews *) Make ab work again by changing its native types to apr types and formats.
e4c6491bbf7ad131cf0a9ae839566b22e3632cddMark Andrews [Justin Erenkrantz <jerenkrantz@ebuilt.com>]
e4c6491bbf7ad131cf0a9ae839566b22e3632cddMark Andrews
549e34bbf4f3c5df10a8ff5b648ac6b6dbe98a0fMark Andrews *) Move the byterange filter and all of the supporting functions back
549e34bbf4f3c5df10a8ff5b648ac6b6dbe98a0fMark Andrews to the HTTP module. The byterange filter turned out to be very
499fa72075c050391b4d051f593d295670d27983Mark Andrews HTTP specific, and it belongs in the HTTP module. [Greg Stein]
967a70944d6b1902d30919baa1c4f6faf77bbfaeMark Andrews
967a70944d6b1902d30919baa1c4f6faf77bbfaeMark Andrews *) Make clean, distclean, and extraclean consistently according to the
967a70944d6b1902d30919baa1c4f6faf77bbfaeMark Andrews Gnu makefile guidelines. [Justin Erenkrantz <jerenkrantz@ebuilt.com>]
00c8156b24a3a80edf855190eabb8ac14ce9cc9cJeremy Reed
3464fafb9ff13e3212c568b645194bf138504fe6Jeremy Reed *) Fix errors in the renaming of the apr_threadattr_detach_xxx functions.
3464fafb9ff13e3212c568b645194bf138504fe6Jeremy Reed This may have been causing problems stopping processes in the threaded
4bf9fe787e9cb3085391a0560c36726eda9ac2d1Mark Andrews mpm's. [Greg Ames]
6db1357c34f26079dc2516b02d712df228e3db99Jeremy Reed
4bf9fe787e9cb3085391a0560c36726eda9ac2d1Mark Andrews *) Fix content-length in mod_negotiation to a long int representation.
0f39e477c54929f3da65b083b4e3c8500ac8152eMark Andrews [William Rowe]
52dec6996a1f305200211ff44bddf4cbb2edbb46Mark Andrews
52dec6996a1f305200211ff44bddf4cbb2edbb46Mark Andrews *) Remove BindAddress from the default config file.
52dec6996a1f305200211ff44bddf4cbb2edbb46Mark Andrews [giles@nemeton.com.au]
8f196ee82b5465d2060de279f68535076ddbad64Mark Andrews
8f196ee82b5465d2060de279f68535076ddbad64Mark Andrews *) Allow module authors to add a module to their Apache build using
8f196ee82b5465d2060de279f68535076ddbad64Mark Andrews --with-module, without re-running buildconf. The syntax is:
8f196ee82b5465d2060de279f68535076ddbad64Mark Andrews --with-module=module_type:/path/to/module.c
56907aff69cabc391e672d360c88cb1856a839efMark Andrews The configure script will copy the module.c file to
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews modules/module_type, and it will be added to the relevant Makefiles.
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews currently, this only works for static modules. [Ryan Bloom]
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews *) Changes required to make prefork clean up idle children properly.
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews There was a window during which a starting worker deadlocks when
e502b133d630bda0ee64c1e2ce6729d96750d8abMark Andrews an idle cleanup arrives before it completes init. Apache then keeps
56907aff69cabc391e672d360c88cb1856a839efMark Andrews trying to cleanup the same deadlocked worker forever (until higher
598da901aba066208ab57ef5a44661f00f6c7dc6Mark Andrews pids come along, but it still will never reduce below the deadlocked
598da901aba066208ab57ef5a44661f00f6c7dc6Mark Andrews pid). Thus the number of children would not reduce to the correct
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews idle level. [Paul J. Reder]
56907aff69cabc391e672d360c88cb1856a839efMark Andrews
cac4576405a48a84f3c4d5de0ffa28a865a13309Mark AndrewsChanges with Apache 2.0.16
cac4576405a48a84f3c4d5de0ffa28a865a13309Mark Andrews
7d211b458fed36326b9e125b9d74089f9dccc140Mark Andrews *) Change the default installation directory to /usr/local/apache2,
7d211b458fed36326b9e125b9d74089f9dccc140Mark Andrews as now defined by the "Apache" layout in config.layout. [Marc Slemko]
7d211b458fed36326b9e125b9d74089f9dccc140Mark Andrews
d2ef5b3c5c8e08694f8f755cf2f14f8ec2f248a6Mark Andrews *) OS/2: Added support for building loadable modules as OS/2 DLLs.
d2ef5b3c5c8e08694f8f755cf2f14f8ec2f248a6Mark Andrews [Brian Havard]
45c3c12ed3415e5cce50d73a735034e32aed1f73Mark Andrews
45c3c12ed3415e5cce50d73a735034e32aed1f73Mark Andrews *) Get MaxRequestsPerChild working with the Windows MPM.
45c3c12ed3415e5cce50d73a735034e32aed1f73Mark Andrews [Bill Stoddard]
692ce6c31351481644ce6167cb66edaff68cd493Mark Andrews
692ce6c31351481644ce6167cb66edaff68cd493Mark Andrews *) Make generic hooks to work, with mod_generic_hook_import/export
0807f596b58e22dd123539d0a351ef061c5eaae4Mark Andrews experimental modules. [Ben Laurie, Will Rowe]
0807f596b58e22dd123539d0a351ef061c5eaae4Mark Andrews
0807f596b58e22dd123539d0a351ef061c5eaae4Mark Andrews *) Fix segfaults for configuration file syntax errors such as
6cf047f100e35ef9ea0dc1aed3f05cd3c4ee3c3dMark Andrews "<Directory>" followed by "</Directory" and
6cf047f100e35ef9ea0dc1aed3f05cd3c4ee3c3dMark Andrews "<Directory>" followed by "</Directoryz>". [Jeff Trawick]
6cf047f100e35ef9ea0dc1aed3f05cd3c4ee3c3dMark Andrews
b663e99af61e032273bdffa2f8d26de539ae6930Mark Andrews *) Cleanup the --enable-layout option of configure. This makes
b663e99af61e032273bdffa2f8d26de539ae6930Mark Andrews us use a consistent location for the config.layout file, and it
77d90dc2b51e672111be97e7920862c97f446c4dTatuya JINMEI 神明達哉 makes configure more portable.
77d90dc2b51e672111be97e7920862c97f446c4dTatuya JINMEI 神明達哉 [jun-ichiro hagino <itojun@iijlab.net>]
77d90dc2b51e672111be97e7920862c97f446c4dTatuya JINMEI 神明達哉
77d90dc2b51e672111be97e7920862c97f446c4dTatuya JINMEI 神明達哉 *) Changes to 'ab'; fixed int overrun's, added statistics, output in
77d90dc2b51e672111be97e7920862c97f446c4dTatuya JINMEI 神明達哉 csv/gnuplot format, rudimentary ssl support and various other tweaks
7558bd3e3824fb2ae349b8ab80f73d17d3ef5a77Francis Dupont to make results more true to what is measured. The upshot of this it
7558bd3e3824fb2ae349b8ab80f73d17d3ef5a77Francis Dupont turns out that 'ab' has often underreported the true performance of
7558bd3e3824fb2ae349b8ab80f73d17d3ef5a77Francis Dupont apache. Often by a order of magnitude :-) See talk/paper of Sander
7558bd3e3824fb2ae349b8ab80f73d17d3ef5a77Francis Dupont Temme <sctemme@covalent.net> at April ApacheCon 2001 for details.
334a4fd338d36a8310560a4c193d7af52bc69ce4Jeremy Reed [Dirk-Willem van Gulik]
334a4fd338d36a8310560a4c193d7af52bc69ce4Jeremy Reed
334a4fd338d36a8310560a4c193d7af52bc69ce4Jeremy Reed *) Clean up mod_cgid's temporary request pool. Besides fixing a
5d0984f4fd3133c869b0736adb5291e6fca34a0cTatuya JINMEI 神明達哉 storage leak this ensures that some unnecessary pipes are closed.
5d0984f4fd3133c869b0736adb5291e6fca34a0cTatuya JINMEI 神明達哉 [Jeff Trawick]
c349441d7e47a30e81726967b2398289225ebd45Mark Andrews
c349441d7e47a30e81726967b2398289225ebd45Mark Andrews *) Performance: Add quick_handler hook. This hook is called at the
46af69f1239553d4a1c315f6eee51379828942f9Mark Andrews very beginning of the request processing before location_walk,
70f292a50f9840fc25b3dbecfed71cdf835d4094Mark Andrews translate_name, etc. This hook is useful for URI keyed content
f19e6ef1eb7d5abf547fc1af24e561bdc5d75b22Mark Andrews caches like Mike Abbott's Quick Shortcut Cache.
f19e6ef1eb7d5abf547fc1af24e561bdc5d75b22Mark Andrews [Bill Stoddard]
f19e6ef1eb7d5abf547fc1af24e561bdc5d75b22Mark Andrews
53cd44e7168acb379b1c5c74b3ffc4336694779dMark Andrews *) top_module global variable renamed to ap_top_module [Perl]
53cd44e7168acb379b1c5c74b3ffc4336694779dMark Andrews
e80b69327290953b825c7778d8de9d314bed6198Mark Andrews *) Move ap_set_last_modified to the core. This is a potentially
e80b69327290953b825c7778d8de9d314bed6198Mark Andrews controversial change, because this is kind of HTTP specific. However
e80b69327290953b825c7778d8de9d314bed6198Mark Andrews many protocols should be able to take advantage of this kind of
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉 information. I expect that headers will need one more layer of
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉 indirection for multi-protocol work, but this is a small step in
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉 the right direction. [Ryan Bloom]
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉
d9059b0c38bd630c367d81424d72b1308cd74b04Tatuya JINMEI 神明達哉 *) Enable mod_status by default. This matches what Apache 1.3 does.
f895c5b042cc0f7e3547fac7f6a4bd8d3d45acd8Tatuya JINMEI 神明達哉 [Ed Korthof]
d9059b0c38bd630c367d81424d72b1308cd74b04Tatuya JINMEI 神明達哉
f148f53794956f491f6527430a93c2c8d884a212Mark Andrews *) Add a ScriptSock directive to the default config file. This is
f148f53794956f491f6527430a93c2c8d884a212Mark Andrews only enabled when mod_cgid is used.
f148f53794956f491f6527430a93c2c8d884a212Mark Andrews [Taketo Kabe <kabe@sra-tohoku.co.jp>]
e8a534049cea42ecf07113e88645cea2bd12d850Mark Andrews
00f83773169d9020a3ddcdaf88b198a27f571ff8Mark AndrewsChanges with Apache 2.0.15
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark Andrews
10e8f96abe072fcf4e0c938548f0970cd26f624cMark Andrews *) Untangled the buildconf script and eliminated the need for build's
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark Andrews aclocal.m4, generated_lists, build.mk, build2.mk, and a host of other
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark Andrews libtool muck that is now under srclib/apr/build. [Roy Fielding]
5567f54834089be35d0df6afe2ccfaa039ab2233Jeremy Reed
5567f54834089be35d0df6afe2ccfaa039ab2233Jeremy Reed *) Win32: Don't accept more connections than we have worker threads
ed4efb08050b31571c6b9540a2b78b502c667206Mark Andrews to handle.
ed4efb08050b31571c6b9540a2b78b502c667206Mark Andrews [Bill Stoddard]
ed4efb08050b31571c6b9540a2b78b502c667206Mark Andrews
13f4bdc9b4f7b438cf5c2a071f108211534fae3fMark Andrews *) Fix bug in the Unix threaded.c MPM that allowed child processes
13f4bdc9b4f7b438cf5c2a071f108211534fae3fMark Andrews to fork() new child processes.
3efa3f07d51793a0e477d68787c210746b5d4af3Mark Andrews [Bill Stoddard]
3efa3f07d51793a0e477d68787c210746b5d4af3Mark Andrews
3efa3f07d51793a0e477d68787c210746b5d4af3Mark Andrews *) Fix a major security problem with double-reverse lookup checking.
914eeb33149a0008e26741d9e7d89dcd6f8b6d0bMark Andrews Previously, a client connecting over IPv4 would not be matched
914eeb33149a0008e26741d9e7d89dcd6f8b6d0bMark Andrews properly when the server had an IPv6 listening socket. PR #7407
914eeb33149a0008e26741d9e7d89dcd6f8b6d0bMark Andrews [Taketo Kabe <kiabe@sra-tohoku.co.jp>]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Change the way the beos MPM handles polling to allow it to stop and
a8673c536b5827d87ef6c50a04afd34af2253fd9Evan Hunt restart. Problem was the sockets being polled were being reset by
616b4544d0228604b1c5169b0c9d742f67567232Tatuya JINMEI 神明達哉 the select call, so once it had accepted a connection it was no
616b4544d0228604b1c5169b0c9d742f67567232Tatuya JINMEI 神明達哉 longer listening on the UDP socket we use for shutdown instructions.
7781f25078c491a9650dec555bdc86cb0ed49861Tatuya JINMEI 神明達哉 APR needs to be altered, patch on it's way. [David Reid]
7781f25078c491a9650dec555bdc86cb0ed49861Tatuya JINMEI 神明達哉
bc4bc3579b92f2e4c6a6a2c5284d1c792c70e264Tatuya JINMEI 神明達哉 *) Empty out the brigade shared by ap_getline()/ap_get_client_block()
bc4bc3579b92f2e4c6a6a2c5284d1c792c70e264Tatuya JINMEI 神明達哉 on error exit from ap_getline(). Some other code got upset because
7781f25078c491a9650dec555bdc86cb0ed49861Tatuya JINMEI 神明達哉 the wrong data was in the brigade. [Greg Ames, Jeff Trawick]
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉 *) Handle ap_discard_request_body() being called more than once.
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉 [Greg Ames, Jeff Trawick]
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉
1879dbe0d962f6f929417b02bf07f64ed41b1aabFrancis Dupont *) Get rid of an inadvertent close of file descriptor 2 in
1879dbe0d962f6f929417b02bf07f64ed41b1aabFrancis Dupont mod_mime_magic. [Greg Ames, Jeff Trawick]
b393e55a763d2bb0f326706b3851a2a22fc389d5Francis Dupont
b393e55a763d2bb0f326706b3851a2a22fc389d5Francis Dupont *) Add a hook, create_request. This hook allows modules to modify
b393e55a763d2bb0f326706b3851a2a22fc389d5Francis Dupont a request while it is being created. This hook is called for all
fa7ef31685393f7c7ba1cec485d8e395bfa28867Francis Dupont request_rec's, main request, sub request, and internal redirect.
52cee51063613b9be335d3078f13863fd0cad2cfMark Andrews When this hook is called, the the r->main, r->prev, r->next
ddb35cf2f301ae1c3fa601792034f6d349efc8c5Mark Andrews pointers have been set, so modules can determine what kind of
ddb35cf2f301ae1c3fa601792034f6d349efc8c5Mark Andrews request this is. [Ryan Bloom]
4aa174ddd5556f6c1792c69546679b17f1ceec83Tatuya JINMEI 神明達哉
4aa174ddd5556f6c1792c69546679b17f1ceec83Tatuya JINMEI 神明達哉 *) Cleanup the build process a bit more. The Apache configure
4aa174ddd5556f6c1792c69546679b17f1ceec83Tatuya JINMEI 神明達哉 script no longer creates its own helper scripts, it just
09d7358c48bb032566e5bb70703c2c3ea35a0cb2Mark Andrews uses APR's.
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉 [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉 *) Stop the forced downgrade of the connection to HTTP/1.0 for
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉 proxy requests. [Graham Leggett]
1ee054ca444765a3d1b98208c83115b4f34bebc2Mark Andrews
1ee054ca444765a3d1b98208c83115b4f34bebc2Mark Andrews *) Avoid using sscanf to determine the HTTP protocol number in
1ee054ca444765a3d1b98208c83115b4f34bebc2Mark Andrews the common case because sscanf is a performance hog. From
7f658603910358db7ee27ffb9783096250afab62Tatuya JINMEI 神明達哉 Mike Abbot's Accelerating Apache patch number 6.
858cc1200ebeee2d759e8be2c6b715676f992bb2Mark Andrews [Mike Abbot <mja@trudge.engr.sgi.com>, Bill Stoddard]
7f658603910358db7ee27ffb9783096250afab62Tatuya JINMEI 神明達哉
7f658603910358db7ee27ffb9783096250afab62Tatuya JINMEI 神明達哉 *) Fix a security exposure in mod_access. Previously when IPv6
cb30636abd508693d0095e1956c9d91f87513a51Tatuya JINMEI 神明達哉 listening sockets were used, allow/deny-from-IPv4-address rules
cb30636abd508693d0095e1956c9d91f87513a51Tatuya JINMEI 神明達哉 were not evaluated properly (PR #7407). Also, add the ability to
cb30636abd508693d0095e1956c9d91f87513a51Tatuya JINMEI 神明達哉 specify IPv6 address strings with optional prefix length on Allow
8bf0c05627a8175750f941db30e9df2c699aa90aMark Andrews and Deny. [Jeff Trawick]
8bf0c05627a8175750f941db30e9df2c699aa90aMark Andrews
8bf0c05627a8175750f941db30e9df2c699aa90aMark Andrews *) Enhance rotatelogs so that a UTC offset can be specified, and
96465858fa1165860353dfdd4d5db348388d191eTatuya JINMEI 神明達哉 the logfile name can be formatted using strftime(3). (Brought
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉 forward from 1.3.) [Ken Coar]
96465858fa1165860353dfdd4d5db348388d191eTatuya JINMEI 神明達哉
96465858fa1165860353dfdd4d5db348388d191eTatuya JINMEI 神明達哉 *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling
96465858fa1165860353dfdd4d5db348388d191eTatuya JINMEI 神明達哉 DuplicateHandle on an IOCompletionPort (a practice which
24450ad58d545e165c051fff24b320118fc00350Mark Andrews MS "discourages"). The new model does not rely on associating
47d89fcd4fb850b066f87dc3313afe1cfe92cd99Mark Andrews the completion port with the listening sockets, thus the
47d89fcd4fb850b066f87dc3313afe1cfe92cd99Mark Andrews completion port can be completely managed within the child
47d89fcd4fb850b066f87dc3313afe1cfe92cd99Mark Andrews process. A dedicated thread accepts connections off the network,
a5746c4ec14e5dbcb6a2431aa86cc86c21387e6bMark Andrews then calls PostQueuedCompletionStatus() to wake up worker
a5746c4ec14e5dbcb6a2431aa86cc86c21387e6bMark Andrews threads blocked on the completion port.
a5746c4ec14e5dbcb6a2431aa86cc86c21387e6bMark Andrews [Bill Stoddard]
b06e03490604f5d9b590dad143e65d533918481bMark Andrews
b06e03490604f5d9b590dad143e65d533918481bMark Andrews *) Bring forward the --suexec-umask option which allows the
8684cd3a6f1437a3c1ff6ca852e1db6d40ce6303Mark Andrews builder to preset the umask for suexec processes. [Ken Coar]
92241b04f16e1095a53f2c75e7987381dd0773afMark Andrews
92241b04f16e1095a53f2c75e7987381dd0773afMark Andrews *) Add a -V flag to suexec, which causes it to display the
92241b04f16e1095a53f2c75e7987381dd0773afMark Andrews compile-time settings with which it was built. (Only
43c68170fe528dfbe153e5813049f129e12d0620Tatuya JINMEI 神明達哉 usable by root or the AP_HTTPD_USER username.) [Ken Coar]
43c68170fe528dfbe153e5813049f129e12d0620Tatuya JINMEI 神明達哉
69f0cf898e3ca5c701fb34d7074cc9897d71f4a0Mark Andrews *) Mod_include should always unset the content-length if the file is
69f0cf898e3ca5c701fb34d7074cc9897d71f4a0Mark Andrews going to be passed through send_parsed_content. There is no to
69f0cf898e3ca5c701fb34d7074cc9897d71f4a0Mark Andrews determine if the content will change before actually scanning the
69f0cf898e3ca5c701fb34d7074cc9897d71f4a0Mark Andrews entire content. It is far safer to just remove the C-L as long
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews as we are scanning it. [Ryan Bloom]
9908cbc06f89c8d44f092708a43ae3a6e7a4416cMark Andrews
9908cbc06f89c8d44f092708a43ae3a6e7a4416cMark Andrews *) Make sure Apache sends WWW-Authenticate during a reverse proxy
2e61d171bc1fa47ea4d551b87546ebcf78f61e4aMark Andrews request and not Proxy-Authenticate.
2e61d171bc1fa47ea4d551b87546ebcf78f61e4aMark Andrews [Graham Leggett <minfrin@sharp.fm>]
2e61d171bc1fa47ea4d551b87546ebcf78f61e4aMark Andrews
d8fc8514b117e636b791bef429d64a7c7a75a4cfMark AndrewsChanges with Apache 2.0.14
d8fc8514b117e636b791bef429d64a7c7a75a4cfMark Andrews
9935447b51456f598b45246d0114b8006049244dMark Andrews *) Fix content-length computation. We ONLY compute a content-length if
9935447b51456f598b45246d0114b8006049244dMark Andrews We are not in a 1.1 request and we cannot chunk, and this is a keepalive
9935447b51456f598b45246d0114b8006049244dMark Andrews or we already have all the data. [Ryan Bloom]
175a8bd2b798bbc568cd912b72c8a026cfca8527Mark Andrews
175a8bd2b798bbc568cd912b72c8a026cfca8527Mark Andrews *) Report unbounded containers in the config file. Previously, a typo
175a8bd2b798bbc568cd912b72c8a026cfca8527Mark Andrews in the </container> directive could result in the rest of the config
46018d5d233cffdea765b3298ac8153c77b26383Mark Andrews file being silently ignored, with undesired defaults used.
46018d5d233cffdea765b3298ac8153c77b26383Mark Andrews [Jeff Trawick]
46018d5d233cffdea765b3298ac8153c77b26383Mark Andrews
46018d5d233cffdea765b3298ac8153c77b26383Mark Andrews *) Make the old_write filter use the ap_f* functions for the buffering.
4e59e2e59b17c4e30eef801929bca91800be833eFrancis Dupont [Ryan Bloom]
47d9a2bec1fee2f6c7a9cee3ca922140840223eeMark Andrews
47d9a2bec1fee2f6c7a9cee3ca922140840223eeMark Andrews *) Move more code from the http module into the core server. This
9019569316e39087410336bb76c02bf185974fe3Mark Andrews is core code, basically the default handler, the default input
9019569316e39087410336bb76c02bf185974fe3Mark Andrews and output filters, and all of the core configuration directives.
ac4b736ab20cc1098448028c4ae3db7a50e96123Mark Andrews All of this code is required in order for the server to work, with or
ac4b736ab20cc1098448028c4ae3db7a50e96123Mark Andrews without HTTP. The server is closer to working without the HTTP
ac4b736ab20cc1098448028c4ae3db7a50e96123Mark Andrews module, although there is still more to do. [Ryan Bloom]
eb8265942b3019d34e365432314b63decc84728fTatuya JINMEI 神明達哉
eb8265942b3019d34e365432314b63decc84728fTatuya JINMEI 神明達哉 *) Fix a number of SGI compile warnings throughout the server. Fix some
eb8265942b3019d34e365432314b63decc84728fTatuya JINMEI 神明達哉 bad parameters to apr_bucket_read(). Fix a bad statement in
eb8265942b3019d34e365432314b63decc84728fTatuya JINMEI 神明達哉 ap_method_in_list(). For the mod_rewrite cache use apr_time_t
eb8265942b3019d34e365432314b63decc84728fTatuya JINMEI 神明達哉 consistently; we were mixing apr_time_t and time_t in invalid ways
e7ba4d8dc4559ff47f7f8298dad1469275ed0f1eMark Andrews before. In load_file(), call apr_dso_error() instead of
e7ba4d8dc4559ff47f7f8298dad1469275ed0f1eMark Andrews apr_strerror() so that we get a more specific string on some platforms.
e7ba4d8dc4559ff47f7f8298dad1469275ed0f1eMark Andrews PR #6980 [Jeff Trawick]
81e5de17419f2e6f80ce76c333159ca9feb67b8cMark Andrews
81e5de17419f2e6f80ce76c333159ca9feb67b8cMark Andrews *) Allow modules to query the MPM about it's execution profile. This
50df1ec60af410fca6b7a85d5c85e8f31bb13bc3Mark Andrews query API can and should be extended in the future, but for now,
50df1ec60af410fca6b7a85d5c85e8f31bb13bc3Mark Andrews max_daemons, and threading or forking is a very good start.
da2d57c8cf7e18c8ab1fbcc8e5f2001fb2f02cb1Mark Andrews [Jon Travis <jtravis@covalent.net>]
da2d57c8cf7e18c8ab1fbcc8e5f2001fb2f02cb1Mark Andrews
da2d57c8cf7e18c8ab1fbcc8e5f2001fb2f02cb1Mark Andrews *) Modify mod_include to send blocks of data no larger than 9k.
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed Without this, mod_include will wait until the whole file is parsed,
ef4eed2a2a8897bd4e5b19dd94f638e0861ebda5Mark Andrews or the first tag is found to send any data to the client.
ef4eed2a2a8897bd4e5b19dd94f638e0861ebda5Mark Andrews [Paul J. Reder <rederpj@raleigh.ibm.com>]
d5be219ff773a91c839c660fee54f1df7448adfaMark Andrews
7d89c53f6e8dcbac40334156aa999a13e6af189cMark Andrews *) Fix mod_info, so that <Directory> and <Location> directives are
7d89c53f6e8dcbac40334156aa999a13e6af189cMark Andrews not displayed twice when displaying the current configuration.
7d89c53f6e8dcbac40334156aa999a13e6af189cMark Andrews [Ryan Morgan <rmorgan@covalent.net>]
96b3cb85d3b06d99323a6ea7ae04f4eb3d74e8bcMark Andrews
96b3cb85d3b06d99323a6ea7ae04f4eb3d74e8bcMark Andrews *) Add config directives to override DEFAULT_ERROR_MSG and
96b3cb85d3b06d99323a6ea7ae04f4eb3d74e8bcMark Andrews DEFAULT_TIME_FORMAT. This was sent in as PR 6193.
dc143a8f5cc8b2893f5b63077224f091f8c51862Mark Andrews [Dan Rench <drench@xnet.com>]
dc143a8f5cc8b2893f5b63077224f091f8c51862Mark Andrews
dc143a8f5cc8b2893f5b63077224f091f8c51862Mark Andrews *) Get mod_info building and loading on Win32. [William Rowe]
f99fd90097c3260a14eca9ee5aa8c4c4d50ebca7Tatuya JINMEI 神明達哉
f99fd90097c3260a14eca9ee5aa8c4c4d50ebca7Tatuya JINMEI 神明達哉 *) Begin to move protocol independant functions out of mod_http. The goal
f99fd90097c3260a14eca9ee5aa8c4c4d50ebca7Tatuya JINMEI 神明達哉 is to have only functions that are HTTP specific in the http directory.
f99fd90097c3260a14eca9ee5aa8c4c4d50ebca7Tatuya JINMEI 神明達哉 [Ryan Bloom]
f99fd90097c3260a14eca9ee5aa8c4c4d50ebca7Tatuya JINMEI 神明達哉
f99fd90097c3260a14eca9ee5aa8c4c4d50ebca7Tatuya JINMEI 神明達哉Changes with Apache 2.0.13
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews *) Don't assume that there will always be multiple calls to the byterange
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews filter. It is possible that we will need to do byteranges with only
09b45f7b5800c4dbb86846dea35e8aba0a25b0d0Mark Andrews one call to the filter. [Ryan Morgan <rmorgan@covalent.net>]
09b45f7b5800c4dbb86846dea35e8aba0a25b0d0Mark Andrews
f6f1672b4e460571c418e43ae3bd0fae97e4c149Mark Andrews *) Move the error_bucket definition from the http module to the
f6f1672b4e460571c418e43ae3bd0fae97e4c149Mark Andrews core server. Every protocol will need this ability, not just
f6f1672b4e460571c418e43ae3bd0fae97e4c149Mark Andrews HTTP. [Ryan Bloom]
f6f1672b4e460571c418e43ae3bd0fae97e4c149Mark Andrews
f6f1672b4e460571c418e43ae3bd0fae97e4c149Mark AndrewsChanges with Apache 2.0.12
f6f1672b4e460571c418e43ae3bd0fae97e4c149Mark Andrews
f6f1672b4e460571c418e43ae3bd0fae97e4c149Mark Andrews *) Modify mod_file_cache to save pre-formatted strings for
f6f1672b4e460571c418e43ae3bd0fae97e4c149Mark Andrews content-length and last-modified headers for performance.
f6f1672b4e460571c418e43ae3bd0fae97e4c149Mark Andrews [Mike Abbot <mja@trudge.engr.sgi.com>]
1f3e0508c2146b473838899429f44e72c52b32f4Mark Andrews
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed *) Namespace protect IOBUFSIZ since it is exposed in the API.
1f3e0508c2146b473838899429f44e72c52b32f4Mark Andrews [Jon Travis <jtravis@covalent.net>]
1f3e0508c2146b473838899429f44e72c52b32f4Mark Andrews
a14aff6984062f01b6d88f485f0a3f68d99fc174Mark Andrews *) Use "Basic" authentication instead of "basic" in ab, as the spec
a14aff6984062f01b6d88f485f0a3f68d99fc174Mark Andrews says we should. [Andre Breiler <andre.breiler@rd.bbc.co.uk>]
a14aff6984062f01b6d88f485f0a3f68d99fc174Mark Andrews
a14aff6984062f01b6d88f485f0a3f68d99fc174Mark Andrews *) Fix a seg fault in mod_userdir.c. We used to use the pw structure
7b1a7a098b51381f06277860a40bd7f062c8ec19Francis Dupont without ever filling it out. This fixes PR 7271.
7b1a7a098b51381f06277860a40bd7f062c8ec19Francis Dupont [Taketo Kabe <kabe@sra-tohoku.co.jp> and
bc3b1dbd69840bd7f2f0b6af2610603f334b369bFrancis Dupont Cliff Woolley <cliffwoolley@yahoo.com>]
bc3b1dbd69840bd7f2f0b6af2610603f334b369bFrancis Dupont
c19a57667e9b2ad12cc0df9a370fe0b8e87f0622Mark Andrews *) Add a couple of GCC attribute tags to printf style functions.
c19a57667e9b2ad12cc0df9a370fe0b8e87f0622Mark Andrews [Jon Travis <jtravis@covalent.net>]
c19a57667e9b2ad12cc0df9a370fe0b8e87f0622Mark Andrews
736e6a6709b778d4d228441d9ac3b366e0dceb99Mark Andrews *) Add the correct language tag for interoperation with the Taiwanese
736e6a6709b778d4d228441d9ac3b366e0dceb99Mark Andrews versions of MSIE and Netscape. [Clive Lin <clive@CirX.ORG>] PR#7142
736e6a6709b778d4d228441d9ac3b366e0dceb99Mark Andrews
736e6a6709b778d4d228441d9ac3b366e0dceb99Mark Andrews *) Migrate the perchild MPM to use the new apr signal child, and
736e6a6709b778d4d228441d9ac3b366e0dceb99Mark Andrews APR thread functions. [Ryan Bloom]
736e6a6709b778d4d228441d9ac3b366e0dceb99Mark Andrews
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed *) Close one copy of the CGI's stdout before creating the new process.
e597f9f376d79c8962f2373d4eb98a441e6c70caMark Andrews The CGI will still have stdout, because we have already dup'ed it.
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed This keeps Apache from waiting forever to send the results of a CGI
d1ec77294eb543bbca128d8683bdf9680cbedb61Mark Andrews process that has forked a long-lived child process.
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Taketo Kabe <kabe@sra-tohoku.co.jp>]
9d02618ca6b4d2e1737ba441449f61c1f04be685Mark Andrews
a21884ae7bec40b6fc2227ff112ecf5a7cffc4fdMark Andrews *) Remove the rest of the pthreads functions from the threaded MPM.
a21884ae7bec40b6fc2227ff112ecf5a7cffc4fdMark Andrews This requires the APR support for a signal thread that was just
a21884ae7bec40b6fc2227ff112ecf5a7cffc4fdMark Andrews added. [Ryan Bloom]
d63cfbfbf947d08d67561f4bef3bf7b688dfcbfaJeremy Reed
d63cfbfbf947d08d67561f4bef3bf7b688dfcbfaJeremy Reed *) Make mod_dir use a fixup for sending a redirect to the browser.
d63cfbfbf947d08d67561f4bef3bf7b688dfcbfaJeremy Reed Before this, we were using a handler, which doesn't make much
86ee7433b38bb023912a73d842bdcef3d4871a90Mark Andrews sense, because the handler wasn't generating any data, it would
275b170cc47c897d25204fe23169dac810283f79Mark Andrews either return a redirect error code, or DECLINED. This fits the
86ee7433b38bb023912a73d842bdcef3d4871a90Mark Andrews current hooks better. [Ryan Morgan <rmorgan@covalent.net>]
06a230fe9fa2087a778ae0f199bda1b8fdd1e05cEvan Hunt
06a230fe9fa2087a778ae0f199bda1b8fdd1e05cEvan Hunt *) Make the threaded MPM use APR threads instead of pthreads.
06a230fe9fa2087a778ae0f199bda1b8fdd1e05cEvan Hunt [Ryan Bloom]
6d54a6fc180acaf8772c9447cb925b31f39c7158Mark Andrews
6d54a6fc180acaf8772c9447cb925b31f39c7158Mark Andrews *) Get mod_tls to the point where it actually appears to work in all cases.
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Ben Laurie]
6d54a6fc180acaf8772c9447cb925b31f39c7158Mark Andrews
6d54a6fc180acaf8772c9447cb925b31f39c7158Mark Andrews *) implement --enable-modules and --enable-mods-shared for "all" and
7ca0cdd7ecff4c0396970ed957df7d5d8c639abfMark Andrews "most". [Greg Stein]
ee02a035c9dc50cac31424512e110ee16a45a693Mark Andrews
7ca0cdd7ecff4c0396970ed957df7d5d8c639abfMark Andrews *) Move the threaded MPM to use APR locks instead of pthread locks.
275b170cc47c897d25204fe23169dac810283f79Mark Andrews [Ryan Bloom]
455ada05af05e39cdeb63297d60d36a0eca062e1Mark Andrews
455ada05af05e39cdeb63297d60d36a0eca062e1Mark Andrews *) Rename mpmt_pthread to threaded. This is more in line with the
0d444dc136a1a8df89a329d7ad43c74e1db8dfbeMark Andrews fact that mpmt_pthread shouldn't be using pthreads directly, and
ff30270d6ccc27a7ce45853eb5637b6d69d8a5ebMark Andrews it is a smaller name that doesn't tie into anything.
0d444dc136a1a8df89a329d7ad43c74e1db8dfbeMark Andrews [Ryan Bloom]
4e9775118dbf128dd296f01638733ba221f76c34Mark Andrews
4e9775118dbf128dd296f01638733ba221f76c34Mark Andrews *) Rename the module structures so that the exported symbol matches
4e9775118dbf128dd296f01638733ba221f76c34Mark Andrews the file name, and it is easier to automate the installation
35378bcc6a6c95495e70bad92f245b6fa9c8292aTatuya JINMEI 神明達哉 process (generating LoadModule directives from the module filenames).
35378bcc6a6c95495e70bad92f245b6fa9c8292aTatuya JINMEI 神明達哉 [Martin Kraemer]
35378bcc6a6c95495e70bad92f245b6fa9c8292aTatuya JINMEI 神明達哉
b05585dcfe270c40e309ff7304cf6b69d7390bdaTatuya JINMEI 神明達哉 *) Remove the coalesce filter. With the ap_f* functions, this filter
b05585dcfe270c40e309ff7304cf6b69d7390bdaTatuya JINMEI 神明達哉 is no longer needed. [Ryan Bloom]
1f030ca8a3df943d8016cac39bc3018f5952126aJeremy Reed
1f030ca8a3df943d8016cac39bc3018f5952126aJeremy ReedChanges with Apache 2.0.11
1f030ca8a3df943d8016cac39bc3018f5952126aJeremy Reed
698a4dcc8ae5c2a62a254ab2aff7b16d52598cc0Mark Andrews *) Remove the dexter MPM. Perchild is the same basic idea, but it has the
698a4dcc8ae5c2a62a254ab2aff7b16d52598cc0Mark Andrews added feature of allowing a uid/gid per child process. If no
698a4dcc8ae5c2a62a254ab2aff7b16d52598cc0Mark Andrews uid/gid is specified, then Perchild behaves exactly like dexter.
88674be66567d3c7db91e717cd5972655e2e2488Mark Andrews [Ryan Bloom]
88674be66567d3c7db91e717cd5972655e2e2488Mark Andrews
88674be66567d3c7db91e717cd5972655e2e2488Mark Andrews *) Get perchild building again. [Ryan Bloom]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
d7896edb4e93c4785a9281ea86afba86b758e813Mark Andrews *) Don't disable threads just because we are using the prefork MPM.
d7896edb4e93c4785a9281ea86afba86b758e813Mark Andrews If somebody wants to compile without threads, they must now add
1f3e0508c2146b473838899429f44e72c52b32f4Mark Andrews --disable-threads to the configure command line. [Ryan Bloom]
1f3e0508c2146b473838899429f44e72c52b32f4Mark Andrews
d7896edb4e93c4785a9281ea86afba86b758e813Mark Andrews *) Begin to move the calls to update_child_status into common code, so
d7896edb4e93c4785a9281ea86afba86b758e813Mark Andrews that each individual MPM does not need to update the scoreboard itself.
d7896edb4e93c4785a9281ea86afba86b758e813Mark Andrews [Ryan Bloom]
0db6bf459f7afa1f9dc0690a521df19955c89dbfJeremy Reed
0db6bf459f7afa1f9dc0690a521df19955c89dbfJeremy Reed *) Allow mod_tls to compile under Unix boxes where openssl has been
0db6bf459f7afa1f9dc0690a521df19955c89dbfJeremy Reed installed to the system include files.
99a522dad7623549cd5e32a4968e6de8eca46ff1Mark Andrews [Gomez Henri <new-httpd@slib.fr>]
99a522dad7623549cd5e32a4968e6de8eca46ff1Mark Andrews
b90d59882c3b0bbe5dafe27c51c274f0b5912f65Mark Andrews *) Cleanup the mod_tls configure process. This should remove any need
b90d59882c3b0bbe5dafe27c51c274f0b5912f65Mark Andrews to hand-edit any files. We require OpenSSL 0.9.6 or later, but
b90d59882c3b0bbe5dafe27c51c274f0b5912f65Mark Andrews configure doesn't check that yet. [Ryan Bloom]
b90d59882c3b0bbe5dafe27c51c274f0b5912f65Mark Andrews
b90d59882c3b0bbe5dafe27c51c274f0b5912f65Mark Andrews *) Add a very early prototype of SSL support (in mod_tls.c). It is
cd6555930b6829ebce8bbf2adc7ba05111edf595Mark Andrews vital that you read modules/tls/README before attempting to build
cd6555930b6829ebce8bbf2adc7ba05111edf595Mark Andrews it. [Ben Laurie]
369e148f307a322206a460f9fd470927bcc756d0Tatuya JINMEI 神明達哉
369e148f307a322206a460f9fd470927bcc756d0Tatuya JINMEI 神明達哉 *) Fix a potential seg fault on all platforms. David Reid fixed this
369e148f307a322206a460f9fd470927bcc756d0Tatuya JINMEI 神明達哉 on BEOS, but the problem could happen anywhere, so we don't want
2be6798f93e7ba1f4c4082e7b0837c7668a06dcaTatuya JINMEI 神明達哉 to #ifdef it. [Cliff Woolley <cliffwoolley@yahoo.com>]
2be6798f93e7ba1f4c4082e7b0837c7668a06dcaTatuya JINMEI 神明達哉
c5ead8c25b6c1f51180ec6899c421fc9d074e6cbTatuya JINMEI 神明達哉 *) Add new LogFormat directive, %D, to log time it takes to serve a
2be6798f93e7ba1f4c4082e7b0837c7668a06dcaTatuya JINMEI 神明達哉 request in microseconds. [Bill Stoddard]
b0bf1ad5b0b1d29b4cdf5de9789405aec5e0844cEvan Hunt
b0bf1ad5b0b1d29b4cdf5de9789405aec5e0844cEvan Hunt *) Change AddInputFilter and AddOutputFilter to SetInputFilter and
b0bf1ad5b0b1d29b4cdf5de9789405aec5e0844cEvan Hunt SetOutputFilter. This corresponds nicely with the other Set
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews directives, which operate on containers while the Add* directives
275b170cc47c897d25204fe23169dac810283f79Mark Andrews tend to work directly on extensions. [Ryan Bloom]
eab4a5c29ddda688d975ad59a55a965b16534432Mark Andrews
eab4a5c29ddda688d975ad59a55a965b16534432Mark Andrews *) Cleanup the header handling a bit. This uses the apr_brigade_*
21d493fc392d472086ad3c7c4563b7cadcb06788Mark Andrews functions for the buffering so that we don't need to compute
21d493fc392d472086ad3c7c4563b7cadcb06788Mark Andrews the length of the headers before we actually create the header
5737b74d34b1eab413f4a5734714bb176c5cc849Mark Andrews buffer. [Ryan Bloom]
5737b74d34b1eab413f4a5734714bb176c5cc849Mark Andrews
5737b74d34b1eab413f4a5734714bb176c5cc849Mark Andrews *) Allow filters to buffer data using the ap_f* functions. These have
5737b74d34b1eab413f4a5734714bb176c5cc849Mark Andrews become macros that resolve directly to apr_brigade_*.
5737b74d34b1eab413f4a5734714bb176c5cc849Mark Andrews [Ryan Bloom]
19e4588ed76d6832be4de0813b6108a292ef413aMark Andrews
19e4588ed76d6832be4de0813b6108a292ef413aMark Andrews *) Get the Unix MPM's to do a graceful restart again. If we are going
48a866144e3b14efa6c51af05ef7641b23c7516dJeremy Reed to register a cleanup with ap_cleanup_scoreboard, then we have to
48a866144e3b14efa6c51af05ef7641b23c7516dJeremy Reed kill the cleanup with the same function, and that function can't be
48a866144e3b14efa6c51af05ef7641b23c7516dJeremy Reed static. [Ryan Bloom]
143852efc066b3e3cd16eeec679016adbd450474Mark Andrews
143852efc066b3e3cd16eeec679016adbd450474Mark Andrews *) Install all required header files. Without these, it was not
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews possible to compile some modules outside of the server.
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews [Ryan Bloom]
275b170cc47c897d25204fe23169dac810283f79Mark Andrews
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark Andrews *) Fix the AliasMatch directive in Apache 2.0. When we brought a patch
eeaa2277ead6df7253a8958ee2d786f73e05b8beTatuya JINMEI 神明達哉 forward from 1.3 to 2.0, we missed a single line, which broke regex
eeaa2277ead6df7253a8958ee2d786f73e05b8beTatuya JINMEI 神明達哉 aliases. [Ryan Bloom]
eeaa2277ead6df7253a8958ee2d786f73e05b8beTatuya JINMEI 神明達哉
eeaa2277ead6df7253a8958ee2d786f73e05b8beTatuya JINMEI 神明達哉 *) We have a poor abstraction in the protocol. This is a temporary
cfef3799266c3955a3e19df5794b7994d4dd7bdbMark Andrews hack to fix the bug, but it will need to be fixed for real. If
cfef3799266c3955a3e19df5794b7994d4dd7bdbMark Andrews we find an error while sending out a custom error response, we back
cfef3799266c3955a3e19df5794b7994d4dd7bdbMark Andrews up to the first non-OK request and send the data. Then, when we send
cfef3799266c3955a3e19df5794b7994d4dd7bdbMark Andrews the EOS from finalize_request_protocol, we go to the last request,
ce688d65947a05561509aef48c8c240130d443eaMark Andrews to ensure that we aren't sending an EOS to a request that has already
c6c09f77f85860b6e084b0daad066ded08729b3eMark Andrews received one. Because the data is sent on a different request than
c6c09f77f85860b6e084b0daad066ded08729b3eMark Andrews the EOS, the error text never gets sent down the filter stack. This
467e6fd1672fb35968f522e1ef11a7e2e0cb701eMichael Graff fixes the problem by finding the last request, and sending the data
467e6fd1672fb35968f522e1ef11a7e2e0cb701eMichael Graff with that request. [Ryan Bloom]
467e6fd1672fb35968f522e1ef11a7e2e0cb701eMichael Graff
467e6fd1672fb35968f522e1ef11a7e2e0cb701eMichael Graff *) Make the server status page show the correct restart time, and
467e6fd1672fb35968f522e1ef11a7e2e0cb701eMichael Graff thus the proper uptime. [Ryan Bloom]
896f88361ec8a15a20688eb533a65977ee698974Mark Andrews
896f88361ec8a15a20688eb533a65977ee698974Mark Andrews *) Move the CGI creation logic from mod_include to mod_cgi(d). This
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews should reduce the amount of duplicate code that is required to
5ce9206eb95c2b818a7f863dd26d9b7a2c3d9261Evan Hunt create CGI processes.
5ce9206eb95c2b818a7f863dd26d9b7a2c3d9261Evan Hunt [Paul J. Reder <rederpj@raleigh.ibm.com>]
5ce9206eb95c2b818a7f863dd26d9b7a2c3d9261Evan Hunt
5ce9206eb95c2b818a7f863dd26d9b7a2c3d9261Evan Hunt *) ap_new_connection() closes the socket and returns NULL if a socket
5ce9206eb95c2b818a7f863dd26d9b7a2c3d9261Evan Hunt call fails. Usually this is due to a connection which has been
5ce9206eb95c2b818a7f863dd26d9b7a2c3d9261Evan Hunt reset. [Jeff Trawick]
5ce9206eb95c2b818a7f863dd26d9b7a2c3d9261Evan Hunt
5ce9206eb95c2b818a7f863dd26d9b7a2c3d9261Evan Hunt *) Move the Apache version information out of httpd.h and into release.h.
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews This is in preparation for the first tag with the new tag and release
8760bb9e0c48dad3765571b6e1ce193548fc5e37Evan Hunt system. [Ryan Bloom]
593bb6464621c50ceec0e5550045f4b405558548Evan Hunt
593bb6464621c50ceec0e5550045f4b405558548Evan Hunt *) Begin restructuring scoreboard code to enable adding back in
593bb6464621c50ceec0e5550045f4b405558548Evan Hunt the ability to use IPC other than shared memory.
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews Get mod_status working on Windows again. [Bill Stoddard]
b247f77228f00e16dd43b4d570ad0fb15e88f3edMark Andrews
aeadcd63196f164b219629a53c0e0925519288f3Evan Hunt *) Make mod_status work with 2.0. This will work for prefork,
aeadcd63196f164b219629a53c0e0925519288f3Evan Hunt mpmt_pthread, and dexter. [Ryan Bloom]
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews *) Correct a typo in httpd.conf.
baeed3c40fc0a2f30ef399899e16ded472f04c06Evan Hunt [Kunihiro Tanaka <tanaka@apache.or.jp>] PR#7154
f5662f41e73c27cc6e7fd29323c8dddf54dff982Mark Andrews
f5662f41e73c27cc6e7fd29323c8dddf54dff982Mark Andrews *) Really fix mod_rewrite map lookups this time. [Tony Finch]
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews *) Get the correct IP address if ServerName isn't set and we can't
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews find a fully-qualified domain name at startup.
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews PR#7170 [Danek Duvall <dduvall@eng.sun.com>]
275b170cc47c897d25204fe23169dac810283f79Mark Andrews
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews *) Make mod_cgid work with SuExec. [Ryan Bloom]
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews
36440d1ec6cf1ff0cbb0b5b2fb39423e4e0bd450Evan Hunt *) Adopt apr user/group name features for mod_rewrite. Eliminates some
470212919fb8a92cd7eb621e981905348eb73ccaMark Andrews 'extra' stat's for user/group since they should never occur, and now
470212919fb8a92cd7eb621e981905348eb73ccaMark Andrews resolves the SCRIPT_USER and SCRIPT_GROUP, including on WinNT NTFS
e72c1e7e465822fc9b5067b2dd3cf047f6132214Mark Andrews volumes. [William Rowe]
e72c1e7e465822fc9b5067b2dd3cf047f6132214Mark Andrews
e72c1e7e465822fc9b5067b2dd3cf047f6132214Mark Andrews *) Adopt apr features to simplify mod_includes. This changes the
e72c1e7e465822fc9b5067b2dd3cf047f6132214Mark Andrews behavior of the USER_NAME variable, unknown uid's are now reported
a8f6b2aa46f882c7c680b7bdab1dfb78a76787eaMark Andrews as USER_NAME="<unknown>" rather than the old user#000 result.
a8f6b2aa46f882c7c680b7bdab1dfb78a76787eaMark Andrews WinNT now resolves USER_NAME on NTFS volumes. [William Rowe]
a8f6b2aa46f882c7c680b7bdab1dfb78a76787eaMark Andrews
c6a1797aff73b707b4b7a71fdaa303136953d2a3Mark Andrews *) Adopt apr features for simplifing mod_userdir, and accept the new
c6a1797aff73b707b4b7a71fdaa303136953d2a3Mark Andrews Win32/OS2 exceptions without hiccuping. [William Rowe]
c6a1797aff73b707b4b7a71fdaa303136953d2a3Mark Andrews
1e0209137159d4e16e4459cc8e804d657aad1af1Mark Andrews *) Replace configure --with-optim option by using and saving the
1e0209137159d4e16e4459cc8e804d657aad1af1Mark Andrews environment variable OPTIM instead. This is needed because configure
1e0209137159d4e16e4459cc8e804d657aad1af1Mark Andrews options do not support multiple flags separated by spaces.
5e3f390f057801d245680b07dc2b2d64939183d4Mark Andrews [Roy Fielding]
275b170cc47c897d25204fe23169dac810283f79Mark Andrews
5e3f390f057801d245680b07dc2b2d64939183d4Mark Andrews *) Fix some byterange handling. If we get a byte range that looks like
5e3f390f057801d245680b07dc2b2d64939183d4Mark Andrews "-999999" where that is past the end of the file, we should return
ebacb7908afe3d62fe341f7ef9efed63d0c651a2Tatuya JINMEI 神明達哉 a PARTIAL CONTENT status code, and return the whole file as one big
ebacb7908afe3d62fe341f7ef9efed63d0c651a2Tatuya JINMEI 神明達哉 byterange. This matches the 1.3 handling now. [Ryan Bloom]
ebacb7908afe3d62fe341f7ef9efed63d0c651a2Tatuya JINMEI 神明達哉
3dfa202e4fea6b985bcf8761e2d11c176baa40d1Mark Andrews *) Make the error bucket a real meta-data bucket. This means that the
3dfa202e4fea6b985bcf8761e2d11c176baa40d1Mark Andrews bucket length is 0, and a read returns NULL data. If one of these
3dfa202e4fea6b985bcf8761e2d11c176baa40d1Mark Andrews buckets is passed down after the headers are sent, this data will
3dfa202e4fea6b985bcf8761e2d11c176baa40d1Mark Andrews just be ignored. [Greg Stein]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
5ce9206eb95c2b818a7f863dd26d9b7a2c3d9261Evan Hunt *) The prefork MPM wasn't killing child processes correctly if a restart
a45f57a2d5fa5a4cb50c4232c09dd7676a256599Evan Hunt signal was received while the process was serving a request. The child
a45f57a2d5fa5a4cb50c4232c09dd7676a256599Evan Hunt process would become the equivalent of a second parent process. If
a45f57a2d5fa5a4cb50c4232c09dd7676a256599Evan Hunt we break out of the accept loop, then we need to do die after cleaning
a45f57a2d5fa5a4cb50c4232c09dd7676a256599Evan Hunt up after ourselves. [Ryan Bloom]
a45f57a2d5fa5a4cb50c4232c09dd7676a256599Evan Hunt
a45f57a2d5fa5a4cb50c4232c09dd7676a256599Evan Hunt *) Change the Prefork MPM to use SIGWINCH instead of SIGUSR1 for graceful
1bfe8851c0a2eb1d7e15556bfa21291cd62ee2bcMark Andrews restarts. [Ryan Bloom]
1bfe8851c0a2eb1d7e15556bfa21291cd62ee2bcMark Andrews
a45f57a2d5fa5a4cb50c4232c09dd7676a256599Evan Hunt *) Modify the apr_stat/lstat/getfileinfo calls within apache to use
13d9b8ce94aee267761cd297a583e280df262d60Tatuya JINMEI 神明達哉 the most optimal APR_FINFO_wanted bits. This spares Win32 from
13d9b8ce94aee267761cd297a583e280df262d60Tatuya JINMEI 神明達哉 performing very expensive owner, group and permission lookups
13d9b8ce94aee267761cd297a583e280df262d60Tatuya JINMEI 神明達哉 and allows the server to function until these apr_finfo_t fields
13d9b8ce94aee267761cd297a583e280df262d60Tatuya JINMEI 神明達哉 are implemented under Win32. [William Rowe]
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed *) Support for typedsafe optional functions - that is functions exported by
275b170cc47c897d25204fe23169dac810283f79Mark Andrews optional modules, which, therefore, may or may not be present, depending
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews on configuration. See the experimental modules mod_optional_fn_{ex,im}port
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews for sample code. [Ben Laurie]
691f1f7731d175c7b2e21fbcc8d16a0c323e209aMark Andrews
a45f57a2d5fa5a4cb50c4232c09dd7676a256599Evan Hunt *) filters can now report an HTTP error to the server. This is done
2f420f33bbd5a84eee03b5f9b608e79acf06cb29Mark Andrews by sending a brigade where the first bucket is an error_bucket.
2f420f33bbd5a84eee03b5f9b608e79acf06cb29Mark Andrews This bucket is a simple bucket that stores an HTTP error and
2f420f33bbd5a84eee03b5f9b608e79acf06cb29Mark Andrews a string. Currently the string is not used, but it may be needed
2f420f33bbd5a84eee03b5f9b608e79acf06cb29Mark Andrews to output an error log. The http_header_filter will find this
b049b8ce6a70f13f8cc8e33bfb16e1871282f700Tatuya JINMEI 神明達哉 bucket, and output the error text, and then return
b049b8ce6a70f13f8cc8e33bfb16e1871282f700Tatuya JINMEI 神明達哉 AP_FILTER_ERROR, which informs the server that the error web page
b049b8ce6a70f13f8cc8e33bfb16e1871282f700Tatuya JINMEI 神明達哉 has already been sent. [Ryan Bloom]
e2fe1fda755f24f593406dc26fed87e8ea1bb502Tatuya JINMEI 神明達哉
e2fe1fda755f24f593406dc26fed87e8ea1bb502Tatuya JINMEI 神明達哉 *) If we get an error, then we should remove all filters except for
e2fe1fda755f24f593406dc26fed87e8ea1bb502Tatuya JINMEI 神明達哉 those critical to serving a web page. This fixes a bug, where
e2fe1fda755f24f593406dc26fed87e8ea1bb502Tatuya JINMEI 神明達哉 error pages were going through the byterange filter, even though
cf225ed6cd51f9acc901a60520a9368e14224a4dTatuya JINMEI 神明達哉 that made no sense. [Ryan Bloom]
cf225ed6cd51f9acc901a60520a9368e14224a4dTatuya JINMEI 神明達哉
cf225ed6cd51f9acc901a60520a9368e14224a4dTatuya JINMEI 神明達哉 *) Relax the syntax checking of Host: headers in order to support
52d5489b9563ae7a0b89aafbce6829802255b151Tatuya JINMEI 神明達哉 iDNS. PR#6635 [Tony Finch]
52d5489b9563ae7a0b89aafbce6829802255b151Tatuya JINMEI 神明達哉
52d5489b9563ae7a0b89aafbce6829802255b151Tatuya JINMEI 神明達哉 *) Cleanup the byterange filter to use the apr_brigade_partition
515ada69db06a727ca1197e2aa1f6a286d278228Tatuya JINMEI 神明達哉 and apr_bucket_copy functions. This removes a lot of very messy
515ada69db06a727ca1197e2aa1f6a286d278228Tatuya JINMEI 神明達哉 code, and hopefully makes this filter more stable.
515ada69db06a727ca1197e2aa1f6a286d278228Tatuya JINMEI 神明達哉 [Ryan Bloom]
515ada69db06a727ca1197e2aa1f6a286d278228Tatuya JINMEI 神明達哉
387bca7a55c0581dc36edb4a5071cb5e1d1c34f6Tatuya JINMEI 神明達哉 *) Remove AddModule and ClearModuleList directives. Both of these
387bca7a55c0581dc36edb4a5071cb5e1d1c34f6Tatuya JINMEI 神明達哉 directives were used to ensure that modules could be enabled
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed in the correct order. That requirement is now gone, because
dc842cdcb946b3f89448f07a9f024497a50c216aMark Andrews we use hooks to ensure that modules are in the correct order.
cd9bebfc4c225931391c7d9ce1cfd88394b23f20Tatuya JINMEI 神明達哉 [Ryan Bloom]
cd9bebfc4c225931391c7d9ce1cfd88394b23f20Tatuya JINMEI 神明達哉
cd9bebfc4c225931391c7d9ce1cfd88394b23f20Tatuya JINMEI 神明達哉 *) When SuExec is specified, we need to add it to the list of
cd9bebfc4c225931391c7d9ce1cfd88394b23f20Tatuya JINMEI 神明達哉 targets to be built. If we don't, then any changes to the
476de6f1566ce5ec057ab39f361907da355296b1Tatuya JINMEI 神明達哉 configuration won't affect SuExec, unless 'make suexec' is
476de6f1566ce5ec057ab39f361907da355296b1Tatuya JINMEI 神明達哉 specifically run. [Ryan Bloom]
476de6f1566ce5ec057ab39f361907da355296b1Tatuya JINMEI 神明達哉
476de6f1566ce5ec057ab39f361907da355296b1Tatuya JINMEI 神明達哉 *) Cleaned out open_file from mod_file_cache, as apr now accepts
04115a59c176759177545c72376e844e10dc557cMark Andrews the APR_XTHREAD argument to open a file for consumption by
04115a59c176759177545c72376e844e10dc557cMark Andrews parallel threads on win32. [William Rowe]
b1f7d25ee1792838aa5e5d81f4433b474d4565a2Mark Andrews
4db36a15c5716050d40aa8e709e8c8e9475ea25bMark Andrews *) Correct a bug in determining when we follow symlinks. The code
4db36a15c5716050d40aa8e709e8c8e9475ea25bMark Andrews expected a stat -1 result, not an apr_status_t positive error.
a9579d3386009446d7527ef52fa28251ab8c3c2cTatuya JINMEI 神明達哉 Also check if the APR_FINFO_USER fields are valid before we
a9579d3386009446d7527ef52fa28251ab8c3c2cTatuya JINMEI 神明達哉 follow the link. [William Rowe]
a9579d3386009446d7527ef52fa28251ab8c3c2cTatuya JINMEI 神明達哉
a9579d3386009446d7527ef52fa28251ab8c3c2cTatuya JINMEI 神明達哉 *) Move initgroupgs, ap_uname2id and ap_gname2id from util.c to
146484aced3e6c1b9cc88db5e75b8cbfd166f701Mark Andrews mpm_common.c. These functions are only valid on some platforms,
146484aced3e6c1b9cc88db5e75b8cbfd166f701Mark Andrews so they should not be in the main-line code. [Ryan Bloom]
593bb6464621c50ceec0e5550045f4b405558548Evan Hunt
dbe9f900ecbefb34e960b69b41b9ecde36e0a256Tatuya JINMEI 神明達哉 *) Remove ap_chdir_file(). This function is not thread-safe,
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews and nobody is currently using it. [Ryan Bloom]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Do not try to run make depend if there are no .c files in the
e43b095921450c34288cadc3406f49c84a0e4d46Evan Hunt current directory, doing so makes `make depend` fail.
7999db4215b9398d4598ac0156ff097cda40402bMark Andrews [Ryan Bloom]
7999db4215b9398d4598ac0156ff097cda40402bMark Andrews
481e9b573b8233f8678c1dd4549c8c949312e81dMark Andrews *) Update highperformance.conf to work with either prefork or
481e9b573b8233f8678c1dd4549c8c949312e81dMark Andrews pthreads mpms. [Greg Ames]
cbb8a1b7cbab933795ddee4f05f4eb5074a68e6cFrancis Dupont
cbb8a1b7cbab933795ddee4f05f4eb5074a68e6cFrancis Dupont *) Stop checking to see if this is a pipelined request if we know
bd7e02a3378274436e30beecca33bf7889182776Francis Dupont for a fact that it isn't. Basically, if r->connection->keepalive == 0.
bd7e02a3378274436e30beecca33bf7889182776Francis Dupont This keeps us from making an extra read call when serving a 1.0
bd7e02a3378274436e30beecca33bf7889182776Francis Dupont request. [Ryan Bloom and Greg Stein]
09477e188f874c8c43a90f050733b114385992dcTatuya JINMEI 神明達哉
0cdb53f093f5814b40a68848025dd8d7e9ef2e9bTatuya JINMEI 神明達哉 *) Fix the handling of variable expansion look-ahead in mod_rewrite,
0cdb53f093f5814b40a68848025dd8d7e9ef2e9bTatuya JINMEI 神明達哉 i.e. syntax like %{LA-U:REMOTE_USER}, and also fix the parsing of
05b8187cb3cf03fbd75af1afdacc4aefb373e37bTatuya JINMEI 神明達哉 more complicated nested RewriteMap lookups. PR#7087 [Tony Finch]
05b8187cb3cf03fbd75af1afdacc4aefb373e37bTatuya JINMEI 神明達哉
0eeaaaf0ae1ae2856b94886fa80f94c21e6f1bfdMark Andrews *) Fix the RFC number mentioned when complaining about a missing
f5662f41e73c27cc6e7fd29323c8dddf54dff982Mark Andrews Host: header. PR#7079 [Alexey Toptygin <alexeyt@wam.umd.edu>]
f5662f41e73c27cc6e7fd29323c8dddf54dff982Mark Andrews
f5662f41e73c27cc6e7fd29323c8dddf54dff982Mark Andrews *) Fix an endless loop in ab which occurred when ab was posting
0eeaaaf0ae1ae2856b94886fa80f94c21e6f1bfdMark Andrews and the server dropped the connection unexpectedly.
0eeaaaf0ae1ae2856b94886fa80f94c21e6f1bfdMark Andrews [Jeff Trawick]
9de0f9b0aed432ee357dbba8d1d807525f4b6d4aMark Andrews
9de0f9b0aed432ee357dbba8d1d807525f4b6d4aMark Andrews *) Fix a segfault while handling request bodies in ap_http_filter().
9de0f9b0aed432ee357dbba8d1d807525f4b6d4aMark Andrews This problem has been seen with mod_dav usage as well as with
ee6c0ce79e83039c9f8692bfb6196e0bb591ff98Mark Andrews requests where the body was just being discarded. [Jeff Trawick]
ee6c0ce79e83039c9f8692bfb6196e0bb591ff98Mark Andrews
ee6c0ce79e83039c9f8692bfb6196e0bb591ff98Mark Andrews *) Some adjustment on the handling and automatic setting (via
07d0f86c8a1591c0ee785d6728af69cb40f1da61Francis Dupont hints.m4) of various compilation flags (eg: CFLAGS). Also,
07d0f86c8a1591c0ee785d6728af69cb40f1da61Francis Dupont add the capability to specify flags (NOTEST_CFLAGS and
07d0f86c8a1591c0ee785d6728af69cb40f1da61Francis Dupont NOTEST_LDFLAGS) which are used to compile Apache, but
2ca30c1774245f3aa7e8a1f3781cb965152373d8Evan Hunt not used during the configuration process. Useful for
07d0f86c8a1591c0ee785d6728af69cb40f1da61Francis Dupont flags like "-Werror". [Jim Jagielski]
07d0f86c8a1591c0ee785d6728af69cb40f1da61Francis Dupont
07d0f86c8a1591c0ee785d6728af69cb40f1da61Francis Dupont *) Stop using environment variables to force debug mode or
07d0f86c8a1591c0ee785d6728af69cb40f1da61Francis Dupont no detach. We now use the -D command line argument to
07d0f86c8a1591c0ee785d6728af69cb40f1da61Francis Dupont specify the correct mode. -DONE_PROCESS and -DNO_DETACH.
7ed4399c6598276b76df95e6dc91ed7b2834abc6Evan Hunt [Greg Stein, Ryan Bloom]
7ed4399c6598276b76df95e6dc91ed7b2834abc6Evan Hunt
3d8b9b9956b64aba0d105f955ac0354fbcf5baa9Tatuya JINMEI 神明達哉 *) Change handlers to use hooks. [Ben Laurie]
3d8b9b9956b64aba0d105f955ac0354fbcf5baa9Tatuya JINMEI 神明達哉
7ed4399c6598276b76df95e6dc91ed7b2834abc6Evan Hunt *) Stop returning copies of filenames from both apr_file_t and
2f76108082f11d4979048f1c22602391c5733c88Tatuya JINMEI 神明達哉 apr_dir_t. We pstrdup the filenames that we store in the
2f76108082f11d4979048f1c22602391c5733c88Tatuya JINMEI 神明達哉 actual structures, so we don't need to pstrdup the strings again.
7ed4399c6598276b76df95e6dc91ed7b2834abc6Evan Hunt [Ryan Bloom]
c6678b68efae57ecaec97f489f6d9104f85ed0a8Mark Andrews
efe34b8ddbecf45d1671efbcba30bdb75410c98aMark Andrews *) mod_cgi: Fix some problems where the wrong error value was being
7c60401dbd4dce617dffc685c269fca224c589adTatuya JINMEI 神明達哉 traced. [Jeff Trawick]
7c60401dbd4dce617dffc685c269fca224c589adTatuya JINMEI 神明達哉
7c60401dbd4dce617dffc685c269fca224c589adTatuya JINMEI 神明達哉 *) EBCDIC: Fix some missing ASCII conversion on some protocol data.
d923262186a3111a6ac7aae5dcd9996e01115a44Mark Andrews [Jeff Trawick]
d923262186a3111a6ac7aae5dcd9996e01115a44Mark Andrews
d923262186a3111a6ac7aae5dcd9996e01115a44Mark Andrews *) Add generic hooks. [Ben Laurie]
f92c897cb69fbb8b7400a5df93271b0743fe9adeTatuya JINMEI 神明達哉
f92c897cb69fbb8b7400a5df93271b0743fe9adeTatuya JINMEI 神明達哉 *) Use a real pool to dup the error log descriptor. [Ryan Bloom]
158f256a14b629c4157fe0da779a4ff0e3402e48Tatuya JINMEI 神明達哉
77514242b09538db8f3a8f96f7f3d368cff6ebbaTatuya JINMEI 神明達哉 *) Fix a segfault caused by mod_ext_filter when the external filter
77514242b09538db8f3a8f96f7f3d368cff6ebbaTatuya JINMEI 神明達哉 program does not exist. [Jeff Trawick]
77514242b09538db8f3a8f96f7f3d368cff6ebbaTatuya JINMEI 神明達哉
8aae2264818e1511fa30c3ef5c3dc7669e347d3cTatuya JINMEI 神明達哉 *) Fix an output truncation error when on an HTTP >= 1.0 request an
8aae2264818e1511fa30c3ef5c3dc7669e347d3cTatuya JINMEI 神明達哉 object of size between DEFAULT_BUCKET_SIZE and AP_MIN_BYTES_TO_WRITE
8aae2264818e1511fa30c3ef5c3dc7669e347d3cTatuya JINMEI 神明達哉 was served through mod_charset_lite (or anything else that would
0f39ff74a85e16cbfd30354e24403b1ee50e1104Tatuya JINMEI 神明達哉 create a transient bucket in this size range). ap_bucket_make_heap()
0f39ff74a85e16cbfd30354e24403b1ee50e1104Tatuya JINMEI 神明達哉 silently failed (fixed), transient_setaside() discovered it, but
05e2cc844530031e4dd4e25b3826bece7a183ee1Tatuya JINMEI 神明達哉 ap_save_brigade() ignored it (fixed). [Jeff Trawick]
0f39ff74a85e16cbfd30354e24403b1ee50e1104Tatuya JINMEI 神明達哉
7ecbfb6c0f566894fb7050e021cded6822771789Mark Andrews *) Ignore \r\n or \n when using PEEK mode for input filters. The problem
7ecbfb6c0f566894fb7050e021cded6822771789Mark Andrews is that some browsers send extra lines at the end of POST requests, and
7ecbfb6c0f566894fb7050e021cded6822771789Mark Andrews we don't want to delay sending data back to the user just because the
8ef7b7f3f68a26cb60f98da398562f8d1c616f96Mark Andrews browser isn't well behaved. [Ryan Bloom]
8ef7b7f3f68a26cb60f98da398562f8d1c616f96Mark Andrews
8ef7b7f3f68a26cb60f98da398562f8d1c616f96Mark Andrews *) Get SuEXEC working again. We can't send absolute paths to suExec
8ef7b7f3f68a26cb60f98da398562f8d1c616f96Mark Andrews because it refuses to execute those programs. SuEXEC also wasn't
538a0a40a2c308a004ea40a9efd31c9aecb0f041Mark Andrews always recognizing configuration changes made using the autoconf
538a0a40a2c308a004ea40a9efd31c9aecb0f041Mark Andrews setup. [Ryan Bloom]
538a0a40a2c308a004ea40a9efd31c9aecb0f041Mark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Allow the buildconf process to find the config.m4 files in the correct
538a0a40a2c308a004ea40a9efd31c9aecb0f041Mark Andrews order. Basically, we can now name config.m4 files as config\d\d.m4,
250dcb4cf5c356bb492c849edff5fe3c81f61f77Tatuya JINMEI 神明達哉 and we will sort them correctly when inserting them into the build
250dcb4cf5c356bb492c849edff5fe3c81f61f77Tatuya JINMEI 神明達哉 process. [Ryan Bloom]
250dcb4cf5c356bb492c849edff5fe3c81f61f77Tatuya JINMEI 神明達哉
4875b50dca297a5d2082f503da31eaab896b3a8fTatuya JINMEI 神明達哉 *) Get mod_cgid to use apr calls for creating the actual CGI process.
4875b50dca297a5d2082f503da31eaab896b3a8fTatuya JINMEI 神明達哉 This also allows mod_cgid to use ap_os_create_priviledged_process,
4875b50dca297a5d2082f503da31eaab896b3a8fTatuya JINMEI 神明達哉 thus allowing for SuExec execution from mod_cgid. Currently, we do
d87ad693fc0e91168da01f887cc6ae318b6b7f3eMark Andrews not support everything that standard SuExec supports, but at least
d87ad693fc0e91168da01f887cc6ae318b6b7f3eMark Andrews it works minimally now. [Ryan Bloom]
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews
58253bddc4c33507ba28654b9c4a36ca1053730cMark Andrews *) Allow SuExec to be configured from the ./configure command line.
8aae2264818e1511fa30c3ef5c3dc7669e347d3cTatuya JINMEI 神明達哉 [Ryan Bloom]
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews *) Update some of the docs in README and INSTALL to reflect some of
080a964a3f0622f2e343f114aa1cc066372c06caEvan Hunt the changes in Apache 2.0 [Cliff Woolley <cliffwoolley@yahoo.com>]
080a964a3f0622f2e343f114aa1cc066372c06caEvan Hunt
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews *) If we get EAGAIN returned from the call to apr_sendfile, then we
5a17fe2916ce37793c12b243ab08c16095a59cf7Evan Hunt need to call sendfile again. This gets us serving large files
5a17fe2916ce37793c12b243ab08c16095a59cf7Evan Hunt such as apache_2.0a9.tar.gz on FreeBSD again. [Ryan Bloom]
d230b29aba3ce1d0362194801c34321ed22f5aa5Evan Hunt
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews *) Get the support programs building cleanly again.
5a17fe2916ce37793c12b243ab08c16095a59cf7Evan Hunt [Cliff Woolley <cliffwoolley@yahoo.com>]
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews
aed0e61611268afd72a023a7fbba88698bc6bbebEvan Hunt *) The Apache/Win32 Apache.exe and dll's now live in bin. The
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews current directory logic now backs up over bin/ to determine the
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews server root from the Apache.exe path.
c72279e756e6578dc8f09ceac5158d80a8a61ce5Evan Hunt
e1aeb1569a0ae08c97dd76acb00376e4246e59b8Mark Andrews *) Apache/Win32 now follows the standard conventions of mod_foo.so
e1aeb1569a0ae08c97dd76acb00376e4246e59b8Mark Andrews loadable modules, dynamic libs are all named libfoo.dll, and the
e1aeb1569a0ae08c97dd76acb00376e4246e59b8Mark Andrews makefile.win populates the include, lib and libexec directories.
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews *) Apache is now IPv6-capable. On systems where APR supports IPv6,
0415ca35ada2cac6a86127eaca64f3a997aea121Evan Hunt Apache gets IPv6 listening sockets by default. Additionally, the
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews Listen, NameVirtualHost, and <VirtualHost> directives support IPv6
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews numeric address strings (e.g., "Listen [fe80::1]:8080").
69ec1b7eb3be37f06b53f572f6c33622e95a7935Evan Hunt [Jeff Trawick]
816496b22114ee7c2c15321c2c6cc4be77fdf822Mark Andrews
816496b22114ee7c2c15321c2c6cc4be77fdf822Mark Andrews *) Modify the install directory layout. Modules are now installed in
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews modules/. Shared libraries should be installed in libraries/, but
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews we don't have any of those on Unix yet. All install directories
28ad0be64ee756013c0f6a474fc447ee613ee0d1Evan Hunt are modifyable at configure time. [Ryan Bloom]
229442301442890aee044a0df54d3787acd68e65Mark Andrews
229442301442890aee044a0df54d3787acd68e65Mark Andrews *) Install all header files in the same directory on Unix. [Ryan Bloom]
229442301442890aee044a0df54d3787acd68e65Mark Andrews
8b56b8956fc1e6c70efacb4f71db28d0d1f0c577Mark Andrews *) Get the functions in server/linked into the server, regardless of
8b56b8956fc1e6c70efacb4f71db28d0d1f0c577Mark Andrews which modules linked into the server. This uses the same hack
8b56b8956fc1e6c70efacb4f71db28d0d1f0c577Mark Andrews for Apache that we use for APR and apr-util to ensure all of the
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews necessary functions are linked. As a part of thise, the CHARSET_EBCDIC
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews was renamed to AP_CHARSET_EBCDIC for namespace protection, and to make
ae6942e3d1fc7327ba5df9d638e0af15a908f8fbMark Andrews the scripts a bit easier.
2284b84d74cdfd62ecb962feb850de981bbc2196Evan Hunt [Ryan Bloom]
bf64a0d5d9469c42622401bc5d55cf9888eeef44Tatuya JINMEI 神明達哉
bf64a0d5d9469c42622401bc5d55cf9888eeef44Tatuya JINMEI 神明達哉 *) Rework the RFC1413 handling to make it thread-safe, use a timeout
bf64a0d5d9469c42622401bc5d55cf9888eeef44Tatuya JINMEI 神明達哉 on the query, and remove IPv4 dependencies. [Jeff Trawick]
00c93a6214214772d4952cd4327aa34670c763bcMichael Graff
00c93a6214214772d4952cd4327aa34670c763bcMichael Graff *) Get all of the auth modules to the point that they will install and
00c93a6214214772d4952cd4327aa34670c763bcMichael Graff be loadable into the server. Our new build/install mechanism expects
375e2c913a21cb852310418785f359a6b21b851dMark Andrews that all modules will have a common name format. The auth modules
375e2c913a21cb852310418785f359a6b21b851dMark Andrews didn't use that format, so we didn't install them properly.
52cb865cf00db3437c33b57de0a17c807f9ba67eMark Andrews [Ryan Bloom]
52cb865cf00db3437c33b57de0a17c807f9ba67eMark Andrews
0f4a4d46abe13df2c367aa8dffaad685c20eaadaMark Andrews *) API routines ap_pgethostbyname() and ap_pduphostent() are no longer
0f4a4d46abe13df2c367aa8dffaad685c20eaadaMark Andrews available. Use apr_getaddrinfo() instead. [Jeff Trawick]
0f4a4d46abe13df2c367aa8dffaad685c20eaadaMark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Get "NameVirtualHost *" working in 2.0. [Ryan Bloom]
c4fadc88619959582ac89b841c489be0519ae79dTatuya JINMEI 神明達哉
c4fadc88619959582ac89b841c489be0519ae79dTatuya JINMEI 神明達哉 *) Return HTTP_RANGE_NOT_SATISFIABLE if the every range requested starts
8907d8fa04fdaa65baf0bc6b01230b2ebde93106Mark Andrews after the end of the response. [Ryan Bloom]
8907d8fa04fdaa65baf0bc6b01230b2ebde93106Mark Andrews
8907d8fa04fdaa65baf0bc6b01230b2ebde93106Mark Andrews *) Get byterange requests working with responses that do not have a
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews content-length. Because of the way byterange requests work, we have to
d904beeb3bf62d60e25f76e1ac9c4b78278c14edMark Andrews have all of the data before we can actually do the byterange, so we
d904beeb3bf62d60e25f76e1ac9c4b78278c14edMark Andrews can compute the content-length in the byterange filter.
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews [Ryan Bloom]
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews *) Get exe CGI's working again on Windows.
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews [Allan Edwards]
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews *) Get mod_cgid and mod_rewrite to work as DSOs by changing the way
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews they keep track of whether or not their post config hook has been
887ef2682c6f66f9dcd6604c4ccf8f87894ef2a9Mark Andrews called before. Instead of a static variable (which is replaced when
887ef2682c6f66f9dcd6604c4ccf8f87894ef2a9Mark Andrews the DSO is loaded a second time), use userdata in the process pool.
420ed91d3ed516bc9d5edf2e942ae792d17d11b4Mark Andrews [Jeff Trawick]
420ed91d3ed516bc9d5edf2e942ae792d17d11b4Mark Andrews
07555e64d9102eae058efd58f872b4a3b9ddff61Mark AndrewsChanges with Apache 2.0a9
07555e64d9102eae058efd58f872b4a3b9ddff61Mark Andrews
a76b380643a22f23a67a9df284e86cd7ef7608c1Mark Andrews *) Win32 now requires perl to complete the final install step for users
a76b380643a22f23a67a9df284e86cd7ef7608c1Mark Andrews to build + install on Win32. Makefile.win now rewrites @@ServerRoot@
a76b380643a22f23a67a9df284e86cd7ef7608c1Mark Andrews and installs the conf, htdocs and htdocs/manual directories.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont [William Rowe]
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
8d460bed78e2684fbb0cb150bbf800dcc4d29c54Mark Andrews *) Make mod_include use a hash table to associate directive tags with
fe3f310e2ed5cc5d7401ddfa5d222730a405dcf5Mark Andrews functions. This allows modules to implement their own SSI tags easily.
fe3f310e2ed5cc5d7401ddfa5d222730a405dcf5Mark Andrews The idea is simple enough, a module can insert it's own tag and function
fe3f310e2ed5cc5d7401ddfa5d222730a405dcf5Mark Andrews combination into a hash table provided by mod_include. While mod_include
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont parses an SSI file, when it encounters a tag in the file, it does a
4a253e12fc611763cd7c1b793e78a00d47894399Francis Dupont hash lookup to find the function that implements that tag, and passes
4a253e12fc611763cd7c1b793e78a00d47894399Francis Dupont all of the relevant data to the function. That function is then
4a253e12fc611763cd7c1b793e78a00d47894399Francis Dupont responsible for processing the tag and handing the remaining data back
cffe96e26744abcf33494837b234219046a631d8Mark Andrews to mod_include for further processing.
cffe96e26744abcf33494837b234219046a631d8Mark Andrews [Paul J. Reder <rederpj@raleigh.ibm.com>]
cffe96e26744abcf33494837b234219046a631d8Mark Andrews
f703353673abc17ef76c89561a1fbf3555d38927Mark Andrews *) Get rid of ap_new_apr_connection(). ap_new_connection() now has
f703353673abc17ef76c89561a1fbf3555d38927Mark Andrews fewer parameters: the local and remote socket addresses were removed
f703353673abc17ef76c89561a1fbf3555d38927Mark Andrews from the parameter list because all required information is available
f703353673abc17ef76c89561a1fbf3555d38927Mark Andrews via the APR socket. [Jeff Trawick]
7e26a2a646877bcd5e03fce6d7347e88f059011eMark Andrews
7e26a2a646877bcd5e03fce6d7347e88f059011eMark Andrews *) Distribution directory structure reorganized to reflect a
7e26a2a646877bcd5e03fce6d7347e88f059011eMark Andrews normal source distribution with external install targets.
a95a9de45ca739dab17ec1263186dbaaaba50d97Tatuya JINMEI 神明達哉 [Roy Fielding]
a95a9de45ca739dab17ec1263186dbaaaba50d97Tatuya JINMEI 神明達哉
a95a9de45ca739dab17ec1263186dbaaaba50d97Tatuya JINMEI 神明達哉 *) The MPMs that need multiple segments of shared memory now create
ea8564f68adbacd904e55e47668fe1bbf65ddd1dMark Andrews two apr_shmem_t variables, one for each shared memory allocation.
ea8564f68adbacd904e55e47668fe1bbf65ddd1dMark Andrews the problem is that we can't determine how much memory will be required
55f580c7fc4b99316a54ef54ed79c58efca5fff1Mark Andrews for shared memory allocations once we try to allocate more than one
55f580c7fc4b99316a54ef54ed79c58efca5fff1Mark Andrews variable. The MM code automatically aligns the shared memory allocations,
55f580c7fc4b99316a54ef54ed79c58efca5fff1Mark Andrews so we end up needing to pad the amount of shared memory we want based
d9936b218d9d0fd7c6a1a418e5b91b356190ea12Mark Andrews on how many variables will be allocated out of the shared memory segment.
d9936b218d9d0fd7c6a1a418e5b91b356190ea12Mark Andrews It is just easier to create a second apr_shmem_t variable, and two
4074b8e7342618ff38ffe3773a2699ee1734f1adMark Andrews shmem memory blocks.
4074b8e7342618ff38ffe3773a2699ee1734f1adMark Andrews [Ryan Bloom]
0283e511317cae3785a9d48e236289a234a25368Mark Andrews
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews *) Cleanup the export list a bit. This creates a single unified list of
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews functions exported by APR. The export list is generated at configure
0283e511317cae3785a9d48e236289a234a25368Mark Andrews time, and that list is then used to generate the exports.c file.
016c4317500eb565b82b27d00ba6b621c6e29110Mark Andrews Because of the way the export list is generated, we only export those
ce9c1558a6c81b49a5cedf55d168f889aeb5d310Mark Andrews functions that are valid on the platform we are building on.
ce9c1558a6c81b49a5cedf55d168f889aeb5d310Mark Andrews [Ryan Bloom]
ce9c1558a6c81b49a5cedf55d168f889aeb5d310Mark Andrews
ce9c1558a6c81b49a5cedf55d168f889aeb5d310Mark Andrews *) Enable logging the cookie with mod_log_config
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Sander van Zoest <sander@covalent.net>]
0f3264c8d1b66de8dedd137d53615b8a8556adfaMark Andrews
0f3264c8d1b66de8dedd137d53615b8a8556adfaMark Andrews *) Fix a segfault in mod_info when it reaches the end of the configuration.
0e30609d7b3e31e3ff249d185041b9140b5410baMark Andrews [Jeff Trawick]
0e30609d7b3e31e3ff249d185041b9140b5410baMark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Added lib/aputil/ as a placeholder for utility functions which are not
9e8947d9e606b967d0792d0ab1ee7afac5e5f39dMark Andrews specific to the Apache HTTP Server (but do not make sense with APR).
9e8947d9e606b967d0792d0ab1ee7afac5e5f39dMark Andrews The first utility is "apu_dbm": a set of functions to work with DBM
9e8947d9e606b967d0792d0ab1ee7afac5e5f39dMark Andrews files. This first version can be compiled for SDBM or GDBM databases.
3cff31d890bf0815b6b2c7603d1e5c37dc3f26b7Mark Andrews [Greg Stein]
3cff31d890bf0815b6b2c7603d1e5c37dc3f26b7Mark Andrews
2005c3b37bb39a37dc0b034bb2149006df7e3759Mark Andrews *) Complete re-write of mod_include. This makes mod_include a filter that
aef875b27e94586a1f3644d53705e6f5ea4b5dafMark Andrews uses buckets directly. This has now served the FAQ correctly.
aef875b27e94586a1f3644d53705e6f5ea4b5dafMark Andrews [Paul Reder <rederpj@raleigh.ibm.com>]
c09c2bf800ba0f5e6efe6b47ba72f43e4a61ca7dMark Andrews
9a7d202077fae00fbdca610d8a8d90689e30f331Mark Andrews *) Allow modules to specify the first filter in a sub_request when
9a7d202077fae00fbdca610d8a8d90689e30f331Mark Andrews making the sub_request. This keeps modules from having to change the
9a7d202077fae00fbdca610d8a8d90689e30f331Mark Andrews output_filter immediately after creating the sub-request, and therefore
9a7d202077fae00fbdca610d8a8d90689e30f331Mark Andrews skip the sub_req_output_filter. [Ryan Bloom]
9a7d202077fae00fbdca610d8a8d90689e30f331Mark Andrews
9a7d202077fae00fbdca610d8a8d90689e30f331Mark Andrews *) Update ab to accept URLs with IPv6 literal address strings (in the
9a7d202077fae00fbdca610d8a8d90689e30f331Mark Andrews format described in RFC 2732), and to build Host header fields in
4a5b30c24ca7ceefec4ca142069b886f3d4ab9f9Mark Andrews the same format. This allows IPv6 literal address strings to be
4a5b30c24ca7ceefec4ca142069b886f3d4ab9f9Mark Andrews used with ab. This support has been tested against Apache 1.3 with
c368f28dad471c70213b41f7a0ad1b4ef4d8c543Mark Andrews the KAME patch, but Apache 2.0 does not yet work with this format
f1d6c77eccf502398ae5954fb884bde70764a047Mark Andrews of the Host header field. [Jeff Trawick]
f1d6c77eccf502398ae5954fb884bde70764a047Mark Andrews
f1d6c77eccf502398ae5954fb884bde70764a047Mark Andrews *) Accomodate an out-of-space condition in the piped logs and the
f1d6c77eccf502398ae5954fb884bde70764a047Mark Andrews rotatelogs.c code, and no longer churn log processes for this
7adca0ea2fcd44641861523b718d6980c0666103Mark Andrews condition. [Victor J. Orlikowski]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
7adca0ea2fcd44641861523b718d6980c0666103Mark Andrews *) Add support for partial writes with apr_sendfile() to core_output_filter.
9dcc44d7b309b61e89083807d47af471ec6bae1fMark Andrews [Greg Ames]
5badfc7e00b2ec2c7b93657906b8609114ee00ccMark Andrews
5badfc7e00b2ec2c7b93657906b8609114ee00ccMark AndrewsChanges with Apache 2.0a8
5badfc7e00b2ec2c7b93657906b8609114ee00ccMark Andrews
dc2a0aa7aaa8b85398ae183c7274c0eeec5009afMark Andrews *) Add a directive to mod_mime so that filters can be associated with
dc2a0aa7aaa8b85398ae183c7274c0eeec5009afMark Andrews a given mime-type.
2005c3b37bb39a37dc0b034bb2149006df7e3759Mark Andrews [Ryan Bloom]
1fa2ce7eaef0c17d554495220565b681639b2ce5Mark Andrews
7539c231d47677250008737b0691f9518111f3f5Mark Andrews *) Get multi-views working again. We were setting the path_info
7539c231d47677250008737b0691f9518111f3f5Mark Andrews field incorrectly if we couldn't find the specified file.
7ae2fa27e921ff5a2de4b0bb3aef5013315e92a8Tatuya JINMEI 神明達哉 [Ryan Bloom]
7ae2fa27e921ff5a2de4b0bb3aef5013315e92a8Tatuya JINMEI 神明達哉
7ae2fa27e921ff5a2de4b0bb3aef5013315e92a8Tatuya JINMEI 神明達哉 *) Fix 304 processing. The core should never try to send the headers
7fe86a54252bab063030512a0e4150e1b7814effMark Andrews down the filter stack. Always, just setup the table in the request
7fe86a54252bab063030512a0e4150e1b7814effMark Andrews record, and let the header filter convert it to data that is ready
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews for the network.
1c3ed2a83d176d9023b51b60dfc96c133f678362Tatuya JINMEI 神明達哉 [Ryan Bloom]
1c3ed2a83d176d9023b51b60dfc96c133f678362Tatuya JINMEI 神明達哉
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) More fixes for the proxy. There are still bugs in the proxy code,
fc53f564caa9d40f4b73a2808260b1dc07e86fddEvan Hunt but this has now proxied www.yahoo.com and www.ntrnet.net (my ISP)
e951a79d901cc9b72a4882c38f02b568eed6bf24Mark Andrews successfully.
9a727082a0f4959d4ad5ee91c171c2fad92ac996Mark Andrews [Ryan Bloom]
a59640bf27db16e02e01484297e36b7456e163bbMark Andrews
4462e590791925b6a5efceacbff054a6b5fe35edMark Andrews *) Fix params for apr_getaddrinfo() call in connect proxy handler.
4462e590791925b6a5efceacbff054a6b5fe35edMark Andrews [Chuck Murcko]
9925249931480c9e422b70c948b2665264ec46f5Mark Andrews
9925249931480c9e422b70c948b2665264ec46f5Mark Andrews *) APR: Add new apr_getopt_long function to handle long options.
9925249931480c9e422b70c948b2665264ec46f5Mark Andrews [B. W. Fitzpatrick <fitz@red-bean.com>]
fc7043d7d1294478c9988c10af9a7fb8fd810338Evan Hunt
fc7043d7d1294478c9988c10af9a7fb8fd810338Evan Hunt *) APR: Change apr_connect() to take apr_sockaddr_t instead of hostname.
fc7043d7d1294478c9988c10af9a7fb8fd810338Evan Hunt Add generic apr_create_socket(). Add apr_getaddrinfo() for doing
cef715b6556ca1207b85aa1eac6ce817af2be44eMark Andrews hostname resolution/address string parsing and building
cef715b6556ca1207b85aa1eac6ce817af2be44eMark Andrews apr_sockaddr_t. Add apr_get_sockaddr() for getting the address
cef715b6556ca1207b85aa1eac6ce817af2be44eMark Andrews of one of the apr_sockaddr_t structures for a socket. Change
5497de6931b5ac26f65c2343b0318614f73933baMark Andrews apr_bind() to take apr_sockaddr_t. [David Reid and Jeff Trawick]
5497de6931b5ac26f65c2343b0318614f73933baMark Andrews
5497de6931b5ac26f65c2343b0318614f73933baMark Andrews *) Remove the BUFF from the HTTP proxy. This is still a bit ugly, but
f86c5d30de5d2bf4a4aab98f72295309d62e92eeMark Andrews I have proxied pages with it, cleanup will commence soon.
f86c5d30de5d2bf4a4aab98f72295309d62e92eeMark Andrews [Ryan Bloom]
f86c5d30de5d2bf4a4aab98f72295309d62e92eeMark Andrews
262c39b2366bf79062f7f86b218947523dd1cbacEvan Hunt *) Make the proxy work with filters. This isn't perfect, because we
262c39b2366bf79062f7f86b218947523dd1cbacEvan Hunt aren't dealing with the headers properly. [Ryan Bloom]
262c39b2366bf79062f7f86b218947523dd1cbacEvan Hunt
1ff207c2fa4182156932f3f5c982170385a19225Mark Andrews *) Do not send a content-length iff the C-L is 0 and this is a head
b1e32169ac5cf21fca540fa122a546db71090491Mark Andrews request. [Ryan Bloom]
827572e191fad1326c624593bf35d8eb1928f607Mark Andrews
1aba9fe67899522364a9dbc3ee5a14da081f0314Evan Hunt *) Make cgi-bin work as a regular directory when using mod_vhost_alias
1aba9fe67899522364a9dbc3ee5a14da081f0314Evan Hunt with no VirtualScriptAlias directives. PR#6829 [Tony Finch]
1aba9fe67899522364a9dbc3ee5a14da081f0314Evan Hunt
546c2bf791782df1077217bdaf1865235fa95a93Mark Andrews *) Remove BUFF from the PROXY connect handling. [Ryan Bloom]
546c2bf791782df1077217bdaf1865235fa95a93Mark Andrews
546c2bf791782df1077217bdaf1865235fa95a93Mark Andrews *) Get the default_handler to stop trying to deal with HEAD requests.
6c7f722d31d12cf83964c8132f0a59ef70e34cb5Mark Andrews The idea is to let the content-length filter compute the C-L before
6c7f722d31d12cf83964c8132f0a59ef70e34cb5Mark Andrews we try to send the data. If we can get the C-L correctly, then we
fcc2a57e13fbecf085e9d11702709b3d5a49b043Mark Andrews should send it in the HEAD response.
fcc2a57e13fbecf085e9d11702709b3d5a49b043Mark Andrews [Ryan Bloom]
fcc2a57e13fbecf085e9d11702709b3d5a49b043Mark Andrews
fcdafc1e30dd4d10184b56201ea2fc3bab711e5eMark Andrews *) The Header filter can now determine if a body should be sent based
fcdafc1e30dd4d10184b56201ea2fc3bab711e5eMark Andrews on r->header_only. The general idea of this is that if we delay
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews deciding to send the body, then we might be able to compute the
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews content-length correctly, which will help caching proxies to cache
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews our data better. Any handler that doesn't want to try to compute
b1d21f6c93c93bd27492fc41f1c3205c39ab2167Mark Andrews the content-length can just send an EOS bucket without data and
b1d21f6c93c93bd27492fc41f1c3205c39ab2167Mark Andrews everything will just work.
b1d21f6c93c93bd27492fc41f1c3205c39ab2167Mark Andrews [Ryan Bloom]
efb3fa669f00ccfd9aada997b426616b6b0ce044Mark Andrews
efb3fa669f00ccfd9aada997b426616b6b0ce044Mark Andrews *) Add the referer to the error log if one is available.
034f775ae1bbc260d88bc372f01fdf4b50554514Mark Andrews [Markus Gyger <mgyger@itr.ch>]
034f775ae1bbc260d88bc372f01fdf4b50554514Mark Andrews
034f775ae1bbc260d88bc372f01fdf4b50554514Mark Andrews *) Mod_info.c has now been ported to Apache 2.0. As a part of this
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews change, the root of the configuration tree has been exposed to modules
80f20cb452989a423ed0ab84cfbf67d258b92247Mark Andrews as ap_conftree.
80f20cb452989a423ed0ab84cfbf67d258b92247Mark Andrews [Ryan Morgan <rmorgan@covalent.net>]
93ee06cbe34294c300834d383ff89162ad5c241aMark Andrews
93ee06cbe34294c300834d383ff89162ad5c241aMark Andrews *) Get the core_output_filter to use the bucket interface directly.
93ee06cbe34294c300834d383ff89162ad5c241aMark Andrews This keeps us from calling the content-length filter multiple times
494143860bbe118050f46ecac3d196c779d4b7b0Mark Andrews for a simple static request.
494143860bbe118050f46ecac3d196c779d4b7b0Mark Andrews [Ryan Bloom]
494143860bbe118050f46ecac3d196c779d4b7b0Mark Andrews
400a1b6604ede895cc8d67a7aa66796a5dbc75e4Mark Andrews *) We are sending the content-type correctly now.
400a1b6604ede895cc8d67a7aa66796a5dbc75e4Mark Andrews [Ryan Bloom and Will Rowe]
400a1b6604ede895cc8d67a7aa66796a5dbc75e4Mark Andrews
c0fb34e8156aea6b7fde8488e7440524c703f22eMark Andrews *) APR on FreeBSD: Fix a bug in apr_sendfile() which caused us to report
c0fb34e8156aea6b7fde8488e7440524c703f22eMark Andrews a bogus bytes-sent value when the only thing being sent was trailers
c0fb34e8156aea6b7fde8488e7440524c703f22eMark Andrews and writev() returned an error (or EAGAIN). [Jeff Trawick]
48fa5940280d65a83b020cca12769b4cd0422e91Mark Andrews
48fa5940280d65a83b020cca12769b4cd0422e91Mark Andrews *) Get SINGLE_LISTEN_UNSERIALIZED_ACCEPT working again. This uses the
48fa5940280d65a83b020cca12769b4cd0422e91Mark Andrews hints file to determine which platforms define
bfcc5ae79a46c5c55e6cf1a9fe4d70a957712d2bTatuya JINMEI 神明達哉 SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
bfcc5ae79a46c5c55e6cf1a9fe4d70a957712d2bTatuya JINMEI 神明達哉 [Ryan Bloom]
bfcc5ae79a46c5c55e6cf1a9fe4d70a957712d2bTatuya JINMEI 神明達哉
bfcc5ae79a46c5c55e6cf1a9fe4d70a957712d2bTatuya JINMEI 神明達哉 *) APR: add apr_get_home_directory() [Jeff Trawick]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
20837e74f5e68a8108c25bb341a3ef1c1ca22711Tatuya JINMEI 神明達哉 *) Initial import of 1.3-current mod_proxy. [Chuck Murcko]
1c9f629c181dfd14bb429a6699d22c3c023aa218Mark Andrews
1c9f629c181dfd14bb429a6699d22c3c023aa218Mark Andrews *) Not all platforms have INADDR_NONE defined by default. Apache
f61a7c87bf36b189d8f04ea4c8ab3ec55778355cMark Andrews used to make this check and define INADDR_NONE if appropriate,
f61a7c87bf36b189d8f04ea4c8ab3ec55778355cMark Andrews but APR needs the check too, and I suspect other applications will
f61a7c87bf36b189d8f04ea4c8ab3ec55778355cMark Andrews as well. APR now defines APR_INADDR_NONE, which is always a valid
f61a7c87bf36b189d8f04ea4c8ab3ec55778355cMark Andrews value on all platforms.
f61a7c87bf36b189d8f04ea4c8ab3ec55778355cMark Andrews [Branko �ibej <brane@xbc.nu>]
f61a7c87bf36b189d8f04ea4c8ab3ec55778355cMark Andrews
2678fccde3453facce53f857d95fec30ca4a284fMark Andrews *) Destroy the pthread mutex in lock_intra_cleanup() for PR#6824.
2678fccde3453facce53f857d95fec30ca4a284fMark Andrews [Shuichi Kitaguchi <ki@hh.iij4u.or.jp>]
2678fccde3453facce53f857d95fec30ca4a284fMark Andrews
562460463b6f4c4d6f815c58c129451c82d66823Mark Andrews *) Relax the syntax checking of Host: headers in order to support
562460463b6f4c4d6f815c58c129451c82d66823Mark Andrews iDNS. PR#6635 [Tony Finch]
562460463b6f4c4d6f815c58c129451c82d66823Mark Andrews
577272cf7935770fa2ea817e656a572cdcd94eccMark Andrews *) When reading from file buckets we convert to an MMAP if it makes
577272cf7935770fa2ea817e656a572cdcd94eccMark Andrews sense. This also simplifies the default handler because the
577272cf7935770fa2ea817e656a572cdcd94eccMark Andrews default handler no longer needs to try to create MMAPs.
8486ce1efa5deded85415d21d5696e5a51c63357Mark Andrews [Ryan Bloom]
8486ce1efa5deded85415d21d5696e5a51c63357Mark Andrews
92f60809e854ccf5f115883c6347e370da048848Mark Andrews *) BUFF has been removed from the main server. The BUFF code will remain
92f60809e854ccf5f115883c6347e370da048848Mark Andrews in the code until it has been purged from the proxy module as well.
92f60809e854ccf5f115883c6347e370da048848Mark Andrews [Ryan Bloom]
92f60809e854ccf5f115883c6347e370da048848Mark Andrews
92f60809e854ccf5f115883c6347e370da048848Mark Andrews *) Byteranges have been completely re-written to be a filter. This
f5d0f495847eb4eb9f0058e73051f855800bee0bMark Andrews has been tested, and I believe it is working correctly, but it could
f5d0f495847eb4eb9f0058e73051f855800bee0bMark Andrews doesn't work for the Adobe Acrobat plug-in. The output almost matches
f5d0f495847eb4eb9f0058e73051f855800bee0bMark Andrews the output from 1.3, the only difference being that 1.3 includes
dc0ecf08dbea81b6ebfcd3a18b52aa974472b1baMark Andrews a content-length in the response, and this does not.
dc0ecf08dbea81b6ebfcd3a18b52aa974472b1baMark Andrews [Ryan Bloom]
dc0ecf08dbea81b6ebfcd3a18b52aa974472b1baMark Andrews
dc19dcbc236bc876a6cdb426ec7c5fab964f8dfcMark Andrews *) APR read/write functions and bucket read functions now operate
dc19dcbc236bc876a6cdb426ec7c5fab964f8dfcMark Andrews on unsigned integers, instead of signed ones. It doesn't make
dc19dcbc236bc876a6cdb426ec7c5fab964f8dfcMark Andrews any sense to use signed ints, because we return the error codes,
dc19dcbc236bc876a6cdb426ec7c5fab964f8dfcMark Andrews so if we have an error we should report 0 bytes read or written.
dc19dcbc236bc876a6cdb426ec7c5fab964f8dfcMark Andrews [Ryan Bloom]
114c14f8adfc249cf2e5cdcb9007af46fed257e3Mark Andrews
604419a812b491cd35fb6fad129c3c39da7200a1Mark Andrews *) Always compute the content length, whether it is sent or not.
3d78993c6d415f600f57520d1566627b5535d715Mark Andrews The reason for this, is that it allows us to correctly report
3d78993c6d415f600f57520d1566627b5535d715Mark Andrews the bytes_sent when logging the request. This also simplifies
3d78993c6d415f600f57520d1566627b5535d715Mark Andrews content-length filter a bit, and fixes the actual byte-reporing
8c850a29eda020642c84038e449d60f124c6123bMark Andrews code in mod_log_config.c
8c850a29eda020642c84038e449d60f124c6123bMark Andrews [Ryan Bloom]
8c850a29eda020642c84038e449d60f124c6123bMark Andrews
da31aff2f2a2163dafeea65c63f16d8f3fca05c5Mark Andrews *) Remove AP_END_OF_BRIGADE definition. This does not signify what
da31aff2f2a2163dafeea65c63f16d8f3fca05c5Mark Andrews it says, because it was only used by EOS and FLUSH buckets. Since
da31aff2f2a2163dafeea65c63f16d8f3fca05c5Mark Andrews neither of those are required at the end of a brigade, this was
da31aff2f2a2163dafeea65c63f16d8f3fca05c5Mark Andrews really signifying FLUSH_THE_DATA, but that can be determined better
e8ca2abed76b550fd3baddcfb17f2c9a630d6b71Mark Andrews by checking AP_BUCKET_IS_EOS() or AP_BUCKET_IS_FLUSH. EOS and FLUSH
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews buckets now return a length of 0, which is actually the amount of data
e8ca2abed76b550fd3baddcfb17f2c9a630d6b71Mark Andrews read, so they make more sense.
81d9d7a10e52b421d7f4784c48ae995b13203c59Mark Andrews [Ryan Bloom]
81d9d7a10e52b421d7f4784c48ae995b13203c59Mark Andrews
81d9d7a10e52b421d7f4784c48ae995b13203c59Mark Andrews *) Allow the core_output_filter to save some data past the end of a
301f6ffbbeabcbf765f8163f4ffb7f6f0146b926Mark Andrews request. If we get an EOS bucket, we only send the data if it
301f6ffbbeabcbf765f8163f4ffb7f6f0146b926Mark Andrews makes sense to send it. This allows us to pipeline request
9e4b25fc3eb5777202147634d789345d893b4539Mark Andrews responses. As a part of this, we also need to allocate mmap
9e4b25fc3eb5777202147634d789345d893b4539Mark Andrews buckets out of the connection pool, not the request pool. This
9e4b25fc3eb5777202147634d789345d893b4539Mark Andrews allows the mmap to outlive the request.
28c49640dcb25102e5040b8d957edd905ddf82f8Mark Andrews [Ryan Bloom]
7314547af7aa1dd25d690dd3f034d49e5cc8fa9dMark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Make blocking and non-blocking bucket reads work correctly for
541b9722d8031485922ab11221c2e747c0262cf5Mark Andrews sockets and pipes. These are the only bucket types that should
541b9722d8031485922ab11221c2e747c0262cf5Mark Andrews have non-blocking reads, because the other bucket types should
ddaeaddf2b9148ce3e6ec5fecc48f64ea5826faeMark Andrews ALWAYS be able to return something immediately.
ddaeaddf2b9148ce3e6ec5fecc48f64ea5826faeMark Andrews [Ryan Bloom]
ddaeaddf2b9148ce3e6ec5fecc48f64ea5826faeMark Andrews
a6f7fdcc039de75e9a20da90044caa814f0357a3Michael Graff *) In the Apache/Win32 console window, accept Ctrl+C to stop the
a6f7fdcc039de75e9a20da90044caa814f0357a3Michael Graff server, but use Ctrl+Break to initiate a graceful restart
d7e8610d31d83ff863e8b2dc05c238376c35e949Mark Andrews instead of duplicating behavior. [John Sterling]
d7e8610d31d83ff863e8b2dc05c238376c35e949Mark Andrews
d7e8610d31d83ff863e8b2dc05c238376c35e949Mark Andrews *) Patch mod_autoindex to set the Last-Modified header based on
7e8214191899dc8043babdfbe9235ba14c825005Mark Andrews the directory's mtime, and add the ETag header. [William Rowe]
7e8214191899dc8043babdfbe9235ba14c825005Mark Andrews
c4dc5966e0a66f4d75677f1634eff3b45baf988eMark Andrews *) Merge the 1.3 patch to add support for logging query string in
c4dc5966e0a66f4d75677f1634eff3b45baf988eMark Andrews such a way that "%m %U%q %H" is the same as "%r".
c4dc5966e0a66f4d75677f1634eff3b45baf988eMark Andrews [Bill Stoddard]
9429f5a8318bd2142280c949d4af05998ca348a2Evan Hunt
9429f5a8318bd2142280c949d4af05998ca348a2Evan Hunt *) Port three log methods from mod_log_config 1.3 to 2.0:
0899d16ebd6a70bb027e7899c53e7f542ebc987bEvan Hunt CLF compliant '-' byte count, method and protocol.
0899d16ebd6a70bb027e7899c53e7f542ebc987bEvan Hunt [Bill Stoddard]
0899d16ebd6a70bb027e7899c53e7f542ebc987bEvan Hunt
0899d16ebd6a70bb027e7899c53e7f542ebc987bEvan Hunt *) Add a new LogFormat directive, %c, that will log connection
d2e440ca30f27468443ccc7e21db0b8e10c4faf8Mark Andrews status at the end of the response as follows:
d2e440ca30f27468443ccc7e21db0b8e10c4faf8Mark Andrews 'X' - connection aborted before the response completed.
d2e440ca30f27468443ccc7e21db0b8e10c4faf8Mark Andrews '+' - connection may be kept-alive by the server.
404df30f4fcbd318dd1e3cc027d2b5abff3ab6d5Mark Andrews '-' - connection will be closed by the server.
404df30f4fcbd318dd1e3cc027d2b5abff3ab6d5Mark Andrews [Bill Stoddard]
404df30f4fcbd318dd1e3cc027d2b5abff3ab6d5Mark Andrews
544d0efa38490d67e458aa9c23a7dac2a9d546bfMark Andrews *) Expand APR for WinNT to fully accept and return utf-8 encoded
544d0efa38490d67e458aa9c23a7dac2a9d546bfMark Andrews Unicode file names and paths for Win32, and tag the Content-Type
1f2635d3f7b3f0b3bf0d0310fe880d95e84f09fcMark Andrews from mod_autoindex to reflect that charset if the the feature
1f2635d3f7b3f0b3bf0d0310fe880d95e84f09fcMark Andrews macro APR_HAS_UNICODE_FS is true. [William Rowe]
1f2635d3f7b3f0b3bf0d0310fe880d95e84f09fcMark Andrews
802760773ca5224b29a610741a7f2e0a7d6e031bMark Andrews *) Compute the content length (and add appropriate header field) for
802760773ca5224b29a610741a7f2e0a7d6e031bMark Andrews the response when no content length is available and we can't use
802760773ca5224b29a610741a7f2e0a7d6e031bMark Andrews chunked encoding. [Jeff Trawick]
b6d496d53851e5ab5ba82e800062a431b05310cbEvan Hunt
b6d496d53851e5ab5ba82e800062a431b05310cbEvan Hunt *) Changed ap_discard_request_body() to use REQUEST_CHUNKED_DECHUNK,
67213ca3d0594588a6fac32d8188efc68b0ad572Shane Kerr so that content input filters get dechunked data when using
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews the default handler. Also removed REQUEST_CHUNKED_PASS.
d813808a01d5629110b8df483ccc2dff9ec2a84fMark Andrews [Sascha Schumann]
67213ca3d0594588a6fac32d8188efc68b0ad572Shane Kerr
67213ca3d0594588a6fac32d8188efc68b0ad572Shane Kerr *) Add mod_ext_filter as an experimental module. This module allows
d813808a01d5629110b8df483ccc2dff9ec2a84fMark Andrews the administrator to use external programs as filters. Currently,
d813808a01d5629110b8df483ccc2dff9ec2a84fMark Andrews only filtering of output is supported. [Jeff Trawick]
33170a4b2b2765583df543efbb13a01e7b664037Mark Andrews
33170a4b2b2765583df543efbb13a01e7b664037Mark Andrews *) Most Apache functions work on EBCDIC machines again, as protocol
33170a4b2b2765583df543efbb13a01e7b664037Mark Andrews data is now translated (again). [Jeff Trawick]
2cc262c0932a193b261e6e6a172855bd8f898c6dMark Andrews
2cc262c0932a193b261e6e6a172855bd8f898c6dMark Andrews *) Introduce ap_xlate_proto_{to|from}_ascii() to clean up some of
2cc262c0932a193b261e6e6a172855bd8f898c6dMark Andrews the EBCDIC support. They are noops on ASCII machines, so this
76a378884f628f9b23bff16490e39dcd69b6ef0eMark Andrews type of translation doesn't have to be surrounded by #ifdef
76a378884f628f9b23bff16490e39dcd69b6ef0eMark Andrews CHARSET_EBCDIC. [Jeff Trawick]
76a378884f628f9b23bff16490e39dcd69b6ef0eMark Andrews
c368f28dad471c70213b41f7a0ad1b4ef4d8c543Mark Andrews *) Fix mod_include. tag commands work again, and the server will
03745451370778a867e46fdbe315eb958745a391Mark Andrews send the FAQ again. This also allows mod_include to set aside
f183f4c0cd40354f423bdb129e7a0c9badb5082cMark Andrews buckets that include partial buckets.
f183f4c0cd40354f423bdb129e7a0c9badb5082cMark Andrews [Ryan Bloom and David Reid]
f183f4c0cd40354f423bdb129e7a0c9badb5082cMark Andrews
f183f4c0cd40354f423bdb129e7a0c9badb5082cMark Andrews *) Add suexec support back. [Manoj Kasichainula]
f183f4c0cd40354f423bdb129e7a0c9badb5082cMark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Lingering close now uses the socket directly instead of using
71f4918fd8a5ec4f0a05aac657b614fdf2467bebMark Andrews BUFF. This has been tested, but since all we can tell is that it
71f4918fd8a5ec4f0a05aac657b614fdf2467bebMark Andrews doesn't fail, this needs to be really hacked on.
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Ryan Bloom]
dabe7f50bb61d75841b535b91edb8f323f82f826Evan Hunt
a1e2170ad5c5018fbe8f7b8449d8885d5d298e88Mark Andrews *) Allow filters to modify headers and have those headers be sent to
a1e2170ad5c5018fbe8f7b8449d8885d5d298e88Mark Andrews the client. The idea is that we have an http_header filter that
a1e2170ad5c5018fbe8f7b8449d8885d5d298e88Mark Andrews actually sends the headers to the network. This removes the need
a1e2170ad5c5018fbe8f7b8449d8885d5d298e88Mark Andrews for the BUFF to send headers.
a1e2170ad5c5018fbe8f7b8449d8885d5d298e88Mark Andrews [Ryan Bloom]
a1e2170ad5c5018fbe8f7b8449d8885d5d298e88Mark Andrews
05d2776f6fa8e3628555463b06cb43288c9ee68eEvan Hunt *) Charset translation: mod_charset_lite handles translation of
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews request bodies. Get rid of the xlate version of ap_md5_digest()
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews since we don't compute digests of filtered (e.g., translated)
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews response bodies this way anymore. (Note that we don't do it at
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews all at the present; somebody needs to write a filter to do so.)
8327cdb88fdbf306eb4c37fe00a29aac4c2f55c5Evan Hunt [Jeff Trawick]
f2d8c4a4c3dfa212ddcf5b86d4c5fced4965e52eMark Andrews
f2d8c4a4c3dfa212ddcf5b86d4c5fced4965e52eMark Andrews *) Input filters and ap_get_brigade() now have a input mode parameter
8c76634f88c5b3169b61505925e10b997ea08e54Mark Andrews (blocking, non-blocking, peek) instead of a length parameter.
8c76634f88c5b3169b61505925e10b997ea08e54Mark Andrews [hackathon]
8c76634f88c5b3169b61505925e10b997ea08e54Mark Andrews
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrews *) Update the mime.types file to the registered media types as
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrews of 2000-10-19. PR#6613 [Carsten Klapp <carsten.klapp@home.net>,
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrews Tony Finch]
ca84283333d22c64abfbcb87872dd5e6d9172c5aMark Andrews
ca84283333d22c64abfbcb87872dd5e6d9172c5aMark Andrews *) Namespace protect some macros declared in ap_config.h
ca84283333d22c64abfbcb87872dd5e6d9172c5aMark Andrews [Ryan Bloom]
ca84283333d22c64abfbcb87872dd5e6d9172c5aMark Andrews
e6555b046798b1900e93c3208d26301872f50ca5Shane Kerr *) Support HTTP header line folding with input filtering.
e6555b046798b1900e93c3208d26301872f50ca5Shane Kerr [Greg Ames]
e6555b046798b1900e93c3208d26301872f50ca5Shane Kerr
9a41f786b167a2a6df498d5e9c699f9835e1e9dcMark Andrews *) Mod_include works again. This should still be re-written, but at
9a41f786b167a2a6df498d5e9c699f9835e1e9dcMark Andrews least now we can serve an SHTML page again.
9a41f786b167a2a6df498d5e9c699f9835e1e9dcMark Andrews [Ryan Bloom]
9a41f786b167a2a6df498d5e9c699f9835e1e9dcMark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Begin to remove BUFF from the core. Currently, we keep a pointer
bf98702c1941f368e54c499dd1ff59ee684cf125Mark Andrews to both the BUFF and the socket in the conn_rec. Functions that
bf98702c1941f368e54c499dd1ff59ee684cf125Mark Andrews want to use the BUFF can, functions that want to use the socket,
bf98702c1941f368e54c499dd1ff59ee684cf125Mark Andrews can. They point to the same place.
bf98702c1941f368e54c499dd1ff59ee684cf125Mark Andrews [Ryan Bloom]
bf98702c1941f368e54c499dd1ff59ee684cf125Mark Andrews
bf98702c1941f368e54c499dd1ff59ee684cf125Mark Andrews *) apr_psprintf doesn't understand %lld as a format. Make it %ld.
bf98702c1941f368e54c499dd1ff59ee684cf125Mark Andrews [Tomas "�gren" <stric@ing.umu.se>]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
65391557db5d7dc725ed3f2b759248fea31a2445Mark Andrews *) APR pipes on Unix and Win32 are now cleaned up automatically when the
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews associated pool goes away. (APR pipes on OS/2 were already had this
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews logic.) This resolvs a fatal file descriptor leak with CGIs.
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews [Jeff Trawick]
a7b7a4ebc38ec7460e95da6d3d70ffe7b59573b8Mark Andrews
a7b7a4ebc38ec7460e95da6d3d70ffe7b59573b8Mark Andrews *) The final line of the config file was not being read if there was
1ca168b58e02fda534cad741a248e549e0f98d4dMark Andrews no \n at the end of it. This was caused by apr_fgets returning
6f1b09965f26ab0d6c38dec4a38f67bb34ebddceMark Andrews APR_EOF even though we had read valid data. This is solved by
23450c23fd19138cfad95b6c7728e2965abfc154Mark Andrews making cfg_getline check the buff that was returned from apr_fgets.
de05f7d061abfe0ce555e0d0f2089f1261b031b6Mark Andrews If apr_fgets return APR_EOF, but there was data in the buf, then we
de05f7d061abfe0ce555e0d0f2089f1261b031b6Mark Andrews return the buf, otherwise we return NULL.
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Ryan Bloom]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Piped logs work again in the 2.0 series.
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Ryan Bloom]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
c7e266b7e5675e12d1ca3cc929f24b3e86d41f8eEvan Hunt *) Restore functionality broken by the mod_rewrite security fix:
85db2b5fb360ccd2aeec1e6e22336b3d654bb39aMark Andrews rewrite map lookup keys and default values are now expanded
85db2b5fb360ccd2aeec1e6e22336b3d654bb39aMark Andrews so that the lookup can depend on the requested URI etc.
85db2b5fb360ccd2aeec1e6e22336b3d654bb39aMark Andrews PR #6671 [Tony Finch]
a0749e59c0356381fdaea0fefe66256589ec8c99Mark Andrews
a0749e59c0356381fdaea0fefe66256589ec8c99Mark Andrews *) Tighten up the syntax checking of Host: headers to fix a
a0749e59c0356381fdaea0fefe66256589ec8c99Mark Andrews security bug in some mass virtual hosting configurations
709220567fb820cf7e7625925449dadf86317629Mark Andrews that can allow a remote attacker to retrieve some files
709220567fb820cf7e7625925449dadf86317629Mark Andrews on the system that should be inaccessible. [Tony Finch]
709220567fb820cf7e7625925449dadf86317629Mark Andrews
fe6b6eebd74f7c5c20088f67081ae690228f9744Mark Andrews *) Add a pool bucket type. This bucket is used for data allocated out
adc3f2c0fdcc0a2bee469ffb0e7ae41b83cbf403Mark Andrews of a pool. If the pool is cleaned before the bucket is destroyed, then
adc3f2c0fdcc0a2bee469ffb0e7ae41b83cbf403Mark Andrews the data is converted to a heap bucket, allowing it to survive the
31a2f82193a91e24f31454ff18e0b7723c066a74Mark Andrews death of the pool.
45deeddf4cf1ea57b8b493dcd2410f2332a36128Mark Andrews [Ryan Bloom]
8731a2bd2f5483f50d82cf28e315090b7ceeed54Mark Andrews
8731a2bd2f5483f50d82cf28e315090b7ceeed54Mark Andrews *) Add a flush bucket. This allows modules to signal that the filters
2de90cd1e20061bde684a21c3d852056a2e290d0Mark Andrews should all flush whatever data they currently have. There is no way
2de90cd1e20061bde684a21c3d852056a2e290d0Mark Andrews to actually force them to do this, so if a filter ignores this bucket,
8a45eeebb8bdd4633bccfd9d77d9b50c1d337d54Mark Andrews that's life, but at least we can try with this.
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Ryan Bloom]
8a45eeebb8bdd4633bccfd9d77d9b50c1d337d54Mark Andrews
d4034b48fd112ef43933f1455b194b5249a88ee6Mark Andrews *) Add an output filter for sub-requests. This filter just strips the
d4034b48fd112ef43933f1455b194b5249a88ee6Mark Andrews EOS bucket so that we don't confuse the main request's core output
d4034b48fd112ef43933f1455b194b5249a88ee6Mark Andrews filter by sending multiple EOS buckets. This change also makes sub
d4034b48fd112ef43933f1455b194b5249a88ee6Mark Andrews requests start to send EOS buckets when they are finished.
d4034b48fd112ef43933f1455b194b5249a88ee6Mark Andrews [Ryan Bloom]
ee4bbc8454cc0cb36a25a7d26c5b47370f96d9b2Mark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Make ap_bucket_(read|destroy|split|setaside) into macros. Also
ee4bbc8454cc0cb36a25a7d26c5b47370f96d9b2Mark Andrews makes ap_bucket_destroy a return void, which is okay because it
f568dad6c7ddaa732e6562a4b89fd2ac922d263bMark Andrews used to always return APR_SUCCESS, and nobody ever checked its
03ec481ee88f4ab72af6abb4efe096fe2c661d60Mark Andrews return value anyway.
03ec481ee88f4ab72af6abb4efe096fe2c661d60Mark Andrews [Cliff Woolley <cliffwoolley@yahoo.com>]
03ec481ee88f4ab72af6abb4efe096fe2c661d60Mark Andrews
f568dad6c7ddaa732e6562a4b89fd2ac922d263bMark Andrews *) Remove the index into the bucket-type table from the buckets
8e74bfb6045d78af71b54a2934823b334b3e423aMark Andrews structure. This has now been replaced with a pointer to the
8e74bfb6045d78af71b54a2934823b334b3e423aMark Andrews bucket_type. Also add some macros to test the bucket-type.
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Ryan Bloom]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
88a4de3c24caf71426bf06e42ce18f6099d7a439Mark Andrews *) Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
d91df50b670d92d0ab784b741e2ee9af7f2dc4a1Mark Andrews for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
3eab85ca54b681504d772b1d6bb3ccf4f08d4305Mark Andrews and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
3eab85ca54b681504d772b1d6bb3ccf4f08d4305Mark Andrews All _VAR_ flavors changes to _DATA to be absolutely clear.
3eab85ca54b681504d772b1d6bb3ccf4f08d4305Mark Andrews [William Rowe]
c5adbd722da0908f91be4fb710c082b4b68ec782Mark Andrews
c5adbd722da0908f91be4fb710c082b4b68ec782Mark Andrews *) Add support for /, //, //servername and //server/sharename
557bcc2092642b2d4668c9b08872c9f2bb88bddbMark Andrews parsing of <Directory> blocks under Win32 and OS2.
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Tim Costello, William Rowe, Brian Harvard]
557bcc2092642b2d4668c9b08872c9f2bb88bddbMark Andrews
c60eaaf9b3c6bb4d693cdb5f68acdfacf076e1fdMark Andrews *) Remove the function pointers from the ap_bucket type. They have been
c60eaaf9b3c6bb4d693cdb5f68acdfacf076e1fdMark Andrews replaced with a global table. Modules are allowed to register bucket
634a4da58460979fa0fcad5304b810d189f9cf49Mark Andrews types and use then use those buckets.
634a4da58460979fa0fcad5304b810d189f9cf49Mark Andrews [Ryan Bloom]
634a4da58460979fa0fcad5304b810d189f9cf49Mark Andrews
634a4da58460979fa0fcad5304b810d189f9cf49Mark Andrews *) mod_cgid: In the handler, shut down the Unix socket (only for write)
c0720b90ed6e673264b17eb752d873a89cbd6db5Mark Andrews once we finish writing the request body to the cgi child process;
c0720b90ed6e673264b17eb752d873a89cbd6db5Mark Andrews otherwise, the client doesn't hit EOF on stdin. Small request bodies
c0720b90ed6e673264b17eb752d873a89cbd6db5Mark Andrews worked without this change (for reasons I don't understand), but large
576e48e28aae9f28b8e6daa2aabc839bb5c520e3Mark Andrews ones didn't. [Jeff Trawick]
c06cb907737eb7ce128c92dd729c73798733f37aMark Andrews
c06cb907737eb7ce128c92dd729c73798733f37aMark Andrews *) Remove file bucket specific information from the ap_bucket type.
6e5e27c38d86f2338688f5123d2ff84558956dd0Mark Andrews This has been moved to a file_bucket specific type that hangs off
6e5e27c38d86f2338688f5123d2ff84558956dd0Mark Andrews the data pointer in the ap_bucket type.
6e5e27c38d86f2338688f5123d2ff84558956dd0Mark Andrews [Ryan Bloom]
5059b393e80cda6beffb74f2f30d7329502c41e6Mark Andrews
5059b393e80cda6beffb74f2f30d7329502c41e6Mark Andrews *) Input filtering now has a third argument. This is the amount of data
5059b393e80cda6beffb74f2f30d7329502c41e6Mark Andrews to read from lower filters. This argument can be -1, 0, or a positive
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews number. -1 means give me all the data you have, I'll deal with it and
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews let you know if I need more. 0 means give me one line and one line
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews only. A positive number means I want no more than this much data.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews
dd19fbaf817f974c24ddfa1d276d7594d5b18750Mark Andrews Currently, only 0 and a positive number are implemented. This allows
dd19fbaf817f974c24ddfa1d276d7594d5b18750Mark Andrews us to remove the remaining field from the conn_rec structure, which
dd19fbaf817f974c24ddfa1d276d7594d5b18750Mark Andrews has also been done.
f408773d47b25594d1302525a4db6efb84b1843cMark Andrews [Ryan Bloom]
f408773d47b25594d1302525a4db6efb84b1843cMark Andrews
cd315d4cf631753c94f27fabaa42a37a27d30530Mark Andrews *) Big cleanup of the input filtering. The goal is that http_filter
cd315d4cf631753c94f27fabaa42a37a27d30530Mark Andrews understands two conditions, headers and body. It knows where it is
cd315d4cf631753c94f27fabaa42a37a27d30530Mark Andrews based on c->remaining. If c->remaining is 0, then we are in headers,
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews and http_filter returns a line at a time. If it is not 0, then we are
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews in body, and http_filter returns raw data, but only up to c->remaining
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews bytes. It can return less, but never more.
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews [Greg Ames, Ryan Bloom, Jeff Trawick]
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews *) mod_cgi: Write all of the request body to the child, not just what
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews the kernel would accept on the first write. [Jeff Trawick]
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews *) Back out the change that moved the brigade from the core_output_filters
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews ctx to the conn_rec. Since all requests over a given connection
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews go through the same core_output_filter, the ctx pointer has the
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews correct lifetime.
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews [Ryan Bloom]
69826a6a2f89ecb2b280eeb6d4adb4826bf0db72Mark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Fix another bug in the send_the_file() read/write loop. A partial
5888f62c204a99da60d7854fe01eda4960fb3b36Mark Andrews send by apr_send would cause unsent data in the read buffer to
5888f62c204a99da60d7854fe01eda4960fb3b36Mark Andrews get clobbered. Complete making send_the_file handle partial
57668dc1bb0eb063e9037ff07ddbfd520e0d7186Mark Andrews writes to the network.
fd23bc509d5fddb91247a2a1ca52d432969067e5Mark Andrews [Bill Stoddard]
7c200913aa7e55bbe28de456bb593c1e05bf6f79Mark Andrews
07072c9456f1112705db701bb35f12dbdcb217b0Mark Andrews *) Fix a couple of type fixes to allow compilation on AIX again
07072c9456f1112705db701bb35f12dbdcb217b0Mark Andrews [Victor J. Orlikowski <v.j.orlikowski@gte.net>]
07072c9456f1112705db701bb35f12dbdcb217b0Mark Andrews
afd002e89aadf30181155566544480349e70339dMark Andrews *) Fix bug in send_the_file() which causes offset to be ignored
afd002e89aadf30181155566544480349e70339dMark Andrews if there are no headers to send.
afd002e89aadf30181155566544480349e70339dMark Andrews [Bill Stoddard]
7b52c2ad3c9ca65712e962ddc803e34641f2bc07Mark Andrews
ba5d2a97ee0cd2cc9d4b9e7e344ae8f607cc2994Mark Andrews *) Handle APR_ENOTIMPL returned from apr_sendfile in the core
ba5d2a97ee0cd2cc9d4b9e7e344ae8f607cc2994Mark Andrews filter. Useful for supporting Windows 9* with a binary
6133734cecb05630e32edb63031b95d333df8e48Mark Andrews compiled on Windows NT.
6133734cecb05630e32edb63031b95d333df8e48Mark Andrews [Bill Stoddard]
6133734cecb05630e32edb63031b95d333df8e48Mark Andrews
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark AndrewsChanges with Apache 2.0a7
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark Andrews
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark Andrews *) Reimplement core_output_filter to buffer/save bucket brigades
32391301db6f532ad17033f188d4540ae3f409f1Mark Andrews across multiple calls to the core_filter. The brigade will be
32391301db6f532ad17033f188d4540ae3f409f1Mark Andrews sent when either MIN_BYTES_TO_SEND or MAX_IOVEC_TO_WRITE
32391301db6f532ad17033f188d4540ae3f409f1Mark Andrews thresholds are hit or the EOS bucket is received.
0cedbe4ab56e00d5827941697418476318cbdeb3Mark Andrews [Bill Stoddard]
0cedbe4ab56e00d5827941697418476318cbdeb3Mark Andrews
0cedbe4ab56e00d5827941697418476318cbdeb3Mark Andrews *) Create experimental filter (buffer_filter) that coalesces bytes
0cedbe4ab56e00d5827941697418476318cbdeb3Mark Andrews into one large buffer before invoking the next filter in the
f05a4bf2bfac3aaff0462560b2793cd99a85a297Mark Andrews chain. This filter is particularly useful with the current
0cedbe4ab56e00d5827941697418476318cbdeb3Mark Andrews implementation of mod_autoindex when it inserted above the
f05a4bf2bfac3aaff0462560b2793cd99a85a297Mark Andrews chunk_filter. mod_autoindex generates a lot of brigades that
bf45f72ed319628eebce60c368177320943d001fMark Andrews containing buckets holding just a few bytes each. The
bf45f72ed319628eebce60c368177320943d001fMark Andrews buffer_filter coalesces these buckets into a single large bucket.
bf45f72ed319628eebce60c368177320943d001fMark Andrews [Bill Stoddard]
e078f002c06b6b26e2d7749a4f9e3907f3e85de3Mark Andrews
af1e00675fa573fec779e9a01aac5bedb99f0fd6Mark Andrews *) Add apr_sendfile() support into the core_output_filter.
af1e00675fa573fec779e9a01aac5bedb99f0fd6Mark Andrews [Bill Stoddard]
af1e00675fa573fec779e9a01aac5bedb99f0fd6Mark Andrews
d1199d9c06ba470fa4779981bea2f8f7403e8eabMark Andrews *) Add apr_sendv() support into the core_output_filter.
d1199d9c06ba470fa4779981bea2f8f7403e8eabMark Andrews [Bill Stoddard]
d1199d9c06ba470fa4779981bea2f8f7403e8eabMark Andrews
7c5dfcc60a7ee41ae5ba15a3e1fe337af3bef1a9Mark Andrews *) Fix mod_log_config so that it compiles cleanly with BUFFERED_LOGS
7c5dfcc60a7ee41ae5ba15a3e1fe337af3bef1a9Mark Andrews [Mike Abbott <mja@sgi.com>]
7c5dfcc60a7ee41ae5ba15a3e1fe337af3bef1a9Mark Andrews
7c5dfcc60a7ee41ae5ba15a3e1fe337af3bef1a9Mark Andrews *) Remove ap_send_fb. This is no longer used in Apache, and it doesn't
0f8c9b5eed7e8714ceb7d6d3675555df9c5f6350Mark Andrews make much sense, because Apache uses buckets instead of BUFFs now.
0f8c9b5eed7e8714ceb7d6d3675555df9c5f6350Mark Andrews [Ryan Bloom]
0f8c9b5eed7e8714ceb7d6d3675555df9c5f6350Mark Andrews
fc8197c3ce31d81cd5e23703680572fac09a2e8aMark Andrews *) send_the_file now falls back to a read/write loop on platforms that
0f8c9b5eed7e8714ceb7d6d3675555df9c5f6350Mark Andrews do not have sendfile.
0f8c9b5eed7e8714ceb7d6d3675555df9c5f6350Mark Andrews [Ryan Bloom and Brian Havard]
0f8c9b5eed7e8714ceb7d6d3675555df9c5f6350Mark Andrews
bc6af069c80ca33a5619d71d57859724cab1f4c4Mark Andrews *) Install apachectl correctly, and substitute the proper values so
bc6af069c80ca33a5619d71d57859724cab1f4c4Mark Andrews that it works again. [Ryan Bloom]
bc6af069c80ca33a5619d71d57859724cab1f4c4Mark Andrews
bc6af069c80ca33a5619d71d57859724cab1f4c4Mark Andrews *) Better(??) handle platforms that lack sendfile().
4bb0f1046f3f3c26539ff91e28b3c8872519df17Mark Andrews [Jim Jagielski]
4bb0f1046f3f3c26539ff91e28b3c8872519df17Mark Andrews
68df4d65c624a9ca06e94fc67ef915adf2ec97beMark Andrews *) APR now has UUID generation/formatting/parsing support.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews [Greg Stein]
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews
f3139b9d763cbfd3f8dbf1062191a688ed5195e4Mark Andrews *) Begin the http_filter. This is an input filter that understands
f3139b9d763cbfd3f8dbf1062191a688ed5195e4Mark Andrews the absolute basic amount required to parse an HTTP Request. The
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews goal is to be able to split headers from request body before passing
f3139b9d763cbfd3f8dbf1062191a688ed5195e4Mark Andrews the data back to the other filters.
79e3817e2c0f1b017643638dc3876ba41da94335Mark Andrews [Ryan Bloom]
79e3817e2c0f1b017643638dc3876ba41da94335Mark Andrews
79e3817e2c0f1b017643638dc3876ba41da94335Mark Andrews *) Bring forward from 1.3.13 the config directory implementation
2d78cc9624dd735ffdc634e6c39dd30bddfb95f7Mark Andrews [Jim Jagielski]
2d78cc9624dd735ffdc634e6c39dd30bddfb95f7Mark Andrews
2d78cc9624dd735ffdc634e6c39dd30bddfb95f7Mark Andrews *) install apxs if it is created
eea8cd8d1a9b2762480fab793972d1cefbc7cf90Mark Andrews [Ryan Bloom]
eea8cd8d1a9b2762480fab793972d1cefbc7cf90Mark Andrews
eea8cd8d1a9b2762480fab793972d1cefbc7cf90Mark Andrews *) Added APR_IS_STATUS_condition test macros to eliminate canonical error
9860862cedd41ffaf69e7806e8f8959263552721Mark Andrews conversions. [William Rowe]
9860862cedd41ffaf69e7806e8f8959263552721Mark Andrews
9860862cedd41ffaf69e7806e8f8959263552721Mark Andrews *) Now that we have ap_add_input_filter(), rename ap_add_filter() to
25e2824175eb0c186df3ab0737c83d322410594cMark Andrews ap_add_output_filter(). [Jeff Trawick]
25e2824175eb0c186df3ab0737c83d322410594cMark Andrews
25e2824175eb0c186df3ab0737c83d322410594cMark Andrews *) Multiple build and configuration fixes
25e2824175eb0c186df3ab0737c83d322410594cMark Andrews Build process:
63aaac8137bd1d86aab8c950fb066bb522a26e5bMark Andrews
63aaac8137bd1d86aab8c950fb066bb522a26e5bMark Andrews -add datadir and localstatedir substitutions
fe3220466e3c23cd2c22a59a4db46bc97ce0827dMark Andrews -fix layout name
fe3220466e3c23cd2c22a59a4db46bc97ce0827dMark Andrews -fix logfilename misspelling
fe3220466e3c23cd2c22a59a4db46bc97ce0827dMark Andrews -fix evaluation of installation dir variables and
40aadb6a143e0f2d351e743dce43cfc894d4d855Mark Andrews -replace $foobar by $(foobar) to be usefull in the makefile
40aadb6a143e0f2d351e743dce43cfc894d4d855Mark Andrews
40aadb6a143e0f2d351e743dce43cfc894d4d855Mark Andrews Cross compile:
65b26a4dc8c6c16d0a5ccb03b67cf968c77d6570Mark Andrews
65b26a4dc8c6c16d0a5ccb03b67cf968c77d6570Mark Andrews -add rules for cross-compiling in rules.mk. Okay, rule to check for
65b26a4dc8c6c16d0a5ccb03b67cf968c77d6570Mark Andrews $CC_FOR_BUILD is still missing
c58821f7100821e1d4e4bbace727b988bb3e0623Mark Andrews -use CHECK_TOOL instead of CHECK_PROG for ranlib
c58821f7100821e1d4e4bbace727b988bb3e0623Mark Andrews -add missing "AR=@AR@" to severaly Makefile.in's
77397daf05511dc737eeec159badc05f11bfadddMark Andrews -cache result for "struct rlimit"
337e70ead93aafec305ac0a7a62090339543b8d1Mark Andrews -compile all helper programs with native and cross compiler
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews and use the native version to generate header file
337e70ead93aafec305ac0a7a62090339543b8d1Mark Andrews ["R�diger" Kuhlmann <Tadu@gmx.de>]
f0a1b8c85792d4e04716f995a2b2a8ca73f8367dMark Andrews
a5d7c242b564cbd3cebc0dd27c19d9093d38b3abMark Andrews *) Prepare our autoconf setup for autoconf 2.14a and for cross-
a5d7c242b564cbd3cebc0dd27c19d9093d38b3abMark Andrews compiling.
1de5f8f80930dc322688010740c7dfe56eb035b0Mark Andrews ["R�diger" Kuhlmann <Tadu@gmx.de>]
1de5f8f80930dc322688010740c7dfe56eb035b0Mark Andrews
1de5f8f80930dc322688010740c7dfe56eb035b0Mark Andrews *) Fix a bug where a client which only sends \n to delimit header
7a253b705ccbc30821253e7a124658623f10c499Mark Andrews lines (netcat) gets a strange looking HTTP_NOT_IMPLEMENTED
7a253b705ccbc30821253e7a124658623f10c499Mark Andrews message. Start working on ebcdic co-existance with input
f6476fa52240e3c8278ac4a27fa2cc8a5b7a3e3bMark Andrews filtering.
f6476fa52240e3c8278ac4a27fa2cc8a5b7a3e3bMark Andrews [William Rowe, Greg Ames]
f6476fa52240e3c8278ac4a27fa2cc8a5b7a3e3bMark Andrews
cd1e58c339b2a6709d543a525de0c995bf8b5868Mark Andrews *) If mod_so is enabled in the server always create libexec, even
cd1e58c339b2a6709d543a525de0c995bf8b5868Mark Andrews if there are no modules installed in this directory. This is a
cd1e58c339b2a6709d543a525de0c995bf8b5868Mark Andrews requirement for APXS to work correctly.
a05f23d07e1b60a1d88119678111a47014480611Mark Andrews [Ryan Bloom]
a05f23d07e1b60a1d88119678111a47014480611Mark Andrews
a05f23d07e1b60a1d88119678111a47014480611Mark Andrews *) Connection oriented output filters are now stored in the
a05f23d07e1b60a1d88119678111a47014480611Mark Andrews conn_rec instead of the request_rec. This allows us to add the
429e23d2f56d28d86439f75c13cda2b4ac5ab67bMark Andrews output filter in the pre-connection phase instead of the
429e23d2f56d28d86439f75c13cda2b4ac5ab67bMark Andrews post_read_request phase, which keeps us from trying to write an
c5c825bf07a00a2478afd9400e9f8534457980b0Mark Andrews error page before we have a filter to write to the network.
c5c825bf07a00a2478afd9400e9f8534457980b0Mark Andrews [Ryan Bloom, Jeff Trawick, and Greg Ames]
c5c825bf07a00a2478afd9400e9f8534457980b0Mark Andrews
aaa42824d2d1f5cc4add01f0191e3784ee0f7396Mark Andrews *) Cleaning up an mmap bucket no longer deletes the mmap. An
43da7565913277c020ded34d6ee2139998b743b6Mark Andrews mmap can be used across multiple buckets (default_handler with
43da7565913277c020ded34d6ee2139998b743b6Mark Andrews byte ranges, mod_file_cache, mod_mmap_static), so cleanup of
43da7565913277c020ded34d6ee2139998b743b6Mark Andrews the mmap itself can't be associated with the bucket.
c1297b6025bf8ccdc832b7bca705da1d4cf2944eMark Andrews [Jeff Trawick]
c1297b6025bf8ccdc832b7bca705da1d4cf2944eMark Andrews
25820cf1d110ec22cec5f6be5257aabe6853ca92Evan Hunt *) Add .dll caching directive ISAPICacheFile to mod_isapi.
25820cf1d110ec22cec5f6be5257aabe6853ca92Evan Hunt [William Rowe]
25820cf1d110ec22cec5f6be5257aabe6853ca92Evan Hunt
99cce386a489671727a737b3748937cf3a0676e8Evan Hunt *) Radical surgery to improve mod_isapi support under Win32.
99cce386a489671727a737b3748937cf3a0676e8Evan Hunt Includes a number of newer ServerSupportFunction calls, support
99cce386a489671727a737b3748937cf3a0676e8Evan Hunt for ReadClient (in order to retrieve POSTs greater than 48KB),
99cce386a489671727a737b3748937cf3a0676e8Evan Hunt and general bug fixes to more reliably load ISAPI .dll's and
819b98479eff49ed93f57f4d65eb0ffe72136adcMark Andrews prevent leaking handle resources. Note: There are still
819b98479eff49ed93f57f4d65eb0ffe72136adcMark Andrews discrepancies between IIS's and Apache's ServerVariables, and
819b98479eff49ed93f57f4d65eb0ffe72136adcMark Andrews async calls are still not supported. Additional warnings are
819b98479eff49ed93f57f4d65eb0ffe72136adcMark Andrews logged to facilitate debugging of unsupported ISAPI calls.
819b98479eff49ed93f57f4d65eb0ffe72136adcMark Andrews [William Rowe]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
113e0b7819103f02d5a16bad1b7356587d866ac2Mark Andrews *) Add input filtering to Apache. The basic idea for the input
113e0b7819103f02d5a16bad1b7356587d866ac2Mark Andrews filters is the same as the ideas for output filters. The biggest
113e0b7819103f02d5a16bad1b7356587d866ac2Mark Andrews difference is that instead of calling ap_pass_brigade, ap_get_brigade
6dfc78fab61fafc9bffdc3cbc331cc996bfa2198Mark Andrews should be called, and the order of execution for the filter itself is
6dfc78fab61fafc9bffdc3cbc331cc996bfa2198Mark Andrews different. When writing an output filter, a brigade is passed in,
6dfc78fab61fafc9bffdc3cbc331cc996bfa2198Mark Andrews and filters operate directly on that brigade, when done, they call
6dfc78fab61fafc9bffdc3cbc331cc996bfa2198Mark Andrews ap_pass_brigade. Input filters are the exact opposite. Because input
65085946d4f92481699678e276e3ced04bcfdafbMark Andrews is not a push operation, filters first call ap_get_brigade. When this
65085946d4f92481699678e276e3ced04bcfdafbMark Andrews function returns, the input filter will be left with a valid brigade.
65085946d4f92481699678e276e3ced04bcfdafbMark Andrews The input filter should then operate on the brigade, and return.
b5f690e1618cffeec15b3bcb9525443206fb7007Mark Andrews [Ryan Bloom]
b5f690e1618cffeec15b3bcb9525443206fb7007Mark Andrews
b5f690e1618cffeec15b3bcb9525443206fb7007Mark Andrews *) Fix building on BSD/OS using its native make. The build system
37d373d88631c7be57a30bf4a49c824a9195781fMark Andrews falls back to the BSD .include directive on that host platform.
37d373d88631c7be57a30bf4a49c824a9195781fMark Andrews [Sascha Schumann]
37d373d88631c7be57a30bf4a49c824a9195781fMark Andrews
b130bf8b4ebdabd5c94eb5c6522a9971997b6ac9Mark Andrews *) Expand dbmmanage to allow -d -m -s -p options for Crypt, MD5,
b130bf8b4ebdabd5c94eb5c6522a9971997b6ac9Mark Andrews SHA1 and plaintext password encodings. Make feature tests a
072eaf055b7fa0d8abe96146fbb9152b14946c84Mark Andrews bit more flexible. [William Rowe]
072eaf055b7fa0d8abe96146fbb9152b14946c84Mark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Charset translation: mod_charset_lite handles output content
7a3c2d189e811933c48aace1900a868dffd42f5fMark Andrews translation in a filter. mod_charset_lite no longer ignores
7a3c2d189e811933c48aace1900a868dffd42f5fMark Andrews subrequests. A bunch of cruft related to BUFF's support for
a56f5ada432128085e4a06815328023ee0c9610dMark Andrews translating request and response bodies was removed.
a56f5ada432128085e4a06815328023ee0c9610dMark Andrews [Jeff Trawick]
a56f5ada432128085e4a06815328023ee0c9610dMark Andrews
a56f5ada432128085e4a06815328023ee0c9610dMark Andrews *) Move the addition of the CORE filter to the post_read_request
a56f5ada432128085e4a06815328023ee0c9610dMark Andrews hook in http_core.c. This removes the need to add the filter in
a56f5ada432128085e4a06815328023ee0c9610dMark Andrews multiple places and allows for an SSL module to be added much
a56f5ada432128085e4a06815328023ee0c9610dMark Andrews simpler. [Ryan Bloom]
a56f5ada432128085e4a06815328023ee0c9610dMark Andrews
4259095c8058beb9b475f1884dbeda375979e6f6Mark Andrews *) Fix a security problem that affects certain configurations of
4259095c8058beb9b475f1884dbeda375979e6f6Mark Andrews mod_rewrite. If the result of a RewriteRule is a filename that
4259095c8058beb9b475f1884dbeda375979e6f6Mark Andrews contains expansion specifiers, especially regexp backreferences
c53a5699c8242636fd913a4d07b4447efebe3bbfMark Andrews $0..$9 and %0..%9, then it may be possible for an attacker to
c53a5699c8242636fd913a4d07b4447efebe3bbfMark Andrews access any file on the web server. [Tony Finch]
c53a5699c8242636fd913a4d07b4447efebe3bbfMark Andrews
8c731c1219f1698f15bf5b1fcf6bc301cfd9bc42Mark Andrews *) Fix a bug where errors that are detected during early request parsing
8c731c1219f1698f15bf5b1fcf6bc301cfd9bc42Mark Andrews don't produce visible HTTP error messages at the browser, because
a630d60b8b628cb2ce46b906dc7b1a5b83b74ed5Mark Andrews the core_filter wasn't present. [Greg Ames]
a630d60b8b628cb2ce46b906dc7b1a5b83b74ed5Mark Andrews
a630d60b8b628cb2ce46b906dc7b1a5b83b74ed5Mark Andrews *) Provide apr_socklen_t as a portability aid.
b53871d8592a0bfeacdd06ccba46d75aa96e4fecMark Andrews [Victor J. Orlikowski]
b53871d8592a0bfeacdd06ccba46d75aa96e4fecMark Andrews
b53871d8592a0bfeacdd06ccba46d75aa96e4fecMark Andrews *) Overhaul of dbmmanage to allow a groups arg (as in Apache 1.2)
9dabd0455ca923b5b02f74c1e999702ddc9c6fd2Mark Andrews as well as a comment arg to the add, adduser and update cmds.
9dabd0455ca923b5b02f74c1e999702ddc9c6fd2Mark Andrews update allows the user to clear or preserve pw/groups/comment.
9dabd0455ca923b5b02f74c1e999702ddc9c6fd2Mark Andrews Fixed a bug in dbmmanage that prevented the check option from
9dabd0455ca923b5b02f74c1e999702ddc9c6fd2Mark Andrews parsing a password followed by :group... text. Corrected the
58f32ac26ea330054f7b85579cd93a6376168fe7Mark Andrews seed calcualation for Win32 systems, and added -lsdbm support.
58f32ac26ea330054f7b85579cd93a6376168fe7Mark Andrews [William Rowe]
58f32ac26ea330054f7b85579cd93a6376168fe7Mark Andrews
58f32ac26ea330054f7b85579cd93a6376168fe7Mark Andrews *) Configured mod_auth_dbm to compile with sdbmlib under Win32.
bde20a0436dff13e2299cfd4230ddec54d396d02Mark Andrews [William Rowe]
bde20a0436dff13e2299cfd4230ddec54d396d02Mark Andrews
0deee29113e5919c88f341ec3a181b70f7c905ccMark Andrews *) Avoid a segfault when parsing .htaccess files. An
0deee29113e5919c88f341ec3a181b70f7c905ccMark Andrews uninitialized tree pointer was passed to ap_build_config().
0deee29113e5919c88f341ec3a181b70f7c905ccMark Andrews [Jeff Trawick]
340a05967aaad53d90694426c33d81b490b0f915Mark Andrews
340a05967aaad53d90694426c33d81b490b0f915Mark Andrews *) Change the way that inet_addr & inet_network are checked for
340a05967aaad53d90694426c33d81b490b0f915Mark Andrews in APR's configure process to allow BeOS BONE to correctly
394f4aec2189750d7f861d00f97fe28ffcd9f659Mark Andrews find them. With this change BeOS BONE now builds from source
394f4aec2189750d7f861d00f97fe28ffcd9f659Mark Andrews with no problems. [David Reid]
394f4aec2189750d7f861d00f97fe28ffcd9f659Mark Andrews
2e676167cc8cbb2e6dbb54e9859098dd5b9cd5c8Mark Andrews *) Fix a bug in apr_create_process() for Unix. The NULL signifying
2e676167cc8cbb2e6dbb54e9859098dd5b9cd5c8Mark Andrews the end of the parameters to execve() was stored in the wrong
2e676167cc8cbb2e6dbb54e9859098dd5b9cd5c8Mark Andrews location, overlaying the storage beyond the newargs[] array and
4098271a81b3e965da14f77c893232a0b6be22f3Mark Andrews also passing uninitialized storage to execve(), which would
4098271a81b3e965da14f77c893232a0b6be22f3Mark Andrews sometimes fail with EFAULT. [Jeff Trawick]
4098271a81b3e965da14f77c893232a0b6be22f3Mark Andrews
4098271a81b3e965da14f77c893232a0b6be22f3Mark Andrews *) Fix a bug parsing configuration file containers. With a sequence
57eb7efe13b67455e8c6a08cf080afb3de2ac622Mark Andrews like this in the config file
7228a4d9ca1f1b868e257a28de86c6a1f21e9ffeMark Andrews
7228a4d9ca1f1b868e257a28de86c6a1f21e9ffeMark Andrews <IfModule mod_kilroy.c>
5dcc67a0fff89e7ebf051f64b6b987862c331a04Mark Andrews any stuff
5dcc67a0fff89e7ebf051f64b6b987862c331a04Mark Andrews </IfModule>
5dcc67a0fff89e7ebf051f64b6b987862c331a04Mark Andrews <IfModule mod_lovejoy.c>
8363ddb32da86811663d12d0b2c61a8ea2fa0eaeMark Andrews (blank line)
8363ddb32da86811663d12d0b2c61a8ea2fa0eaeMark Andrews any stuff
8363ddb32da86811663d12d0b2c61a8ea2fa0eaeMark Andrews </IfModule>
cc2720da38bb7bab2bf283de56dd90e9093d7f00Mark Andrews
cc2720da38bb7bab2bf283de56dd90e9093d7f00Mark Andrews the second container would be terminated at the blank line due to
cc2720da38bb7bab2bf283de56dd90e9093d7f00Mark Andrews sediment in the buffer from reading the prior </IfModule> and an
10fc76d48aa7ecb8a7242970585ba154b368f97eMark Andrews error message would be generated for the real </IfModule> for the
10fc76d48aa7ecb8a7242970585ba154b368f97eMark Andrews second container. Also due to this problem, any two characters
5cc6a0f7dae472e5c2022b2cbb5343ec9f7f4942Mark Andrews could be used for "</" in the close of a container.
4490e14feb50cd59a62ce9f348ff53b68a0594ebMark Andrews [Jeff Trawick]
5cc6a0f7dae472e5c2022b2cbb5343ec9f7f4942Mark Andrews
1e70c9a36639bb1e8d537dcefa3cd12a7bb39db0Mark Andrews *) ap_add_filter prototype changed to remove the ctx pointer. The
1e70c9a36639bb1e8d537dcefa3cd12a7bb39db0Mark Andrews pointer still remains in the filter structure, but it can not be
1e70c9a36639bb1e8d537dcefa3cd12a7bb39db0Mark Andrews a part of the ap_add_filter prototype. The reason is that when
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews the core uses AddFilter to add a filter to the stack it doesn't
9baec3ca233efe8ffca6fbafea5c75021adff03cMark Andrews know how to allocate the ctx pointer, or even how much memory should
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews be allocated. The filters will have to be responsible for allocating
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews the ctx memory when they need it.
f31446e6b5925395fce4f62adf71f7ad70cea6ceMark Andrews [Ryan Bloom]
f31446e6b5925395fce4f62adf71f7ad70cea6ceMark Andrews
f31446e6b5925395fce4f62adf71f7ad70cea6ceMark Andrews *) Add an AddFilter directive. This directive takes a list of filters
0961ac0868e7d60e7cb665160f6d3717e1da5228Mark Andrews that should be activated for the requested resource.
0961ac0868e7d60e7cb665160f6d3717e1da5228Mark Andrews [Ryan Bloom]
0961ac0868e7d60e7cb665160f6d3717e1da5228Mark Andrews
3d697a7eddf375586435f8fb6e1440fb3ce9058dMark Andrews *) apr_snprintf(): Get quad format strings working on OS/390 (and perhaps
3d697a7eddf375586435f8fb6e1440fb3ce9058dMark Andrews some other platforms). [Jeff Trawick]
8943ff626fa337419cbffad6a4a910c7d99509f4Mark Andrews
8943ff626fa337419cbffad6a4a910c7d99509f4Mark Andrews *) Modify mod_include to be a filter. Currently, it has only been tested
281bab0f36eaedc56f859721fbdf45568b71cd60Mark Andrews on actual files, but it should work for CGI scripts too.
281bab0f36eaedc56f859721fbdf45568b71cd60Mark Andrews [Ryan Bloom]
281bab0f36eaedc56f859721fbdf45568b71cd60Mark Andrews
281bab0f36eaedc56f859721fbdf45568b71cd60Mark Andrews *) apr_putc(), apr_puts() for Unix: handle buffered files and interrupted
5cd4555ad444fd391002ae32450572054369fd42Rob Austein writes. apr_flush() for Unix: handle interrupted writes.
5cd4555ad444fd391002ae32450572054369fd42Rob Austein [Jeff Trawick]
8eb4eca37538183edb36db88580b5232f15931b0Mark Andrews
8eb4eca37538183edb36db88580b5232f15931b0Mark Andrews *) NameVirtualHost can now take "*" as an argument instead of
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews an IP address. This allows you to create a purely name-based
305227476756aecb11cebbc811dba88a2d147b34Mark Andrews virtual hosting server that does not have any IP addresses in
e7d32e57a5c8600893f91ec08f74117c983f8b8dMark Andrews the configuration file and which ignores the local address
e7d32e57a5c8600893f91ec08f74117c983f8b8dMark Andrews of any connections. PR #5595, PR #4455 [Tony Finch]
e7d32e57a5c8600893f91ec08f74117c983f8b8dMark Andrews
fa3d0b9991ea0d8344881c5dd4609d9c33314b9bMark Andrews *) Fix some compile warnings in mod_mmap_static.c
e3f66e1617f9fca7313e4005b8c3c611551906d1Mark Andrews [Mike Abbott <mja@sgi.com>]
ed954ce73b1c712b24eab945190028871433f803Mark Andrews
ed954ce73b1c712b24eab945190028871433f803Mark Andrews *) Fix chunking problem with CGI scripts. The general problem was that
ed954ce73b1c712b24eab945190028871433f803Mark Andrews the CGI modules were adding an EOS bucket and then the core added an
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews EOS bucket. The chunking filter finalizes the chunked response when it
29747dfe5e073a299b3681e01f5c55540f8bfed7Mark Andrews encounters an EOS bucket. Because two EOS buckets were sent, we
29747dfe5e073a299b3681e01f5c55540f8bfed7Mark Andrews finalized the response twice. The fix is to make sure we only send one
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark Andrews EOS, by utilizing a flag in the request_rec.
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark Andrews [Ryan Bloom]
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark Andrews
1372e172d0e0b08996376b782a9041d1e3542489Mark Andrews *) apr_put_os_file() now sets up the unget byte appropriately on Unix
1372e172d0e0b08996376b782a9041d1e3542489Mark Andrews and Win32. Previously, the first read from an apr_file_t set up via
1372e172d0e0b08996376b782a9041d1e3542489Mark Andrews apr_put_os_file() would return a '\0'. [Jeff Trawick]
8d709e3ee443222cd35e44eadc9a4c0a8d92fec2Rob Austein
8d709e3ee443222cd35e44eadc9a4c0a8d92fec2Rob Austein *) Mod_cgid now creates a single element bucket brigade, with a pipe
23235c00eda9089f38ace0a1371fed9a466ea5ddMark Andrews bucket, instead of using BUFF's and ap_r*.
23235c00eda9089f38ace0a1371fed9a466ea5ddMark Andrews [Ryan Bloom]
23235c00eda9089f38ace0a1371fed9a466ea5ddMark Andrews
23235c00eda9089f38ace0a1371fed9a466ea5ddMark Andrews *) APRVARS.in no longer overwrites the EXTRA_LIBS variable.
514aeac2acbbe2b77ff3c4e310617523cf5651c5Mark Andrews [Mike Abbott <mja@sgi.com>]
514aeac2acbbe2b77ff3c4e310617523cf5651c5Mark Andrews
514aeac2acbbe2b77ff3c4e310617523cf5651c5Mark Andrews *) Remove ap_bopenf from buff code. This required modifying the file_cache
514aeac2acbbe2b77ff3c4e310617523cf5651c5Mark Andrews code to use APR file's directly instead of going through BUFFs.
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews [Ryan Bloom]
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews *) Fix compile break on some platforms for mod_mime_magic.c
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews [John K. Sterling <sterling@covalent.net>]
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews *) Fix merging of AddDefaultCharset directive.
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews PR #5872 (1.3) [Jun Kuriyama <kuriyama@imgsrc.co.jp>]
e60f01cdd29c71e9224273214521b15aef4d4555Mark Andrews
e60f01cdd29c71e9224273214521b15aef4d4555Mark Andrews *) Minor revamp of the rlimit sections of code. We now test
e60f01cdd29c71e9224273214521b15aef4d4555Mark Andrews explicitly for setrlimit and getrlimit. Also, unixd_set_rlimit()
13290782cb83ee43c4dc942d186761a46c4a2692Mark Andrews is now "available" even if the platform doesn't support
13290782cb83ee43c4dc942d186761a46c4a2692Mark Andrews the rlimit family (it's just a noop though). [Jim Jagielski]
13290782cb83ee43c4dc942d186761a46c4a2692Mark Andrews
824cb6567555af556d0963d961798483d252eb5fMark Andrews *) Migrate the pre-selection of which MPM to use for specific
895ae38da194143331d667289affd3b43c5bfc14Mark Andrews platforms to hints.m4, which contains (or should contain)
824cb6567555af556d0963d961798483d252eb5fMark Andrews all platform specific "hints". [Jim Jagielski]
bca16e31b457598cd1dbbf0cdc7a26a6d2ec3753Mark Andrews
bca16e31b457598cd1dbbf0cdc7a26a6d2ec3753Mark Andrews *) Remove IOLs from Apache. With filtering, IOLs are no longer necessary
bca16e31b457598cd1dbbf0cdc7a26a6d2ec3753Mark Andrews [Ryan Bloom]
58ea8fb1dfc8c055a7d4ad74d65e345436ede790Mark Andrews
58ea8fb1dfc8c055a7d4ad74d65e345436ede790Mark Andrews *) Add tables with non-string/binary values to APR.
cfcb0881d12db2b7cb33475b7d20ac6c9015203bMark Andrews [Ken Coar]
cfcb0881d12db2b7cb33475b7d20ac6c9015203bMark Andrews
cfcb0881d12db2b7cb33475b7d20ac6c9015203bMark Andrews *) Fix some bad calls to ap_log_rerror() in mod_rewrite.
6769ce7c7b38ae31887203aa1770692b3be92705Tatuya JINMEI 神明達哉 [Jeff Trawick]
1a8efeab76d34327a699894a6a404f97b341c57aMark Andrews
1a8efeab76d34327a699894a6a404f97b341c57aMark Andrews *) Update PCRE to version 3.2. [Ryan Bloom]
f041bef2c60a092ab4dcae475451729a5345830fMark Andrews
f041bef2c60a092ab4dcae475451729a5345830fMark Andrews *) Change the way buckets' destroy functions are called so that
a7dd5f21e996b01262a3d564dae9561cb3f8e717Mark Andrews they can be more directly used when changing the type of a
a7dd5f21e996b01262a3d564dae9561cb3f8e717Mark Andrews bucket in place. [Tony Finch]
92d23165938a5e595f80b2e3fb5d8cb918ac7dacMark Andrews
92d23165938a5e595f80b2e3fb5d8cb918ac7dacMark Andrews *) Add generic support for reference-counting the resources used by
1cbb3a4df30777791ce27a0d2349420808c013d8Mark Andrews buckets, and alter the HEAP and MMAP buckets to use it. Change
1cbb3a4df30777791ce27a0d2349420808c013d8Mark Andrews the way buckets are initialised to support changing the type of
289ae548d52bc8f982d9823af64cafda7bd92232Mark Andrews buckets in place, and use it when setting aside TRANSIENT buckets.
289ae548d52bc8f982d9823af64cafda7bd92232Mark Andrews Change the implementation of TRANSIENT buckets so that it can be
4ccea866e64a8ec8525ad4bf7d57606bcd2fc15dMark Andrews mostly shared with IMMORTAL buckets, which are now implemented.
4ccea866e64a8ec8525ad4bf7d57606bcd2fc15dMark Andrews [Tony Finch]
4cf228853d658a742a826393f341e2486c629f7bMark Andrews
4cf228853d658a742a826393f341e2486c629f7bMark AndrewsChanges with Apache 2.0a6
4cf228853d658a742a826393f341e2486c629f7bMark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Add support to Apache and APR for dsos on OS/390. [Greg Ames]
1672cc63c190e073706a742ebaabc20ac4d2c916Mark Andrews
6805e4e2c46ad3c5a4aa941b5e9a29d34579641eMark Andrews *) Add a chunking filter to Apache. This brings us one step closer
6805e4e2c46ad3c5a4aa941b5e9a29d34579641eMark Andrews to removing BUFF. [Ryan Bloom]
6805e4e2c46ad3c5a4aa941b5e9a29d34579641eMark Andrews
1afb6c548d9bbfcfb00d0799077faa17ad9a4f59Mark Andrews *) ap_add_filter now adds filters in a LIFO fashion. The first filter
1afb6c548d9bbfcfb00d0799077faa17ad9a4f59Mark Andrews added to the stack is the last filter to be called. [Ryan Bloom]
1afb6c548d9bbfcfb00d0799077faa17ad9a4f59Mark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Apache 2.0 has been completely documented using Scandoc. The
5de1ad63735deb0ea86b2d0a9366eddf5fbeddc1Mark Andrews docs can be generated by running 'make docs'. [Ryan Bloom]
92ff69c60001ed270248a6f38bafd2ae12d029beMark Andrews
a1210da03636eca13c70502a2b132ead22481b70Mark Andrews *) Add filtered I/O to Apache. This is based on bucket brigades,
a1210da03636eca13c70502a2b132ead22481b70Mark Andrews Currently the buckets still use BUFF under the covers, but that
ef54920b4c82a0ea41972d1dc21a0dc96fa791fbTatuya JINMEI 神明達哉 should change quickly. The only currently written filter is the
a473029e76dfc68db00505f40065607b4ea1e0f5Mark Andrews core filter which just calls ap_bwrite. [The Apache Group]
a473029e76dfc68db00505f40065607b4ea1e0f5Mark Andrews
a473029e76dfc68db00505f40065607b4ea1e0f5Mark Andrews *) APR locks on Unix: Let APR_LOCKALL locks work when APR isn't
411118a594dbcee68cd6adf5f6bd1b9db0ff9190Mark Andrews built with thread support. [Jeff Trawick]
411118a594dbcee68cd6adf5f6bd1b9db0ff9190Mark Andrews
411118a594dbcee68cd6adf5f6bd1b9db0ff9190Mark Andrews *) Abort configuration if --with-layout was specified and there's
7c0946e74be897d02aaaf980ac146bcb500c2c8cMark Andrews no layout definition file. [Ken Coar]
7c0946e74be897d02aaaf980ac146bcb500c2c8cMark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Add support for '--with-port=n' option to configure. [Ken Coar]
09cbf84907de2bd088b4ce8bd1307938bf0e81baMark Andrews
09cbf84907de2bd088b4ce8bd1307938bf0e81baMark Andrews *) Add support for extension methods for the Allow response header
9e2789fd70b954df426b80301b62388497692481Mark Andrews field, and an API routine for accessing r->allowed and the
9e2789fd70b954df426b80301b62388497692481Mark Andrews list of extension methods in a unified manner. [Ken Coar]
b1163a6fe91e6e7a14e40cd5d33108c4deb38312Mark Andrews
b1163a6fe91e6e7a14e40cd5d33108c4deb38312Mark Andrews *) mod_cern_meta: fix broken file reading loop in scan_meta_file().
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Rob Simonson <simo@us.ibm.com>]
b1163a6fe91e6e7a14e40cd5d33108c4deb38312Mark Andrews
8af4bf165e9a6aa111e0b6bfcbcc7f4a741a8ae5Mark Andrews *) Get xlate builds working again. The apr renaming in 2.0a5 broke
8af4bf165e9a6aa111e0b6bfcbcc7f4a741a8ae5Mark Andrews APACHE_XLATE builds. [Jeff Trawick]
5cf0c559489d741ee5c7943ece47e40567bb0ba9Mark Andrews
5cf0c559489d741ee5c7943ece47e40567bb0ba9Mark Andrews *) A configuration file parsing problem was fixed. When the
5cf0c559489d741ee5c7943ece47e40567bb0ba9Mark Andrews configuration file started with an IfModule/IfDefine container,
fda0a038810529d6e45b17822ddcc61d82964e83Mark Andrews only the last statement in the container would be retained.
fda0a038810529d6e45b17822ddcc61d82964e83Mark Andrews [Jeff Trawick]
fda0a038810529d6e45b17822ddcc61d82964e83Mark Andrews
fda0a038810529d6e45b17822ddcc61d82964e83Mark AndrewsChanges with Apache 2.0a5
fda0a038810529d6e45b17822ddcc61d82964e83Mark Andrews
fda0a038810529d6e45b17822ddcc61d82964e83Mark Andrews *) Perchild is serving pages after passing them to different child
fda0a038810529d6e45b17822ddcc61d82964e83Mark Andrews processes. There are still a lot of bugs, but this does work. I
fda0a038810529d6e45b17822ddcc61d82964e83Mark Andrews have made requests against the same installation of Apache, and had
53d3679913d715cce0dc7e8be04662366eab4842Mark Andrews different servers use different user IDs to serve the responses.
53d3679913d715cce0dc7e8be04662366eab4842Mark Andrews This change moves to using socketpair instead of an AF_UNIX socket.
53d3679913d715cce0dc7e8be04662366eab4842Mark Andrews [Ryan Bloom]
755df9a92a13310eec4b1baeb297c93674a70417Mark Andrews
755df9a92a13310eec4b1baeb297c93674a70417Mark Andrews *) Perchild MPM still doesn't work perfectly, but it is serving pages.
755df9a92a13310eec4b1baeb297c93674a70417Mark Andrews It can't seem to pass between child processes yet, but I think we
e3582ce43119a95448ccc06ea2586f6547c92967Mark Andrews are closer now than before. This moves us back to using Unix
e3582ce43119a95448ccc06ea2586f6547c92967Mark Andrews Domain Sockets. [Ryan Bloom]
2952abf7cbbba6c6f821ee18579ca29d87549574Mark Andrews
2952abf7cbbba6c6f821ee18579ca29d87549574Mark Andrews *) libapr functions and types renamed with apr_ prefix.
efb82ed87e916c82b481bee4aa6651f2dbd4cedaMark Andrews #include "apr_compat.h" for 1.3.x backwards compat
efb82ed87e916c82b481bee4aa6651f2dbd4cedaMark Andrews [Perl]
7c693bfdbe488ca8fa4f0831c71f5809972f6cc7Mark Andrews
7c693bfdbe488ca8fa4f0831c71f5809972f6cc7Mark Andrews *) Fix problems with APR sockaddr handling on Win32. It didn't always
7092864f71e0bbb108041ef01ac3d2b41f90c4a9Mark Andrews return the right information on the local socket address.
7092864f71e0bbb108041ef01ac3d2b41f90c4a9Mark Andrews [Gregory Nicholls <gnicholls@level8.com>]
7092864f71e0bbb108041ef01ac3d2b41f90c4a9Mark Andrews
24ee607afa66e5ba5fa8b2f18c34a5c430b8a3feMark Andrews *) ap_recv() on Win32: Set bytes-read to 0 on error.
24ee607afa66e5ba5fa8b2f18c34a5c430b8a3feMark Andrews [Gregory Nicholls <gnicholls@level8.com>]
24ee607afa66e5ba5fa8b2f18c34a5c430b8a3feMark Andrews
2113dfd6e20a9ca16000ed226517b4660087c1f2Mark Andrews *) Add an option to not detach from the controlling terminal without
2113dfd6e20a9ca16000ed226517b4660087c1f2Mark Andrews going into single process mode. This allows for much easier
2113dfd6e20a9ca16000ed226517b4660087c1f2Mark Andrews debugging of the process startup code. [Ryan Bloom]
2dafa707cc9af9cca66d68c1d2c3af0c768c2900Mark Andrews
2dafa707cc9af9cca66d68c1d2c3af0c768c2900Mark Andrews *) ab: don't use perror() to report the failure of an APR function.
2dafa707cc9af9cca66d68c1d2c3af0c768c2900Mark Andrews [Jeff Trawick]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
2dafa707cc9af9cca66d68c1d2c3af0c768c2900Mark Andrews *) Make dexter, mpmt_pthread, and perchild MPMs not destroy the
2dafa707cc9af9cca66d68c1d2c3af0c768c2900Mark Andrews scoreboard on graceful restarts.
c7817270552b2faab56466b89731b6f290b352a4Mark Andrews [Ryan Bloom]
c7817270552b2faab56466b89731b6f290b352a4Mark Andrews
c7817270552b2faab56466b89731b6f290b352a4Mark Andrews *) Fix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
22e5a52c3b5bfef7e75d95629e08cab7592fee5cMark Andrews An invalid ap_proc_t was passed to ap_create_process().
22e5a52c3b5bfef7e75d95629e08cab7592fee5cMark Andrews [Jeff Trawick]
22e5a52c3b5bfef7e75d95629e08cab7592fee5cMark Andrews
6d453e1bb296e88732655f3d736e571eeaaca254Mark Andrews *) Allow modules to register filters. Those filters are still
240e57ab983296e6d52031a594d3345728191b48Mark Andrews never called, but this is a step in the right direction.
240e57ab983296e6d52031a594d3345728191b48Mark Andrews [Ryan Bloom and Greg Stein]
240e57ab983296e6d52031a594d3345728191b48Mark Andrews
cdb674387ca19dc8550553d90d8f9731befb6f1fMark Andrews *) Register the mod_cgid daemon process for cleanup so that it is
cdb674387ca19dc8550553d90d8f9731befb6f1fMark Andrews killed at termination if it does not die when the parent gets
cdb674387ca19dc8550553d90d8f9731befb6f1fMark Andrews SIGTERM. This change is to fix occasional problems where the
02ced31b6aa999099214d2688b1a80ac5d93c57bMark Andrews process stays around. Bugs in similar logic in mod_rewrite and
02ced31b6aa999099214d2688b1a80ac5d93c57bMark Andrews mod_include were also fixed. [Jeff Trawick]
02ced31b6aa999099214d2688b1a80ac5d93c57bMark Andrews
728156dfbdced7bc18b1f88227cced9d426a70e7Mark Andrews *) Fix a bug in the time handling. Basically, we were imploding a time
728156dfbdced7bc18b1f88227cced9d426a70e7Mark Andrews in ap_parseHTTPdate, but it had bogus data in the exploded time format.
728156dfbdced7bc18b1f88227cced9d426a70e7Mark Andrews Namely, tm_usec and tm_gmtoff were not filled out. ap_implode_time
d4f5efb4d63e2e17081a49a3457f05fe06fbb5abMark Andrews uses those two fields to adjust the time value. Because of the HTTP
d4f5efb4d63e2e17081a49a3457f05fe06fbb5abMark Andrews spec, both of those values can be zero'ed out safely. This fixes
d4f5efb4d63e2e17081a49a3457f05fe06fbb5abMark Andrews the bug correctly. [Ryan Bloom]
e560f615b2592deea69c49bfc74acbb56f4fd913Mark Andrews
e560f615b2592deea69c49bfc74acbb56f4fd913Mark Andrews *) Fix a couple of place in the Windows code where the wrong error
cfaf65f53fb0c1779e7b2e07216e5fbfd3a2d52eMark Andrews code was being returned. [Gregory Nicholls <gnicholls@level8.com>]
cfaf65f53fb0c1779e7b2e07216e5fbfd3a2d52eMark Andrews
cfaf65f53fb0c1779e7b2e07216e5fbfd3a2d52eMark Andrews *) Fix POOL_DEBUG (at least for prefork mpm). [Dean Gaudet]
f07fe5a1ac9d1345eb7a36a0bc38716a03e25f61Mark Andrews
f07fe5a1ac9d1345eb7a36a0bc38716a03e25f61Mark Andrews *) Added the APR_EOL_STR macro for platform dependent differences in
f07fe5a1ac9d1345eb7a36a0bc38716a03e25f61Mark Andrews logfiles and other raw text (such as all APR files). Fixes logfiles
f34249bb28093d6589196cd00ca040f503a65e2bMark Andrews not terminated with cr/lf sequences in Win32. [William Rowe]
dbfc2232ef5b6e5572480070ab87a4d67c18aa39Mark Andrews
ce8cd4a3efd27ef145847216d513bb341bfe208cMark Andrews *) Move all strings functions in APR to src/lib/apr/strings and create
ce8cd4a3efd27ef145847216d513bb341bfe208cMark Andrews apr_strings.h for the prototypes. [Ryan Bloom]
ce8cd4a3efd27ef145847216d513bb341bfe208cMark Andrews
393e4679cf4dd8bafb031d8a61ece95af61fbedcMark Andrews *) APR lock fixes: when using SysV sems, flock(), or fcntl(), be sure
393e4679cf4dd8bafb031d8a61ece95af61fbedcMark Andrews to repeat the syscall until we stop getting EINTR. I noticed a
854dac0f186e5b491d65f6d73dd6e440e7a2c227Mark Andrews related problem at termination (SIGTERM) on FreeBSD when using
854dac0f186e5b491d65f6d73dd6e440e7a2c227Mark Andrews fcntl(). Apache 1.3 had these new loops too. Also, make the flock()
854dac0f186e5b491d65f6d73dd6e440e7a2c227Mark Andrews implementation work properly with child init. Previously, ap_lock()
67b1eee9dfde5ad86b54b2b768ff4d6b1354b651Mark Andrews was essentially a no-op because all children were using different
431fd1b0b5c3c049f9397ed4be8915715ead9cdbMark Andrews locks and thus nobody ever blocked. [Jeff Trawick]
431fd1b0b5c3c049f9397ed4be8915715ead9cdbMark Andrews
cc7d91bd5c6b9be5a3c67a99112b885602c24873Mark Andrews *) The htdocs/ tree has been moved out of the CVS source tree into
cc7d91bd5c6b9be5a3c67a99112b885602c24873Mark Andrews a separate area for easier development. This has NO EFFECT on
39ef7dddef12152afa3a2fc1c1962cdf6d30b5cbMark Andrews end-users or Apache installations. [Ken Coar]
39ef7dddef12152afa3a2fc1c1962cdf6d30b5cbMark Andrews
39ef7dddef12152afa3a2fc1c1962cdf6d30b5cbMark Andrews *) Integrate the mod_dav module for WebDAV protocol handling. This
f22ef4dfb973c4714eedd3818050fde74fb20e48Mark Andrews adds the dav and dav_fs modules, the SDBM library, and additional
f22ef4dfb973c4714eedd3818050fde74fb20e48Mark Andrews XML handling utilities. [Greg Stein]
f22ef4dfb973c4714eedd3818050fde74fb20e48Mark Andrews
3b572928731d3595990fe360c80977a2d043eb02Tatuya JINMEI 神明達哉 *) Clean out obsolete names (from httpd.h) for the HTTP Status Codes
84f5576c149ed0cf18555bcd7cf1ffbe491bb08fMark Andrews [Greg Stein]
50d3f097d4c2779c8fb2397882d91e0cbca2c260Mark Andrews
84f5576c149ed0cf18555bcd7cf1ffbe491bb08fMark Andrews *) Update the lib/expat-lite/ library (bring forward changes from
84f5576c149ed0cf18555bcd7cf1ffbe491bb08fMark Andrews the Apache 1.3 repository). [Greg Stein]
84f5576c149ed0cf18555bcd7cf1ffbe491bb08fMark Andrews
6953fd6e20fddcb6389e642aa872cb7425a95f6dMark Andrews *) If sizeof(long long) == sizeof(long), then prefer long in APR
6953fd6e20fddcb6389e642aa872cb7425a95f6dMark Andrews configure.in. [Dave Hill <ddhill@zk3.dec.com>]
6953fd6e20fddcb6389e642aa872cb7425a95f6dMark Andrews
2b67af24fa02867fbc703e89277400b10d0c8b92Mark Andrews *) Add ap_sendfile for Tru64 Unix. Also, add an error message for
2b67af24fa02867fbc703e89277400b10d0c8b92Mark Andrews machines where sendfile is detected, but nobody has written ap_sendfile.
2b67af24fa02867fbc703e89277400b10d0c8b92Mark Andrews [Dave Hill <ddhill@zk3.dec.com>]
f02b985650a6f1277a3a45f18561d519916c1890Mark Andrews
f02b985650a6f1277a3a45f18561d519916c1890Mark Andrews *) Compile fixes in mod_mmap_static. [Victor J. Orlikowski]
f02b985650a6f1277a3a45f18561d519916c1890Mark Andrews
c870001ae1bff0e38f622c4ed56872c7f1d2d336Mark Andrews *) ab would start up more connections than needed, then quit when the
c870001ae1bff0e38f622c4ed56872c7f1d2d336Mark Andrews desired number were finished. Also fixed a logic error involving
c870001ae1bff0e38f622c4ed56872c7f1d2d336Mark Andrews ab keepalives. [Victor J. Orlikowski]
0b5d8941bb41edbe1296619485c16df536ecc05fMark Andrews
0b5d8941bb41edbe1296619485c16df536ecc05fMark Andrews *) WinNT: Implement non-blocking pipes with timeouts to communicate
bcdf37e0ff7d73310b7bf247d755194a5718ba38Mark Andrews with CGIs. Apache 2.0a4 had non-blocking pipes but without
bcdf37e0ff7d73310b7bf247d755194a5718ba38Mark Andrews timeouts (i.e, if a timeout was specified, the pipe reverted to
bcdf37e0ff7d73310b7bf247d755194a5718ba38Mark Andrews a full blocking pipe). Now the behaviour is more in line with
a34d19803a206febe10866394393ec1c09b28984Mark Andrews Unix non-blocking pipes.
a34d19803a206febe10866394393ec1c09b28984Mark Andrews [Bill Stoddard]
cbef026164ceabccb2e85403434b722d77f7b5eeMark Andrews
cbef026164ceabccb2e85403434b722d77f7b5eeMark Andrews *) WinNT: Implement accept socket reuse. Using mod_file_cache to
cbef026164ceabccb2e85403434b722d77f7b5eeMark Andrews cache open file handles along with accept socket reuse enables
2db8db63992d081c75d664340866e2a21913705dMark Andrews Apache 2.0 to serve non-keepalive requests for static files at
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews 3x the rate of Apache 1.3.(e.g, Apache 1.3 will serve 400 rps
2db8db63992d081c75d664340866e2a21913705dMark Andrews and Apache 2.0 will serve almost 1200 rps on my system).
2db8db63992d081c75d664340866e2a21913705dMark Andrews [Bill Stoddard]
2db8db63992d081c75d664340866e2a21913705dMark Andrews
7076f000ea3487299a9da9318915d042aaba62c5Mark Andrews *) Merge mod_mmap_static function into mod_file_cache. mod_file_cache
7076f000ea3487299a9da9318915d042aaba62c5Mark Andrews supports two config directives, mmapfile (same behavious as
7076f000ea3487299a9da9318915d042aaba62c5Mark Andrews mod_mmap_static) and cachefile. Use the cachefile directive
7076f000ea3487299a9da9318915d042aaba62c5Mark Andrews to cache open file handles. This directive only works on systems
7076f000ea3487299a9da9318915d042aaba62c5Mark Andrews that have implemented the ap_sendfile API. cachefile works today
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews on Windows NT, but has not been tested on any flavors of Unix.
8626c376a038da969de1ee6c158957dfe638daacMark Andrews [Bill Stoddard]
8626c376a038da969de1ee6c158957dfe638daacMark Andrews
c6ee5082db1e40ab64e08a540620da79996efa9cTatuya JINMEI 神明達哉 *) Cleanup the configuration. With the last few changes the
222dcab0a6456c5395545e885f21b5542b7d841dTatuya JINMEI 神明達哉 configuration process automatically:
c6ee5082db1e40ab64e08a540620da79996efa9cTatuya JINMEI 神明達哉 inherits information about how to build from APR. Allowing
f22ef4dfb973c4714eedd3818050fde74fb20e48Mark Andrews APR to inform Apache that it should or should not use -ldl
9a6522317c97e5487cea816173f63a0e5b4e428aTatuya JINMEI 神明達哉
f5a156fa25e6d341e703782de6368fbe9e256ddeTatuya JINMEI 神明達哉 Detects which mod_cgi should be used mod_cgi or mod_cgid,
f22ef4dfb973c4714eedd3818050fde74fb20e48Mark Andrews based on the threading model
78ff0e94eae96f2cf8bf94454d8ff01ba280d30dMark Andrews
5a9efbf6bf951267e0844990f5b2cb69f5d5f01fTatuya JINMEI 神明達哉 Apache calls APR's configure process before finishing it's
08eadd404a59a6befcf51cb13695abee5d03456dMark Andrews configuration processing, allowing for more information flow
08eadd404a59a6befcf51cb13695abee5d03456dMark Andrews between the two.
08eadd404a59a6befcf51cb13695abee5d03456dMark Andrews [Ryan Bloom]
c55dd77de4ce71b858afb291e44577b51be8b780Mark Andrews
c55dd77de4ce71b858afb291e44577b51be8b780Mark Andrews
c55dd77de4ce71b858afb291e44577b51be8b780Mark Andrews *) Change Unix and Win32 ap_setsockopt() so that APR_SO_NONBLOCK
eca38a9d43391482bfa22e2eb7b86e19be8bf461Mark Andrews with non-zero argument makes the socket non-blocking. BeOS and
eca38a9d43391482bfa22e2eb7b86e19be8bf461Mark Andrews OS/2 already worked this way. [Jeff Trawick]
eca38a9d43391482bfa22e2eb7b86e19be8bf461Mark Andrews
d79296d147cd4c35784dd3efd7ed7f09d976ee61Mark Andrews *) ap_close() now calls ap_flush() for buffered files, so write
d79296d147cd4c35784dd3efd7ed7f09d976ee61Mark Andrews operations work a whole lot better on buffered files.
4f5a43c5f084290054ddf212add7b4c2abe6edc5Tatuya JINMEI 神明達哉 [Jeff Trawick]
9a482d1fcead22ab0d639c463c77672846485f3eMark Andrews
46390a96dd5f15c9a0b3663bdb7791bdecec3052Mark Andrews *) Fix error messages issued from MPMs which explain where to change
9a482d1fcead22ab0d639c463c77672846485f3eMark Andrews compiled-in limits (e.g., ThreadsPerChild, MaxClients, StartTreads).
9a482d1fcead22ab0d639c463c77672846485f3eMark Andrews [Greg Ames]
9a482d1fcead22ab0d639c463c77672846485f3eMark Andrews
9a482d1fcead22ab0d639c463c77672846485f3eMark Andrews *) ap_create_pipe() now leaves pipes in blocking state. (This helps
9a482d1fcead22ab0d639c463c77672846485f3eMark Andrews reduce the number of syscalls on Unix.) ap_set_pipe_timeout() is
d48f9877255f41b6074777da0639b6bc2bfad388Mark Andrews now the way that the blocking state of a pipe is manipulated.
d48f9877255f41b6074777da0639b6bc2bfad388Mark Andrews ap_block_pipe() is gone. [Jeff Trawick]
d48f9877255f41b6074777da0639b6bc2bfad388Mark Andrews
d48f9877255f41b6074777da0639b6bc2bfad388Mark Andrews *) Correct the problem where the only local host name that the IP stack
5d51f534831bd648436d22e4faf203fb9abdf3d4Mark Andrews can discover are 'undotted' private names. If no fully qualified
5d51f534831bd648436d22e4faf203fb9abdf3d4Mark Andrews domain name can be identified, the default ServerName will be set to
5d51f534831bd648436d22e4faf203fb9abdf3d4Mark Andrews the machine's IP address string. A warning is always provided if the
a45a6ea2b03448751d7c44931e8ac7666e7cc2ceMark Andrews ServerName not specified, but assumed. Solves PR6215 [William Rowe]
a45a6ea2b03448751d7c44931e8ac7666e7cc2ceMark Andrews
a45a6ea2b03448751d7c44931e8ac7666e7cc2ceMark Andrews *) Repair problems with config file processing which caused segfault
a45a6ea2b03448751d7c44931e8ac7666e7cc2ceMark Andrews at init when virtual hosts were defined and which caused ServerName to
15bda409010cbf2d3e43baf10f28bae5f7b1abefMark Andrews be ignored when there was no valid DNS setup. [Jeff Trawick]
15bda409010cbf2d3e43baf10f28bae5f7b1abefMark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Removed pointless ap_is_aborted macro function. [Roy Fielding]
b5205d860b1672c405c57004e6823af873799b42Mark Andrews
b5205d860b1672c405c57004e6823af873799b42Mark Andrews *) Add ap_sendfile implementation for AIX
9a1e8f1baf3e5c53d6b6bfa97d7f60cb3358e404Mark Andrews [Victor J. Orlikowski]
9a1e8f1baf3e5c53d6b6bfa97d7f60cb3358e404Mark Andrews
c79e85f7d77317a9b5c34b4bb94eaf1779fc0b6eMark Andrews *) Repair C++ compatibility in ap_config.h, apr_file_io.h,
c79e85f7d77317a9b5c34b4bb94eaf1779fc0b6eMark Andrews apr_network_io.h, and apr_thread_proc.h.
c79e85f7d77317a9b5c34b4bb94eaf1779fc0b6eMark Andrews [Tyler J. Brooks <tylerjbrooks@home.com>, Jeff Trawick]
12b1bf8b14ac3b6ec4de9cae6fea10f389b5e5dbMark Andrews
12b1bf8b14ac3b6ec4de9cae6fea10f389b5e5dbMark Andrews *) Bring the allocation and pool debugging code back into a working
12b1bf8b14ac3b6ec4de9cae6fea10f389b5e5dbMark Andrews state. This will need to be tested as so far it's only been used on
e22bd3c4bc0de0b96531fab5c2c944251e02e975Mark Andrews BeOS. [David Reid]
e22bd3c4bc0de0b96531fab5c2c944251e02e975Mark Andrews
e22bd3c4bc0de0b96531fab5c2c944251e02e975Mark Andrews *) Change configuration command setup to be properly typesafe when in
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews maintainer mode. Note that this requires a compiler that can initialise
529035492ea0a427cc8d007cd743934d4494d9d3Mark Andrews unions. [Ben Laurie]
529035492ea0a427cc8d007cd743934d4494d9d3Mark Andrews
ff6bd86d5778de50cb1b4e93591e22354062ee17Mark Andrews *) Turn on buffering for config file reads. Part of this was to
11e43ff752bab2983d9328b6624bbcef613a93e1Mark Andrews repair buffered I/O support in Unix and implement buffered
444bbadb54d4a676aa4b20685d3178d7988534b3Mark Andrews ap_fgets() for all platforms. [Brian Havard, Jeff Trawick]
444bbadb54d4a676aa4b20685d3178d7988534b3Mark Andrews
444bbadb54d4a676aa4b20685d3178d7988534b3Mark Andrews *) Win32: Fix problem where UTC offset was not being set correctly
cd6d8d61b076eea02826596334a105b918393627Mark Andrews in the access log. Problem reported on news group by Jerry Baker.
cd6d8d61b076eea02826596334a105b918393627Mark Andrews [Bill Stoddard]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
f04809663f4ba3df0e2ef1247d67bdd6ce0157d6Mark Andrews *) Fix segfault when reporting this type of syntax error:
f04809663f4ba3df0e2ef1247d67bdd6ce0157d6Mark Andrews "</container> without matching <container> section", where
7d7f929274e48808b4771162d6302a99e69865d8Mark Andrews container is VirtualHost or Directory or whatever.
7d7f929274e48808b4771162d6302a99e69865d8Mark Andrews [Jeff Trawick]
7d7f929274e48808b4771162d6302a99e69865d8Mark Andrews
21b76ee598c937c6736cbc7ab69684bb3332428aMark Andrews *) Prevent the source code for CGIs from being revealed when using
21b76ee598c937c6736cbc7ab69684bb3332428aMark Andrews mod_vhost_alias and the CGI directory is under the document root
21b76ee598c937c6736cbc7ab69684bb3332428aMark Andrews and a user makes a request like http://www.example.com//cgi-bin/cgi
21b76ee598c937c6736cbc7ab69684bb3332428aMark Andrews as reported in <news:960999105.344321@ernani.logica.co.uk>
21b76ee598c937c6736cbc7ab69684bb3332428aMark Andrews [Tony Finch]
5c45d30402af6860e1f66f5aa7d78dff58373b27Mark Andrews
5c45d30402af6860e1f66f5aa7d78dff58373b27Mark Andrews *) Add support for the new Beos NetwOrking Environment (BONE)
b66ca17f2990433a3e277b50cc3c15f19cdd0771Mark Andrews [David Reid]
b66ca17f2990433a3e277b50cc3c15f19cdd0771Mark Andrews
b66ca17f2990433a3e277b50cc3c15f19cdd0771Mark Andrews *) xlate: ap_xlate_conv_buffer() now tells the caller when the
dc1f18f211a91735faf2771acc8438f0fbc70d4bMark Andrews final input char is incomplete; ap_bwrite_xlate() now handles
dc1f18f211a91735faf2771acc8438f0fbc70d4bMark Andrews incomplete final input chars. [Jeff Trawick]
dc1f18f211a91735faf2771acc8438f0fbc70d4bMark Andrews
dc1f18f211a91735faf2771acc8438f0fbc70d4bMark Andrews *) Yet another update to saferead/halfduplex stuff -- need to ensure
7b68fa6229f1edadac44c7ec459c9ed77a8368c8Mark Andrews that a bhalfduplex call occurs before logging or else DNS and
82ecc9cd96239649dfeb0a16e31c3b978d0d266aMark Andrews such can delay the last packet of the response. [Dean Gaudet]
82ecc9cd96239649dfeb0a16e31c3b978d0d266aMark Andrews
82ecc9cd96239649dfeb0a16e31c3b978d0d266aMark Andrews *) Some syscall reduction in APR on unix -- don't seek when setting
82ecc9cd96239649dfeb0a16e31c3b978d0d266aMark Andrews up an mmap; and don't fcntl() more than once per socket.
6412902ffc0d255657f54db768f30b6efa819143Mark Andrews [Dean Gaudet]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
6412902ffc0d255657f54db768f30b6efa819143Mark Andrews *) When mod_cgid is started as root, the cgi daemon now switches
6412902ffc0d255657f54db768f30b6efa819143Mark Andrews to the configured User/Group (like other httpd processes)
6412902ffc0d255657f54db768f30b6efa819143Mark Andrews instead of continuing as root. [Jeff Trawick]
6412902ffc0d255657f54db768f30b6efa819143Mark Andrews
0d8971a4b8abed599ec9d9b7d1b51b8de8038ce2Shane Kerr *) The prefork MPM now uses an APR lock for the accept() mutex.
0d8971a4b8abed599ec9d9b7d1b51b8de8038ce2Shane Kerr It has not been getting a lock at all recently. httpd -V now
0d8971a4b8abed599ec9d9b7d1b51b8de8038ce2Shane Kerr displays APR's selection of the lock mechanism instead of the
a8f950ff05e2e81d425a3411268cdf21f8f26b16Mark Andrews symbols previously respected by prefork. [Jeff Trawick]
a8f950ff05e2e81d425a3411268cdf21f8f26b16Mark Andrews
a8f950ff05e2e81d425a3411268cdf21f8f26b16Mark Andrews *) Change the mmap() feature test to check only for existence.
bc1467288a25b48446d3229fef0a19fad0cb6f2fMark Andrews The previous check required features not used by Apache.
bc1467288a25b48446d3229fef0a19fad0cb6f2fMark Andrews [Greg Ames]
bc1467288a25b48446d3229fef0a19fad0cb6f2fMark Andrews
6ed53e5949d9fcd9715b440015b56e5a896d63dfDavid Hankins *) Fix a couple of bugs in mod_cgid: The cgi arguments were
6ed53e5949d9fcd9715b440015b56e5a896d63dfDavid Hankins sometimes mangled. The len parm to accept() was not
6ed53e5949d9fcd9715b440015b56e5a896d63dfDavid Hankins initialized, leading sometimes to an endless loop of failed
6ed53e5949d9fcd9715b440015b56e5a896d63dfDavid Hankins accept() calls on OS/390 and anywhere else that failed the call
f19353d73186913a6e0f0f766c1f72e5f4c5e9e1Tatuya JINMEI 神明達哉 if the len was negative. Use <sys/un.h> for struct sockaddr_un
f19353d73186913a6e0f0f766c1f72e5f4c5e9e1Tatuya JINMEI 神明達哉 instead of declaring it ourselves to fix a compilation problem
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews on Solaris. [Jeff Trawick]
84910d09ee8244027c7031e03999bc60a3d63adbMark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Add Resource limiting code back into Apache 2.0. [Ryan Bloom]
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews *) Fix zombie process problem with mod_cgi. [Jeff Trawick]
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews *) Port mod_mmap_static to 2.0. Make it go faster. [Greg Ames]
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews *) Fix storage overlay when loading dsos. Symptom: Apache dies at
cfe92110ce4eaf19f7f3255d2961710879bdc9ddMark Andrews initialization if ALLOC_DEBUG is defined; no known symptom
cfe92110ce4eaf19f7f3255d2961710879bdc9ddMark Andrews otherwise. [Jeff Trawick]
cfe92110ce4eaf19f7f3255d2961710879bdc9ddMark Andrews
cfe92110ce4eaf19f7f3255d2961710879bdc9ddMark Andrews *) Fix typo in configure script when checking for mod_so. bash
fe6f384b2efde528dabbf822634eedc020be67e0Mark Andrews doesn't seem to have a problem but /bin/sh on Solaris does.
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews Symptom: "./configure: test: unknown operator =="
fe6f384b2efde528dabbf822634eedc020be67e0Mark Andrews [Jeff Trawick]
fe6f384b2efde528dabbf822634eedc020be67e0Mark Andrews
fe6f384b2efde528dabbf822634eedc020be67e0Mark Andrews *) Rebind the Win32 NT and 9x services control into the MPM.
fe6f384b2efde528dabbf822634eedc020be67e0Mark Andrews All console, WinNT SCM and Win9x pseudo-service control code is
fe6f384b2efde528dabbf822634eedc020be67e0Mark Andrews now wrapped within the WinNT MPM.
fe6f384b2efde528dabbf822634eedc020be67e0Mark Andrews [William Rowe]
fe6f384b2efde528dabbf822634eedc020be67e0Mark Andrews
fe6f384b2efde528dabbf822634eedc020be67e0Mark Andrews *) Make a copy of getenv("PATH") before storing for later use. Some
fe6f384b2efde528dabbf822634eedc020be67e0Mark Andrews getenv() implementations use the same storage for successive calls.
5929cde251d6d971fda14ac9ea927035421f6480Mark Andrews CGIs on OS/390 had a bad PATH due to this. [Jeff Trawick]
5929cde251d6d971fda14ac9ea927035421f6480Mark Andrews
5929cde251d6d971fda14ac9ea927035421f6480Mark Andrews *) Server Tokens work in 2.0 again. This also propogates the change
5929cde251d6d971fda14ac9ea927035421f6480Mark Andrews to allow just the product name in the server string using
1412643ba5bcc735c3731d8cebf71fd76eedec91Mark Andrews PRODUCT_ONLY.
1412643ba5bcc735c3731d8cebf71fd76eedec91Mark Andrews [Ryan Bloom]
1412643ba5bcc735c3731d8cebf71fd76eedec91Mark Andrews
1412643ba5bcc735c3731d8cebf71fd76eedec91Mark AndrewsChanges with Apache 2.0a4
6de9371826bd253eb29aa3965ef03670d9d0a06dMark Andrews
6de9371826bd253eb29aa3965ef03670d9d0a06dMark Andrews *) EBCDIC: Rearrange calls to ap_checkconv() so that most handlers
6de9371826bd253eb29aa3965ef03670d9d0a06dMark Andrews won't need to call it. [Greg Ames, Jeff Trawick]
6de9371826bd253eb29aa3965ef03670d9d0a06dMark Andrews
6de9371826bd253eb29aa3965ef03670d9d0a06dMark Andrews *) Move pre_config hook call to between configuration read and config
daba3af103617ce4dd49bfdd0d9e07df7f22d08dMark Andrews tree walk. This allows all modules to implement pre_config hooks
daba3af103617ce4dd49bfdd0d9e07df7f22d08dMark Andrews and know that they will be called at an appropriate time.
59d84d1b077678cb77f6cbcc53d8cfa60ff69cb7Mark Andrews [Ryan Bloom]
59d84d1b077678cb77f6cbcc53d8cfa60ff69cb7Mark Andrews
59d84d1b077678cb77f6cbcc53d8cfa60ff69cb7Mark Andrews *) mod_cgi, mod_cgid: Make ScriptLog directive work again.
59d84d1b077678cb77f6cbcc53d8cfa60ff69cb7Mark Andrews [Jeff Trawick]
ac124a78a097a0840992c5726cbbdaf1448b6ab3Mark Andrews
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews *) Add pre-config hooks back to all modules.
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews [Ryan Bloom]
b6d199bd6a505d84093874339056d9df4d21dfbcMark Andrews
b6d199bd6a505d84093874339056d9df4d21dfbcMark Andrews *) Fix a SIGSEGV in ap_md5digest(), which is used when you have
b6d199bd6a505d84093874339056d9df4d21dfbcMark Andrews ContentDigest enabled and we can't/don't mmap the file.
b6d199bd6a505d84093874339056d9df4d21dfbcMark Andrews [Jeff Trawick]
1d7b3b6dac1a0c6c586808c2add2ca2bef80512fMark Andrews
1d7b3b6dac1a0c6c586808c2add2ca2bef80512fMark Andrews *) We now report the correct line number for syntax errors in config
1d7b3b6dac1a0c6c586808c2add2ca2bef80512fMark Andrews files. [Ryan Bloom, Greg Stein, Jeff Trawick]
1d7b3b6dac1a0c6c586808c2add2ca2bef80512fMark Andrews
f27eae9cfeb5b6c3c38ead6a7a0b1dd36bba691dMark Andrews *) Brought mod_auth_digest up to synch with 1.3, fixed ap_time_t-
f27eae9cfeb5b6c3c38ead6a7a0b1dd36bba691dMark Andrews related bugs, and changed shmem/locking to use apr API. Shared-mem
f27eae9cfeb5b6c3c38ead6a7a0b1dd36bba691dMark Andrews is currently disabled, however, because of problems with graceful
9a8cec4995c1586d27e95f13d421e4de61a97eb5Mark Andrews restarts. [Ronald Tschal�r]
9a8cec4995c1586d27e95f13d421e4de61a97eb5Mark Andrews
9a8cec4995c1586d27e95f13d421e4de61a97eb5Mark Andrews *) Fix corruption of IFS variable in --with-module= handling.
25c18fded02c5df8391a333e90ea776b52bff079Mark Andrews Depending on the user's shell or customization thereof, there
25c18fded02c5df8391a333e90ea776b52bff079Mark Andrews would be errors generating ap_config_auto.h later in the configure
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews procedure. [Jeff Trawick]
7042126e8a10315255144989f7723f0510558928Mark Andrews
7042126e8a10315255144989f7723f0510558928Mark Andrews *) mod_cgi: Restore logging of stderr from child process when ScriptLog
7042126e8a10315255144989f7723f0510558928Mark Andrews isn't used (as in 1.3), except that on Unix it is now logged via
5581e28ed8c05350ce6119230c223da60dafdbafMark Andrews ap_log_rerror() instead of by the child having STDERR_FILENO refer
2c4ae1d331c98beba03a337a58e9b44aec98d663Mark Andrews to the error log. [Greg Ames, Jeff Trawick]
2c4ae1d331c98beba03a337a58e9b44aec98d663Mark Andrews
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrews *) Add '-D' argument processing for run time configuration defines.
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews [William Rowe]
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrews
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrews *) Organize http_main.c as independent code, such that no code or
c4008fdd56a8045802ed125e40a06bf1df9b7fbeMark Andrews global data is exported from it. WIN32 will dynamically link it
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews to the server core, so this will prevent mutual dependency.
c4008fdd56a8045802ed125e40a06bf1df9b7fbeMark Andrews [William Rowe]
c4008fdd56a8045802ed125e40a06bf1df9b7fbeMark Andrews
4f54d095945d6f60f146112d37d31815ad73eb02Mark Andrews *) Add separate dynamic linkage tags APR_EXPORT(), APR_EXPORT_NONSTD()
4f54d095945d6f60f146112d37d31815ad73eb02Mark Andrews and APR_VAR_EXPORT to correctly resolve apr functions and globals.
4f54d095945d6f60f146112d37d31815ad73eb02Mark Andrews [William Rowe]
472ce617b7c19ae38dfaa2fc9e8699e3bf9be4a8Mark Andrews
472ce617b7c19ae38dfaa2fc9e8699e3bf9be4a8Mark Andrews *) Add Win9x service execution and Ctrl+C/Ctrl+Break/Shutdown handlers.
472ce617b7c19ae38dfaa2fc9e8699e3bf9be4a8Mark Andrews [William Rowe, Jan Just Keijser <KEIJSERJJ@logica.com>]
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews *) Add mod_charset_lite for configuring character set translation.
d00e58d4814b45c13434721b5771782e485dcb73Mark Andrews [Jeff Trawick]
d00e58d4814b45c13434721b5771782e485dcb73Mark Andrews
f3a8cd3835463b47a8e3dc84cd8e7a02bcd7fee8Mark Andrews *) Add '-n' option to htpasswd to make it print its user:pw record
f3a8cd3835463b47a8e3dc84cd8e7a02bcd7fee8Mark Andrews on stdout rather than having to frob a text file. [Ken Coar]
f3a8cd3835463b47a8e3dc84cd8e7a02bcd7fee8Mark Andrews
f3a8cd3835463b47a8e3dc84cd8e7a02bcd7fee8Mark Andrews *) Fix saferead. Basically, we flush the output buffer if a read on the
f3a8cd3835463b47a8e3dc84cd8e7a02bcd7fee8Mark Andrews input will block.
f3a8cd3835463b47a8e3dc84cd8e7a02bcd7fee8Mark Andrews [Ryan Bloom]
f3a8cd3835463b47a8e3dc84cd8e7a02bcd7fee8Mark Andrews
f3a8cd3835463b47a8e3dc84cd8e7a02bcd7fee8Mark Andrews *) APR: Add ap_xlate_get_sb() so that an app can find out whether or not
f3a8cd3835463b47a8e3dc84cd8e7a02bcd7fee8Mark Andrews a conversion is single-byte only. [Jeff Trawick]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
f3a8cd3835463b47a8e3dc84cd8e7a02bcd7fee8Mark Andrews *) BEOS: ap_shutdown should return APR_SUCCESS or errno. Note that
3e9ab6efd14ad716e6815718207dac2bdef3fddfMark Andrews the BeOS 5.0 documentation says that shutdown doesn't work yet.
3e9ab6efd14ad716e6815718207dac2bdef3fddfMark Andrews [Roy Fielding]
3e9ab6efd14ad716e6815718207dac2bdef3fddfMark Andrews
6e373c502584f9292e964378411d296c8259026bMark Andrews *) Fix some minor errors where pid was being manipulated as an int
6e373c502584f9292e964378411d296c8259026bMark Andrews instead of the portable pid_t. [Roy Fielding]
6e373c502584f9292e964378411d296c8259026bMark Andrews
3bf783a6d4627266d76b0ebdc05afdccb3d06ad0Mark Andrews *) Fix some error log prints that were printing the pointer to a
3bf783a6d4627266d76b0ebdc05afdccb3d06ad0Mark Andrews structure rather than the pid within the structure.
3bf783a6d4627266d76b0ebdc05afdccb3d06ad0Mark Andrews [Jeff Trawick, Roy Fielding]
3bf783a6d4627266d76b0ebdc05afdccb3d06ad0Mark Andrews
a37e44f107f5f60d7e84de77eb33b13139bca03fMark Andrews *) ab: Fix a command-line processing bug; track bad headers in
a37e44f107f5f60d7e84de77eb33b13139bca03fMark Andrews err_response; support reading headers up to 2K.
a37e44f107f5f60d7e84de77eb33b13139bca03fMark Andrews [Ask Bjoern Hansen <ask@valueclick.com>]
2a35dc09d6c14f4041116766c0f7b60f41be0c9eMark Andrews
2a35dc09d6c14f4041116766c0f7b60f41be0c9eMark Andrews *) Fix ap_resolve_env() so that it handles new function added in a prior
2a35dc09d6c14f4041116766c0f7b60f41be0c9eMark Andrews alpha (see "Added the capability to do ${ENVVAR} constructs in the
d53520b78d4a8726396efdbaa71f86f687a6f308Mark Andrews config file.") as well as the constructs used by mod_rewrite.
d53520b78d4a8726396efdbaa71f86f687a6f308Mark Andrews [Paul Reder <rederpj@raleigh.ibm.com>]
d53520b78d4a8726396efdbaa71f86f687a6f308Mark Andrews
43501e6570e9081d459fb5c1a81b73c2c53c5df0Mark Andrews *) Apache 2.0 builds and runs on OS/390. [Jeff Trawick, Greg Ames]
43501e6570e9081d459fb5c1a81b73c2c53c5df0Mark Andrews
43501e6570e9081d459fb5c1a81b73c2c53c5df0Mark Andrews *) Change the EBCDIC support in functions for MD5, SHA1, and base 64 to use
c2b2bd69faabd83143ffb30a132a2f20ebd9abdaMark Andrews APR to perform translation, instead of accessing the hard-coded tables
c2b2bd69faabd83143ffb30a132a2f20ebd9abdaMark Andrews in 1.3's ebcdic.c. [Jeff Trawick]
d140ae28347065500e7efb1ebe884f1606f9ac7bMark Andrews
d140ae28347065500e7efb1ebe884f1606f9ac7bMark Andrews *) Fix some bugs (mostly lost 1.3 code) in ab's command-line processing.
d3bcf7adca7fc4a019364b0195818673448072f7Mark Andrews [Jeff Trawick]
d3bcf7adca7fc4a019364b0195818673448072f7Mark Andrews
d3bcf7adca7fc4a019364b0195818673448072f7Mark Andrews *) Add the ability to hook into the config file reading phase. Basically
cf029c9369548e598379490a039cfbc2b83527eeMark Andrews if a directive is specified EXEC_ON_READ, then when that directive is
7b52c2ad3c9ca65712e962ddc803e34641f2bc07Mark Andrews read from the config file, the assocaited function is executed. This
cf029c9369548e598379490a039cfbc2b83527eeMark Andrews should only be used for those directives that must muck with HOW the
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews server INTERPRETS the config. This should not be used for directives
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews that re-order or replace items in the config tree. Those changes should
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews be made in the pre-config step.
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews [Ryan Bloom]
c9eaf357a31ea5eaeeed24f2f4e800a6ef9512e0Mark Andrews
c9eaf357a31ea5eaeeed24f2f4e800a6ef9512e0Mark Andrews *) Add mod_example to the build system.
3fc7753efdc33559978ce61785961b1305944077Mark Andrews [Tony Finch]
82ecc9cd96239649dfeb0a16e31c3b978d0d266aMark Andrews
3fc7753efdc33559978ce61785961b1305944077Mark Andrews *) APR: Add ap_xlate_conv_byte() to convert one char between single-
219a8f14a864aca47c340729dfff008a5050dd26Mark Andrews byte character sets. [Jeff Trawick]
219a8f14a864aca47c340729dfff008a5050dd26Mark Andrews
219a8f14a864aca47c340729dfff008a5050dd26Mark Andrews *) Pick up various EBCDIC fixes from 1.3 (from Martin
d14e4f3a9916f2159de4c5995006195072e05085Mark Andrews Kraemer and Oliver Reh originally according to the change log).
d14e4f3a9916f2159de4c5995006195072e05085Mark Andrews [Jeff Trawick]
d14e4f3a9916f2159de4c5995006195072e05085Mark Andrews
fde1a334ee0d437ccbada347ff09e8ea0eaff221Mark Andrews *) Fix a couple of problems in RFC1413 support (controlled by the
fde1a334ee0d437ccbada347ff09e8ea0eaff221Mark Andrews IdentityCheck directive). Apache did not build the request string
8549bc9b78d7664ac99436d36a1ce615f772378aMark Andrews properly and more importantly Apache would loop forever if the
8549bc9b78d7664ac99436d36a1ce615f772378aMark Andrews would-be ident server dropped the connection before sending a
a957b9ccdccf519018e06213a27e1b70b8dc4640Mark Andrews properly terminated response. [Jeff Trawick]
4ff0e3c8afbbbc30473701c47d75e1d7829bae3eMark Andrews
4ff0e3c8afbbbc30473701c47d75e1d7829bae3eMark Andrews *) apxs works in 2.0.
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed [Ryan Bloom]
9a33e2d135b0de7d2e2d768f2b9c45b2627fe4e6Mark Andrews
9a33e2d135b0de7d2e2d768f2b9c45b2627fe4e6Mark Andrews *) Reliable piped logs work in 2.0.
7b52c2ad3c9ca65712e962ddc803e34641f2bc07Mark Andrews [Ryan Bloom]
dc6da18ccbb808d21f123cc6bda399b44ad11445Mark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Introduce a hash table implementation into APR to be used for
94b58e01ae98764a045e18581d7aaf05d2889e60Mark Andrews replacing tables and other random data structures in Apache.
94b58e01ae98764a045e18581d7aaf05d2889e60Mark Andrews [Tony Finch]
a687a0592bbe3a582860eb5f03725bf80d7ac1d8Mark Andrews
a687a0592bbe3a582860eb5f03725bf80d7ac1d8Mark Andrews *) Add some more error reporting to htpasswd in the case of problems
a687a0592bbe3a582860eb5f03725bf80d7ac1d8Mark Andrews generating or accessing the temporary file. Also, pass in a
a295fbb55cfed38bcf2853c60410cce52ab6cebbMark Andrews buffer if the implementation knows how to use it (i.e., if L_tmpnam
a295fbb55cfed38bcf2853c60410cce52ab6cebbMark Andrews is defined). [Ken Coar]
a295fbb55cfed38bcf2853c60410cce52ab6cebbMark Andrews
6eb8591f005f3e270d9ffb23769753952d0ec286Mark Andrews *) Configure creates config.nice now containing your configure
6eb8591f005f3e270d9ffb23769753952d0ec286Mark Andrews options. Syntax: ./config.nice [--more-options]
6eb8591f005f3e270d9ffb23769753952d0ec286Mark Andrews [Sascha Schumann]
a1bc94109313bf4ebb6e6ff655d71d45582d2e43Mark Andrews
a1bc94109313bf4ebb6e6ff655d71d45582d2e43Mark Andrews *) Fix various return code problems in APR on Win32. For most of
a1bc94109313bf4ebb6e6ff655d71d45582d2e43Mark Andrews these, APR was returning APR_EEXIST instead of GetLastError()/
a1bc94109313bf4ebb6e6ff655d71d45582d2e43Mark Andrews WSAGetLastError(). [Jeff Trawick]
d9c4f954a1ddf7fcd5bf86bb7bbc12f669f81507Mark Andrews
d9c4f954a1ddf7fcd5bf86bb7bbc12f669f81507Mark Andrews *) Make piped logs work again in version 2.0
d9c4f954a1ddf7fcd5bf86bb7bbc12f669f81507Mark Andrews [Ryan Bloom]
6657a9e2d8c039be0bec367cae59a91d77ccaad4Mark Andrews
6657a9e2d8c039be0bec367cae59a91d77ccaad4Mark Andrews *) Add VPATH support to UNIX build system of Apache and APR.
6657a9e2d8c039be0bec367cae59a91d77ccaad4Mark Andrews [Sascha Schumann]
118394ef2ec7cef253c55359a3d70d202ddc2fa0Mark Andrews
118394ef2ec7cef253c55359a3d70d202ddc2fa0Mark Andrews *) Fix ap_tokenize_to_argv to respect the const arguments that are
118394ef2ec7cef253c55359a3d70d202ddc2fa0Mark Andrews passed to it.
118394ef2ec7cef253c55359a3d70d202ddc2fa0Mark Andrews [Ryan Bloom]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
6178552326050b16f5706ee63c931e9388d74318Mark Andrews *) Fix mm's memcpy/memset macros, pointer arithmetic was broken.
69836f45cff130ab11a1f5a662e8bf8aaf390de2Mark Andrews Patch submitted to author.
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews [Sascha Schumann]
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews *) Fix mm configuration on Solaris 8 x86 and OS/390. Don't require
69836f45cff130ab11a1f5a662e8bf8aaf390de2Mark Andrews /sbin in PATH on FreeBSD (all submitted to rse previously)
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews [Jeff Trawick]
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews *) Fix building Pthread-based MPMs on OpenBSD
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews [Sascha Schumann] PR#26
f8f65e2de40b1e9874b88f392f3abeb057ce6172Mark Andrews
f8f65e2de40b1e9874b88f392f3abeb057ce6172Mark Andrews *) Fix ap_readdir() problem on systems where d_name[] field in
f8f65e2de40b1e9874b88f392f3abeb057ce6172Mark Andrews struct dirent is declared with only one byte. (This problem only
05d32f6b0f6590ca22136b753309f070ce769000Mark Andrews affected multithreaded builds.) This caused a segfault during
05d32f6b0f6590ca22136b753309f070ce769000Mark Andrews pool cleanup with mod_autoindex on Solaris (Solaris 8 x86, at
05d32f6b0f6590ca22136b753309f070ce769000Mark Andrews least). [Jeff Trawick]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
2b66a51a7d72e9cc07917fb583ad528b0539d2a3Mark Andrews *) Fix some make-portability problems on at least Tru64, Irix
2b66a51a7d72e9cc07917fb583ad528b0539d2a3Mark Andrews and UnixWare.
2b66a51a7d72e9cc07917fb583ad528b0539d2a3Mark Andrews [Sascha Schumann] PR#18, PR#39
2b66a51a7d72e9cc07917fb583ad528b0539d2a3Mark Andrews
e9733bc599f30033ffe7af69f5fca254fb59d46eMark Andrews *) Add ap_sigwait() to support old-style sigwait() on systems
e9733bc599f30033ffe7af69f5fca254fb59d46eMark Andrews like OS/390 and UnixWare.
332ed11af0e9837421160ab67619e025520a73f4Mark Andrews [Sascha Schumann]
332ed11af0e9837421160ab67619e025520a73f4Mark Andrews
332ed11af0e9837421160ab67619e025520a73f4Mark Andrews *) Add POSIX-thread flags for more platforms.
332ed11af0e9837421160ab67619e025520a73f4Mark Andrews [Sascha Schumann]
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrews
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrews *) Fix some minor bugs in ap_strerror(). Teach ap_strerror()
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrews (on Unix, at least) to handle resolver errors. Fix a bug in
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrews the definition of APR_ENOMEM so that ap_strerror() can spit
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrews out the correct error message for it.
1c91b0a6516319d81670da2325e2bd08a7703707Mark Andrews [Jeff Trawick]
1c91b0a6516319d81670da2325e2bd08a7703707Mark Andrews
1c91b0a6516319d81670da2325e2bd08a7703707Mark AndrewsChanges with Apache 2.0a3
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
95b484c9580d06eb2f9735a22e9841389c2859baMark Andrews *) mod_so reports ap_os_dso_error() if ap_dso_load() fails
2a90390deeff6ba07125bfb2c81ab4b582eb2777Mark Andrews [Doug MacEachern]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
be2c2c29a88db96bd51f11d671ec207f0b6b0d45Mark Andrews *) API: *HOOK* macros now have an AP_ prefix
be2c2c29a88db96bd51f11d671ec207f0b6b0d45Mark Andrews [Doug MacEachern]
be2c2c29a88db96bd51f11d671ec207f0b6b0d45Mark Andrews
01db0feafa67200a07ff8f81dde9029f675bbb5cMark Andrews *) Win32: Eliminate redundant calls to initialize winsock.
503ab4e136b843ef431f904709698231f1bc39e3Mark Andrews [Tim Costello <timcostello@ozemail.com.au>]
503ab4e136b843ef431f904709698231f1bc39e3Mark Andrews
cf224bbf7bab87bc28b12f5b30f5ca3f3e5bf604Mark Andrews *) Fix bugs initializing ungetchar for pipes.
cf224bbf7bab87bc28b12f5b30f5ca3f3e5bf604Mark Andrews [Chia-liang Kao <clkao@CirX.ORG>]
cf224bbf7bab87bc28b12f5b30f5ca3f3e5bf604Mark Andrews
cf224bbf7bab87bc28b12f5b30f5ca3f3e5bf604Mark Andrews *) The ab program in the src/support directory is now portable using
00afe78ab290fec3041731c1fac146a24f556de4Mark Andrews APR.
00afe78ab290fec3041731c1fac146a24f556de4Mark Andrews [Ryan Bloom]
00afe78ab290fec3041731c1fac146a24f556de4Mark Andrews
2674e1a455d4f71de09b2b60e7a8304b9a305588Mark Andrews *) Support directory is being compiled when the server is built
2674e1a455d4f71de09b2b60e7a8304b9a305588Mark Andrews [Ryan Bloom]
2674e1a455d4f71de09b2b60e7a8304b9a305588Mark Andrews
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews *) The configure option --with-program-name has been added to allow
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews developers to rename the executable at configure time. This also
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews changes the name of the config files to match the executable's name.
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews [Ryan Bloom]
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews *) mod_autoindex: Add `IndexOptions +VersionSort', to nicely sort filenames
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews containing version numbers. [Martin Pool]
405ae948cc01c5fb9fee511ce32de86f8077e01bMark Andrews
405ae948cc01c5fb9fee511ce32de86f8077e01bMark Andrews *) ap_open(..,APR_OS_DEFAULT,..) uses perms 0666 instead of 0777 on
57e4191a112bf57a1eab6d37212df2531b6f8a16Mark Andrews Unix; access_log and error_log now created with these perms; non-
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews Unix is unaffected [Jeff Trawick]
faa4af28cff84d7ac45c1da98e40c00f65a24aa3Mark Andrews
faa4af28cff84d7ac45c1da98e40c00f65a24aa3Mark Andrews *) Finished move of ap_md5 routines to apr_md5. Removed ap_md5.h.
faa4af28cff84d7ac45c1da98e40c00f65a24aa3Mark Andrews Replaced more magic numbers with MD5_DIGESTSIZE.
faa4af28cff84d7ac45c1da98e40c00f65a24aa3Mark Andrews [William Rowe, Roy Fielding]
faa4af28cff84d7ac45c1da98e40c00f65a24aa3Mark Andrews
faa4af28cff84d7ac45c1da98e40c00f65a24aa3Mark Andrews *) Win32: Get mod_auth_digest compiling and added to the Windows
eba8a27e55258ee4470d7c3caa6bb3a335b9731eMark Andrews build environment. Not tested and I'd be suprised if it
203629e729b756601646c639c0dbfb267030a617Mark Andrews actually works. [Bill Stoddard]
8af4e7aa4e2a6fe84bf4ebe09ca1d4ef1d8ab593Mark Andrews
8af4e7aa4e2a6fe84bf4ebe09ca1d4ef1d8ab593Mark Andrews *) Revamp the Win32 make environment. Makefiles have been removed and
d08c5dfcd4d1f69004c1382ffc00cc1848dcd1a3Mark Andrews Apache.dsw created to bring together all the pieces. Create new file
d08c5dfcd4d1f69004c1382ffc00cc1848dcd1a3Mark Andrews os/win32/BaseAddr.ref to define module base addresses (to prevent
982a2cfef37a39842ff53dc2e00b947c554fa78eTatuya JINMEI 神明達哉 dll relocation at start-up).
16ee4fe11bad616a76c79e9f626a7e04a88ef4abMark Andrews [William Rowe, Greg Marr, Tim Costello, Bill Stoddard]
16ee4fe11bad616a76c79e9f626a7e04a88ef4abMark Andrews
16ee4fe11bad616a76c79e9f626a7e04a88ef4abMark Andrews *) [EBCDIC] Port Paul Gilmartin's CRLF patch from 1.3. This replaces most
16ee4fe11bad616a76c79e9f626a7e04a88ef4abMark Andrews of the \015, \012, and \015\012 constants with macros.
a5b66bf342440688739d7207e437bf743e8b7ac0Mark Andrews [Greg Ames <gregames@us.ibm.com>]
a5b66bf342440688739d7207e437bf743e8b7ac0Mark Andrews
982e072a5000bfc072aee8b34f64112cf54369a5Mark Andrews *) Add ap_xlate_open() et al for translation of text between different
982e072a5000bfc072aee8b34f64112cf54369a5Mark Andrews character sets. The initial implementation requires iconv().
982e072a5000bfc072aee8b34f64112cf54369a5Mark Andrews [Jeff Trawick]
e24089c5c33f31a39cea0123765165fa31308343Tatuya JINMEI 神明達哉
9547d3e03bb082d73aeabb497b60632ebfdc78a6Mark Andrews *) More FAQs and answers from comp.infosystems.www.servers.unix.
6f3c2ee187d690f96ffef3ba5a6c2e112bb3798cMark Andrews [Joshua Slive <slive@finance.commerce.ubc.ca>]
6f3c2ee187d690f96ffef3ba5a6c2e112bb3798cMark Andrews
9547d3e03bb082d73aeabb497b60632ebfdc78a6Mark Andrews *) CGI output is being timed out now.
9de05727e334336ceb0abcca404d770abd23b876Mark Andrews [Ryan Bloom]
9de05727e334336ceb0abcca404d770abd23b876Mark Andrews
9de05727e334336ceb0abcca404d770abd23b876Mark Andrews *) Fix the problem with dieing quietly. dupfile now takes a pool which
7c61d798f54f7c19f87d46a0df775e0e58fe7d30Mark Andrews is used by the new apr file. There is no reason to create a new file
7c61d798f54f7c19f87d46a0df775e0e58fe7d30Mark Andrews with the same lifetime as the original file.
e23932d3c8c154cff3fea0ecff64e26c6ac6f5d8Mark Andrews [Ryan Bloom]
e23932d3c8c154cff3fea0ecff64e26c6ac6f5d8Mark Andrews
72160d9b51d902a7cf18de84953bc651941f73c2Mark Andrews *) Win32: Attempt to eliminate dll relocation at start-up by specifying
72160d9b51d902a7cf18de84953bc651941f73c2Mark Andrews module base addresses. This will help shooting seg faults
72160d9b51d902a7cf18de84953bc651941f73c2Mark Andrews in the field. [William Rowe <wrowe@lnd.com>]
885e60828681cecd17bccbe5ceff8f4e75ef4c5cMark Andrews
8ec056723666c71a499880ffa415661f37ffd08eMark Andrews *) Update Apache on Windows documentation. Add new document
8ec056723666c71a499880ffa415661f37ffd08eMark Andrews describing how to compile Apache on Windows.
037b732f88edc943f3141e0342dc993156e3abf3Mark Andrews [William Rowe <wrowe@lnd.com>]
80a609bf44ee09766aeb9ae02cfbf7f9fe86dd83Mark Andrews
80a609bf44ee09766aeb9ae02cfbf7f9fe86dd83Mark Andrews *) ap_set_pipe_timeout(), ap_poll(), and APR_SO_TIMEOUT now take
80a609bf44ee09766aeb9ae02cfbf7f9fe86dd83Mark Andrews microseconds instead of seconds. Some storage leaks and other
b89095ba15e9163f2bacc46239d8f69d1a2b9ad3Tatuya JINMEI 神明達哉 minor bugs in related code were fixed. [Jeff Trawick]
b89095ba15e9163f2bacc46239d8f69d1a2b9ad3Tatuya JINMEI 神明達哉
b89095ba15e9163f2bacc46239d8f69d1a2b9ad3Tatuya JINMEI 神明達哉 *) Win32: First cut at getting mod_isapi working under 2.0
bd5c8a564b21781fe6b608fe6a75c2e7152200acTatuya JINMEI 神明達哉 [William Rowe <wrowe@lnd.com>]
85708f9aabbfe31fc648c90258ae18ce0edc3488Mark Andrews
85708f9aabbfe31fc648c90258ae18ce0edc3488Mark Andrews *) First stab at getting mod_auth_digest working under 2.0
49732e4d6008d7d99dfce596a17e17aa13425502Mark Andrews quick change summary:
49732e4d6008d7d99dfce596a17e17aa13425502Mark Andrews - moved the random byte generation (ap_generate_random_bytes) into APR
49732e4d6008d7d99dfce596a17e17aa13425502Mark Andrews - now uses ap_time_t
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews - compiles and runs on linux
cae2cb086244dfb883739edbe79e34756079f70eMark Andrews - tested with amaya
cf0bcc2c80ca99f1e6e53dcdd0eba03fe70723dfMark Andrews [Brian Martin <bmartin@penguincomputing.com>]
cf0bcc2c80ca99f1e6e53dcdd0eba03fe70723dfMark Andrews
0da29be670f6fa5b2a6320d9d843bc8b802c153aMark Andrews *) Win32: Move the space stripping of physical service names
0da29be670f6fa5b2a6320d9d843bc8b802c153aMark Andrews fix up from Apache 1.3. #include'ing "ap_mpm.h" fixes up an
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews unresolved symbol. Add dependency checking to the
0da29be670f6fa5b2a6320d9d843bc8b802c153aMark Andrews CreateService call to ensure TCPIP and AFP (winsock) is started
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews before Apache.
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews [William Rowe <wrowe@lnd.com>]
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews
6672b3524c2305d8c66d8189c774f549be352ac0Mark Andrews *) Win32: Add code to perform latebinding on functions that may
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews not exist on all levels of Windows where Apache runs. This
74f261bd2b7846d8e730ca3a1b28d6503de5c74aMark Andrews is needed to allow Apache to start-up on Win95/98. All calls
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews to non portable functions should be protected with
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ap_oslevel checks to prevent runtime segfaults.
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [William Rowe <wrowe@lnd.com>]
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews *) Fix fallback default values for SHM_R and SHM_W [Martin Kraemer]
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews *) Get lingering_close() working again. [Dean Gaudet, Jeff Trawick]
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews *) Win32: Get non-blocking CGI pipe reads working under Windows NT.
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews This addresses PR 1623. Still need to address timing out runaway
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews CGI scripts. [Bill Stoddard]
3d711f2f75cb9a9ddcbf1fca9b2de192e75340e6Mark Andrews
3d711f2f75cb9a9ddcbf1fca9b2de192e75340e6Mark Andrews *) Win32: Make ap_stat Windows 95/98 friendly
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [William Rowe <wrowe@lnd.com>]
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrews
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrews *) Win32: Fix a bug in ap_get_oslevel which causes GetVersionEx() to
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews always fail. Need to initialise the dwOSVersionInfoSize member of the
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews OSVERSIONINFO struct before calling GetVersionEx, so GetVersionEx
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews always fails.
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews The patch also enhances ap_get_oslevel (and the associated enum) to
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews handle selected service packs for NT4, and adds recognition for
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrews Windows 2000. This is useful, eg. if we can recognise NT4 SP2 then
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrews we can use ReadFileScatter and WriteFileGather in readwrite.c.
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrews [Tim Costello <Tim.Costello@BTFinancialgroup.com>]
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrews
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrews *) Get mod_rewrite building and running, and mod_status building for Win NT
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrews [Allan Edwards <ake@raleigh.ibm.com>]
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews
74a14c4eb8518a9cc31cb5a918547a93d0c0e838Mark Andrews *) Patch to port mod_auth_db to the 2.0 api and also to support
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews Berlekey DB 3.0. It works for me with both Berkeley DB 3.0.55 and
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews 2.7.7. It should work with version 1 as well but I haven't tested it.
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews [Brian Martin <bmartin@penguincomputing.com>]
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews *) Get APR DSO code working under Windows. Includes cross platform
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews fixes to mod_so.c.
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews [Tim.Costello@BTFinancialgroup.com]
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews
7c678cfe0bd477ded2995b9490d72edf7bc76a84Mark Andrews *) Fix some of the Windows APR time functions.
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [William Rowe]
a20e888bde4b307050d76e09266b2fb49f03bc30Mark Andrews
a20e888bde4b307050d76e09266b2fb49f03bc30Mark Andrews *) FAQ changes related to tidying up historical documents on the web site.
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [Joshua Slive <slive@finance.commerce.ubc.ca>]
f4f0eedb8916a824124cf56d4c3f18eb6c77b42eMark Andrews
f4f0eedb8916a824124cf56d4c3f18eb6c77b42eMark Andrews *) Move Windows DSO code into APR.
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [Bill Stoddard]
611ec5dd43d31fd6385f1a94c2f0865375f452b4Mark Andrews
611ec5dd43d31fd6385f1a94c2f0865375f452b4Mark Andrews *) Eliminate apr_win.h and apr_winconfig.h (and the ugly #ifdefs they cause).
7b52c2ad3c9ca65712e962ddc803e34641f2bc07Mark Andrews Now, apr.h and apr_config.h are generated from apr.hw and apr_config.hw
01b8bc018d83e757b0578723977b0a71e1e626f8Mark Andrews at build time. At this point, the server will not compile on Windows because
01b8bc018d83e757b0578723977b0a71e1e626f8Mark Andrews of the recent DSO commits. Fixing those next.
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [Bill Rowe & Bill Stoddard]
8abe06b25d245ab2955d81525bfe6bd29b80908eMark Andrews
8abe06b25d245ab2955d81525bfe6bd29b80908eMark Andrews *) Added error checking for file I/O APR routines.
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [Jon Travis <jtravis@covalent.net>]
7755f5932a3e59d0c6a2506cc94519de92b91ca6Mark Andrews
7755f5932a3e59d0c6a2506cc94519de92b91ca6Mark Andrews *) APR: Don't use the values of resolver error codes for the
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews corresponding APR error codes. On Unix and Win32, return the
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews proper APR error code after a resolver error. [Jeff Trawick]
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews
6e9efadbea9febb0494e713e54dfea6f7ef70383Mark AndrewsChanges with Apache 2.0a2
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews
aa0f0779d1ea7150991c3e6eec1cc532086c13fdMark Andrews *) Renamed the executable back to httpd on all platforms other
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews than Win32
18d0b5e54be891a1aa938c165b6d439859121ec8Mark Andrews [Ryan Bloom]
18d0b5e54be891a1aa938c165b6d439859121ec8Mark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Allow BeOS to survive restarts, log properly and a few
0563d476dea35a60a59857cc8bd26ef276d78799Mark Andrews small things it had problems with due to the way it setup
0563d476dea35a60a59857cc8bd26ef276d78799Mark Andrews users and groups. [David Reid]
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews
b2f160f266005ceaed77a3f575109f74cd13d548Mark Andrews *) Get mod_rewrite working with APR locks
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [Paul Reder <rederpj@raleigh.ibm.com>]
0bb7c66ef8e3e8740cbac4a4de607060dfc4d6c8Mark Andrews
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews *) Actually remove the sempahore when the lock cleanup routine
2b3e34f03675d6c71a654fe2094f3b9c063a70eaMark Andrews is called on BeOS. [David Reid]
2b3e34f03675d6c71a654fe2094f3b9c063a70eaMark Andrews
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews *) Clear hook registrations between reads of the config file.
7216566bd596f8fbc98eafd5e9359ec7fa92c8b8Mark Andrews When DSOs are unloaded and re-loaded the old hook pointers may
7216566bd596f8fbc98eafd5e9359ec7fa92c8b8Mark Andrews no longer be valid. This fix eliminates potential segfaults.
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [Allan Edwards <ake@raleigh.ibm.com>]
42b37d29c7709ce5bfe0110d07f1ec163be220d2Mark Andrews
42b37d29c7709ce5bfe0110d07f1ec163be220d2Mark Andrews *) Fix a problem with Sigfunc not being defined or bypassed
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews if sigaction() wasn't found. [Jim Jagielski]
42b37d29c7709ce5bfe0110d07f1ec163be220d2Mark Andrews
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews *) Fix the locking mechanism on BSD variants. They now use fcntl
7c386b0c3194aa18089c6fa2e9856b576ec99c81Mark Andrews locks. This allows the server to start and serve pages.
7c386b0c3194aa18089c6fa2e9856b576ec99c81Mark Andrews [Ryan Bloom]
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews
fd780f3d47179d68ba2d4661fb9cac9ce1e74928Mark Andrews *) First cut at getting the Win32 installer to work
fd780f3d47179d68ba2d4661fb9cac9ce1e74928Mark Andrews [William Rowe <wrowe@lnd.com>]
fd780f3d47179d68ba2d4661fb9cac9ce1e74928Mark Andrews
fd780f3d47179d68ba2d4661fb9cac9ce1e74928Mark Andrews *) Get htpasswd compiling under Windows
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [William Rowe <wrowe@lnd.com>]
2bef3713093349af52ba61eaab07adf3207da873Mark Andrews
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews *) Change the log message for a bind() failure to show the
bcf369e513a1cc2209e2a987f5772afa79813540Mark Andrews interface and port number. [Jeff Trawick]
bcf369e513a1cc2209e2a987f5772afa79813540Mark Andrews
bcf369e513a1cc2209e2a987f5772afa79813540Mark Andrews *) Import the documentation from 1.3.12 and bring parts of it
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews up-to-date with respect to the changes that have occurred
016c0a82f1ce3fe4d362d7c9cf8de4377ffaf5a9Mark Andrews in 2.0.
016c0a82f1ce3fe4d362d7c9cf8de4377ffaf5a9Mark Andrews [Tony Finch]
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews
ad226e3da3207fcb1dbb1054dd339dbbd19f507aMark Andrews *) BeOS MPM updated. CGI bug on BeOS fixed. IP addresses
016c0a82f1ce3fe4d362d7c9cf8de4377ffaf5a9Mark Andrews now logged correctly on BeOS.
9b80f3a7c739a99b498a37a711a51b6a88df3a78Mark Andrews [David Reid]
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Create one makefile for all Win32 distributions (NT/2000/95/98).
83a56f1e4f2d11fa895ceff4342fff7157910036Mark Andrews Makefile.win includes the same user interface as the old
83a56f1e4f2d11fa895ceff4342fff7157910036Mark Andrews Makefile.nt
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [William Rowe <wrowe@lnd.com>, Jeff Trawick <trawick@us.ibm.com>]
1425217e5c3a2cbab7f8344e600e0c16047289ffMark Andrews
d4d68515d23668cfe804ab2a174a7e427decedd8Mark Andrews *) Win32 exec now uses COMSPEC environment string for command
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews shell path resolution.
e8e62bb7829e88fc56360f7edc021dc8493a8704Mark Andrews [William Rowe <wrowe@lnd.com>] PR#3715
e8e62bb7829e88fc56360f7edc021dc8493a8704Mark Andrews
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews *) Win32: ap_connect() was not returning correct error condition
e7fb847ed570dd8c1bcdacabb3d69bd81feb79aeMark Andrews PR5866
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [Allen Prescott <allen@clanprescott.com>]
ab9871e71eac6b33ce92a0ad26dc50d0ff241e3bMark Andrews
ab9871e71eac6b33ce92a0ad26dc50d0ff241e3bMark Andrews *) Win32: ap_open() was broken on Win9x because an NT-specific
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews flag was passed to CreateFile. ap_puts() added an unnecessary
ab9871e71eac6b33ce92a0ad26dc50d0ff241e3bMark Andrews '\n'.
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews [Jeff Trawick <trawick@us.ibm.com>]
2c6f9101f99cc663074376a5cc1d954d33bdbe36Mark Andrews
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews *) Put in Korean and Norwegian index.html pages (2.0 and 1.3)
116e6b4257e3efceca3e82af1e695579129af93dMark Andrews which where donated by Lee Kuk Hyun and Lorant Czaran. 'Fixed'
1fc4793844c9613b17866c33dbeab8aaa94b66ffMark Andrews confusing ee/et name and made all extensions language/dialect
539f477cd03db1ac173bcb5257da136283e57849Mark Andrews rather than country reflecting. Changed example files to
116e6b4257e3efceca3e82af1e695579129af93dMark Andrews explicit reflect the ISO charset and added a few common
1fc4793844c9613b17866c33dbeab8aaa94b66ffMark Andrews ones to the example config [dirkx]
1c153afce556ff3c687986fb7c4a0b0a7f5e7cd8Mark Andrews
1c153afce556ff3c687986fb7c4a0b0a7f5e7cd8Mark Andrews *) Extend external module capability. To use this, you call
81bdad57bd2c0c4b9a0684fe6e222ba95da625ecMark Andrews configure with --with-module=path/to/mod1,path/to/mod2,etc.
116e6b4257e3efceca3e82af1e695579129af93dMark Andrews [Ryan Bloom]
116e6b4257e3efceca3e82af1e695579129af93dMark Andrews
a5768d889b4e139e78f2b1d9433f3e9f8d225ff4Mark Andrews *) Backported the various "default charset" fixes from 1.3.12,
3d247992c4a500caa7703edaee68612e545af602Mark Andrews including the AddDefaultCharset directive. [Jim Jagielski]
3d247992c4a500caa7703edaee68612e545af602Mark Andrews
5c08d19fb17f0684e6424b94910cef61cec7592fMark Andrews *) Added the capability to do ${ENVVAR} constructs in the
3d247992c4a500caa7703edaee68612e545af602Mark Andrews config file. E.g. 'ServerAdmin ${POSTMASTER}'. As commited
3d247992c4a500caa7703edaee68612e545af602Mark Andrews it does this on a line by line basis; i.e. if the envvar
5c08d19fb17f0684e6424b94910cef61cec7592fMark Andrews expands to something with spaces you have to protect it
9eca2b9b95df456545e1bc298c8337400aa24e8eMark Andrews by adding quotes around it (Unless of course you expect it
9eca2b9b95df456545e1bc298c8337400aa24e8eMark Andrews to contains more than one argument. Alternatively you
9eca2b9b95df456545e1bc298c8337400aa24e8eMark Andrews can compile it on a per token basis; which is what people
cd5f6549b33bf2481538b77934d69313f452ff4bMark Andrews usually expect by setting RESOLVE_ENV_PER_TOKEN. But this
05331ce161276d879711342fadbc6144af7f5ba6Mark Andrews hampers fancier hacks.
05331ce161276d879711342fadbc6144af7f5ba6Mark Andrews [Dirk-Willem van Gulik]
c5223c9cb7c22620d5ee6611228673e95b48a270Mark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Changed the 'ErrorDocument' syntax in that it NO longer
c5223c9cb7c22620d5ee6611228673e95b48a270Mark Andrews supports the asymetric
c5223c9cb7c22620d5ee6611228673e95b48a270Mark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews ErrorDocument 301 "Some message
c5223c9cb7c22620d5ee6611228673e95b48a270Mark Andrews
c5223c9cb7c22620d5ee6611228673e95b48a270Mark Andrews Note the opening " quote, without a closing quote. It now
2fa0485e9e969dd42dd10339354d7949db46111aMark Andrews has either the following syntaxes
2fa0485e9e969dd42dd10339354d7949db46111aMark Andrews
092f7679306989293bbe755f31ade0a5f456b370Mark Andrews ErrorDocument XXX /local/uri
7d5b32acb1898844afa19123d07483b46edac7cbMark Andrews ErrorDocument XXX http://valid/url
7d5b32acb1898844afa19123d07483b46edac7cbMark Andrews ErrorDocument XXX "Some Message"
437404e8313481329baa5897eeda8c45bf748553Mark Andrews
ef67e6d8fa86d98a2c0defc43b624434324d9ce7Mark Andrews The recognition heuristic is: if it has a space it
841fc0fd70881499b62f15e35980dd14b905ba45Mark Andrews is a message. If it has no spaces and starts with a /
e5a5c60a5e690ee9858c9e3facba189b8646f0b7Mark Andrews or is a valid URL then treat it that way. Otherwise it
e5a5c60a5e690ee9858c9e3facba189b8646f0b7Mark Andrews is assumed to be a message.
e5a5c60a5e690ee9858c9e3facba189b8646f0b7Mark Andrews
16b9ee24b96a1c1d21d809e88238091c4afa25c9Mark Andrews This breaks backward compatibility but makes live a hell
16b9ee24b96a1c1d21d809e88238091c4afa25c9Mark Andrews of a lot easier for GUI's and config file parsers.
afa3f2fab7144761bbf481b9d40d667529c6ec76Mark Andrews [Dirk-Willem van Gulik]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein *) Changed 'CacheNegotiatedDocs' from its present/not-present
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein syntax into a 'on' or 'off' syntax. As it currently is the
da53179d1055c75e64dc2c9623b38cb2b8629eb6Mark Andrews only non nesting token which uses NO_ARGS and thus is an
da53179d1055c75e64dc2c9623b38cb2b8629eb6Mark Andrews absolute pain for any config interface automation. This
da53179d1055c75e64dc2c9623b38cb2b8629eb6Mark Andrews breaks backward compatibility. [Dirk-Willem van Gulik]
2941824604f9c5aa70f216d1f2941b3c59aa37dcMark Andrews
b4028939fdffc92cf659764deb9c6e3c805cc948Mark Andrews *) Add ability to add external modules to the build process. This is
b4028939fdffc92cf659764deb9c6e3c805cc948Mark Andrews done with --with-module=/path/to/module. Modules can only be added
b4028939fdffc92cf659764deb9c6e3c805cc948Mark Andrews as static modules at this point.
9840a0767d02f6c6b9d1f73d54e0cab2e8192a93Mark Andrews [Ryan Bloom]
9840a0767d02f6c6b9d1f73d54e0cab2e8192a93Mark Andrews
9840a0767d02f6c6b9d1f73d54e0cab2e8192a93Mark AndrewsChanges with Apache 2.0a1
57ed0bab5b92f66af3dc3b86081bd42ab8d4ba09Rob Austein
57ed0bab5b92f66af3dc3b86081bd42ab8d4ba09Rob Austein *) Fix FreeBSD 3.3 core dump.
57ed0bab5b92f66af3dc3b86081bd42ab8d4ba09Rob Austein Basically, ap_initialize() needs to get called before
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein create_process(), since create_process() passes op_on structure
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein to semop() to get a lock, but op_on isn't initialized until
1cb73c69f76c8c2c66b767a8b9ad04f3988cf6a9Mark Andrews ap_initialize() calls setup_lock(). Here is a slight
1cb73c69f76c8c2c66b767a8b9ad04f3988cf6a9Mark Andrews rearrangement to main() which calls ap_initialize() earlier...
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews [Jeff Trawick <trawick@us.ibm.com>]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews *) Enable Apache to use sendfile/TransmitFile API
f754fa97bc698cc251d227173a95e4d39a88ac01Mark Andrews [Bill Stoddard, David Reid, Paul Reder]
f754fa97bc698cc251d227173a95e4d39a88ac01Mark Andrews
a8f1c013b0fdc405ca4b5ec8316d3c9e3ad9d31bMark Andrews *) Re-Implement Win32 APR network I/O APIs and most of the file I/O
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews APIs.
a8f1c013b0fdc405ca4b5ec8316d3c9e3ad9d31bMark Andrews [Bill Stoddard]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
959fb01017fa83578e7c8776ed3baba3076a2409Mark Andrews *) Make file I/O and network I/O writev/sendv APIs consistent.
959fb01017fa83578e7c8776ed3baba3076a2409Mark Andrews Eliminate use of ap_iovec_t and use Posix struct iovec.
959fb01017fa83578e7c8776ed3baba3076a2409Mark Andrews Use seperate variable on ap_writev to set the number of iovecs
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews passed in and number of bytes written.
d73541ea2eebe01cafc5ff1b2ba4b9a8f75237b1Mark Andrews [Bill Stoddard]
d73541ea2eebe01cafc5ff1b2ba4b9a8f75237b1Mark Andrews
46cb442c5c53f16ece23bfe7f7f7bf44f78b0e46Mark Andrews *) Adapt file iol to use APR functions. Replaced ap_open_file()
0f222d322b25373c4ef59d7c79f265b082ee98cdMark Andrews with ap_create_file_iol(). ap_create_file_iol() requires that
0f222d322b25373c4ef59d7c79f265b082ee98cdMark Andrews the file be opened prior to the call using ap_open().
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews [Bill Stoddard]
0f222d322b25373c4ef59d7c79f265b082ee98cdMark Andrews
0f222d322b25373c4ef59d7c79f265b082ee98cdMark Andrews *) Port mod_include and mod_cgi to 2.0
0f222d322b25373c4ef59d7c79f265b082ee98cdMark Andrews [Paul Reder, Bill Stoddard]
ae4f85dde3abb7d4afef9e869a83783cbf0aa29cMark Andrews
ae4f85dde3abb7d4afef9e869a83783cbf0aa29cMark Andrews *) ap_send{,v}, ap_recv, ap_sendfile API clarification --
ae4f85dde3abb7d4afef9e869a83783cbf0aa29cMark Andrews bytes_read/bytes_written is always valid (never -1). Plus
ae4f85dde3abb7d4afef9e869a83783cbf0aa29cMark Andrews some fixes to buff.c to correct problems introduced by the
ae4f85dde3abb7d4afef9e869a83783cbf0aa29cMark Andrews errno => ap_status_t changes a while back. Plus a fix to
2132a56b5c6628925838165ae0640e55e3f36188Mark Andrews chunked encoding introduced right at the beginning of 2.0.
2132a56b5c6628925838165ae0640e55e3f36188Mark Andrews [Dean Gaudet]
b514e0cd0e7959a98dd59665553c8a3635ada10eMark Andrews
b514e0cd0e7959a98dd59665553c8a3635ada10eMark Andrews *) Revamped UNIX build system to use autoconf and libtool.
30884083d4149a8ff838b84dac1ad55c86948da8Mark Andrews [Manoj Kasichainula, Sascha Schumann]
d9ec2891475b8ed894a524a83370cfce30328569Mark Andrews
6e8a8077faf96d8da0b6cf738913f5f1f86e4008Mark Andrews *) port mod_rewrite to 2.0. [Paul J. Reder <rederpj@raleigh.ibm.com>]
6e8a8077faf96d8da0b6cf738913f5f1f86e4008Mark Andrews
5cb7e15551f502ab6948689cf3bc7dac6b56571eMark Andrews *) More rigorous checking of Host: headers to fix security problems
5cb7e15551f502ab6948689cf3bc7dac6b56571eMark Andrews with mass name-based virtual hosting (whether using mod_rewrite
bb99a72b219ad4f1daa80c636883ab485174c9a6Mark Andrews or mod_vhost_alias).
bb99a72b219ad4f1daa80c636883ab485174c9a6Mark Andrews [Ben Hyde, Tony Finch]
5a6874e4ed544186ccb8519765be8c3a1804e033Mark Andrews
3b4405aba93729eead9f8f006d426f24fc4c3d78Mark Andrews *) Add back support for UseCanonicalName in <Directory> containers.
3b4405aba93729eead9f8f006d426f24fc4c3d78Mark Andrews [Manoj Kasichainula]
2ab6dfca4b7432de4fb7da4cd21ee0e02a695c01Mark Andrews
c553b3308e34edfaddbec57b3308bbbe362ef715Mark Andrews *) Added APLOG_STARTUP log type. This allows us to write an error
c553b3308e34edfaddbec57b3308bbbe362ef715Mark Andrews message without any of the date and time information. As a part
24efdccd68d157b400bf68926798bc8f3f71c24cMark Andrews of this change, I also removed all of the calls to fprintf(stderr
24efdccd68d157b400bf68926798bc8f3f71c24cMark Andrews and replaced them with calls to ap_log_error using APLOG_STARTUP
a5bb4ad5dbd08f9178e807b1e55cb449b69d8173Mark Andrews writing to stderr is no longer portable, because we don't direct
a5bb4ad5dbd08f9178e807b1e55cb449b69d8173Mark Andrews stderr to the error log on all platforms.
5e5b467e8c8abda496b7896241a46b05256cd22cMark Andrews [Ryan Bloom]
5e5b467e8c8abda496b7896241a46b05256cd22cMark Andrews
713ad87a7f95d06f4bb3e0b92b91172cbebd6c68Mark Andrews *) Convert error logging functions to take errno as an argument.
713ad87a7f95d06f4bb3e0b92b91172cbebd6c68Mark Andrews This makes our error logs more portable, because some Windows API's
713ad87a7f95d06f4bb3e0b92b91172cbebd6c68Mark Andrews don't set errno. This change allows us to still output a valid
cb2d565b507027f9e5664fa7e167bb24faa7c8fbMark Andrews message on all of our platforms.
cb2d565b507027f9e5664fa7e167bb24faa7c8fbMark Andrews [Ryan Bloom]
4f21f7feaff27d5356827e39a4537a60a5e4054cMark Andrews
4f21f7feaff27d5356827e39a4537a60a5e4054cMark Andrews *) mod_mime_magic runs in 2.0-dev now.
1439214380abcc123e27a42d43a23ba441209ebeMark Andrews [Paul Reder <rederpj@raleigh.ibm.com>]
1439214380abcc123e27a42d43a23ba441209ebeMark Andrews
7d9b632906c756b215d65a3a08d77fe022807c2dMark Andrews *) sendfile has been added to APR.
7d9b632906c756b215d65a3a08d77fe022807c2dMark Andrews [John Zedlewski <zedlwski@Princeton.EDU>]
7d9b632906c756b215d65a3a08d77fe022807c2dMark Andrews
5d3083c4b5b11dfb653b15fd0eeb8e0cc9b175e0Mark Andrews *) buff.c has been converted to no longer use errno.
5d3083c4b5b11dfb653b15fd0eeb8e0cc9b175e0Mark Andrews [Manoj Kasichainula]
52188225731669cd571984c45a1407a55c74ee78Mark Andrews
52188225731669cd571984c45a1407a55c74ee78Mark Andrews *) mod_speling runs in 2.0-dev now: a bug in readdir_r handling and
52188225731669cd571984c45a1407a55c74ee78Mark Andrews interface adaption to APR functions did it. [Martin Kraemer]
52188225731669cd571984c45a1407a55c74ee78Mark Andrews
52188225731669cd571984c45a1407a55c74ee78Mark Andrews *) Support DSOs properly on 32-bit HP-UX 11.0
3cbc87c31f76262980d54ddbcdda7875be37b684Mark Andrews [Dilip Khandekar <dilip@cup.hp.com>]
bc29bb9062ab804cd79f4a1f8f366af8a040b636Mark Andrews
bc29bb9062ab804cd79f4a1f8f366af8a040b636Mark Andrews *) Updated MM in APR source tree from version 1.0.8 to 1.0.11
bc29bb9062ab804cd79f4a1f8f366af8a040b636Mark Andrews [Ralf S. Engelschall]
5a4854e226ce5eca99bcfb5557b36ea210bb25bcMark Andrews
5a4854e226ce5eca99bcfb5557b36ea210bb25bcMark Andrews *) Cleaned APR build environment integration and bootstrap APR
5a4854e226ce5eca99bcfb5557b36ea210bb25bcMark Andrews automatically for developers from src/Configure.
b101c1e9989d0a010a3146ad823e168d15cb10c7Mark Andrews [Ralf S. Engelschall]
b101c1e9989d0a010a3146ad823e168d15cb10c7Mark Andrews
989d7b844bdf2d804fda57b9b53a4eff3a6bea91Mark Andrews *) Fixed building of src/support/htpasswd.c
989d7b844bdf2d804fda57b9b53a4eff3a6bea91Mark Andrews [Ralf S. Engelschall]
d5af5bb38b9b2626b97626569adde258c8f6b808Mark Andrews
6d7007e807241ae0a32de8db8d3bf434626026eaMark Andrews *) When generating the Location: header, mod_speling forgot
c941e32d221fbb0cb760e3bc24c7f221c0cf8b97Mark Andrews to escape the spelling-fixed uri. (Forw-Port from 1.3)
c941e32d221fbb0cb760e3bc24c7f221c0cf8b97Mark Andrews [Martin Kraemer]
c941e32d221fbb0cb760e3bc24c7f221c0cf8b97Mark Andrews
c941e32d221fbb0cb760e3bc24c7f221c0cf8b97Mark Andrews *) Moved mod_auth_digest.c from experimental to standard. [Roy Fielding]
77b101ced9801cdb226919784bfc1aa0650ace6aMark Andrews
77b101ced9801cdb226919784bfc1aa0650ace6aMark Andrews *) Change all pools to APR contexts. This is the first step to
e174044290953a2499f574e35cc9c22ba126a303Mark Andrews incorporating APR into Apache. [Ryan Bloom]
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews *) Move "handler not found" warning message to below the check
e174044290953a2499f574e35cc9c22ba126a303Mark Andrews for a wildcard handler. [Dirk <dirkm@teleport.com>, Roy Fielding]
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews PR#2584, PR#2751, PR#3349, PR#3436, PR#3548, PR#4384, PR#4795, PR#4807
e174044290953a2499f574e35cc9c22ba126a303Mark Andrews
e174044290953a2499f574e35cc9c22ba126a303Mark Andrews *) Support line-continuation feature in config.option file and
e174044290953a2499f574e35cc9c22ba126a303Mark Andrews allow the loading of multiple option sections at once via
25899e7f1ff0db5322362ada01f7aec3006ff0beTatuya JINMEI 神明達哉 ``--with-option=<section1>,<section2>,...''
4f082b58b17ce39087930d5affc2ada90ef386e6Mark Andrews [Ralf S. Engelschall]
4f082b58b17ce39087930d5affc2ada90ef386e6Mark Andrews
3d79c437d8cc10651b22601b55f4098b4cfe5979Mark Andrews *) Rebuilt CVS repository with Apache 1.3.9 as basis. [Roy Fielding]
0da70bc50a320a3bb16aa7cecb2727fed2c0683cMark Andrews
0da70bc50a320a3bb16aa7cecb2727fed2c0683cMark AndrewsChanges with Apache MPM
0da70bc50a320a3bb16aa7cecb2727fed2c0683cMark Andrews
686bcdcb4c63e8dd9bbe9607265061a4d3934bbcMark Andrews *) Use asynchronous AcceptEx() and a completion port to accept and
4423c99613db1399dbb5c51e86ef0d351a1418c2Mark Andrews dispatch connections to threads in Windows NT/2000.
686bcdcb4c63e8dd9bbe9607265061a4d3934bbcMark Andrews [Bill Stoddard]
5597be9bb88de138dfec9fa9176708443813925eTatuya JINMEI 神明達哉
5597be9bb88de138dfec9fa9176708443813925eTatuya JINMEI 神明達哉 *) Implement WINNT Win32 MPM from original Win32 code in http_main.c
5597be9bb88de138dfec9fa9176708443813925eTatuya JINMEI 神明達哉 [Bill Stoddard]
5597be9bb88de138dfec9fa9176708443813925eTatuya JINMEI 神明達哉
6be278a81c24c6729aeaae4ba3a7ddd5030d8451Tatuya JINMEI 神明達哉 *) Implement the APACI --with-option facility
5597be9bb88de138dfec9fa9176708443813925eTatuya JINMEI 神明達哉 (per default used the config.option file).
5cf023372424c1a59fda4a994e3c85c08c26e2f1Tatuya JINMEI 神明達哉 [Ralf S. Engelschall]
fde0a3f89b9c42e9e4ef9aaf8e044e6b18c4978cMark Andrews
fde0a3f89b9c42e9e4ef9aaf8e044e6b18c4978cMark Andrews *) MPM BEOS port. [David Reid <abb37@dial.pipex.com>]
fde0a3f89b9c42e9e4ef9aaf8e044e6b18c4978cMark Andrews
39c7fc7e00af20144b94ef332943f62c1b3a622fMark Andrews *) Start to implement module-defined hooks that are a) fast and b) typesafe.
39c7fc7e00af20144b94ef332943f62c1b3a622fMark Andrews Replace pre_connection module call with a register_hook call and
073dfc245fd921958b1ccd869ed3471f828cf283Mark Andrews implement pre_connection as a hook. The intent is that these hooks will
9738408dcbd4c1f7eb2b105c83388608fafd7808Mark Andrews be extended to allow Apache to be multi-protocol, and also to allow the
9738408dcbd4c1f7eb2b105c83388608fafd7808Mark Andrews calling order to be specified on a per-hook/per-module basis.
9738408dcbd4c1f7eb2b105c83388608fafd7808Mark Andrews [Ben Laurie]
65d64acb51b0655f04b165c8045d1aed556489abMark Andrews
e9aca33f362d017fe0d5f7b729bce646038cf1eeMark Andrews *) Implement mpm_* methods as "modules". Each method gets its own
e9aca33f362d017fe0d5f7b729bce646038cf1eeMark Andrews subdir in src/modules (eg: src/modules/prefork). Selection
28e36fcc1eea8b5283aa33d3a6d21d42df8fdaf2Mark Andrews of method uses Rule MPM_METHOD. [Jim Jagielski]
5cf146c586f69af7c65e4a4f612ae3ef6c9cf8deMark Andrews
5cf146c586f69af7c65e4a4f612ae3ef6c9cf8deMark Andrews *) Port the hybrid server from the apache-apr repository as
2a2e9c7a1a8cded637be17f32dc1bbdef519ca81Mark Andrews mpm_mpmt_pthread. [Manoj Kasichainula]
8a713ca49ddddb36e432d4717800f9258a5c2ea9Mark Andrews
8a713ca49ddddb36e432d4717800f9258a5c2ea9Mark Andrews *) os/unix/unixd.[ch]: detach, setuid, setgid, stuff which will be common
f93d6e86ded924cb23d80a6d45a4c830b57984ddMark Andrews amongst the unix MPMs.
0ad024cc4272894e877e3a7896f80a2892bc703cMark Andrews
0ad024cc4272894e877e3a7896f80a2892bc703cMark Andrews *) mpm_prefork: throw away all the alarm/timeout crud; and clean up the
0ad024cc4272894e877e3a7896f80a2892bc703cMark Andrews signal handling for the new world order. [Dean Gaudet]
f93d6e86ded924cb23d80a6d45a4c830b57984ddMark Andrews
0ad024cc4272894e877e3a7896f80a2892bc703cMark Andrews *) Crude ap_thread_mutex abstraction so that we get the pthread stuff out
0ad024cc4272894e877e3a7896f80a2892bc703cMark Andrews of alloc.c for now. [Dean Gaudet]
f93d6e86ded924cb23d80a6d45a4c830b57984ddMark Andrews
e50b75e36ca79f84e2c9b2a12f6e28cbf22aaa83Mark Andrews *) Handle partial large writes correctly. [Ben Laurie]
e50b75e36ca79f84e2c9b2a12f6e28cbf22aaa83Mark Andrews
e50b75e36ca79f84e2c9b2a12f6e28cbf22aaa83Mark Andrews *) Eliminate conn_rec's pointer to server. All it knows is the base server
70ba825728dc64439801981a1abe7f1e28182698Mark Andrews based on IP/port. [Ben Laurie]
797944723c8de672430cc59c11bf4eeacd913649Mark Andrews
797944723c8de672430cc59c11bf4eeacd913649Mark Andrews *) Port a bunch of modules to the new module structure.
28b65e6d0a03704f4faee88ebf5105addfa57968Mark Andrews ["Michael H. Voase" <mvoase@midcoast.com.au>]
8cd830d7c806cac681b057e0c0185f29992fa35fMark Andrews
11b399514e4af7f370fe3948c3e3779a182ac5acMark Andrews *) I/O layering and BUFF revamp. See docs/buff.txt. [Dean Gaudet]
4296c5480dde48ea555f5916be8612e173f1edebMark Andrews
4296c5480dde48ea555f5916be8612e173f1edebMark Andrews *) Basic restructuring to introduce the MPM concept; includes various
14a97c343bc3adb840b13d515a8298c18f15be52Mark Andrews changes to the module API... better described by
164e2a6f83cc3172bc9ba0c97a326a5eca80bc18Mark Andrews docs/initial_blurb.txt. [Dean Gaudet]
164e2a6f83cc3172bc9ba0c97a326a5eca80bc18Mark Andrews
164e2a6f83cc3172bc9ba0c97a326a5eca80bc18Mark AndrewsChanges with Apache pthreads
e90994e3f358bdc6fe03005da08567c807a14c1dMark Andrews
e90994e3f358bdc6fe03005da08567c807a14c1dMark Andrews *) New buff option added: BO_TIMEOUT. It describes the timeout for
7087b3dc9298e85909df7a10f83bbd0588310f0cMark Andrews buff operations (generally over a network).
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews [Dean Gaudet, Ryan Bloom, Manoj Kasichainula]
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews
db2649bad98fc08054feb1a1ed234d8b9b011ea8Mark Andrews *) Created http_accept abstraction. Added 4 new functions (not exported):
ad5bc22a819190839bdcc4d102d023782dc23660Mark Andrews init_accept(), begin_accepting_requests(), get_request(),
ad5bc22a819190839bdcc4d102d023782dc23660Mark Andrews stop_accepting_requests() [Bill Stoddard]
ad5bc22a819190839bdcc4d102d023782dc23660Mark Andrews
7502c6600645f120434d84d0ce3df7c3585cfe43Mark Andrews *) Fix to ap_rprintf call that allows mod_info to work properly.
82572925f8942b599667bf47f22403f5dfd79ab9Mark Andrews [James Morris <jmorris@intercode.com.au>]
cdb15282589682b664dfb70428a3c1750fe05250Mark Andrews
b326d7e3a3a50eb65dd06db007d2fddc62606bbfMark Andrews *) user and ap_auth_type fields were moved from connection_rec to
c0a1ebb1adecc5da1f1ad6f9b06a2b4356d2b135Mark Andrews request_rec. [Ryan Bloom]
508f61f8d699c46f962b682f388e54b446a7194dMark Andrews
508f61f8d699c46f962b682f388e54b446a7194dMark Andrews *) Removed the ap_block_alarms and ap_unblock_alarm calls. These aren't
4834c6a7f0054b8f4a8a267d60ef78204521e39eMark Andrews needed in a threaded server.
f450814ab8989820a7bc9a2c484eb9f2c1c7b915Mark Andrews
4c47c184b98a5ec1b303281959c1f3b0db85d733Mark Andrews *) Initial pthread implementation from from Dean's apache-nspr code.
48f929d315bafeeffe0a37082ab4c9661a928c39Mark Andrews [Bill Stoddard, Ryan Bloom]
48f929d315bafeeffe0a37082ab4c9661a928c39Mark Andrews
0e93730a02a4cafbc5cdfaa04b2d813a0c11b205Mark Andrews
93f429295a682f44940c8f4e2b05773c50da4e7dMark AndrewsChanges with Apache 1.3.9
93f429295a682f44940c8f4e2b05773c50da4e7dMark Andrews
c04f4437ff8b2aba326e5099eae0cacb7de6f74bMark Andrews *) Remove bogus error message when a redirect doesn't set Location.
494576ce20cfd98d74955698cf8f7b37dce2f740Mark Andrews Instead, use an empty string to avoid coredump if the error message
494576ce20cfd98d74955698cf8f7b37dce2f740Mark Andrews was supposed to include a location. [Roy Fielding]
494576ce20cfd98d74955698cf8f7b37dce2f740Mark Andrews
a36db48f57a59d82af0cf8cfecbdb7620aa3cc47Mark Andrews *) Don't allow configure to include mod_auth_digest unless it is
a36db48f57a59d82af0cf8cfecbdb7620aa3cc47Mark Andrews explicitly requested, even if the user asked for all modules.
a36db48f57a59d82af0cf8cfecbdb7620aa3cc47Mark Andrews [Roy Fielding]
531f6c355bde4b280d1dea749dd1bcdf6b2f8701Mark Andrews
531f6c355bde4b280d1dea749dd1bcdf6b2f8701Mark Andrews *) Translate module names to dll names for OS/2 so that they are no more
531f6c355bde4b280d1dea749dd1bcdf6b2f8701Mark Andrews than 8 characters long and have an extension of "dll" instead of "so".
3ea6d4dc33482a752553c59ed94bcecd23d254b0Mark Andrews [Brian Havard]
3ea6d4dc33482a752553c59ed94bcecd23d254b0Mark Andrews
6e1141e6e83b3907b8b187d97932f30fa82470efMark Andrews *) Print out pointer to Rule DEV_RANDOM when truerand lib not found.
6e1141e6e83b3907b8b187d97932f30fa82470efMark Andrews Fix test-compile check to check for randbyte instead of trand32.
6e1141e6e83b3907b8b187d97932f30fa82470efMark Andrews Use ap_base64encode_binary/decode instead of copy in mod_auth_digest.c
6e1141e6e83b3907b8b187d97932f30fa82470efMark Andrews and tweak to make Amaya happier. [Ronald Tschal�r]
e954ec198e535f8a7e17d72241233f825b0df6a6Mark Andrews
e954ec198e535f8a7e17d72241233f825b0df6a6Mark Andrews *) Ensure that the installed expat include files are world readable,
e954ec198e535f8a7e17d72241233f825b0df6a6Mark Andrews just like the other header files. [Martin Kraemer]
aceae69c7f3e76e8842de178851928619c65b61cMark Andrews
aceae69c7f3e76e8842de178851928619c65b61cMark Andrews *) Fixed generated AddModule adjustments in APACI's `configure' script
aceae69c7f3e76e8842de178851928619c65b61cMark Andrews in order to allow (new) modules like mod_vhost_alias to be handled
aceae69c7f3e76e8842de178851928619c65b61cMark Andrews correctly (which was touched by the adjustments for mod_alias).
113598f67787f0ed0dcfe23b26d1e5d93256c0acMark Andrews [Ralf S. Engelschall]
113598f67787f0ed0dcfe23b26d1e5d93256c0acMark Andrews
113598f67787f0ed0dcfe23b26d1e5d93256c0acMark Andrews *) For binary builds, add -R flag to apachectl to work around the lack of
dba1bc96f6f4fbbb48ab7b041964d44242731b17Mark Andrews an absolute path to the ./libexec directory where the libhttp.ep file
dba1bc96f6f4fbbb48ab7b041964d44242731b17Mark Andrews is needed for SHARED_CORE architectures. [Randy Terbush]
b68fe6c0fbfee1dc0659661993de5c6727b66c76Mark Andrews
70e854766f5304f43e94212dc38ebaefe214148cMark Andrews *) WIN32: Create the CGI script process as DETACHED. This may solve the
136e739d0d7267a8ce72468233fa795359db62faMark Andrews problem observed by some Win95/98 users where they get CGI script
7c8662961e2876e22e34c96d41dad0cd70e3ce4cMark Andrews output sent to the console. [Bill Stoddard]
7c8662961e2876e22e34c96d41dad0cd70e3ce4cMark Andrews
beb92a43a7451981fad54c98c809d50c1b16c1e9Mark Andrews *) Fix (re)naming in the uuencode/decode section. The ap/ap_
beb92a43a7451981fad54c98c809d50c1b16c1e9Mark Andrews routines are now called ap_base64* and are 'plain' (i.e., no
82ecc9cd96239649dfeb0a16e31c3b978d0d266aMark Andrews pool access or anything clever). Inside util.c the routines acting
85bba08193debe026883d2d6bebbb0f7a01d7ba7Mark Andrews like pstrdup are called ap_pbase64encode() and ap_pbase64decode().
85bba08193debe026883d2d6bebbb0f7a01d7ba7Mark Andrews The oddly named ap_uuencode(), ap_uudecode() are kept around for
82ecc9cd96239649dfeb0a16e31c3b978d0d266aMark Andrews now but deprecated. [dirkx]
5173d52b3eb9715259a2890614f869c6baeb18e1Mark Andrews
4091f8dfb71b78b53acd1b25f74e26c384750c03Mark Andrews *) Clean up the base64 and SHA1 additions and make sure they are
82ecc9cd96239649dfeb0a16e31c3b978d0d266aMark Andrews represented in the ApacheCore.def, ApacheCoreOS2.def, and httpd.exp
82ecc9cd96239649dfeb0a16e31c3b978d0d266aMark Andrews files. [Roy Fielding]
74ff5f080abdffa7823ff93da74969cd9fa25308Mark Andrews
a10ae596379471b0dc76ebd8025d91bf2b90bafcMark Andrews *) WIN32: Migrate to InstallShield 5.5 and provide a bit more error
a10ae596379471b0dc76ebd8025d91bf2b90bafcMark Andrews checking. Allow compiling on VS 6.0. [Randy Terbush]
09ba9eacebdffc689da9851ce3bd932aedd1deddMark Andrews
09ba9eacebdffc689da9851ce3bd932aedd1deddMark Andrews *) Fixed assumption of absolute paths in binbuild.sh. [Tony Finch]
d5f13fecca944fc7229dac3215581cebec3ac314Mark Andrews
c202b9f4dd7438252d77a4dd8936b7a051431a0bMark Andrews *) Use TestCompile to search for the truerand library (rather than blindly
d844741f5516bce45f8897435342731edb2307cbMark Andrews assuming its existence). If it is not found, complain (but do not
53e8e0e27a3db745548a7989639b91d16f841c1fMark Andrews exit - yet). [Martin Kraemer]
53e8e0e27a3db745548a7989639b91d16f841c1fMark Andrews
d0c827c9c6a21a0708d97314406ff34d79bed5d8Mark Andrews *) We forgot to add the new exported function names to
d0c827c9c6a21a0708d97314406ff34d79bed5d8Mark Andrews src/support/httpd.exp. [Bill Stoddard, Randy Terbush]
6f691d4893bb29cd6658b75860d93797f091da0dMark Andrews
6f691d4893bb29cd6658b75860d93797f091da0dMark Andrews *) Add description of -T command-line option to usage().
6f691d4893bb29cd6658b75860d93797f091da0dMark Andrews [Ralf S. Engelschall]
3d75a3aef3c26c1957f393e4626177484f53a9d4Mark Andrews
3d75a3aef3c26c1957f393e4626177484f53a9d4Mark Andrews *) For "some" platforms (notably, EBCDIC based ones), libos needs to be
3d75a3aef3c26c1957f393e4626177484f53a9d4Mark Andrews searched only AFTER libap has been searched, because libap needs
4e259c5a2321e994708fb1fe04cd4da30aa3b612Mark Andrews some symbols from libos. [Martin Kraemer]
4e259c5a2321e994708fb1fe04cd4da30aa3b612Mark Andrews
4e259c5a2321e994708fb1fe04cd4da30aa3b612Mark Andrews *) Fix conflict with original mod_digest related to the symbol of the
fcdef14f4a82138fe835a5c3a20d5667e6f4a26cMark Andrews module dispatch list (which has to be unique for DSO and follow the
fcdef14f4a82138fe835a5c3a20d5667e6f4a26cMark Andrews usual conventions for the installation procedure).
e9a0e12b2b732285e00e0d9436961d0fe3655aa6Mark Andrews [Ralf S. Engelschall]
e94754428d472bdde2cba0efdd549bac2e87b98bMark Andrews
e94754428d472bdde2cba0efdd549bac2e87b98bMark Andrews *) Add a dbm-library check for the "usual places" (-ldbm, -lndbm, -ldb)
23f2338819fd1a38a828b417eb05be95207e76e2Mark Andrews for other platforms as well. [Martin Kraemer]
a53259c4cc558f86dd008eccc60cc89b6734a03cMark Andrews
a53259c4cc558f86dd008eccc60cc89b6734a03cMark Andrews *) Make ap_sha1.c compile for EBCDIC platforms: replace remaining LONG
a8be540f55786eb9db43ae52bcc891529602c850Mark Andrews types by AP_LONG and replace reference to renamed variable 'ubuf'
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews by 'buffer'. [Martin Kraemer]
a8be540f55786eb9db43ae52bcc891529602c850Mark Andrews
4c8df3b2e8858e97debfe3fb771fe03f22b04d1eMark AndrewsChanges with Apache 1.3.8 [not released]
6c52944ef2281095d1c317a45ea013b8f3cfa135Mark Andrews
6c52944ef2281095d1c317a45ea013b8f3cfa135Mark Andrews *) Flush the output buffer immediately after sending an error or redirect
72379d863a3bb135e7da36e344b731a59b8c3e33Mark Andrews response, since the result may be needed by the client to abort a
77fad835c56b118faf77a69af618d0bca7a16aacMark Andrews long data transfer or restart a series of pipelined requests.
77fad835c56b118faf77a69af618d0bca7a16aacMark Andrews [Tom Vaughan <tvaughan@aventail.com>, Roy Fielding]
e021f388dfc2ac024a103def34818af73e7e869fMark Andrews
dd95acdbce0e2a2775391709cdfca0a9eda7e8f7Mark Andrews *) PORT: Improved compilation and DSO support on Sequent DYNIX/ptx.
dd95acdbce0e2a2775391709cdfca0a9eda7e8f7Mark Andrews [Ian Turner <iant@sequent.com>] PR#4735
c5eebaf6f1311662f8120a8b560e2dbbfd5c92e8Mark Andrews
71e7ac828e9f4f2b124455b00c3d11560aa5d4c1Mark Andrews *) Local struct mmap in http_core.c conflicted with system structure
71e7ac828e9f4f2b124455b00c3d11560aa5d4c1Mark Andrews name on DYNIX -- changed to mmap_rec. [Roy Fielding] PR#4735
1e6d80a391137b26e7250e72f6b28eb92c2b9952Mark Andrews
892c9a8817a454fbac32b099eb55af453b19ce86Mark Andrews *) Added updated mod_digest as modules/experimental/mod_auth_digest.
892c9a8817a454fbac32b099eb55af453b19ce86Mark Andrews [Ronald Tschal�r <ronald@innovation.ch>]
af4b677e0de9c4ce67a5187039681a58f73b86eaMark Andrews
3aca8e5bf3740bbcc3bb13dde242d7cc369abb27Mark Andrews *) Fix a memory leak where the module counts were getting messed
f34970d390482ceea61bd4d5bcd6ead7828157daMark Andrews up across restarts. [David Harris <dharris@drh.net>]
4d86cda3d7eb31578c9088c51a26643d43799533Mark Andrews
cbfce73e8e020c1d08c7be7b48a849d8333eb9bfMark Andrews *) CIDR addresses such as a.b.c.d/24 where d != 0 weren't handled
84a5b69f0029952e33c96695f0a7d26c2bb8f7ccMark Andrews properly in mod_access.
84a5b69f0029952e33c96695f0a7d26c2bb8f7ccMark Andrews ["Paul J. Reder" <rederpj@raleigh.ibm.com>] PR#4770
e9e869569a92c4b1d5339d3bfb22232e5b401db1Mark Andrews
73fb13fe97cf2f1d93d5e2ea56583fdb2f40b6f3Mark Andrews *) RewriteLock/RewriteMap didn't work properly with virtual hosts.
73fb13fe97cf2f1d93d5e2ea56583fdb2f40b6f3Mark Andrews [Dmitry Khrustalev <dima@bog.msu.su>] PR#3874
6f1ad0fc645250c240f21a9201e8cdb0f263c218Mark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) PORT: Support for compaq/tandem/com.
e3d982f4a8e8a974231042ff4303ed8e82dfbdf9Mark Andrews [Michael Ottati <michael.ottati@compaq.com>, dirkx]
e3d982f4a8e8a974231042ff4303ed8e82dfbdf9Mark Andrews
783707ee556191b974e951f04accf09f443f5fdfMark Andrews *) Added SHA1 password encryption support to easy migration from
e743a2b3b729df76956e903ac6a3dc3d6eea6df6Mark Andrews Netscape servers. See support/SHA1 for more information.
e743a2b3b729df76956e903ac6a3dc3d6eea6df6Mark Andrews Caused the separation of ap_md5.c into md5, sha1 and a general
e743a2b3b729df76956e903ac6a3dc3d6eea6df6Mark Andrews ap_checkpass.c with just a validate_passwd routine. Added a
a79348a6db5eb8a5ea69c3989727418ad5a8f224Mark Andrews couple of flags to support/htpasswd. Some reuse of the to64()
a79348a6db5eb8a5ea69c3989727418ad5a8f224Mark Andrews function; hence renamed to ap_to64().
a79348a6db5eb8a5ea69c3989727418ad5a8f224Mark Andrews [Dirk-Willem van Gulik, Clinton Wong <clintdw@netcom.com>]
a79348a6db5eb8a5ea69c3989727418ad5a8f224Mark Andrews
fed3d5c2fc3fa8e1547e8b5c28c01f1095e17e5fMark Andrews *) Change for EBCDIC platforms (TPF and BS2000) to correctly deal
fed3d5c2fc3fa8e1547e8b5c28c01f1095e17e5fMark Andrews with ASCII/EBCDIC conversions in "ident" query.
2651dcdf758ed1db3379d7004067fb46d308ed1cMark Andrews [David McCreedy <McCreedy@us.ibm.com>]
2651dcdf758ed1db3379d7004067fb46d308ed1cMark Andrews
2651dcdf758ed1db3379d7004067fb46d308ed1cMark Andrews *) Get rid of redefinition warning on MAC_OS_X_SERVER platform.
21094b43a2dc4e1f569a9ed894f5369470cd1a7fMark Andrews Change "Power Macintosh" to Power* so if uname prints "Power Book"
21094b43a2dc4e1f569a9ed894f5369470cd1a7fMark Andrews we're still happy on Rhapsody platforms. [Wilfredo Sanchez]
b03a31d98f1cf42414d321c742c9fc04be75b32bMark Andrews
81e6a5849d61c2e710d628cf9a7b7282eaa88c46Mark Andrews *) Fix SIGSEGV on some systems because the Vary fix below included
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews a call to table_do with a variable argument list that was not
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews NULL terminated. Replaced with better implementation. [Roy Fielding]
4181218570e915959dd203c18f8cf4a03dca5d68Mark Andrews
4181218570e915959dd203c18f8cf4a03dca5d68Mark AndrewsChanges with Apache 1.3.7 [not released]
cd0a7c71c0edd9540a7e917a2389a3ad0accc835Mark Andrews
ad98a8699371c9c449982fbbd8ceda91ad745f2aMark Andrews *) The "Vary" response header field is now sanitised right before
ad98a8699371c9c449982fbbd8ceda91ad745f2aMark Andrews the header is sent back to the client. Multiple "Vary" fields
c1807114ce574896694e3f449c73b098fe91730fMark Andrews are combined, and duplicate tokens (e.g., "Vary: host, host" or
c1807114ce574896694e3f449c73b098fe91730fMark Andrews "Vary: host, negotiate, host, accept-language") are reduced to
c1807114ce574896694e3f449c73b098fe91730fMark Andrews single instances. This is a better solution than the force-no-vary
0066165079c7d85033f4b623153e404df31b9c75Mark Andrews one (which is still valid for clients that can't cope with Vary
276f1d9a380affd06e5fd9a29c30d0ebd433ed36Mark Andrews at all). PR#3118 [Dean Gaudet, Roy Fielding, Ken Coar]
276f1d9a380affd06e5fd9a29c30d0ebd433ed36Mark Andrews
276f1d9a380affd06e5fd9a29c30d0ebd433ed36Mark Andrews *) Portability changes for BeOS. [David Reid abb37@dial.pipex.com]
055597532db52233e80f617b8b015e8caadcb577Mark Andrews
61a4d5e7d86f3abcd63aa9254900a0cee3444215Mark Andrews *) Link DSO's with "gcc -shared" instead of "ld -Bshareable" at
61a4d5e7d86f3abcd63aa9254900a0cee3444215Mark Andrews least on Linux and FreeBSD for now.
61a4d5e7d86f3abcd63aa9254900a0cee3444215Mark Andrews [Rasmus Lerdorf]
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews
055597532db52233e80f617b8b015e8caadcb577Mark Andrews *) Win32: More apache -k restart work. Restarts are now honored
055597532db52233e80f617b8b015e8caadcb577Mark Andrews immediately and connections in the listen queue are -not- lost.
055597532db52233e80f617b8b015e8caadcb577Mark Andrews This is made possible by the use of the WSADuplicateSocket()
055597532db52233e80f617b8b015e8caadcb577Mark Andrews call. The listeners are opened in the parent, duplicated, then
055597532db52233e80f617b8b015e8caadcb577Mark Andrews the duplicates are passed to the child. The original listen sockets
6cdae8730d5a287c30987516c6f99962d4e8e6beMark Andrews are not closed by the parent across a restart, thus the listen queue
6cdae8730d5a287c30987516c6f99962d4e8e6beMark Andrews is preserved.
6cdae8730d5a287c30987516c6f99962d4e8e6beMark Andrews [Bill Stoddard <stoddard@raleigh.ibm.com>]
40e7c805a8f38ad9b20dd6c688496fc09fc971c2Mark Andrews
40e7c805a8f38ad9b20dd6c688496fc09fc971c2Mark Andrews *) Fix handling of case when a client has sent "Expect: 100-continue"
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews and we are going to respond with an error, but get stuck waiting to
40e7c805a8f38ad9b20dd6c688496fc09fc971c2Mark Andrews discard the body in the pointless hope of preserving the connection.
40e7c805a8f38ad9b20dd6c688496fc09fc971c2Mark Andrews [Roy Fielding, Joe Orton <jeo101@york.ac.uk>] PR#4499, PR#3806
40e7c805a8f38ad9b20dd6c688496fc09fc971c2Mark Andrews
9076b18608d8e5cfff8fac54ef82853371fdd0d6Mark Andrews *) Fix 'configure' to work correctly with SysV-based versions of
073bd4c4bcc2f2597521578dc6ae0f49a065626cMark Andrews 'tr' (consistent with Configure's use as well). [Jim Jagielski]
073bd4c4bcc2f2597521578dc6ae0f49a065626cMark Andrews
af5273ceab514c55ddcd7ebaed5d598150b6b8faMark Andrews *) apxs: Add "-S var=val" option which allows for override of CFG_*
073bd4c4bcc2f2597521578dc6ae0f49a065626cMark Andrews built-in values. Add "-e" option which works like -i but doesn't
af5273ceab514c55ddcd7ebaed5d598150b6b8faMark Andrews install the DSO; useful for editing httpd.conf with apxs. Fix
411c61d6fbf5a27c78650b9a1b3c69ac2640c929Mark Andrews editing code so that multiple invocations of apxs -a will not
3c20ae76389dd7bd2fbbb5145f51fe7f72f97f14Mark Andrews create duplicate LoadModule/AddModule entries; apxs can now be
3c20ae76389dd7bd2fbbb5145f51fe7f72f97f14Mark Andrews used to re- enable/disable a module. [Wilfredo Sanchez]
2d2e0fff8e168012bc34a40ee24476eddab901ecMark Andrews
2d2e0fff8e168012bc34a40ee24476eddab901ecMark Andrews *) Win32: Update the server to use Winsock 2. Specifically, link with
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews ws2_32.lib rather than wsock32.lib. This gives us access to
314cac23654229f5df93af0c41231fd3c2187621Mark Andrews WSADuplcateSocket() in addition to some other enhanced comm APIs.
314cac23654229f5df93af0c41231fd3c2187621Mark Andrews Win 95 users may need to update their TCP/IP stack to pick up
314cac23654229f5df93af0c41231fd3c2187621Mark Andrews Winsock 2. (See http://www.microsoft.com/windows95/downloads/)
c42ab597c433e2410473b5daef8a70f12263cfc1Mark Andrews [Bill Stoddard stoddard@raleigh.ibm.com]
c42ab597c433e2410473b5daef8a70f12263cfc1Mark Andrews
c42ab597c433e2410473b5daef8a70f12263cfc1Mark Andrews *) Win32: Redirect CGI script stderr (script debug info) into the
2c329da87c5c886e7f4468c69a9e6323121068cbMark Andrews error.log when CGI scripts fail. This makes Apache on Win32
2c329da87c5c886e7f4468c69a9e6323121068cbMark Andrews behave more like Unix.
5ec95dc3cbba160d03be874941930bdf3e515bbdMark Andrews [Bill Stoddard stoddard@raleigh.ibm.com]
31affb2ca39c483670ba71042ce4c984ac257232Mark Andrews
31affb2ca39c483670ba71042ce4c984ac257232Mark Andrews *) Fixed `httpd' usage display: -D was missing.
aeb33b58e1979b716d1eb0521df8bc3a0aa41a52Mark Andrews [Ralf S. Engelschall] PR#4614
43fe2897fc80bbec2115310ca79d432a252f3ea4Mark Andrews
43fe2897fc80bbec2115310ca79d432a252f3ea4Mark Andrews *) Fix `make r' test procedure in src/regex/: ap_isprint was not found.
9e50b6806e428c817bc9537457db8f0a0aeee167Mark Andrews [Ralf S. Engelschall] PR#4561, PR#4562
43fe2897fc80bbec2115310ca79d432a252f3ea4Mark Andrews
43fe2897fc80bbec2115310ca79d432a252f3ea4Mark Andrews *) OS/2: Fix problem with accept lock semaphores where server would die with
9e50b6806e428c817bc9537457db8f0a0aeee167Mark Andrews "OS2SEM: Error 105 getting accept lock. Exiting!"
0553f5554f2ecfa137565b83378f566edc8fe6abMark Andrews [Brian Havard] PR#4505
50a3801fa7845d1d345af76a379434f54fd6a84bMark Andrews
0553f5554f2ecfa137565b83378f566edc8fe6abMark Andrews *) Add DSO support for DGUX 4.x using gcc. Tested on x86 platforms.
50a3801fa7845d1d345af76a379434f54fd6a84bMark Andrews [Randy Terbush <randy@covalent.net>]
0553f5554f2ecfa137565b83378f566edc8fe6abMark Andrews
0553f5554f2ecfa137565b83378f566edc8fe6abMark Andrews *) Add the new mass-vhost module (mod_vhost_alias.c) developed and
50a3801fa7845d1d345af76a379434f54fd6a84bMark Andrews used by Demon Internet, Ltd. [Tony Finch <fanf@demon.net>]
fb827ed6df9a473770fb69a75a455b4ad0d14f52Mark Andrews
ca155b13211202a6195b5a0f085aff06075c4300Mark Andrews *) Better GCC detection for DSO flags under Solaris 2 where the `cc'
31a71adf14d106260127079f6ea26bea600163e9Mark Andrews command potentially _is_ GCC. [Ralf S. Engelschall]
31a71adf14d106260127079f6ea26bea600163e9Mark Andrews
4b030f887e5e51c00dac499682d0b5b870ece45bMark Andrews *) Fix apxs build issues on AIX
110fbe3a1315b38f1491546d82937a01c40f5fdbMark Andrews [Rasmus Lerdorf <rasmus@raleigh.ibm.com>]
110fbe3a1315b38f1491546d82937a01c40f5fdbMark Andrews
561863ed947f18c8bfcaa631ad83a6bee3b7200bMark Andrews *) DocumentRoot Checking: Under previous versions, when Apache
3b9a0696f99c40222e50ddae4d0dd9611737c1daMark Andrews first started up, it used to do a stat of each DocumentRoot to
3b9a0696f99c40222e50ddae4d0dd9611737c1daMark Andrews see if it existed and was a directory. If not, then an error
12e8e73d76f78649cb61ba161eb51faf851ddb4aMark Andrews message was printed. THIS HAS BEEN DISABLED. If DocumentRoot
12e8e73d76f78649cb61ba161eb51faf851ddb4aMark Andrews does not exist, you will get error messages in error_log. If
7a1cba6262f099aa5ecf9ed4db9c0345489653ccMark Andrews the '-t' command line option is used (to check the configuration)
12e8e73d76f78649cb61ba161eb51faf851ddb4aMark Andrews the check of DocumentRoot IS performed. An additional command
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews line option, '-T', has been added if you want to avoid the
bce2d35b4879d7878e339a9c60db9364508e38fdMark Andrews DocumentRoot check even when checking the configuration.
51f99a878d7449a4280b2a8db4c84acb3735f259Mark Andrews [Jim Jagielski]
51f99a878d7449a4280b2a8db4c84acb3735f259Mark Andrews
bff602d4acc7e3facc28b8931538b77d53681f15Mark Andrews *) Win32: The query switch "apache -S" didn't exit after showing the
51f99a878d7449a4280b2a8db4c84acb3735f259Mark Andrews vhost settings. That was inconsistent with the other query functions.
51f99a878d7449a4280b2a8db4c84acb3735f259Mark Andrews [Bill Stoddard - Fixed by Martin on Unix in 1.3.4]
bff602d4acc7e3facc28b8931538b77d53681f15Mark Andrews
51f99a878d7449a4280b2a8db4c84acb3735f259Mark Andrews *) Win32: Changed behaviour of apache -k restart.
51f99a878d7449a4280b2a8db4c84acb3735f259Mark Andrews Previously, the server would drain all connections in the stack's
51f99a878d7449a4280b2a8db4c84acb3735f259Mark Andrews listen queue before honoring the restart. On a busy server, this
bff602d4acc7e3facc28b8931538b77d53681f15Mark Andrews could take hours. Now, a restart is honored almost immediately.
86c3e4bb9663719cfa16e493a145c4ff0d6f745fMark Andrews All connections in Apache's queues are handled but connections in
86c3e4bb9663719cfa16e493a145c4ff0d6f745fMark Andrews the stack's listen queue are discarded. Restart triggered by
86c3e4bb9663719cfa16e493a145c4ff0d6f745fMark Andrews MaxRequestPerChild is unchanged.
4ab6d6464f5490a30acf1e292c7f3f26dc99d6dbMark Andrews [Bill Stoddard <stoddard@raleigh.ibm.com>]
4ab6d6464f5490a30acf1e292c7f3f26dc99d6dbMark Andrews
4ab6d6464f5490a30acf1e292c7f3f26dc99d6dbMark Andrews *) Win32: Eliminated unnecessary call to wait_for_multiple_objects in
722ebc3a47ffd2ac8f0b1a231dbd0cfd485ea2ffMark Andrews the accept loop. Good for a 5% performance boost. Cleaned up
722ebc3a47ffd2ac8f0b1a231dbd0cfd485ea2ffMark Andrews parent/child process management code.
41be71bae48846d9525be6f71e19944e34748e26Mark Andrews [Bill Stoddard <stoddard@raleigh.ibm.com>]
3f79a8b6f1b50f8e1bc2f274bcfe91d6af74f161Mark Andrews
3f79a8b6f1b50f8e1bc2f274bcfe91d6af74f161Mark Andrews *) Added ceiling on file size for memory mapped files.
3f79a8b6f1b50f8e1bc2f274bcfe91d6af74f161Mark Andrews [John Giannandrea <jg@meer.net>] PR#4122
3f79a8b6f1b50f8e1bc2f274bcfe91d6af74f161Mark Andrews
c93003b0a6c063c15495f66300a1822481728fcaMark Andrews *) Fix ndbm.h include problems with brain-dead glibc >= 2.1 which
c93003b0a6c063c15495f66300a1822481728fcaMark Andrews has ndbm.h in a non-standard db1/ subdir. PR#4431, PR#4528
c93003b0a6c063c15495f66300a1822481728fcaMark Andrews [Henri Gomez <gomez@slib.fr>, Ralf S. Engelschall]
4f32995bf6af48ab410b6d14b160348f5ffe0556Mark Andrews
a4743d3d26c4dde69b80fd69bca83e0c28063425Mark Andrews *) Determine AP_BYTE_ORDER for ap_config_auto.h and already
a4743d3d26c4dde69b80fd69bca83e0c28063425Mark Andrews use this at least for Expat. [Ralf S. Engelschall]
817a7fb62d05222fb287bbcde910ab3669f6d237Mark Andrews
ac86cff0d7ff2108cd7ace66697e2de104735496Mark Andrews *) Allow .module files to specify libraries with Lib:.
2a71a21346ce6a098b7daf98358d5bdced8e6eb6Mark Andrews [Ben Laurie]
2a71a21346ce6a098b7daf98358d5bdced8e6eb6Mark Andrews
8147940ae7a7280ba12dd35614b9c987b38363faMark Andrews *) Allow SetEnvIf[NoCase] to test environment variables as well
23ac30603a7639bea1d331537634b079b046b122Mark Andrews as header fields and request attributes. [Ken Coar]
a90cf89180ae8d9dfd281288cdc75940e46bfdd0Mark Andrews
d6fe7ba94969ee51a3f4298a735fbc6e11691ad8Mark Andrews *) Fix mod_autoindex's handling of ScanHTMLTitles when file
d6fe7ba94969ee51a3f4298a735fbc6e11691ad8Mark Andrews content-types are "text/html;parameters". PR#4524 [Ken Coar]
d6fe7ba94969ee51a3f4298a735fbc6e11691ad8Mark Andrews
d6fe7ba94969ee51a3f4298a735fbc6e11691ad8Mark Andrews *) Remove "mxb" support from mod_negotiation -- it was a draft feature
fa901545edc8bb62969121e14199d533a40d0b61Tatuya JINMEI 神明達哉 never accepted into any standard, and it opens up certain DoS
9cc53f2a0819301c2de7ab93197eee11e8a365e7Mark Andrews attacks. [Koen Holtman <Koen.Holtman@cern.ch>]
9cc53f2a0819301c2de7ab93197eee11e8a365e7Mark Andrews
68ae0f83c00d9e06693f5b138a0ced5a6ceccc5cMark Andrews *) TestCompile updated. We can now run programs and output the
68ae0f83c00d9e06693f5b138a0ced5a6ceccc5cMark Andrews results during the Configure process. [ Jim Jagielski]
326449ec24b069f5ef59c8e282ae22a50aa27049Mark Andrews
207f0a15bb486d8dc27cf5ff963fac6068ee2972Mark Andrews *) The source is now quad (long long) aware as needed. Specifically,
3bb3c75ebcf3a798d33a5c439b997e1f37910501Mark Andrews the Configure process determines the correct size of off_t and
16a68807e13caea3183a41a5292f1b3f48b81a26Mark Andrews *void. When the OS/platform/compiler supports quads, ap_snprintf()
16a68807e13caea3183a41a5292f1b3f48b81a26Mark Andrews provides for the 'q' format qualifier (if quads are not available,
16a68807e13caea3183a41a5292f1b3f48b81a26Mark Andrews 'q' is silently "demoted" to long). [Jim Jagielski]
a1ed9109a60911df561628e49c5c29e3b0506801Mark Andrews
ed18f744963c431ff76489aa01ec6fc9fac137fbMark Andrews *) When the username or password fed to htpasswd is too long, include the
ed18f744963c431ff76489aa01ec6fc9fac137fbMark Andrews size limit in the error message. Also report illegal characters
825fccf631aa71cfbb8bfcf4e2009ca21de28f36Mark Andrews (currently only ':') in the username. Add the size restrictions
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews to the man page. [Ken Coar]
5639d60b40db2051eb7e737d86635c621ffbfa12Mark Andrews
d0deea590e6e175c77f9b5f972fea3fc7a63577aMark Andrews *) Fixed the configure --without-support option so it doesn't result in
689023771c563d8660e45d439a207e06e96de28fMark Andrews an infinite loop. [Marc Slemko]
689023771c563d8660e45d439a207e06e96de28fMark Andrews
fb2c34419d268d36acb222e08e6f789b45a81306Mark Andrews *) Piped error logs could cause a segfault if an error occured
fb2c34419d268d36acb222e08e6f789b45a81306Mark Andrews during configuration after a restart.
fb2c34419d268d36acb222e08e6f789b45a81306Mark Andrews [Aidan Cully <aidan@panix.com>] PR#4456
30b41c205cec69f7bde2d9afb16557b6c1e7a531Mark Andrews
30b41c205cec69f7bde2d9afb16557b6c1e7a531Mark Andrews *) If a "Location" field was stored in r->err_headers_out rather
3a1d86e8f51c953c2407e112e15b47328b6ee4feMark Andrews than r->headers_out, redirect processing wouldn't find it and
09b24007634d53673fa4a1468416d4e9ee232b7aMark Andrews the server would core dump on ap_escape_html(NULL). Check both
09b24007634d53673fa4a1468416d4e9ee232b7aMark Andrews tables and raise HTTP_INTERNAL_SERVER_ERROR with a log message
455bb19b5dbf5dce6e625349acf5018fc4823adbTatuya JINMEI 神明達哉 if Location isn't set. [Doug MacEachern, Ken Coar]
455bb19b5dbf5dce6e625349acf5018fc4823adbTatuya JINMEI 神明達哉
455bb19b5dbf5dce6e625349acf5018fc4823adbTatuya JINMEI 神明達哉 *) Add RULE_EXPAT, the src/lib/ directory structure, and a modified copy
455bb19b5dbf5dce6e625349acf5018fc4823adbTatuya JINMEI 神明達哉 of the Expat 1.0.2 distribution. [Greg Stein]
5e4346a4f9f9ed474d20a4ff05f1bbcb47f9342dMark Andrews
5e4346a4f9f9ed474d20a4ff05f1bbcb47f9342dMark Andrews *) Replace regexec() calls with calls to a new API stub function
5e4346a4f9f9ed474d20a4ff05f1bbcb47f9342dMark Andrews ap_regexec(). This solves problems with DSO modules which use the regex
5e4346a4f9f9ed474d20a4ff05f1bbcb47f9342dMark Andrews library. [Jens-Uwe Mager <jum@helios.de>, Ralf S. Engelschall]
7f2a6b0ef762b4cef9b0b2b59e7f44e4d2d4d32dMark Andrews
7f2a6b0ef762b4cef9b0b2b59e7f44e4d2d4d32dMark Andrews *) Add 'Request_Protocol' special keyword to mod_setenvif so that
e37dff26c6bb6e2ffbba7b089ca3599d5e3e04fbMark Andrews environment variables can be set according to the protocol version
b712879fcb6d584bb16b3f39ec1fb6ee176e4a03Mark Andrews (e.g., HTTP/0.9 or HTTP/1.1) of the request. [Ken Coar]
b712879fcb6d584bb16b3f39ec1fb6ee176e4a03Mark Andrews
21d2ebd23d1ff59d0c081baeab1a97aae1baf4a4Mark Andrews *) Add DSO support for OpenStep (Mach 4.2) platform.
f697150aefb5d64e5bed4111aa2596a268ee8848Mark Andrews [Ralf S. Engelschall, Rex Dieter <rdieter@math.unl.edu>] PR#3997
f697150aefb5d64e5bed4111aa2596a268ee8848Mark Andrews
21d2ebd23d1ff59d0c081baeab1a97aae1baf4a4Mark Andrews *) Fix sed regex for generating ap_config_auto.h in src/Configure.
9baab4b1a8a5a54c04e47742c7b48311d5575a87Mark Andrews [Jan Gallo <gallo@pvt.sk>] PR#3690, PR#4373
c5826852e6c789f59b301f8197e65a1dd4e09a44Mark Andrews
c5826852e6c789f59b301f8197e65a1dd4e09a44Mark Andrews *) Switch to /bin/sh5 in APACI on Ultrix and friends to avoid problems with
c0d2891f6e08fcf5379dfb9a1bf8fbbb63f1952aMark Andrews their brain-dead /bin/sh. [Ralf S. Engelschall] PR#4372
c0d2891f6e08fcf5379dfb9a1bf8fbbb63f1952aMark Andrews
c426fddf168a3cdfc1c4c162365d440c89148ae4Mark Andrews *) Better DSO flags recognition on NetBSD platforms using ELF.
c426fddf168a3cdfc1c4c162365d440c89148ae4Mark Andrews [Todd Vierling <tv@pobox.com>] PR#4310
cb75f7ce19e11e3dfedee5a50a331bf53cd2c36bMark Andrews
1a6204b6f26677cad76ea5644dc0624aac49b451Mark Andrews *) Always log months in english format for %t in mod_log_config.
1a6204b6f26677cad76ea5644dc0624aac49b451Mark Andrews [Petr Lampa <lampa@fee.vutbr.cz>] PR#4366, 679
1a6204b6f26677cad76ea5644dc0624aac49b451Mark Andrews
9f7d51ee3290e2a064d71016a6bd555b47134a7cMark Andrews *) Support for server-parsed and multiview-determined ReadmeName and
9f7d51ee3290e2a064d71016a6bd555b47134a7cMark Andrews HeaderName files in mod_autoindex. Removed the restriction on
d8c2b1787119de43dd6b7e3927ff193ed5df682fMark Andrews "/"s in ReadmeName and HeaderName directives since the *sub_req*
d8c2b1787119de43dd6b7e3927ff193ed5df682fMark Andrews routines will deal with the access issues. (It's now possible to
8bcfe7952124a7aab5ae9fbb9420417b5be12721Mark Andrews have {site|group|project|customer|...} wide readmes and headers.)
8bcfe7952124a7aab5ae9fbb9420417b5be12721Mark Andrews [Raymond S Brand <rsbx@rsbx.net>, Ken Coar] PR#1574, 3026, 3529,
8bcfe7952124a7aab5ae9fbb9420417b5be12721Mark Andrews 3569, 4256
351696ef9e44e31e200afc0b019f24af6b597471Rob Austein
fbdadf789f3057a5c90ebc026dbf2d174022bd28Rob Austein *) When stat() fails, don't assume anything about the contents of
1672cff96d0b02badab6f94524e10285dde851fcMark Andrews the struct stat. [Ed Korthof <ed@bitmechanic.com>]
1672cff96d0b02badab6f94524e10285dde851fcMark Andrews
e9f33cdca0565d049941117d30e4c37ab3c5e990Mark Andrews *) It's OK for a semop to return EINTR, just loop around and try
cf6b36171770dc14b6572003b4e8aeaa22536dd4Mark Andrews again. [Dean Gaudet]
cf6b36171770dc14b6572003b4e8aeaa22536dd4Mark Andrews
9105a6a730bfb8472c48230629c5a0aebb88c422Mark Andrews *) Fix configuration engine re-entrant hangups, which solve a
9105a6a730bfb8472c48230629c5a0aebb88c422Mark Andrews handful of problems seen with mod_perl <Perl> configuration sections
c5a84548b24ffac37d0154d8f2f4fea36a3aeb23Mark Andrews [Salvador Ortiz Garcia <sog@msg.com.mx>]
9aa7706900e2451fcd6e44ffe4a45b042ec34cf3Mark Andrews
9aa7706900e2451fcd6e44ffe4a45b042ec34cf3Mark Andrews *) Mac OS and Mac OS X Server now use the appropriate custom layout
7b78f6665635ed85118352c97ff5a25f5bb242f7Mark Andrews by default when building with APACI; allow for platform-specific
c4f9e613e12f03795bee18cf2ca8e6a9d39d6468Mark Andrews variable defaults in configure. [Wilfredo Sanchez]
3b2032121d6e8ae1f4ad24b31a69e1a4b33c91a0Mark Andrews
e30e7913c9f0978ae60b4e4572034a4b9ffb46deMark Andrews *) Do setgid() before initgroups() in http_main; some platforms
e30e7913c9f0978ae60b4e4572034a4b9ffb46deMark Andrews zap the grouplist when setgid() is called. This was fixed in
e30e7913c9f0978ae60b4e4572034a4b9ffb46deMark Andrews suexec earlier, but the main httpd code missed the change.
65356eb978747c5e68d4c6b3909642cebb8479f8Mark Andrews [Rob Saccoccio <robs@InfiniteTechnology.com>] PR#2579
e8346a529a2777d1867e0bbb3440279cbddbd808Mark Andrews
e8346a529a2777d1867e0bbb3440279cbddbd808Mark Andrews *) Add recognition of .tgz as a gzipped tarchive.
7de69feda2f66658ce66a8700d64ffb88d47bb6aMark Andrews [Bertrand de Singly <bertrand.de-singly@polytechnique.fr>] PR#2364
7de69feda2f66658ce66a8700d64ffb88d47bb6aMark Andrews
49210da3fb6a9268725b2a7db864ade531e5d403Mark Andrews *) mod_include's fsize/flastmod should allow only relative paths, just
49210da3fb6a9268725b2a7db864ade531e5d403Mark Andrews like "include file". [Jaroslav Benkovsky <benkovsk@pha.pvt.cz>]
49210da3fb6a9268725b2a7db864ade531e5d403Mark Andrews
49210da3fb6a9268725b2a7db864ade531e5d403Mark Andrews *) OS/2: Add support for building loadable modules using DLLs.
49210da3fb6a9268725b2a7db864ade531e5d403Mark Andrews [Brian Havard]
49210da3fb6a9268725b2a7db864ade531e5d403Mark Andrews
bb3e43000807197e776407fd8d524a87dcc17a10Mark Andrews *) Add iconsdir, htdocsdir, and cgidir to config.layout.
5b4a9ac6bfba91acd3ba976e75b14ee065d6f95eMark Andrews [Wilfredo Sanchez]
5b4a9ac6bfba91acd3ba976e75b14ee065d6f95eMark Andrews
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews *) Fix minor but annoying bug with the test for Configuration.tmpl
b0196673ab41b4f17e1c45fba160f3ea2623a06fMark Andrews being newer than Configuration so that it is less likely to fail
b0196673ab41b4f17e1c45fba160f3ea2623a06fMark Andrews when using APACI and shadow sources. [Wilfredo Sanchez]
b0196673ab41b4f17e1c45fba160f3ea2623a06fMark Andrews
40fe5e7ac29b695438528c190140fec27d8d1018Mark Andrews *) PORT: Add initial support for Mac OS (versions 10.0 and
40fe5e7ac29b695438528c190140fec27d8d1018Mark Andrews greater). Use Mac OS X Server layout for now. Clean up dyld code
40fe5e7ac29b695438528c190140fec27d8d1018Mark Andrews in unix/os.c, and don't install the dyld error handlers, which
d562cb04df022606af43c7bee3111e4d17cbe4b2Mark Andrews are no longer needed in Mac OS. [Wilfredo Sanchez]
1d8abe0521c8e084dfcdd821173c10e0b416aeb3Mark Andrews
1d8abe0521c8e084dfcdd821173c10e0b416aeb3Mark Andrews *) Rename Rhapsody layout to "Mac OS X Server". Change install
1d8abe0521c8e084dfcdd821173c10e0b416aeb3Mark Andrews locations to appropriate ones for user-built (as opposed to
1d8abe0521c8e084dfcdd821173c10e0b416aeb3Mark Andrews system) installs. [Wilfredo Sanchez]
1bf8f4b77df1e1f8c1ce8326679ab02bac235c09Mark Andrews
18afcb70285f2204b1586c351dd4af0a01d33f75Mark Andrews *) Modify mod_autoindex's handling of AddDescription so that the
18afcb70285f2204b1586c351dd4af0a01d33f75Mark Andrews behaviour matches the documentation. [Ken Coar] PR#1898, 3072.
18afcb70285f2204b1586c351dd4af0a01d33f75Mark Andrews
18afcb70285f2204b1586c351dd4af0a01d33f75Mark Andrews *) Add functionality to the install-bindist.sh script created by
18afcb70285f2204b1586c351dd4af0a01d33f75Mark Andrews binbuild.sh to use tar when copying distribution files to the
32c7aa3dd18d57979990574ddb008437b59c2428Rob Austein serverroot. This allows upgrading an existing installation
32c7aa3dd18d57979990574ddb008437b59c2428Rob Austein without nesting the new distribution in the old.
358043e40fd0c1fe312e25c28a771aafc3bd7b79Mark Andrews
358043e40fd0c1fe312e25c28a771aafc3bd7b79Mark Andrews install-bindist.sh now detects the local perl5 path to install
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews apxs and dbmmanage with proper path to perl interpreter.
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews
bb50eb10edbfa31f53699304d6838716d700b85bMark Andrews Add an install-binsupport target which copies the source files
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews for apxs and dbmmanage to bindist to allow these scripts to
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews be properly installed relative to the destination serverroot.
bb50eb10edbfa31f53699304d6838716d700b85bMark Andrews [Randy Terbush, Covalent Technologies, randy@covalent.net]
a5e055b9d8bc42b0e29d88960ed2a5c531fa5acbRob Austein
a5e055b9d8bc42b0e29d88960ed2a5c531fa5acbRob Austein *) Fix intermittent SEGV in ap_proxy_cache_error() in
3d8dfd44a3be708f00380064411c16b2fa28303aMark Andrews src/modules/proxy_util.c where a NULL filepointer and
a46445468bb39318ad2a4291ace371a8c4ff9ac6Mark Andrews temporary filename were closed and unlinked.
e794f1ef072b4453c4af64717429729bcf3a6a69Mark Andrews [Graham Leggett <minfrin@sharp.fm>,
e794f1ef072b4453c4af64717429729bcf3a6a69Mark Andrews Tim Costello <tjcostel@socs.uts.edu.au>] PR#3178
5f059eef4360bc6c35a38241deb2561884dd9001Mark Andrews
e180037bc15a98cac0b91ffcf464e9c96918294bMark Andrews *) Fix inconsistent error messages reported by mod_proxy.
e180037bc15a98cac0b91ffcf464e9c96918294bMark Andrews [Graham Leggett <minfrin@sharp.fm>]
eeac8cfcd3ad738b435ad82fcd5c6387da643f90Mark Andrews
99ba7fc5ff50823248155f4f2954ece0271b4354Mark Andrews *) OS/2: Fix terminating CGIs that aren't compiled by EMX GCC when a
99ba7fc5ff50823248155f4f2954ece0271b4354Mark Andrews connection is aborted. [Brian Havard]
d1ef96c5fb81b1edbede4228480848b58e48799eMark Andrews
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrews *) Force the LANG envariable to the known state of "C" so that we
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrews have assurance about how string manipulators (e.g., tr) will
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrews function. [Ken Coar] PR#1630
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrews
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrews *) Add a directive to allow customising of the tracking cookie name.
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrews [Ken Coar] PR#2921, 4303
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrews
68fb0934fd5e2f8f95a2f43e26b1208f7cbc4307Mark Andrews *) Add "force-no-vary" envariable to allow servers to work around
68fb0934fd5e2f8f95a2f43e26b1208f7cbc4307Mark Andrews clients that choke on "Vary" fields in the response header.
68fb0934fd5e2f8f95a2f43e26b1208f7cbc4307Mark Andrews [Ken Coar, Dmitry Khrustalev <dima@zippy.machaon.ru>] PR#4118
68fb0934fd5e2f8f95a2f43e26b1208f7cbc4307Mark Andrews
68fb0934fd5e2f8f95a2f43e26b1208f7cbc4307Mark Andrews *) Fixed a bug in mod_dir that causes a child process will infinitely
3386e927950e1bacd2ae7bfdc03ee17885bd9993Mark Andrews recurse when it attemps to handle a request for a directory wnd the
3386e927950e1bacd2ae7bfdc03ee17885bd9993Mark Andrews value of the DirectoryIndex directive is a single dot. Also likely
c80b5ef256d9c289c403bc90e0fbee3699552808Mark Andrews to happen for anyother values of DirectoryIndex that will map back
23fdb6a5a3d3d0e427682b68eea9553d2d326ad4Mark Andrews to the same directory. The handler now only considers regular files
23fdb6a5a3d3d0e427682b68eea9553d2d326ad4Mark Andrews as being index candidates. No PR#s found.
b8694095f0109e23d9aaa3e84f840829b014c417Mark Andrews [Raymond S Brand <rsbx@rsbx.net>]
23fdb6a5a3d3d0e427682b68eea9553d2d326ad4Mark Andrews
23fdb6a5a3d3d0e427682b68eea9553d2d326ad4Mark Andrews *) Ease configuration debugging by making TestCompile fall back to
23fdb6a5a3d3d0e427682b68eea9553d2d326ad4Mark Andrews using "make" if the $MAKE variable is unset [Martin Kraemer]
b8694095f0109e23d9aaa3e84f840829b014c417Mark Andrews
23fdb6a5a3d3d0e427682b68eea9553d2d326ad4Mark Andrews *) Fixed the ServerSignature directive to work as documented.
b8694095f0109e23d9aaa3e84f840829b014c417Mark Andrews [Raymond S Brand <rsbx@rsbx.net>] PR#4248
e6c95fe56b0491b533f2ca5a3ed8e8e9f74f4fd2Mark Andrews
e6c95fe56b0491b533f2ca5a3ed8e8e9f74f4fd2Mark Andrews *) Add "opt" (SysV-style) layout to config.layout. [Raymond S Brand
e6c95fe56b0491b533f2ca5a3ed8e8e9f74f4fd2Mark Andrews <rsbx@rsbx.net>]
e6c95fe56b0491b533f2ca5a3ed8e8e9f74f4fd2Mark Andrews
1c52f228e9e2d8784273b7af76794031e480e5e8Mark Andrews *) Add APACI --without-execstrip option which can be used to disable the
1c52f228e9e2d8784273b7af76794031e480e5e8Mark Andrews stripping of executables on installation. This is very important for DSO
ea0b0c283be744d8b5810927b9981a9afe2f900dMark Andrews and debugging situations. [Ralf S. Engelschall]
c315e5cfead876251ee4ff5600ee67303b2729a4Mark Andrews
c315e5cfead876251ee4ff5600ee67303b2729a4Mark Andrews *) Add support for OS/2 (case insenstive filesystem, .exe suffix, etc)
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews to APACI files and related scripts.
c956fbfbbd536407a2f0ef8f138c27729d31744dMark Andrews [Yitzchak Scott-Thoennes <sthoenna@efn.org>, Ralf S. Engelschall] PR#4269
e5477896ce19a38c3b45e93c144e075565b79e9cMark Andrews
e5477896ce19a38c3b45e93c144e075565b79e9cMark Andrews *) Add support for standalone mode in TPF
e5477896ce19a38c3b45e93c144e075565b79e9cMark Andrews [Joe Moenich <moenich@us.ibm.com>]
c52d94fa4b7eaf8b7be9dfda15f9fc2c01041d51Mark Andrews
f66cd386cf4d0cc65b28cbaeaf540353406393a8Mark Andrews *) Fix number of bytes copied by read_connection() in src/support/ab.c
f66cd386cf4d0cc65b28cbaeaf540353406393a8Mark Andrews [Jim Cox <jc@superlink.net>] PR#4271
e94cf7074d8ac30820a715211ae914387996cca9Mark Andrews
7e2c0c16d6e03058650f536a5b43cb21598ec91fMark Andrews *) Fix special RewriteCond "-s" pattern matching.
7e2c0c16d6e03058650f536a5b43cb21598ec91fMark Andrews [Bob Finch <bob@nas.com>]
7e2c0c16d6e03058650f536a5b43cb21598ec91fMark Andrews
6ecbd11029fa201b5f273f4ef016617dc35206aeMark Andrews *) Fix value quoting in src/Configure script for ap_config_auto.h
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews [Paul Sutton <paul@awe.com>]
738bffe2ee7dd6f3efeae8e2cca9017acc9c5f94Mark Andrews
8d5b4ce1eb7914205c6433d6575f6d11cd7a9509Mark Andrews *) Make sure RewriteLock can be used only in the global context, (i.e.
8d5b4ce1eb7914205c6433d6575f6d11cd7a9509Mark Andrews outside of any <VirtualHost> sections) because it's a global facility of
8d5b4ce1eb7914205c6433d6575f6d11cd7a9509Mark Andrews the rewrite engine. [Ralf S. Engelschall]
c0707105f60934d59321c2fccbc254f9e31ff28aMark Andrews
c0707105f60934d59321c2fccbc254f9e31ff28aMark Andrews *) Fix the ownership delegation for proxy directory under `make install'.
c0707105f60934d59321c2fccbc254f9e31ff28aMark Andrews [Ralf S. Engelschall]
50e45d74340656422b21a5513f2d7138dfe24b7aMark Andrews
50e45d74340656422b21a5513f2d7138dfe24b7aMark Andrews *) APACI would not correctly build suexec. [Maria Verina
be00eb0795d2def3452de0da2adde74e7eda6982Mark Andrews <mariav@icgeb.trieste.it>] PR#4260
be00eb0795d2def3452de0da2adde74e7eda6982Mark Andrews
be00eb0795d2def3452de0da2adde74e7eda6982Mark Andrews *) mod_mime_magic passed only the first 4k of a file to
2cd8fa3ef9b168429dcf76603e7b95c58317dd28Mark Andrews uncompress/gzip, but those tools sometimes do not produce
2cd8fa3ef9b168429dcf76603e7b95c58317dd28Mark Andrews any output unless a sufficient portion of the compressed
5ba04ba7a99371afcd4d988854ee71bffdb20df4Mark Andrews file is input. Change to pass the entire file -- but
5ba04ba7a99371afcd4d988854ee71bffdb20df4Mark Andrews only read 4k of output.
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews [Marcin Cieslak <saper@system.pl>] PR#4097
f6f0bf7d4bb135ba1a421520076a47a61b6870fcMark Andrews
f6f0bf7d4bb135ba1a421520076a47a61b6870fcMark Andrews *) "IndexOptions None" generated extra spaces at the end of each
4e681da26da4fff442b3ae24b0da2de1f240c43cMark Andrews line. [inkling@firstnethou.com] PR#3770
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
4e681da26da4fff442b3ae24b0da2de1f240c43cMark Andrews *) The "100 Continue" response wasn't being sent after internal
4e681da26da4fff442b3ae24b0da2de1f240c43cMark Andrews redirects. [Jose KAHAN <kahan@w3.org>] PR#3910, 3806, 3575
4499c6cd5e376c59e06cd0be61f3620a1336bc5fMark Andrews
4499c6cd5e376c59e06cd0be61f3620a1336bc5fMark Andrews *) When padding the name with spaces for display, mod_autoindex would
4a6f552617fe422ad90826e48c2a3446e3a2574bMark Andrews count &, <, and > in their escaped width, messing up the display.
4a6f552617fe422ad90826e48c2a3446e3a2574bMark Andrews [Dean Gaudet] PR#4075, 3758
1195e2e1f2853df56d7ec69d2e01a99d44e4d61dMark Andrews
392cd518b3aff35c0396f84884cd51680edd68a1Mark Andrews *) PORT: fixed a compilation problem on NEXT.
392cd518b3aff35c0396f84884cd51680edd68a1Mark Andrews [Jacques Distler <distler@golem.ph.utexas.edu>] PR#4130
392cd518b3aff35c0396f84884cd51680edd68a1Mark Andrews
74def1c9c1880480bb62eb881e8a7ce28f9f7a20Mark Andrews *) r->request_time wasn't being set properly in certain error conditions.
5efa612be0471cc4e133b795db3dd3addf18ba6cMark Andrews [Dean Gaudet] PR#4156
5efa612be0471cc4e133b795db3dd3addf18ba6cMark Andrews
da059d6dd4035c1f4736e7978065c4d51893b136Mark Andrews *) PORT: deal with UTS compiler error in http_protocol.c
78ef0ebab3a4039f8efc8afdb7ee4b936ffc34caMark Andrews [Dave Dykstra <dwd@bell-labs.com>] PR#4189
78ef0ebab3a4039f8efc8afdb7ee4b936ffc34caMark Andrews
78ef0ebab3a4039f8efc8afdb7ee4b936ffc34caMark Andrews *) Add ap_vrprintf() function. [John Tobey <jtobey@banta-im.com>] PR#4246
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉
d9147148dde80db2ce3390ded26333d106d3c10bTatuya JINMEI 神明達哉 *) Fix the mod_mime hash table to work properly with locales other
ec3f1d35170225c74d11c27bb184e250d150b209Tatuya JINMEI 神明達哉 than C. [Dean Gaudet] PR#3427
ec3f1d35170225c74d11c27bb184e250d150b209Tatuya JINMEI 神明達哉
75654de87118c587629b5dc6882b6c1925d34983Tatuya JINMEI 神明達哉 *) Fix a memory leak which is exacerbated by certain configurations.
71839e2a424a904a60429a380ee7685464022e4bMark Andrews [Dean Gaudet] PR#4225
71839e2a424a904a60429a380ee7685464022e4bMark Andrews
578f588228f5e04ccf648b6ae596f396ad6a22c9Mark Andrews *) Prevent clobbering saved IFS values in APACI. [Jim Jagielski]
578f588228f5e04ccf648b6ae596f396ad6a22c9Mark Andrews
578f588228f5e04ccf648b6ae596f396ad6a22c9Mark Andrews *) Fix buffer overflows in ap_uuencode and ap_uudecode pointed out
e0199985cfe68e8556cf0060ad8f7effbcdc5628Mark Andrews by "Peter 'Luna' Altberg <peter@altberg.nu>" and PR#3422
e0199985cfe68e8556cf0060ad8f7effbcdc5628Mark Andrews [Peter 'Luna' Altberg <peter@altberg.nu>, Ronald Tschal�r]
38e8022ace865803bdd609c9763cd7d7ba2818dcMark Andrews
38e8022ace865803bdd609c9763cd7d7ba2818dcMark Andrews *) Make {Set,Unset,Pass}Env per-directory instead of per-server.
445acbbea8bd5143749e97a8ff247a808321aa6cMark Andrews [Ben Laurie]
8407fbc61d73caa766c0689558525d0a76296c86Mark Andrews
8407fbc61d73caa766c0689558525d0a76296c86Mark Andrews *) Correct an apparent typo: on the Windows and MPE platforms, the
08b40678f36df355db8e7b84fa4e74f726dd2b3eMark Andrews htpasswd utility was limiting passwords to only 8 characters.
08b40678f36df355db8e7b84fa4e74f726dd2b3eMark Andrews [Ken Coar]
08b40678f36df355db8e7b84fa4e74f726dd2b3eMark Andrews
b9625d9be5d89015b75cc7c25088a8d1a3bb7655Mark Andrews *) EBCDIC platforms: David submitted patches for two bugs in the
cc32d38366fa680fc29f9fb17bd3ebe515835445Mark Andrews MD5 digest port for EBCDIC machines:
cc32d38366fa680fc29f9fb17bd3ebe515835445Mark Andrews a) the htdigest utility overwrote the old contents of the digest file
267a22597fc1c5ffd81532ec1afad36b729f6cb4Tatuya JINMEI 神明達哉 b) the Content-MD5 header value (ContentDigest directive) was wrong
cc32d38366fa680fc29f9fb17bd3ebe515835445Mark Andrews when the returned file was not converted from EBCDIC, but was a
cc32d38366fa680fc29f9fb17bd3ebe515835445Mark Andrews binary (e.g., image file) in the first place.
267a22597fc1c5ffd81532ec1afad36b729f6cb4Tatuya JINMEI 神明達哉 [David McCreedy <mccreedy@us.ibm.com>]
3dc3d557be91d59317b34fc5a9ae79b1925d5878Mark Andrews
c5076a76f6562b5aa48e6a1c680c343b53846157Mark Andrews *) support/htpasswd now permits the password to be specified on the
349f684cf175422918d10e91e7bee747c18ae840Mark Andrews command line with the '-b' switch. This is useful when passwords
349f684cf175422918d10e91e7bee747c18ae840Mark Andrews need to be maintained by scripts -- particularly in the Win32
349f684cf175422918d10e91e7bee747c18ae840Mark Andrews environment. [Ken Coar]
86548554f6180bbe051c8cd8f03c93fc9b6a7825Mark Andrews
86548554f6180bbe051c8cd8f03c93fc9b6a7825Mark Andrews *) Win32: Win32 multiple services patch. Added capability to install and
86548554f6180bbe051c8cd8f03c93fc9b6a7825Mark Andrews run multiple copies of apache as individual services.
5ed76fa7ea83d3ce7a33d365aa3b84410c3b8773Mark Andrews
5ed76fa7ea83d3ce7a33d365aa3b84410c3b8773Mark Andrews Example 1:
349f684cf175422918d10e91e7bee747c18ae840Mark Andrews apache -n apache1 -i -f c:/httpd.conf
349f684cf175422918d10e91e7bee747c18ae840Mark Andrews Installs apache as service 'apache1' and associates c:/httpd.conf
ad3b537a241f40bbb3fdc4de252881c42645021bMark Andrews with that service.
b21b49a1d43dbc44d2b15674ce03a13562165566Mark Andrews net start apache1
b21b49a1d43dbc44d2b15674ce03a13562165566Mark Andrews Starts apache1 service.
b21b49a1d43dbc44d2b15674ce03a13562165566Mark Andrews net stop apache1
ea38808b7dc1b2e760f18f2cc3ae07deaf15ba1aMark Andrews Stops apache1 service
de6ceebf98bedee0b1e1e81d078befbd728b801cMark Andrews
349f684cf175422918d10e91e7bee747c18ae840Mark Andrews Example 2:
349f684cf175422918d10e91e7bee747c18ae840Mark Andrews apache -n apache2 -i
349f684cf175422918d10e91e7bee747c18ae840Mark Andrews Installs apache as service 'apache2'. httpd.conf is located under
ed6e3610e3e56aac554dc93cad461a0016e961f9Mark Andrews the default server root (/apache/conf/httpd.conf).
1cf54d1966b3de8f6593e9e80eae9a80a1c011adMark Andrews net start apache2
1cf54d1966b3de8f6593e9e80eae9a80a1c011adMark Andrews Starts apache2 service.
c3c72c1033b9d085b1a1fe74a9e3efb6db724ce2Mark Andrews
b4fe7caac90b28629d207b40a77862e2535f925cMark Andrews Example 3:
b4fe7caac90b28629d207b40a77862e2535f925cMark Andrews apache -n apache3 -i -d c:/program files/apache
a0a19510c03e6004fd11ec278745d499751cd081Mark Andrews Install apache as service 'apache3' and sets server root to
c2ec022f5784a2ff844f7d062c2022197dc4ad09Mark Andrews c:/program files/apache.
c2ec022f5784a2ff844f7d062c2022197dc4ad09Mark Andrews
c2ec022f5784a2ff844f7d062c2022197dc4ad09Mark Andrews Example 4:
46ed893dd0c8096d2bcbf31e6dcf79b2786e7b7fMark Andrews apache -n apache2 -k restart
1ae75c1024eb0475c2be352b8707772e16332ad0Mark Andrews Restart apache2 service
1ae75c1024eb0475c2be352b8707772e16332ad0Mark Andrews
1ae75c1024eb0475c2be352b8707772e16332ad0Mark Andrews [Keith Wannamaker, Ken Parzygnat, Bill Stoddard]
ed76ec2056f92ae846b260ccfb4f93e3b3f6bdebMark Andrews
ed76ec2056f92ae846b260ccfb4f93e3b3f6bdebMark Andrews *) Correct the signed/unsigned character handling for the MD5 routines;
ed76ec2056f92ae846b260ccfb4f93e3b3f6bdebMark Andrews mismatches were causing compilation problems with gcc -pedantic and
ed76ec2056f92ae846b260ccfb4f93e3b3f6bdebMark Andrews in the TPF cross-compilation. [Ken Coar]
ea17e969771f19485dc7ab2f731d641128a9ee3bMark Andrews
ea17e969771f19485dc7ab2f731d641128a9ee3bMark Andrews *) OS/2: Rework CGI handling to use spawn*() instead of fork/exec, achieving
ea17e969771f19485dc7ab2f731d641128a9ee3bMark Andrews a roughly 5 fold speed up. [Brian Havard]
5eb0659963ec2aa5158425b39620ec1b30c83c7bMark Andrews
5eb0659963ec2aa5158425b39620ec1b30c83c7bMark Andrews *) proxy ftp: instead of using the hardwired string "text/plain" as
5eb0659963ec2aa5158425b39620ec1b30c83c7bMark Andrews a fallback type for files served by the ftp proxy, use the
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews ap_default_type() function to determine the configured type.
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews This allows for special configurations like
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews <Directory proxy:ftp://some.host>
e1f638a7141a4c1364e4ca45025241c9e2fecf74Mark Andrews DefaultType gargle/blurb
4995dba770c1f5f421cf22a2e9e138586a153765Mark Andrews </Directory>
4995dba770c1f5f421cf22a2e9e138586a153765Mark Andrews Additionally, add the Content-Encoding: header to FTP proxy replies
fb827ed6df9a473770fb69a75a455b4ad0d14f52Mark Andrews when the encoding is defined (by the AddEncoding directive).
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews Because it was missing, it was almost impossible to browse compressed
b39213ce599dc433c6f99144c97ca3d562f40344Mark Andrews files using the FTP proxy (works now perfectly in Communicator).
b39213ce599dc433c6f99144c97ca3d562f40344Mark Andrews The ftp proxy now also returns the Date: and Server: header lines (if not
154bd87b5c9d603329dd691b822525c6885f21d4Mark Andrews much else... This code is "somewhat" broken) like normal requests do.
8862388bcb44f634cbfc3e69f11ff4cb76590a4bMark Andrews [Martin Kraemer]
8862388bcb44f634cbfc3e69f11ff4cb76590a4bMark Andrews
6ec0f98cf6e88aeba1615763fdec253bf391f22eMark Andrews *) Be more smart in APACI's configure script when determining the UID/GID
cf7432f74761107ac3cbafadc524b5d650919fedMark Andrews for User/Group directives and use the determined UID/GID to initialize
80cc19dc262cead5a8af41838ebfae5a6e587605Mark Andrews the permissions on the proxycachedir.
80cc19dc262cead5a8af41838ebfae5a6e587605Mark Andrews [Dirk-Willem van Gulik, Ralf S. Engelschall]
d4e1933abc4bfa3d42dcc2f093c81816a317dde6Mark Andrews
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews *) Changed the forking-prior-to-cleanup in the proxy module to first
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews check wether it actually needs to collect garbage. This reduces
7c82b7ae3f3006e20d00529a15372d6cba133c20Mark Andrews the number of fork()s from one/request to just the odd one an hour.
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews [Dirk-Willem van Gulik]
7c82b7ae3f3006e20d00529a15372d6cba133c20Mark Andrews
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews *) Added proxy, auth and header support to src/support/ab.c. Added a
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews README file to src/support/
7c82b7ae3f3006e20d00529a15372d6cba133c20Mark Andrews [Dirk-Willem van Gulik]
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews *) Don't hard-code the path to AWK in --shadow bootstrapping Makefile.
6e3bc2e0f715e2f3ddbfc10811303f39cce37fc6Mark Andrews [Ralf S. Engelschall] PR#4050
39e5cab80a2abc95ca034ac79ea3f973fc66f5b3Mark Andrews
0b9af9eb37f624033652f6cc463262474ee13344Mark Andrews *) Add support for DSO module compilation on BSD/OS 3.x.
85315eb5361d92ba034cecc26c3526e121392386Mark Andrews [Randy Terbush, Covalent Technologies]
3b1fce680f1dbe9467cd3b0ab3138ea52d5a976fMark Andrews
3b1fce680f1dbe9467cd3b0ab3138ea52d5a976fMark Andrews *) Fix sed-substitutions in `make install': path elements like `httpd/conf'
ead4d2d676b12a856769d3750861c6efbb95f709Mark Andrews (for instance from an APACI configure --sysconfdir=/etc/httpd/conf
0822cc50657c972c6a5ee29cba9506847c7ea7c2Mark Andrews option) were substituted with $(TARGET).conf, etc. Same for other strings
0822cc50657c972c6a5ee29cba9506847c7ea7c2Mark Andrews with dots where the dot wasn't matched as plain text.
bdb609f5874056f6f1cd212ebf8700132e683fe5Mark Andrews [Ralf S. Engelschall]
c5cde9d5a70c921da901a23845e740ccc7a8c4e4Mark Andrews
c5cde9d5a70c921da901a23845e740ccc7a8c4e4Mark Andrews *) PORT: Add support for FreeBSD 4.x [Ralf S. Engelschall]
bae21f249ead77e442a025b9b18d90e21ebf72ceMark Andrews
321df4df1972da49223fc8ee1180f94b88295568Mark Andrews *) Fix verbose output of APACI configure (option -v)
a3a09ca2497e925a9f0ba76f1525c6c60e5d5094Mark Andrews [Martin Kraemer, Ralf S. Engelschall]
7f5a3cea4e93ad683b13ebef8a6589afd97fb762Mark Andrews
7f5a3cea4e93ad683b13ebef8a6589afd97fb762Mark AndrewsChanges with Apache 1.3.6
9c3df90dd3767bcc14c4028fb3d81b26d056e821Mark Andrews
9c3df90dd3767bcc14c4028fb3d81b26d056e821Mark Andrews *) Removed new PassAllEnv code due to DSO problems. [Lars Eilebrecht]
50105afc551903541608b11851d73278b23579a3Mark Andrews
50105afc551903541608b11851d73278b23579a3Mark AndrewsChanges with Apache 1.3.5 [not released]
1285fa26e632e3b386435b730b47b5ff1a03e553Mark Andrews
1285fa26e632e3b386435b730b47b5ff1a03e553Mark Andrews *) M_INVALID needed a value within the scope of METHODS so that unknown
5a680f4170ba77be1e31cf1fc40ab43856919078Mark Andrews methods can be access controlled. [Roy Fielding] PR#3821
5a680f4170ba77be1e31cf1fc40ab43856919078Mark Andrews
ad35e0aec9dae18ee31e760beab1602f7eb4ef05Mark Andrews *) Added PassAllEnv; makes server's entire environment available
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews to CGIs and SSIs executed within directive's scope. [Ken Coar]
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews
8c5d451ea2898586c00932efeb5123b41afc9650Mark Andrews *) ap_uuencode() always added two trailing '='s and encoding of
9c8fb5f756d99a4ecba95df9a00757384f3b71b7Mark Andrews 8 bit characters on a machine with signed char may produced
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews incorrect results. Additionally ap_uuencode() should now
fa7ee558e0536a94bfdb154a7c7ba298535459c4Mark Andrews work correctly on EBCDIC platforms.
d81018ac98b287438248cd0e3a1c230eb40b0b55Mark Andrews [Ronald Tschal�r <ronald@innovation.ch>] PR#3411
1d7cbe71b99ea0e883a4cf8af8a91bba04a3597eMark Andrews
1d7cbe71b99ea0e883a4cf8af8a91bba04a3597eMark Andrews *) WIN32: Binary installer now runs the configuration DLL before
7436bb66c610c039ca3dec12aac5024037898910Mark Andrews the reboot prompt (which is only given if MSVCRT.DLL system
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews DLL is new or updated). This should avoid the configuration
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews directory being empty after installation. [Paul Sutton]
e9964e7db4467722300c0d7d52ec1d7a51a784c1Mark Andrews PR#3767, 3800, 3827, 3850, 3900, 3953, 3988
89783da064f4f9bf2e82d2b3941ddeffe2a8c30dMark Andrews
50105afc551903541608b11851d73278b23579a3Mark Andrews *) WIN32: Binary installer now creates Start menu options to start
89783da064f4f9bf2e82d2b3941ddeffe2a8c30dMark Andrews and stop Apache as a console application and to uninstall
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews the Apache service on NT. [Paul Sutton] PR#3741
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews
d7282a5fe88699990943df5ee6a7a48ee7ee2f7bMark Andrews *) WIN32: Apache.exe now contains an icon. [Paul Sutton]
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews
d7282a5fe88699990943df5ee6a7a48ee7ee2f7bMark Andrews *) PORT: Switch back to using fcntl() locking on Linux -- instabilities
22fa4e3206c2048cabaf75a3ae21132fd5542848Mark Andrews have been reported with flock() locking (probably related to kernel
22fa4e3206c2048cabaf75a3ae21132fd5542848Mark Andrews version). [Dean Gaudet] PR#2723, 3531
3ad4e307b64bcf8baa984e10a4e7549dbeaea31dMark Andrews
3f08fb69eb3b5f6eaa3c57160dff0998e1569283Mark Andrews *) Using APACI, the main config file (usually httpd.conf) was
3f08fb69eb3b5f6eaa3c57160dff0998e1569283Mark Andrews not being adjusted as $(TARGET).conf. [Wilfredo Sanchez
9ce4318edbab0b50f21df9ce28beb6fde71943ecMark Andrews <wsanchez@apple.com>]
91c79af4755df2d892511512e0fc886639518a92Mark Andrews
91c79af4755df2d892511512e0fc886639518a92Mark Andrews *) PORT: AIX does not require the SHARED_CODE "hack"
bf74532c942054bccc3df5227009ce52063a9dafMark Andrews [Ryan Bloom <rbb@raleigh.ibm.com>]
80c5a37ddcb42239f6b7d16b66ca0426ca6ffe2cMark Andrews
2558e3f25d4972a028c99141bd26d3f3087630d5Mark Andrews *) Set-Cookie headers were being doubled up for some CGIs by the O(n^2)
821644d49b73b49f2abc5463bc53a3132f612478Mark Andrews avoidance code added in 1.3.3.
821644d49b73b49f2abc5463bc53a3132f612478Mark Andrews [Dean Gaudet, Jeff Lewis <lewis@stanford.edu>] PR#3872
821644d49b73b49f2abc5463bc53a3132f612478Mark Andrews
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews *) ap_isxdigit was somehow neglected when adding the ap_isfoo() macros
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews for 8-bit safeness. [Dean Gaudet]
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews
902aebfb5ad7c735f74f700da288dc4519b83123Mark Andrews *) PORT: Use -fPIC instead of -fpic on Solaris and SunOS for compiling DSOs
22cd704fca51434f7aba193fd94d3291cc94ba2bMark Andrews because SPARCs have a small machine-specific maximum size for the Global
22cd704fca51434f7aba193fd94d3291cc94ba2bMark Andrews Offset Table which is often exceeded when compiling one of the larger
0e4f7c9d4e1a4bb66f0702e9f9975c392a15918bMark Andrews third-party modules with Apache. [Peter Urban <Peter.Urban@epfl.ch>] PR#3977
7554feaef6057f5ea2926076900ac7634b911456Mark Andrews
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews *) Move the directive `ExtendedStatus' in httpd.conf-dist-win _after_ the
dbc4666b1b153775001613af160541da986429b2Mark Andrews DSO/DLL section because it's a directive from mod_status and isn't
aa20b1b625dc406e1d9c3ff95d2a4af432e119faMark Andrews available before the DLL of mod_status is loaded.
aa20b1b625dc406e1d9c3ff95d2a4af432e119faMark Andrews [Martin POESCHL <mpoeschl@gmx.net>] PR#3936
aa20b1b625dc406e1d9c3ff95d2a4af432e119faMark Andrews
54a8b1e6ede781e9f4059512530046db8c4de1ddMark Andrews *) SECURITY: Fix a bug in the calculation of the buffer size for the line
c4b8c7555d4abcfa4706c0551b00d71554250936Mark Andrews continuation facility in Apache's configuration files which could
c4b8c7555d4abcfa4706c0551b00d71554250936Mark Andrews lead to a buffer overflow situation.
4b28ee17ca96def8c7e7a8a45af55da81545f20aMark Andrews [Thomas Devanneaux <Thomas.Devanneaux@enst.fr>] PR#3617
c4b8c7555d4abcfa4706c0551b00d71554250936Mark Andrews
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews *) Make documentation and error messages of APACI's --activate-module=FILE
4b28ee17ca96def8c7e7a8a45af55da81545f20aMark Andrews option more clear. [Jan Wolter <janc@wwnet.net>] PR#3995
c368f28dad471c70213b41f7a0ad1b4ef4d8c543Mark Andrews
f7e94169a9814c8e7d2ac8ac62bf0ccafb5a2cb6Mark Andrews *) Fix the gcc version check (for enabling the `inline' facility) to
774c3a62d9adca187b44fe90919bb409a43a2f2aMark Andrews really support all future gcc versions >= 2.7 until we know more.
774c3a62d9adca187b44fe90919bb409a43a2f2aMark Andrews [John Tobey <jtobey@banta-im.com>] PR#3983
774c3a62d9adca187b44fe90919bb409a43a2f2aMark Andrews
774c3a62d9adca187b44fe90919bb409a43a2f2aMark Andrews *) Let APACI's configure script correctly complain for unknown --enable-XXX
807d4a4c54ab9a328afeb5f69dc680ffbcb384c8Tatuya JINMEI 神明達哉 and --disable-XXX options. [Ralf S. Engelschall] PR#3958
1f058fb7d18d43e26ab0c9e8ce2ff6615740186aMark Andrews
1f058fb7d18d43e26ab0c9e8ce2ff6615740186aMark Andrews *) Link the shared core bootstrap program (``Rule SHARED_CORE=yes'') also
1f058fb7d18d43e26ab0c9e8ce2ff6615740186aMark Andrews against libap.a and use its ap_snprintf() instead of sprintf() to avoid
6bd3b1fdb3915931ac158b2126fae35711bd0b26Mark Andrews possible buffer overflows. [Ralf S. Engelschall]
f8dfdef682c54f61cacebfb31260f3d6ba4ea54aMark Andrews
f8dfdef682c54f61cacebfb31260f3d6ba4ea54aMark Andrews *) Remove no longer used non-API function ap_single_module_init().
f8dfdef682c54f61cacebfb31260f3d6ba4ea54aMark Andrews [Ralf S. Engelschall]
f8dfdef682c54f61cacebfb31260f3d6ba4ea54aMark Andrews
f8dfdef682c54f61cacebfb31260f3d6ba4ea54aMark Andrews *) Add Apple's Mac OS X Server Layout "Rhapsody" to config.layout.
b3d3e578410209d849efb59c9ea4925ca5c9ca68Mark Andrews [Wilfredo Sanchez]
b3d3e578410209d849efb59c9ea4925ca5c9ca68Mark Andrews
ea40cebe2b51bd2b3c228ac6d08a3cfeca17960aMark Andrews *) Add cgidir, htdocsdir, iconsdir variables to Makefile.tmpl in order
96c973a6a96f10c93ede4c66964ceae47535a07aMark Andrews to make platform installations easier. [Wilfredo Sanchez]
96c973a6a96f10c93ede4c66964ceae47535a07aMark Andrews
96c973a6a96f10c93ede4c66964ceae47535a07aMark Andrews *) In configure, do not append the target name to the directory path if
9cf0970f43a41fe78a78d878f1d45c65f0b733d3Mark Andrews the path already contains "apache". [Ralf S. Engelschall]
9cf0970f43a41fe78a78d878f1d45c65f0b733d3Mark Andrews
9cf0970f43a41fe78a78d878f1d45c65f0b733d3Mark Andrews *) SIGPIPE is now ignored by the server core. The request write routines
ad430189fb0028e41ae722f6e3c465b4bdd47af1Mark Andrews (ap_rputc, ap_rputs, ap_rvputs, ap_rwrite, ap_rprintf, ap_rflush) now
ad430189fb0028e41ae722f6e3c465b4bdd47af1Mark Andrews correctly check for output errors and mark the connection as aborted.
ad430189fb0028e41ae722f6e3c465b4bdd47af1Mark Andrews Replaced many direct (unchecked) calls to ap_b* routines with the
90c4900d5cf1a1b556ae4c1de6338b2e7475ee55Mark Andrews analogous ap_r* calls. [Roy Fielding]
b857ba993de91a3863de92db6462afdbec47d993Mark Andrews
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews *) Enhanced mod_rewrite's mapfile handling: The in-core cache for text and
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews DBM format mapfiles now uses a 4-way hash table with LRU functionality.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews Furthermore map lookups for non-existent keys are now cached as well.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews Additionally "txt" maps are now parsed with simple string functions
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews instead of using ap_pregcomp(). As a side effect a bug that prevented
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews the usage of keys containing the "," character was fixed.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews The changes drastically improve the performance when large rewrite maps
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews are in use.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews [Michael van Elst <mlelstv@serpens.swb.de>, Lars Eilebrecht] PR#3160
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
029a79c8807a5378a31f0f92e9c600bd46be17c9Mark Andrews *) Added ap_sub_req_method_uri() for doing a subrequest with a method
1f1b47a2ba565f96a97981e8447f80eba6854887Mark Andrews other than GET, and const'd the definition of method in request_rec.
6ec7bd9c691cf7b7a1d4f507e89f2b7cb22a12dcMark Andrews [Greg Stein]
9dabd0455ca923b5b02f74c1e999702ddc9c6fd2Mark Andrews
61fb42c4ef45d88e115bd769c30c4f36b461870bMark Andrews *) Use proper pid_t type for saving PIDs in alloc.c. [John Bley]
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews
9cc75a3e5b0b54c5015e3f73a4a64d273560d5e3Mark Andrews *) Replaced use of WIN32 define with HAVE_DRIVE_LETTERS to indicate
9cc75a3e5b0b54c5015e3f73a4a64d273560d5e3Mark Andrews when the OS allows a DOS drive letter within pathnames. [Brian Havard]
c3f9bda20f0993bc7aa4c654e7e2082adfbaa47fMark Andrews
94d1015e65882e0f0c527abb0e8f66a609f46cb8Mark Andrews *) Add %V to mod_log_config, this logs the hostname according to the
c3f9bda20f0993bc7aa4c654e7e2082adfbaa47fMark Andrews UseCanonicalName setting (this is the pre-1.3.4 behaviour of
f0e57c23e01731ed9e7f2dae585e6c643e590111Mark Andrews %v). Useful for mass vhosting. [Tony Finch <dot@dotat.at>]
f0e57c23e01731ed9e7f2dae585e6c643e590111Mark Andrews
dbbcb98a7069e5b79c5100b3c9cc3f3e5704d14eMark Andrews *) Add support for \n and \t to mod_log_config, can be used to produce
c52ae25dd70636c673d4a299859137a1c8ba611aMark Andrews more reliable logs with multiline entries. [Tony Finch <dot@dotat.at>]
c52ae25dd70636c673d4a299859137a1c8ba611aMark Andrews
6286983c506433d642b23e64845c50be30f2a7f6Mark Andrews *) Fixed a few compiler nits. [John Bley <jbb6@acpub.duke.edu>]
6286983c506433d642b23e64845c50be30f2a7f6Mark Andrews
d0aebc5a55b6145297d94f8aee939852357c59fcMark Andrews *) Added informative error messages for failed munmap() and fseek() calls
d0aebc5a55b6145297d94f8aee939852357c59fcMark Andrews in http_core.c. [John Bley, Roy Fielding]
d0aebc5a55b6145297d94f8aee939852357c59fcMark Andrews
f470686d921e6aa26726109226310a42ad8a44f3Mark Andrews *) Added some informative error messages for some failed malloc()
f470686d921e6aa26726109226310a42ad8a44f3Mark Andrews calls. [John Bley <jbb6@acpub.duke.edu>, Jim Jagielski]
f470686d921e6aa26726109226310a42ad8a44f3Mark Andrews
fd447061627e77db3ccf2536e14134e50647b9beMark Andrews *) OS/2 ap_os_canonical_filename()'s behaviour is improved: ap_assert()
fd447061627e77db3ccf2536e14134e50647b9beMark Andrews is removed. This allows <Directory proxy:*> directives to work and
fd447061627e77db3ccf2536e14134e50647b9beMark Andrews prevents invalid requests from killing the process.
9f1bca36e43f076ab49d8de51301cb3c2dc04995Mark Andrews [Brian Havard <brianh@kheldar.apana.org.au>]
9f1bca36e43f076ab49d8de51301cb3c2dc04995Mark Andrews
9f1bca36e43f076ab49d8de51301cb3c2dc04995Mark Andrews *) Reorganised FAQ document.
0e0d2891c08b70886f811d627bfb91a0c5e07dfcMark Andrews [Joshua Slive <slive@finance.commerce.ubc.ca>] PR#2497
0e0d2891c08b70886f811d627bfb91a0c5e07dfcMark Andrews
0e0d2891c08b70886f811d627bfb91a0c5e07dfcMark Andrews *) src/support/: The ApacheBench benchmark program was overhauled by
0e0d2891c08b70886f811d627bfb91a0c5e07dfcMark Andrews David N. Welton: you can now have it generate an HTML TABLE, presumably
7052e191ce63fdf063a977695718ff426a27628eMark Andrews for integration into other HTML sources. David updated the ab man page
7052e191ce63fdf063a977695718ff426a27628eMark Andrews as well and added some missing descriptions. Thanks!
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [David N. Welton <davidw@prosa.it>]
7052e191ce63fdf063a977695718ff426a27628eMark Andrews
6f3e68a8dbad508b815f42a0250122ca5e58972eMark Andrews *) Win32: The filename validity checker now allows filenames containing
62bdc6103b8245b812eef9faabee8e644afcc25fMark Andrews characters in the range 0x80 to 0xff (for example accented characters).
62bdc6103b8245b812eef9faabee8e644afcc25fMark Andrews [Paul Sutton] PR#3890
185fd227381269568e193147a98f292210a16f2cMark Andrews
fb31e2890814be0ac3c343d91144f89ce5e05784Mark Andrews *) Added conditional logging based upon environment variables to
d5ad558234adfef1b847b534dd7b4c6302cc5ea3Mark Andrews mod_log_config. mod_log_referer and mod_log_agent
d5ad558234adfef1b847b534dd7b4c6302cc5ea3Mark Andrews are now deprecated. [Ken Coar]
ce75d8bec3e93ef9fbd4a235f14f99483b3f238fMark Andrews
62700b67eb8abb7d13f9c3c1bc4b60a1477d35d8Mark Andrews *) Allow apache acting as a proxy server to relay the real
62700b67eb8abb7d13f9c3c1bc4b60a1477d35d8Mark Andrews reason of a failure to a client rather than the "internal
f853c77478af94109291ea93f800444b949be558Mark Andrews server error" it does currently. The general exposure mechanism
cdb6532e86a8f3d3d563b6da8c333bdf377d51ddMark Andrews can be triggered by any module by setting the "verbose-error-to"
cdb6532e86a8f3d3d563b6da8c333bdf377d51ddMark Andrews note to "*"; this allows more than just proxy errors to be exposed.
7ad4d54f29c315cbcb241ca5fc12ba1e0744358bMark Andrews [Cliff Skolnick, Roy Fielding, Martin Kraemer] Related to PR#3455, 4086
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6fd711065f5878c526f88f2825ab8024e2296644Mark Andrews *) Moved man pages for ab and apachectrl to section 8.
5e41884b4a1871eb83e66f0d68ca4d04bbbc857eMark Andrews [Wilfredo Sanchez, Roy Fielding]
5e41884b4a1871eb83e66f0d68ca4d04bbbc857eMark Andrews
54a565b1409a0c259ee3b20791db1b4636addc5eMark Andrews *) Added -S option to install.sh so that options can be passed to
93a90ddd6b588a381b6894974a2d48727f19d42bMark Andrews strip on some platforms. [Ralf S. Engelschall, Wilfredo Sanchez]
93a90ddd6b588a381b6894974a2d48727f19d42bMark Andrews
37225662b64e44a3c59f92dd6156db37b52ca7a3Mark Andrews *) Tweak modules Makefile generated by Configure so that it handles
eabf7ff29a88c578619fdc0d307f9e0bad0d6ce8Mark Andrews the test case of no modules being selected. [chaz@reliant.com]
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews
30b89a5ad95b5775abf6cce8ecc84a061babf76dMark Andrews *) Added a <LimitExcept method ...> sectioning directive that allows
8f2b99738760449de3431b191c0c9c0ea08fdc2eMark Andrews the user to assign authentication control to any HTTP method that
6342df69b05f2f62d060fd4affdf536e51504084Mark Andrews is *not* given in the argument list; i.e., the logical negation
6342df69b05f2f62d060fd4affdf536e51504084Mark Andrews of the <Limit> directive. This is particularly useful for controlling
6342df69b05f2f62d060fd4affdf536e51504084Mark Andrews access on methods unknown to the Apache core, but perhaps known by
5caf500beeb91b96a2bb2fd55080141569aead97Mark Andrews some module or CGI script. [Roy Fielding, Tony Finch]
881702c9c0079cd48a45054fd90d043f3a8b7e11Mark Andrews
6f808593181c16d5a7625cb527a5755872f9680cMark Andrews *) Prevent apachectl from complaining if the PIDFILE exists but
012dedf87438043ff00d4deec8b488eec2be2a1cMark Andrews does not contain a process id, as might occur if the server is
6f808593181c16d5a7625cb527a5755872f9680cMark Andrews being rapidly restarted. [Wilfredo Sanchez]
6f808593181c16d5a7625cb527a5755872f9680cMark Andrews
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews *) Win32: Add global symbols missing from ApacheCore.def. [Carl Olsen]
1576cde466a8de10e84f9887ec073ebaf5973aefMark Andrews
1edbf336252ea6a94d58f3f1a135567e2956e8caMark Andrews *) Entity tag comparisons for If-Match and If-None-Match were not being
e407562a75eb93073bb72089cced150d7ffe4d4fTatuya JINMEI 神明達哉 performed correctly -- weak tags might cause false positives. Also,
e407562a75eb93073bb72089cced150d7ffe4d4fTatuya JINMEI 神明達哉 strong comparison wasn't properly enforced in all cases.
8cb1558ff82868e45e76aa64e2ff72986aeebce2Tatuya JINMEI 神明達哉 [Roy Fielding, Ken Coar, Dean Gaudet] PR#2065, 3657
6da7c87a77ecfd9ccce36f96b4ccd20e1b9cccf1Tatuya JINMEI 神明達哉
6da7c87a77ecfd9ccce36f96b4ccd20e1b9cccf1Tatuya JINMEI 神明達哉 *) OS/2: Supply OS/2 error code instead of errno on semaphore errors.
582b6dc68b2defc1d8795df8f1da31bd1825c30bTatuya JINMEI 神明達哉 [Brian Havard]
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 *) Work around a bug in Lynx regarding its sending "Negotiate: trans"
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 even though it doesn't understand TCN. [Koen Holtman, Roy Fielding]
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 *) Added ap_size_list_item(), ap_get_list_item(), and ap_find_list_item()
668767dc6471dfed4741869c8dd20af8e9ace3cdTatuya JINMEI 神明達哉 to util.c for parsing an HTTP header field value to extract the next
bb030ee88e51488a464146dfce4db74d16e05a0cMark Andrews list item, taking into account the possible presence of nested comments,
bb030ee88e51488a464146dfce4db74d16e05a0cMark Andrews quoted-pairs, and quoted-strings. ap_get_list_item() also removes
634d053dfe806ee6a3d9ed5c2bda7f68ba410de4Tatuya JINMEI 神明達哉 insignificant whitespace and lowercases non-quoted tokens.
e724512f2be8d3de5f2982ebba0b2cdaf8325702Mark Andrews [Roy Fielding] PR#2065
b6d52ee5bea1b9d9074698e693b49ce96edff47bMark Andrews
b6d52ee5bea1b9d9074698e693b49ce96edff47bMark Andrews *) proxy: The various calls to ap_proxyerror() can return HTTP/1.1 status
b6d52ee5bea1b9d9074698e693b49ce96edff47bMark Andrews code different from 500. This allows the proxy to, e.g., return
b657d7db3b73701430b7d1fa17e9c016fd859088Mark Andrews "403 Forbidden" for ProxyBlock'ed URL's. [Martin Kraemer] Related to PR#3455
b657d7db3b73701430b7d1fa17e9c016fd859088Mark Andrews
8d42bb315ce6745e5631eda4eac59d3b981e58c6Mark Andrews *) Fix ordering of language variants for the case where the traditional
8d42bb315ce6745e5631eda4eac59d3b981e58c6Mark Andrews negotiation algorithm is being used with multiple language variants
8d42bb315ce6745e5631eda4eac59d3b981e58c6Mark Andrews and no Accept-Language. [James Treacy <treacy@debian.org>] PR#3299, 3688
4efe32b8bb512ac03a139b77f008600c5a3624eaMark Andrews
4efe32b8bb512ac03a139b77f008600c5a3624eaMark Andrews *) Do not round the TCN quality calculation to 5 decimal places,
4efe32b8bb512ac03a139b77f008600c5a3624eaMark Andrews unlike RFC 2296, because the calculation might need 12 decimal places
89639a5e13cace9166bf14931b9e1ce9dc8c47a3Mark Andrews to get the right result. [Roy Fielding]
89639a5e13cace9166bf14931b9e1ce9dc8c47a3Mark Andrews
94be8e357c37c843027e899bb277a314ea828a4cMark Andrews *) Remove unused code to disable transparent negotiation when
94be8e357c37c843027e899bb277a314ea828a4cMark Andrews negotiating on encoding only, as we now handle encoding too
94be8e357c37c843027e899bb277a314ea828a4cMark Andrews (though this is nonstandard for TCN), remove charset=ISO-8859-1
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews fiddle from the fiddle-averse RVSA comparison, and fix bugs in
49fcdcd940274fedcb9cf943f0ee8144369527fdMark Andrews some debugging statements within mod_negotiation. [Koen Holtman]
49fcdcd940274fedcb9cf943f0ee8144369527fdMark Andrews
49fcdcd940274fedcb9cf943f0ee8144369527fdMark Andrews *) Fixed a rare memory corruption possibility in mod_dir if the index
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews file is negotiable and no acceptable variant can be found.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet, Roy Fielding, Martin Kraemer]
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Win32: Add new config directive, ScriptInterpreterSource, to enable
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 searching the Win32 registry for script interpreters.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Bill Stoddard]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1160ecfd146301ff0d053ed054e5276f33f28b4eMark Andrews *) Win32: The compiled-in default filename for the error log is now
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews error.log, which matches the default in the distributed httpd.conf.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Paul Sutton]
d3fc633c344e15179480d887aeecf4a6263baeabMark Andrews
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews *) Win32: Any error messages from -i or -u command line options are now
73d74334741756eab4a9afd8d3c4e7c08da9a844Mark Andrews displayed on the console output rather than sent to the error log.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Also the "Running Apache..." message is not output unless Apache is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews going to serve requests. [Paul Sutton]
baee883e378402698eeb7326538a7d432c8350d1Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Rework the MD5 authentication scheme to use FreeBSD's algorithm,
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews and use a private significator ('$apr1$') to mark passwords as
0b1da8124c817270f5dfe46cd0211b993c931a91Mark Andrews being smashed with our own algorithm. Also abstract the password
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews checking into a new ap_validate_password() routine. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Win32: The filename validity checker now allows "COM" but refuses
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews access to "COM1" through "COM4". This allows filenames such
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews as "com.name" to be served. [Paul Sutton] PR#3769.
0b1da8124c817270f5dfe46cd0211b993c931a91Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) BS2000: Adapt to the new ufork() system call interface which will
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews make subtasking easier on the OSD/POSIX mainframe environment.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
da34d92aeee25dedd6affd69623dc7d0aba2cc23Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add a compatibility define for escape_uri() -> ap_escape_uri() to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ap_compat.h. [David White <david@persimmon.com>] PR#3725
da34d92aeee25dedd6affd69623dc7d0aba2cc23Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make NDBM file suffix determination for mod_rewrite more accurate, i.e.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews use `.db' instead of `.pag' not only for FreeBSD, but also when
da34d92aeee25dedd6affd69623dc7d0aba2cc23Mark Andrews the NDBM library looks like Berkeley-DB based.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#3773
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
20d90a37532b92b0471c56fb583d6b2ddc32caa6Mark Andrews *) Add ability to handle DES or MD5 authentication passwords.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ryan Bloom <rbb@Raleigh.IBM.Com>]
fefe1106d96d3a89b21315f665b36a67cdea3840Mark Andrews
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews *) Fix O(n^2) memory consumption in mod_speling. [Dean Gaudet]
4607e7a9b8dfb1b41c70e51c2b603daaf22cf302Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: Avoid some buffer overflow problems when escaping
2f025ec6fe68421d942330afaf1980b7a4976e30Mark Andrews quoted strings. (This overflow was on the heap and we believe
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews impossible to exploit.) [Rick Perry <perry@ece.vill.edu>]
c528ef03d9cdfd7eed4fe6b93563dd599bbb25b0Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Let src/Configure be aware of CFLAGS options starting with plus
f58233ec6c8b5866083bbaf5083ac9ade6bebe3aMark Andrews signs as it's the case for the HP/UX compiler.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Doug Yatcilla <yatcilda@umdnj.edu>] PR#3681
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c282d16311ce06b6bcb594be716cde4ad5c40af9Mark Andrews *) Remove the hard-wire of TAR=tar (we now check for gtar and gnutar first)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and check to see if the tar we wind up with supports '-h'.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jim Jagielski] PR#3671
1b5a72829324a0d2fa327a270caea8fd02ae8779Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A consistent and conservative style for all shell scripts has been
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews implemented. Basically, all shell string tests use the traditional
5e9f6125246cec57771bcdeefed03153d41c23fdMark Andrews hack of 'if [ "x$var" != "x" ]' or 'if [ "x$var" = "xstring" ]'
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to protect against bare null variable strings (ie: wrapping both
0451757ad8f7c49a0d3dcdf7fbdd4ea64fcec298Mark Andrews sides with double quotes and prepending 'x'). 'x' was chosen
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews because it's more universal and hopefully easier for old shell
3184ff5e45c8f821e5165ea60d674bfb87faf5b8Mark Andrews prgrammers, as well as being easier to search for in 'vi' (/x\$) :)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jim Jagielski]
1e107b3d7b54de5022c3328423164e533afcc15eMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The status module now prints out both the main server generation as
cc6271e46c775592f39a1e8b4e2cb1ff457e2f89Mark Andrews well as the generation of each process. Also, the vhost info is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews printed with '?notable'. [Jim Jagielski]
87c7b822b7bcdd8bec7ba1c01937286308b4847cMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Move src/main/md5c.c to src/ap/ap_md5c.c; it's httpd-neutral
17a14e451df80b3d82278e5c925682ade3263dbcMark Andrews and this makes its functions available to things in src/support.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a4b3e51a8f1c9742c0f7d9f7d70f1ad926985145Mark AndrewsChanges with Apache 1.3.4
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Renamed macros status_drops_connection to ap_status_drops_connection
c282d16311ce06b6bcb594be716cde4ad5c40af9Mark Andrews and vestigial scan_script_header to ap_scan_script_header_err,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mostly for aesthetic reasons. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
f488b1c311f2fc09ae8e45f7893185e608b17edeMark Andrews *) The query switch "httpd -S" didn't exit after showing the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews vhost settings. That was inconsistent with the other query functions.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
4bb16c5856e5c6b05ac43c60f9f9376641bdcccfMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Moved the MODULE_MAGIC_COOKIE from before the versions and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews filename to the end of the STANDARD_MODULE_STUFF. Its
c676c1b4978bfe2d00bdf5085fd44544067f9de4Mark Andrews presence at the beginning prevented reporting of the filename
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews for modules compiled before 1 January 1999. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: ap_os_is_filename_valid() has been added to Win32
ffdfae8e4188c143297393f80f22134503372452Mark Andrews to detect and prevent access to special DOS device file names.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Paul Sutton, Ken Parzygnat]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
471e0563c7965c556c759775882cd3448dae78eaMark Andrews *) WIN32: Created new makefiles Makefile_win32.txt (normal build)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and Makefile_win32_debug.txt (debug build) that work on Win95.
743ffc91bdd462be6f91b3bab8f440c6a69f0770Mark Andrews Run each of the following from the src directory:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews nmake /f Makefile_win32.txt # compiles normal build
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews nmake /f Makefile_win32.txt install # compiles and installs
743ffc91bdd462be6f91b3bab8f440c6a69f0770Mark Andrews nmake /f Makefile_win32.txt clean # removes compiled junk
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews nmake /f Makefile_win32_debug.txt # compiles debug build
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews nmake /f Makefile_win32_debug.txt install
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews nmake /f Makefile_win32_debug.txt clean
072e21c2bbf0907706b18a4a3857913e79d380fbMark Andrews [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added binbuild.sh and findprg.sh helpers to make it easier for us
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to build binary distributions. [Lars Eilebrecht]
3ca4b8062f845489a9c7e33a4af63cf9c863c1d4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) IndexOptions SuppressColumnSorting only turned off making
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the column headers anchors; you could still change the display
72ddc4cef9c6a6de53aae530dea1ddbb90631131Mark Andrews order by manually adding a '?N=A' or similar query string to the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews URL. Now SuppressColumnSorting locks in the sort order so
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews it can't be overridden this way. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added IndexOrderDefault directive to supply a default sort order
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews for FancyIndexed directory listings. [Ken Coar] PR#1699
ad4b2f37e0f51a90c160edbe8633589ce42e60b9Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Change the ap_assert macro to a variant that works on all platforms.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Richard Prinz <richard.prinz@cso.net>] PR#2575
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
072e21c2bbf0907706b18a4a3857913e79d380fbMark Andrews *) Make sure under ELF-based NetBSD (now) and OpenBSD (future) we don't
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews search for an underscore on dlsym() (as it's already the case
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews for FreeBSD 3.0). [Todd Vierling <tv@pobox.com>] PR#2462
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9c1eb2279d715188bf631d98d103f6f81a3c76fbMark Andrews *) Small fix for mod_env.html: The module was documented as to be _not_
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews compiled into Apache per default, although it _IS_ compiled into
edfcbabd60f8479b72d91bcc2d2082a36ace4003Mark Andrews Apache per default. [Sim Harbert <sim@mindspring.com>] PR#3572
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
f95231835fdcd8d5f58486c9f9993602f27fe157Mark Andrews *) Instead of fixing a bug in the generation procedure for config.status (a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews backslash was missing) we remove the bug together with it's complete
21f1794606dce19928cf455029e173321f166380Mark Andrews context because the special cases of the past can now no longer occur
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews because of the recent magic for the --with-layout default.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#3590
0cb25226fba18befbe40156c93845f2fc9bf3524Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make top-level Makefile aware of a parallel build procedures (make -j) by
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews making sure the src/support/ tools are _forced_ to be build last (they
2610933abd985bdea28801c35d740d2cab2f137aMark Andrews depend on other libraries).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Markus Theissinger <markus.theissinger@gmx.de>]
7a857bdb6828e75eec5a7080e4670ce199875922Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix installation procedure: Now that os-inline.c is actually used (a
fc87397df60d3c5e5d9900ff5ac82da29fe1dbb7Mark Andrews recently fixed bug prevented this) we need to also install os-include.c
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in addition to os.h into the PREFIX/include/ location or building of
a22f967b7e3589dab640d2cc65fd202d077a9d90Mark Andrews module DSOs with APXS fails. [Ralf S. Engelschall] PR#3527
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added MODULE_MAGIC_COOKIE as the first field in a module structure to
1a4d687359d89ff3b3e4e3f7acc4b6b8d8c982e9Mark Andrews allow us to distinguish between a garbled DSO (or even a file which isn't
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews an Apache module DSO at all) and a DSO which doesn't match the current
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Apache API. [Ralf S. Engelschall] PR#3152
051706a29a73416fbae116952dd6b6bdda765538Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Two minor enhancements to mod_rewrite: First RewriteRule now also
051706a29a73416fbae116952dd6b6bdda765538Mark Andrews supports the ``nocase|NC'' flag (as RewriteCond already does for ages) to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews match case insensitive (this especially avoids nasty patterns like
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews `[tT][eE][sS][tT]'). Second two additional internal map functions
f5af519ab547bc80c51387529103e4e852a1171eMark Andrews `escape' and `unescape' were added which can be used to escape/unescape
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to/from hex-encodings in URLs parts (this is especially useful in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews combination with map lookups).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Magnus Bodin, Ian Kallen, Ralf S. Engelschall]
b0c2141b236832664119c9c7c647359b0c7fead4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Renamed the macro escape_uri() to ap_escape_uri() which was
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews forgotten (because it was a macro) in the symbol renaming process.
182a34004c7c48e2c1626f3ce7e787f413955126Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix some inconsistencies related to the scopes of directives. The only
603658ea65b34c4b57f154b1e2412b4f01866b6bMark Andrews user visible change is that the directives `UseCanonicalName' and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews `ContentDigest' now use the (more correct) `Options' scope instead of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (less correct) `AuthConfig' scope. [Ralf S. Engelschall]
163547c0c064251e97c74538c5ede3232b3f0ffaMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Using DSO, the Server token was being mangled. Specifically, the
8ff31bab2f51b171a8eab3a0b8415c64529e116eMark Andrews module's token was being added first before the Apache token. This
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews has been fixed. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
07a849ba02aba7e8e869bc82c360fcc4b27eb009Mark Andrews *) Major overhaul of mod_negotiation.c, part 2.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - properly handle "identity" within Accept-Encoding.
806c235ecf533b98d068b3f8df9d7abbe1e30cf9Mark Andrews - allow encoded variants in RVSA negotiation and let them appear in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the Alternates field using the non-standard "encoding" tag-list.
935000aa6e2b9d08f363b2e698a258a458a5a7cfMark Andrews - fixed both negotiation algorithms so that an explicitly accepted
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews encoding is preferred over no encoding if "identity" is not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews included within Accept-Encoding.
cfa19fe5c9cf279b38e4258a54acb3fd16b9550bMark Andrews - added ap_array_pstrcat() to alloc.c for efficient concatenation
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of large substring sequences.
2fd63cf561135572339d4e2ff0c06695e3dcf1baMark Andrews - replaced O(n^2) memory hogs in mod_negotiation with ap_array_pstrcat.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
8ca42f6318be756354b70260050132545aa680d3Mark Andrews *) Major overhaul of mod_negotiation.c, part 1.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - cleanups to mod_negotiation comments and code structure
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - made compliant with HTTP/1.1 proposed standard (rfc2068) and added
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews support for everything in the upcoming HTTP/1.1
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews revision (draft-ietf-http-v11-spec-rev-06.txt).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - language tag matching also handles tags with more than 2
7ec0f55f1542d8bb9475bbe93e911d7520f043caMark Andrews levels like x-y-z
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - empty Accept, Accept-Language, Accept-Charset headers are
4cb69e7c919cc43b16852016588af714bc421da3Mark Andrews processed correctly; previously an empty header would make all
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews values acceptable instead of unacceptable.
ea6fe0d54f36754c195b3b8dac47c81f7993677eMark Andrews - allowed for q values in Accept-Encoding
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - added support for transparent content negotiation (rfc2295 and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews rfc2296) (though we do not implement all features in these drafts,
6bd8cee98332533a4fa705b82ca9ec1606738ba9Mark Andrews e.g. no feature negotiation). Removed old experimental version.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - implemented 'structured entity tags' for better cache correctness
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (structured entity tags ensure that caches which can deal with Vary
0c2509b0b9f9e455fa9d347d08f6ba9abd86d418Mark Andrews will (eventually) be updated if the set of variants on the server
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is changed)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - this involved adding a vlist_validator element to request_rec
8b5de9701428e2b5eb50aba96af23dc1186124ddMark Andrews - this involved adding the ap_make_etag() function to the global API
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - modified guessing of charsets used by Apache negotiation algorithm
80b782f356f0692c11b4e52e8dd46ec41704e5a2Mark Andrews to guess 'no charset' if the variant is not a text/* type
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - added code to sort multiviews variants into a canonical order so that
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews negotiation results are consistent across backup/restores and mirrors
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - removed possibility of a type map file resolving to another type map
6a2f7bba6f4df137ab3f781fe07b0b88e72e0b19Mark Andrews file as its best variant
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Koen Holtman, Roy Fielding, Lars Eilebrecht] PR#3451, 3299, 1987
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) RFC2396 allows the syntax http://host:/path (with no port number)
6a2f7bba6f4df137ab3f781fe07b0b88e72e0b19Mark Andrews but the proxy disallowed it (ap_proxy_canon_netloc()).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [David Kristol <dmk@bell-labs.com>] PR#3530
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) When modules update/modify the file name in the configfile_t structure,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews syntax errors will report the updated name, not the original one.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Fabien Coelho <coelho@cri.ensmp.fr>] PR#3573
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
53cf67186506f9557aaf2149898dd76715803db2Mark Andrews *) Correct some filename case assumptions from WIN32 to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews CASE_BLIND_FILESYSTEM. [Brian Havard <brianh@kheldar.apana.org.au>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) For %v log ServerName regardless of the UseCanonicalName
53cf67186506f9557aaf2149898dd76715803db2Mark Andrews setting (similarly for %p). [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Configure was initializing the variables $OSDIR, $INCDIR and $SHELL
888bb8bf68ba1a2b032a64122efd9125a9155ad7Mark Andrews rather late (too late for some invocations of TestCompile).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This improves the make environment available to TestCompile and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the *.module scripts. [Martin Kraemer]
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The hashbang emulation code in ap_execve.c would interpret
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews #!/hashbang/scripts correctly, but failed to fall back to a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews standard shell for scripts which did NOT start with #!
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Now SHELL_PATH is started in these cases. [Martin Kraemer]
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Added the Cyberguard V2 port [Richard Stagg <stagg@lentil.org>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#3336
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Update APXS manual page: some -q option arguments were missing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and another was incorrect. [Mark Anderson <mda@discerning.com>] PR#3553
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
ee84964a7d29ae88769f67326a65256731769ea7Mark Andrews *) Cleanup the command line options: `-?' was documented to show
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the usage list but does it with an error because `?' is not a valid
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews command. OTOH a lot of users expect `-h' to print such a usage list and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews instead are annoyed for ages by our huge unreadable list of directives.
ee84964a7d29ae88769f67326a65256731769ea7Mark Andrews So we now changed the command line options this way:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 1. `-L' => `-R'
463fc8f9d61e07613486e64b4b7b3f924ea2b25cMark Andrews Intent: we need `-L' to be free, and `-R' for the DSO run-time path is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews very similar to the popular linker option.
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews 2. `-h' => `-L'
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Intent: while -l gives the small list of modules, -L now gives the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews large list of directives implemented by these modules. This is also
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews consistent with -v (short version info) and -V (large version info).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 3. `-?' => `-h'
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Intent: it's now the expected option ;-)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews The manual page was adjusted accordingly.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2714
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed problem of fclose() on an unopened file in suexec if LOG_EXEC
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews wasn't defined. [Rick Franchuk <rickf@transpect.net>]
9368d7df838f58cd32922b526775ca730bc633cfMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Removed recently introduced bugs and disfigurements in APACI:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o fixed argument line processing: using $args was broken: It was not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews initialized and using args="$args $apc_option" and even args="$args
e2fb08b85de8158fe6b71008311e3d98104b92a6Mark Andrews \"$apc_option\"" fails in the second processing round for any arguments
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews containing whitespaces. The only correct way is to use the construct
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "$@" (but not possible here) or iterate _both_ times over the implicit
22a9cd54c072545d13788ceead759911fe8cfe34Mark Andrews argument line (no argument to for-loop) which is what we now use.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o make --with-layout=Apache the default without creating
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews redundancy (copying the --with-layout block in the argument parsing
21ba6c18e4ccc73933af5cf28701a5cc3b7963ecMark Andrews loop). We achieve this by using the "$@" construct together with the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews `set' command to prepend --with-layout=Apache to the command line in
266296414d0ed79980c6d3144a587b42324a50ffMark Andrews case --with-layout is not used.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o fixed auto-suffix handling now that config.layout exists.
c960dffe35970da729219b72f2e41350d3b64c35Mark Andrews Paths which are auto-suffixed are marked with a trailing plus sign in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews config.layout and every path now can be marked this way (not only the
5da49e379c79fbd597cf0d47e7697b65991f761fMark Andrews four paths for which we do it currently). Additionally the suffix is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews no longer a static one. Instead it's now `/<target>' where <target> is
31b3dc1c6b4fe99a2af2ee63314e842af4a20070Mark Andrews the argument of the --target option or per default `httpd'.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o allow also tabs (and only spaces) where we match whitespaces
59f51f864c752d2e4bf8d1ad94404ada0c9aa6e9Mark Andrews o various fixes and cleanups related to used shell coding style
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o made Jim happy by replacing `Written by' with `Initially written by' ;-)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o trimmed output of --help to fit into 80 columns
a207a2835e37de52e11d4c143c0425e749409c46Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
03760eeb542cc5e91193eec478cae022df4bcc58Mark Andrews *) Added two new core API functions, ap_single_module_configure() and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ap_single_module_init(), which are now used by mod_so to configure a module
838d608e6f37038f2fb43980a7a9d6b6a490db36Mark Andrews after loading. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
64cc9c8818db2552cbdd77f1050e890ffa5a17d8Mark Andrews *) PORT: Add defines for USE_FLOCK_SERIALIZED_ACCEPT and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews SINGLE_LISTEN_UNSERIALIZED_ACCEPT to NetBSD/OpenBSD section
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of ap_config.h to allow serialized accept for multiport listens.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Roy Fielding, Curt Sampson] PR#3120
0f09ef5a50ef09eaed8e6630b4004d5143d6b52cMark Andrews
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews *) PORT: Fixed a misplaced #endif for NetBSD/OpenBSD section
0f09ef5a50ef09eaed8e6630b4004d5143d6b52cMark Andrews of ap_config.h that would skip several defines if DEFAULT_GROUP
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews was overridden. [Roy Fielding]
c7fc6434fe5949c8e3f76bf69f5655eb3a76dfaeMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: The I86 version of DGUX has support for strncasecmp and
9bd478a5e6df956a79bbdb5c182d5b44763786ceMark Andrews strcasecmp, so allow it in ap_config.h. [Amiel Lee Yee] PR#3247
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix ordering of definitions in ap_config.h so that ap_inline is
421e4cf66e4cba0b0751a34a9c027e39fe0474f9Mark Andrews defined before it might be used. [Victor Khimenko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Add Dynamic Shared Object (DSO) support for BSDI (v4.0).
b0c15bd9792112fb47f6d956e580e4369e92f4e7Mark Andrews [Tom Serkowski <tks@bsdi.com>] PR#3453
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make generation of src/Configuration.apaci more robust: It failed to
b0c15bd9792112fb47f6d956e580e4369e92f4e7Mark Andrews differenciate between modules when one module name was a postfix of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews another (e.g. cgi vs. fastcgi). We now check for mod_XXX, libXXX and even
bf7f253e306d0ced8ae24d7a0598773950da11f4Mark Andrews just XXX (think about totally non-standard names like "apache_ssl", too).
95b484c9580d06eb2f9735a22e9841389c2859baMark Andrews [Ralf S. Engelschall] PR#3380
95b484c9580d06eb2f9735a22e9841389c2859baMark Andrews
051706a29a73416fbae116952dd6b6bdda765538Mark Andrews *) In src/Configure remove the SERVER_SUBVERSION support (already deprecated
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews since 1.3b7) and make whitespace handling more robust (it failed horrible
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews when whitespaces were present in the arguments of -D options).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#3240
5f89a1ee9e0fe64211d050db5d3e7a5ea282c282Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add APACI --shadow=DIR variant (in addition to --shadow). This now first
c86eed4bdecad9df12f992f9d743dfee3a6c5bdcMark Andrews creates an external package shadow tree in DIR before the local build
ff2ef33a84550fa5dbd9e8fdcd82a33288f053adMark Andrews shadow tree is generated under DIR. This way one can have the extracted
12ff7274fe2ea531ecca6a71fb9f7e1ae92da389Mark Andrews Apache distribution tree read-only on NFS or CDROM and still build Apache
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews from these sources. An automatically triggered VPATH-like mechanism is
9d3ad53203f1ac49f9e876dbbcaca18656eb3e19Mark Andrews provided through the TOP variable, too.
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews [Ralf S. Engelschall, Wilfredo Sanchez <wsanchez@apple.com>]
767fd19da4b699aae46959d834f53af0e1166e80Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix negotiation so that a Vary response header is correctly
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews generated when, for a particular dimension, variants only vary
8da0b50e8a8c74602eca97e261ce4ad457df5048Mark Andrews in having or not having a value for that dimension. [Paul Sutton]
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix negotiation so that we prefer an encoded variant over an
5b76a09697bfc76f5acefd65d5b37b1214d271a8Mark Andrews unencoded variant if the user-agent explicitly says it can
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews accept that encoding. Previously we always preferred the unencoded
6388dcf8e661687c30a5d52f149d193ce86748a8Mark Andrews variant.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Paul Ausbeck <paula@alumni.cse.ucsc.edu>, Paul Sutton] PR#3447
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
93e353425a81da7793dde3776f4caca658f57c11Mark Andrews *) Fix APXS tool: query variables LIBS_SHLIB and TARGET were not recognized
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and the usage page was inconsistent with the functionality and manpage.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
49a940dc68b30d9e4f9e1bd3c0503d8b90bb1726Mark Andrews *) Allow special options -Wc,xxx and -Wl,xxx on APXS compile/link command.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews They can occur multiple times and their arguments (`xxx') are passed AS
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews IS to the compiler/linker command. [Ralf S. Engelschall]
d92770e851ebbc1005b3bf121e3c9f13b67a3f42Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed possible (but harmless in practice) bug in the DBM lookup
59ab128c972622f5aeafe3229966dcba73b62243Mark Andrews procedure of mod_rewrite: very long keys were truncated.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
90295f915c883d1aeeda856f518584d4219a704aMark Andrews *) Added a generic --with-layout=[FILE:]ID option. ID here is a layout
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews identifier, currently "Apache" and "GNU" are pre-defined in the file
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews config.layout. Custom layouts are possible by using FILE:ID as the
1c75ea91cdb49dac65f0f592ddbf66bfdfc4a2d7Mark Andrews argument where the layout ID is taken from FILE.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews The config.layout file consists of <Layout ID>..</Layout> sections
142d155dd68fd601dc38c6b6f7c35f2798ec24caMark Andrews where inside those sections "path_variable: path_value" pairs can be
c368f28dad471c70213b41f7a0ad1b4ef4d8c543Mark Andrews specified. These lines are converted to path_variable='path_value'.
99776003811a413457a2c35a808ad860df877d24Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add a DefaultLanguage directive so that files missing a language
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews extension (e.g., .fr, .de) can be labelled as being some other
2ffb3eb384ae71ae9f8edbf5fa2219d965ff0552Mark Andrews default language. DefaultLanguage can appear in <Directory> and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <Files> containers as well as .htaccess files. [Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#1180
aa39170da817cae7b4c6c735cc832e05ec3d2351Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix TARGET configuration when configuring and installing using
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews APACI configure. TARGET now defines the basename of the configuration
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews file, startup script, manual page, etc. log_error_core() now reports
aa39170da817cae7b4c6c735cc832e05ec3d2351Mark Andrews the server binary name given by argv[0]. TARGET can now also be defined
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with --target=TARGET parameter passed to APACI configure.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf Engelschall, Randy Terbush]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
52fc1457e44c476a81ec9dee6a664958cb64b8e2Mark Andrews *) mod_include.c:handle_perl() now properly tests for OPT_INCNOEXEC
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews rather than OPT_INCLUDES [Rainer Schoepf <schoepf@uni-mainz.de>]
6526fd032fc418411da3af4201214e95c113d3e2Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) ap_md5_binary() was using sprintf() rather than a table lookup
b8fff4f0d70bb9c5e53023ad0dae0acda67b5cdaMark Andrews to convert binary bytes to hex digits.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ronald Tschal�r <ronald@innovation.ch>] PR#3409
757bf8a1e5d85806c648d7a6267da8d49a8ab822Tatuya JINMEI 神明達哉
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix SEGV in TCN negotiation if no variants are acceptable.
be0e075ac2c10ade3e80edef7fa14ac0fda92690Mark Andrews [Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>] PR#1987
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: ap_exists_config_define() function is now "public" [Doug MacEachern]
2a908588fbeacebc5f13b153b73c96e12dacaadcTatuya JINMEI 神明達哉
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix documentation of `Action' directive: It can activate a CGI script
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews when either a handler or a MIME content type is triggered by the request.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Andrew Pimlott <pimlott@math.harvard.edu>] PR#3340
af2be1a46813e228cb9d71230d3f41222fdb69baTatuya JINMEI 神明達哉
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Document the `add' command of `dbmmanage' in `dbmmanage.1' manpage.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [David MacKenzie <djm@uu.net>] PR#3394
2945ac15af547df0268e449252902ead599e2451Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Ignore a "ErrorDocument 401" directive with a full URL and write a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews notice to the error log. It is not possible to send a 401 response
285761cf91626976e211f69d9678c138b25f8629Tatuya JINMEI 神明達哉 and a redirect at the same time. [Lars Eilebrecht]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fallback to native compilers for IRIX-32 platform. It seems that
ca70688bf60b4f50c4e3ec7d40567341c9962fafMark Andrews a gcc 2.8.1 compiled apache is logging client addresses with all
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews bits set (255.255.255.255). This is the second such problem caused
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews by gcc 2.8.1 compiler. The first being broken semaphore locking.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Randy Terbush]
8b0ee8448bec37bf1e771363dccce7c0e73eb1a7Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Updated mime.types to reflect current Internet media types
aec2d57d5b9f5ca97763a1b49b76f0bcb5852e1aMark Andrews and include a URL to the registry.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Manoj Kasichainula, Roy Fielding] PR#2380, 2286, 2246
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: Do a more complete check in mod_include to avoid
a9ae9d743c7f85bec44e95b1f62c7a2a114a2fd6Mark Andrews an infinite loop of recursive SSI includes. [Marc Slemko] PR#3323
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add APACI --suexec-docroot and --suexec-logfile options which can be
75ace6601e66840436f52e61353ee0d400577b55Mark Andrews used to set the document root directory (DOC_ROOT) and the suexec
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews logfile (LOG_EXEC), respectively. Additionally the --layout option
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews was changed to show more information about the suEXEC setup.
75ace6601e66840436f52e61353ee0d400577b55Mark Andrews [Lars Eilebrecht] PR#3316, 3357, 3361
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
75ace6601e66840436f52e61353ee0d400577b55Mark Andrews *) Added the last two WebDAV status codes of 424 (Failed Dependency)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and 507 (Insufficient Storage) for use by third-party modules.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Roy Fielding]
75ace6601e66840436f52e61353ee0d400577b55Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Enabled all of the WebDAV method names for use by third-party
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews modules, Limit, and Script directives. That includes PATCH,
ba4aec8c1853a1deda8eb43ffeaac4d764c8d39eMark Andrews PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, and UNLOCK.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Improved mod_actions.c so that it can use any of the methods
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews defined in httpd.h. Added ap_method_number_of(method) for
550085fed1d0af54ba5b2f588898afec158195deMark Andrews getting the internal method number. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Add a port to the TPF OS. [Joe Moenich <moenich@us.ibm.com> and
f411c2e81cbfcf89ee073a0e31ac902a42fc8f22Mark Andrews others at IBM]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix problems with handling of UNC names (e.g., \\host\path)
ab2ac96c4e71dc803e47c35592044e116f61aca5Tatuya JINMEI 神明達哉 on Win32. [Ken Parzygnat <kparz@us.ibm.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Rework os_canonical_*() on Win32 so it's simpler, more
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews robust, and works. [Ken Parzygnat <kparz@us.ibm.com>]
3bdf879a5301bce17e0a955585eb3decc541ba79Mark Andrews PR#2555, 2915, 3064, 3232
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Work around incomplete implementation of strftime on Win32.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Manoj Kasichainula, Ken Parzygnat <kparz@us.ibm.com>]
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Move a typedef to fix compile problems on Linux with 1.x kernels.
1b5b46942d149f891bb91e90c6f52944b77c8a68Mark Andrews [Manoj Kasichainula] PR#3177
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6b25d2f7f7a1125508f8d225a8fef94e1db83555Mark Andrews *) PORT: Add a port to the Concurrent PowerMAX OS. [Tom Horsley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <Tom.Horsley@mail.ccur.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b6309ed962c4988a314d61742c4fbc4935467d68Mark Andrews *) WIN32: Log more explicit error messages if spawning an interpreted
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews script failed, including the command line used to attempt to execute
39fe146f2ab82cb8e49caa319a3345174fa2d69aMark Andrews the interpreter and the Win32 error code returned. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
bd3946db298667e769804b2e978df2d6dcd85e29Mark Andrews *) Disable sending of error-notes on a 500 (Internal Server Error) response
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews since it often includes file path info. Enable sending of error-notes
ab5d8edc1bd391a1b306db68114fac303484b30fMark Andrews on a 501 (Method Not Implemented). [Roy Fielding] PR#3173
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) http_config.c would respond with 501 (Method Not Implemented) if a
8689f943a4859a8f68344236a1dcb81299a98347Mark Andrews content type handler was specified but could not be found, which
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews should have been a 500 response. Likewise, mod_proxy.c would responsd
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with a 501 if the URI scheme is unrecognized instead of the correct
2434ccfde7efa30b6fedf4630e5036eeb5d647d0Mark Andrews response of 403 (Forbidden). [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d8ec783e6dc0bd16a80b30d9888306b1faae6037Mark Andrews *) SECURITY: Eliminate DoS attack when a bad URI path contains what
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews looks like a printf format escape. [Marc Slemko, Studenten Net Twente]
5bd76af084edfdcd1cb4db9453ac781d32dde6f7Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix in mod_autoindex: for files where the last modified time stamp was
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews unavailable, an empty string was printed which was 2 bytes short.
8bcb0f297b50e80e3c7aab1a41b94d937acf4dc0Mark Andrews The size and description columns were therefore not aligned correctly.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer] (no PR#)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
7f32428506d55083fe5ac9aa515294bdef7c6e27Mark Andrews *) Update BS2000 OS code to work with recent versions. Starting with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews release A17, the child fork() must be replaced by a _rfork().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (BS2000 only) [Martin Kraemer]
5c10f54fe38795cbd3d5cf22e3fbd1d22b8226e4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add the actual server_rec structure of the specific Vhost to the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews scoreboard file and avoid a string copy (as well as allow some
a6211a2f234767a015a6a30b85d5da087fa907f1Mark Andrews further future enhancements). [Harrie Hazewinkel
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <harrie.hazewinkel@jrc.it>]
1feb76edcbb8ee97d1757f73115b7c4a71de6e0eMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add APACI --permute-module=foo:bar option which can be used to
4c342614f80d867bba23e63795ec6ee79dd6395dMark Andrews on-the-fly/batch permute the order of two modules (mod_foo and mod_bar)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in the Configuration[.apaci] file. Two special and important variants are
e72d4d8929fec51153e4fd0d1cf632cd59335495Mark Andrews supported for the option argument: first BEGIN:foo which permutes module
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_foo with the begin of the module list, i.e. it `moves' the module to
0ae34c3f6222ece01e0f710c7c0311f5cf9d9c0fMark Andrews the begin of the list (gives it lowest priority). And second foo:END
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews which permutes mod_foo with the end of the module list, i.e. it `moves'
6c6673405c7e29c1d91d07b326d0fe1d7b52e478Mark Andrews the module to the end of the list (gives it highest priority).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
bb6936058eb88eadff030462a347c10895c61a9aMark Andrews *) Fix problem with 'apache -k shutdown' and startup event
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews synchronisation (Win32). [Ken Parzygnat <kparz@raleigh.ibm.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#3255
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
0ad5cb4782cd419b089bcab28d2fd9e140dbcc59Mark Andrews *) The config parser wasn't correctly noticing a missing '>'
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews on container start lines (e.g., it wouldn't spot
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "<Directory /" as a syntax error). [Ryan Bloom <rbbloom@us.ibm.com>]
7c5d5a7932b8ac27281eeff64506dff8220bb3eaMark Andrews PR#3279
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add a 'RemoveHandler' directive which will selectively remove
1aed0905a50ff8d2bdc4d253b38ae24afe3bab1cDanny Mayer all handler associations for the specified file extensions.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ryan Bloom <rbbloom@us.ibm.com>] PR#1799.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Properly handle & allow "nul" and ".*/null" in AccessConfig and
1a9c000f54e6204fb49d785fd0bbb7a8e590dc99Mark Andrews ResourceConfig directives on Win32. Also add a note to the effect
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of 'useless User directive ignored on Win32' to the errorlog if
3cea35d9159b36eac43d32082a0b98f2cd82fc2eDanny Mayer a User directive is encountered on Win32.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2078, 2303.
53f1312c61fa8618852584bcdf9f35530282eb08Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix multiple whitespace handling in imagemaps for mod_imap which was
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews broken since Apache 1.3.1 where we took out compressing of multiple
87f4715d6c0a22f3449eb3291c91aa45ba86c955Mark Andrews spaces in ap_cfg_getline().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ivan Richwalski <ivan@seppuku.net>] PR#3249
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix Berkeley-DB/2.x support in mod_auth_db: The data structures were not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews initialized correctly and the db_open() call used an invalid mode
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews parameter. [Ron Klatchko <ron@ckm.ucsf.edu>] PR#3171
1431917c7cddbac7442cb910e83cb058fea59fb5Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: DSO support for UnixWare 7
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall, Ron Record <rr@sco.com>]
3733c24efa7eaa65455153702c3fb71c9233eafbMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Merge the contents of the {srm,access}.conf-dist* files into the
012a2b979e011b13ba0d291c279dc65a167c039eMark Andrews httpd.conf-dist* files. The srm and access files now contain
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews only comments, and httpd.conf has all the combined contents in
f6ff00810196d0c0973f62c7917b9975011fa45aMark Andrews a rational order. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
ec3984e9df6fd9b7811daa0dacb1b3dd1423ebf3Mark Andrews *) PORT: DSO/ELF support for FreeBSD 3.0.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall, Dirk Froemberg <ibex@physik.TU-Berlin.DE>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b972ff033b3efd52e747683face674dc4d2e431bMark Andrews *) Add a "default-handler" handler that calls the default_hander()
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews function which is normally called for static content. This allows
fa4e1438016331502e6d665588021aa7ffef8cc2Mark Andrews you to override a specific handler. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
f0471ca4b7bca6e907130ec84e36cf69f2b79a5aMark Andrews *) Further simplify checking for absolute paths by replacing an
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews hard-coded syntax check with a call to a routine we already created to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews do this. [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2976, 3074
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
638fe804a524ee0c028863c0301b999c79de7651Mark Andrews *) Log an error if we encounter a malformed "require" directive
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in mod_auth if we know that we know that no other module can
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews deal with it. [Marc Slemko]
9db3d9d14e2f3641d696dadc59c40c52b6f888bcMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Remove ap_private_extern method of hiding conflicting symbols
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews on the NEXT platform because it is not correct for all versions,
051706a29a73416fbae116952dd6b6bdda765538Mark Andrews and the versions for which it is correct are unknown.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Wilfredo Sanchez <wsanchez@apple.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
0b75a2dd3bd81a69e2d68fe446cacb46be04c1f1Mark Andrews *) Fix inheritance of IndexOptions NameWidth and remove unintended
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews restriction on +NameWidth, +IconHeight, and +IconWidth. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c54c1eaf26d5a7fc123c4af3712353156a766df1Mark Andrews *) Fix per-directory config merging for cases in which a 500 error
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is encountered in an .htaccess file somewhere down the tree.
0d993c02babc1e00516272783b310e83bb292d5cMark Andrews [Ken Coar] PR#2409
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Minor performance improvement to ap_escape_html(). [Roy Fielding]
4d9f3f00d93fcb8743b1105e8cf82e862be220d1Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed a segmentation violation in mod_proxy when a response is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews non-cachable. [Roy Fielding, traced by Doug Bloebaum]. PR#2950, 3056
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.3.3
86f6b92e35c7bdb5fc1fd1021af75b981863313eMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added a complete implementation of the Expect header field as
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews specified in rev-05 of HTTP/1.1. Disabled the 100 Continue
25276bd1ecb372b82c9235648e5defab0655dcd5Mark Andrews response when we already know the final status, which is mighty
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews useful for PUT responses that result in 302 or 401. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Remove extra trailing whitespace from the getline results as part
320d6ee24ea59c0dbcb2c08038586ef03c6a191dMark Andrews of the protocol processing, which is extra nice because it works
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews between continuation lines, is almost no cost in the normal case
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of no extra whitespace, and saves memory. [Roy Fielding]
475fe52dc33d8d8344e8b1e48fa7bb6643f7ca66Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added new HTTP status codes and default response bodies from the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews revised HTTP/1.1 (307, 416, 417), WebDAV (102, 207, 422, 423), and
5af560664daaa984f98cec6925518a3e06c4ab4fMark Andrews HTTP Extension Framework (510) specifications. Did not add the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews WebDAV 424 and 425 codes because they are bogus. We don't use any
0f8f42a09eb102fa88e4d2caacdafbeda931f94cMark Andrews of these codes yet, but they are now available to 3rd-party modules.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Roy Fielding]
8d77066ba0feb1353a7c85f929c365c5103f3976Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix a possible race condition between timed-out requests and the
8d77066ba0feb1353a7c85f929c365c5103f3976Mark Andrews ap_bhalfduplex select that might result in an infinite loop on
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews platforms that do not validate the descriptor. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3e7b37e01ba3efc873486140734fd24788092a30Mark Andrews *) WIN32: Add "-k shutdown" and "-k restart" options to signal a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews running Apache server [Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
54532c54130de8f374465bb23d5576fc3257ea96Mark Andrews *) Fix mod_autoindex bug where directories got a size of "0k" instead
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of "-". [Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>, Marc Slemko]
020f7361a49c5b1cda91927cf8206c1283fc7496Mark Andrews PR#3130
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1c0927d8a091effcf9b2dc5baa533927c113bd5cMark Andrews *) PORT: DRS 6000 machine. [Paul Debleecker <pdebleecker@jetair.be>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add the server signature text (from the core ServerSignature directive)
446ff1959cc3e963778c8770204b72c9e7c7df5aMark Andrews to the list of envariables available to scripts, SSI, and the like.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
70f8c70cdd3ca68edcf9d448eb508abf3697719aMark Andrews *) PORT: Fix sys/resource.h handling for SCO 3.x platform.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [M. Laak <maert@proinv.ee>] PR#3108
33c538015323f4576679e427088372eea614feebMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fallback from sysconf-based to plain HZ-based `ticks per second'
ac65e45126dda424b5cc9d2865b353dc0ec23e1eMark Andrews calculation in mod_status for all systems which don't have POSIX
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews sysconf() (like UTS 2.1) and not only for the NEXT platform.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dave Dykstra <dwd@bell-labs.com>] PR#3055
0423090da198f31ac615cd3a8f7d83aada32d5b3Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix `require ...' directive parsing in mod_auth, mod_auth_dbm and
d9e0458a890c49f977fdcf9d995681f546f7c427Mark Andrews mod_auth_db by using ap_getword_white() (which uses ap_isspace())
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews instead of ap_getword(..., ' ') (which parses only according to spaces
de4976142190ae84ed3e4099f3e0fc07781748a3Mark Andrews but not tabs). [James Morris <jmorris@intercode.com.au>,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Ralf S. Engelschall] PR#3105
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
051706a29a73416fbae116952dd6b6bdda765538Mark Andrews *) Fix the SERVER_NAME variable under sub-request situations (where
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews `UseCanonicalName off' is used) like CGI's called from SSI pages or
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews RewriteCond variables by adopting r->hostname to sub-requests.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [James Grinter <jrg@blodwen.demon.co.uk>] PR#3111
6a3c86ff436452d062912bd91ecd289541869d42Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix stderr redirection under syslog-based error logging situation.
e0fa16fe191d619d2cd05a039067414409329878Mark Andrews [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#3095
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Document `ErrorLog syslog:facility' variant of error logging.
93da96c1cfd5f3c47169855867dd18db00c8a386Mark Andrews [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#3096
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix http://localhost/ hints in top-level INSTALL document.
7d389c324cc032475f9d219a12ab84bacbd7fbaaMark Andrews [Rob Jenson <robjen@spotch.com>, Ralf S. Engelschall] PR#3088
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
cd9bfe5b256a3e84ba090e8fcb5de0d6c50974aeMark Andrews *) Quote paths in default configuration files. [Wilfredo Sanchez]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
dcd371be7d481b242d277d735e4c2d974297c164Mark Andrews *) PORT: Remove extra HAVE_SYS_RESOURCE_H define for RHAPSODY since
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews it is now taken care of properly by the header file tests.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Wilfredo Sanchez <wsanchez@apple.com>]
cc4928ec7116a064223f60639ca1a80f25ba350fMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix problem with scripts and filehandle inheritance on Win32.
e2cf63c5df79eb7c8b86b6278289883fa760cda5Mark Andrews [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2884, 2910
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c3184b4e2a1f238f4615d36fee79df82b1711344Mark Andrews *) Win32 name canonicalisation could end up using the server's
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews working directory to fill in some blanks. [Ken Parzygnat
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <kparz@raleigh.ibm.com>] PR#3001
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9b7c023fe6dc88ba1e69ace1f7c3ade40c6475f9Mark Andrews *) Correct invalid assumption by ap_sub_req_lookup_file() that all
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews absolute paths begin with "/" -- because they don't on Win32.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Parzygnat <kparz@raleigh.ibm.com>] PR#2976, 3074
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
0a1fa37641b59c56d02f5390917a49e4987f0f75Mark Andrews *) Add [REDIRECT_]VARIANTS environment variable to mod_speling
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews so that ErrorDocument 300 processors can reformat the list
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews if desired. [Ken Coar] PR#2859
c61ec97ae0b859914ee26e213fe792f86a157990Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add +/- incremental prefixes to IndexOptions keywords, and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews enable merging of multiple IndexOptions directives. [Ken Coar]
49f7d1585e0e4f1ffa1667391dd7ae1c4d3d4e81Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Allow GuessOS to recognize Unixware 7.0.1 [Steve Cameron
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <steve.cameron@compaq.com>]
0b1af13f680a865521105a77ee192024b5af33c4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Reconstructed the loop through multiple htaccess file names so
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews that missing files are not confused with unreadable files.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Roy Fielding]
945cb085b859dbfc6a883813dda03c83e06995d3Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The ap_pfopen and ap_pfdopen routines were failing to protect the
5ed4b0d4452967d9b3aaf7a22a2956a6ee67a614Mark Andrews errno on an error, which leads to one error being mistaken for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews another when reading non-existent .htaccess files.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c549b3a4d5fedba2ae960df667864e824acb1ef9Mark Andrews *) OS/2: The new header tests get things right, need to update
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ap_config.h. [Brian Havard]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a483e67c4cdcbfc29ddc62b5a2d0d99b1c542fadMark Andrews *) The Perl %ENV hash will now be setup by default when using the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_include `perl' command [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d73de275987d29627dc11d5bd4a22874a29f7874Mark Andrews *) PORT: Add Pyramid DC/OSx support to configuration mechanism.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Earle Ake <akee@wpdiss1.wpafb.af.mil>]
8f9664521724eefc39728c092d0bc6be527e1496Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Fix sys/resource.h handling for Amdahl's UTS 2.1
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dave Dykstra <dwd@bell-labs.com>] PR#3054
da091cda77fa951e682119c3df84f60a62bed702Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Correct comment in mod_log_config.c about its internals.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Elf Sternberg <elf@halcyon.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d8d489cd8efc45b06a232ac07a636b3d36cc7e8fMark Andrews *) Avoid possible line overflow in Configure: Use an awkfile to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews handle the creation of modules.c [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark AndrewsChanges with Apache 1.3.2
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix bug in ap_remove_module(), which caused problems for dso's
c8aa2c83113229a59069cbd05c735896f51b886bMark Andrews who were the top_module. [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add support for Berkeley-DB/2.x (in addition to Berkeley-DB/1.x) to
a1edcd1b8d430650d85ec0962cd32efde76a71fbMark Andrews mod_auth_db to both be friendly to users who wants to use this version
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and to avoid problems under platforms where only version 2.x is present.
5b1627d469d07c5bfe7f193e3ddd85d0dd6ad4b0Mark Andrews [Dan Jacobowitz <drow@false.org>, Ralf S. Engelschall]
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews
7c23b791f4ae8f0c4c2982a91d13c0ecb15ee798Mark Andrews *) When using ap_log_rerror(), make the error message available to the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *ERROR_NOTES envariables by default. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) BS2000 platform only: get rid of the nasty BS2000AuthFile.
8989de1059c6292fc43ce507df4991224af2d789Mark Andrews You now must define a BS2000Account name for the server User.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This has fewer security implications than the old approach.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
acc8b7ac3d16538bf223545bbf71899b9accaebbMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix SHARED_CORE feature for HPUX platform: We now use extension `.sl'
e7bb307667cc89287e810b95bddd342cb5dcb4e7Mark Andrews instead of `.so' and `SHLIB_PATH' instead of `LD_LIBRARY_PATH' on this
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews platform to make the braindead HPUX linker happy. Notice, for the module
b9efcf0a377381b29960137e54ecaf4db85a35c8Mark Andrews DSOs we don't have to use this, because these are loaded manually (and
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews not via HPUX' dld). [Ralf S. Engelschall] PR#2905, PR#2968
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Remove 64 thread limit on Win32.
8e5893c36cdccc706f9632f51e0c8d390d2a8d06Mark Andrews [Bill Stoddard <stoddard@raleigh.ibm.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
e396939d492e6afa8e31a8dc11d7317c9e62f15fMark Andrews *) Remove redundant substitutions in top-level Makefile.tmpl.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
9549a96654ead15b264c9159d48eb485e4f9db55Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix APACI's `Group' configuration adjustment - especially for Linux
3d822d111c00e70830dc163a5298196a1e7db29fMark Andrews platforms where `nogroup' exists in /etc/group. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews *) Make PrintPath work generically instead of having one version
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews strictly for OS/2. [Jim Jagielski, Brian Havard]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
4c83dd7f22b19c75afdd311684f6ba0faa24e8d8Mark Andrews *) Fix the recently introduced C header file checking: We now use the C
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews pre-processor pass only (and no longer the complete compiler pass) to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews determine whether a C header file exists or not. Because only this way
5f4098e478ae913cdc1bb8851599b8f2431050d3Mark Andrews we're safe against inter-header dependencies (which caused horrible
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews portability problems). The only drawback is that we now have a CPP
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews configuration variable which has to be determined first (we do a similar
57e0f58b3fd4cb49a57200c8af9cb58d984d871aMark Andrews approach as GNU Autoconf does here). When all fails the user still has
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the possibility to override it manually via APACI or src/Configuration.
26cf4737b3e84c3a686a5eacebf22ac39e57d4caMark Andrews As a fallback for the header check itself we can directly check the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews existance of the file under /usr/include, too.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2777
34e5a08809dda3276252269ebddd1616e62081a2Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Added RHAPSODY (Mac OS X Server) support. MAP_TMPFILE defined
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews as an alternate mechanism for mmap'd shared memory for RHAPSODY.
0cd36f1d15caf6622ec3128544d4238ad180a300Mark Andrews ap_private_extern defined to hide symbols that conflict with loaded
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews dynamic libraries on the NEXT and RHAPSODY platforms.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Wilfredo Sanchez <wsanchez@apple.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
93649589d470624e9e1c34403ad076b3a1a4c5c3Mark Andrews *) Delete PID file on clean shutdowns.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Charles Randall <crandall@matchlogic.com>] PR#2947
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
29f5bb81e2d1d72fc6e44c87404bd4598a34df94Mark Andrews *) Fix mod_auth_*.html documents: NSCA -> NCSA
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#2991
ddc592d128cdde85ada64efbda95981c10c4c03cMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix INSTALL document: www.gnu.ai.mit.edu -> www.gnu.org
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Karl Berry <karl@gnu.org>] PR#2994
88c2b83cc548a217cc92a2bf75ca1ef1d4237d4fMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix dbmmanage.1 manual page.
bd6ad47c3dbc52a54f240432878b6832bd6dd6e2Mark Andrews [Youichirou Koga <y-koga@jp.FreeBSD.org>] PR#2992
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix possible buffer overflow situation in suexec.c.
c7c1bf7dc167ff164193bc04f33a22109e4c0829Mark Andrews [Jeff Stewart <jws@purdue.edu>] PR#2790
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add some more LIBS for the SCO5 platform which are needed for the already
9e205a3c51e68d19a7ed03244d45b14b3e0d69afMark Andrews used -lprot. It's actually a bug in SCO5, of course.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ronald Record <rr@sco.com>] PR#2533
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
e823642ec0c167af8f7db01c96ba0279165a61f3Mark Andrews *) Fix documentation of ProxyPass/ProxyPassReverse according to the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews trailing slash problem. [Jon Drukman <jsd@gamespot.com>] PR#2933
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
93e6ebcd0a0f044ba2add424c265b5e0bb4c8afdMark Andrews *) Remove `-msym' option from LDFLAGS_SHLIB for the Digital UNIX (OSF/1)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews platform, because it's only supported under version 4.0 and higher. But
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews because our GuessOS is still unaware of Digital UNIX versions and the
8ac1acc30d0f405222ffa7b2b93131d9d4e18599Mark Andrews -msym is just to optimize the DSO statup time a little bit it's safe and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews best when we leave it out now. [Ralf S. Engelschall] PR#2969
c99d9017ba00099bfa89e1ed53e63a5cb07d28d5Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix the ap_log_error_old(), ap_log_unixerr() and ap_log_printf()
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews functions: First all three functions no longer fail on strings containing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "%" chars and second ap_log_printf() no longer does a double-formatting
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (instead it directly passes through the message to be formatted to the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews real internal formatting function). [Ralf S. Engelschall] PR#2941
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c4a9ce445c48a57eed5aa16582b1964cf8cedf87Mark Andrews *) Allow "Include" directives anywhere in the server config
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews files (but not .htaccess files). [Ken Coar] PR#2727
a04a323f9a1ebd4766fc577e11bf3c22bdaf5516Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The proxy was refusing to serve CONNECT requests except to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews port 443 (https://) and 563 (snews://). The new AllowCONNECT
dd0228908543562781a4c0d8773ae87d4c530633Mark Andrews directive allows the configuration of the ports to which a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews CONNECT is allowed. [Sameer Parekh, Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_expires will now act on content that is not sent from a file
810e8d27763c5d8557239ab321eb125163af9236Mark Andrews on disk. Previously it would never add an Expires: header to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews any response that did not come from a file on disk; the only
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews case where it still doesn't (and can't) add one for that type of
15f358ed4ea081793041bbfba70849be472236d3Mark Andrews content is if you are using a modification date based setting.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Marc Slemko, Paul Phillips <paulp@go2net.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
984c39beed2fee49dda75c4c8a37b7f32bf434bfMark Andrews *) Problems encountered during .htaccess parsing or CGI execution
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews that lead to a "500 Server Error" condition now provide explanatory
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews text (in the *ERROR_NOTES envariable) to ErrorDocument 500 scripts.
c08a03a43116c21cf12dea7cbcb5465588f7955cMark Andrews [Ken Coar] PR#1291
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c311ed52d45334e182a093efad827fe4cbe7e686Mark Andrews *) Add NameWidth keyword to IndexOptions directive so that the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews width of the filename column is customisable. [Ken Coar, Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#1949, 2324.
79a6a33184abff1999ba13b10922ccb34a2758a5Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Recognize lowercase _and_ uppercase `uname' results under
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews SCO OpenServer. [David Coelho <drc@ppt.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5d26560e2b93e1aa0334931ec6ccb6045c3581fcMark Andrews *) As duplicate "HTTP/1.0 200 OK" lines within the header seem to be
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a common problem of (mis-administrated?) IIS servers, make the apache
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews proxy immune to these errors (and ignore the duplicates, but log
2b1c71b134eb92f2e297a56f778838e42f41c880Mark Andrews the fact to error_log). [Martin Kraemer], after the proposal in PR#2914
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The <IfModule and <IfDefine block starting directives now only
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews allow exactly one argument. Previously, the optional negation
d6fbfd28ea82e425740de903ddc67f7d9e9f82e7Mark Andrews character '!' could be separated by whitespace without a syntax
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews error being reported, albeit defeating the IfModule functionality
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (enclosed directives would ALWAYS be executed). By using the
7791dd06ea69d0fb2494788ad4c24d568f40bcdfMark Andrews stricter syntax, these hard-to-track errors can be avoided.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
091b098b49a4f84f459abd46451955a18abd6d40Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Simplify handling of IndexOptions in mod_autoindex -- and BTW
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews cause the standalone FancyIndexing directive to logically OR
7d3458a972a902740eb142044655aba6c6ffb9acMark Andrews into any existing IndexOptions settings rather than wiping
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews them out. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
7c441b7f4afdedb6e5a99f113a4f926a005fa950Mark Andrews *) Changes in ftp proxy: make URL parsing simpler by using the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews parsed_uri stuff.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews + Add display of the "current directory" in cases where it's
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews different from the supplied path (e.g., ftp://user@host/ lives
f0ffc28f61a68b350fef9257f5f50e1ac866e0abMark Andrews in /home/user, not in /, therefore clicking on "../" in the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews starting directory might send us to /home/).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews + When ftp login fails, (esp. when a user name was part of the
7f20fd8ebb0cabc8f935381d958f8371990c9212Mark Andrews URL already), we now return [401 Unauthorized ] to allow the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews browser to pop up an authorization dialog. This makes passwords
8695d7b357789bedff63e5b19c5ab25cd58fcd4bMark Andrews slightly less visible (they don't appear in the regular log files)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and implements a functionality that other www proxy servers
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews already offered.
f76c4ebaf586a693521f018fbc617c292c1555d7Mark Andrews [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b597abd9cc44c7b9ecd0ff67df59a21ff45e88d5Mark Andrews *) Triggered by the recent "Via:" header changes, the proxy module would
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews dump core for replies with invalid headers (e.g., duplicate
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "HTTP/1.0 200 OK" lines). These errors are now logged and the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews core dump is avoided. Also, broken replies are not cached.
81e302788a444b81231a7cda721548a020ae5660Brian Wellington [Martin Kraemer] PR#2914
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) new `GprofDir' directive when compiled with -DGPROF, where gprof can
c00a1eb423623442aff428336bb55590f79013bbMark Andrews plop gmon.out profile data for each child [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1e258716acade52396a8f260b5e19cbf6ca0290aMark Andrews *) Use the construct ``"$@"'' instead of ``$*'' in the generated
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews config.status script to be immune against arguments with whitespaces.
d972fa317829804a692e46a34b6f27a33f861d9dMark Andrews [Yves Arrouye <yves@apple.com>] PR#2866
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
4b171ebd702d72200a4d7609f11c5f79d6b6f964Brian Wellington *) Replace the inlined information grabbing stuff for the configuration
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews adjustment feature (no --without-confadjust) with calls to a new helper
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews script `buildinfo.sh' which is both more flexible and already proofed to
cceca51fec3b4af660d28e2d3df7242823312eb6Brian Wellington be more robust against platform differences. This mainly fixes the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews recently occured ``sed: command garbled: ...'' problems.
03fae7ef2173cdf32918853b047d95d9046574ccMark Andrews [Ralf S. Engelschall] PR#2776, PR#2848
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make ab.c again pass ``gcc -Wall -Wshadow -Wpointer-arith -Wcast-align
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''
ad611e746d6fdcbb9e67da361a3a039c226a9236Mark Andrews without complains after we recently added the POST feature.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
603d1d1e20fbffc986b3aec93379bb4f6ac37afcMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Renamed is_HTTP_xxx() macros to ap_is_HTTP_xxx() name. They are used inside
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews modules as API functions and we forgot them at the big symbol renaming.
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Remove bad reference to non-existing SERVER_VERSION in mod_rewrite.html
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews [Youichirou Koga <y-koga@jp.FreeBSD.ORG>] PR#2895
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Dynamically size the filename column of mod_autoindex output.
1fb264ed3aa861a67d7bab9aeb5aea5836e03c14Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add the ability to do POST requests to the ab benchmarking tool.
608c703d1231e0b1f291637ca5361b773afcdbf1Mark Andrews [Kurt Sussman <kls@best.com>] PR#2871
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Bump up MAX_ENV_FLAGS in mod_rewrite.h from the too conservatice limit of
feb8ae093115b36ac061e23d0227ea06f51950a3Mark Andrews 5 to 10 because there are some users out there who always have 5 to 8
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews variables in one RewriteRule and had to patch mod_rewrite.h for every
27151990b2b48f027f7f01972fe8e0dfa1df52d3Mark Andrews release. So 15 should be now more than enough, even for them. (I never
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews needed more than 4 in my RewriteRules ;-)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
95b604c5e972a5e9eb713bf45cf0b2d9b98da27eMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make the proxy generate and understand Via: headers
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
2211bec6a0626b681fdf5a8e4406555ef76ddf70Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Change the proxy to use tables instead of array_headers for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the header lines. [Martin Kraemer]
fcb2ecdb52a594a5c0d07c2e98e67c14708c16dfMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure the config.status file is not overridden when just
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ``configure --help'' is used. [Ralf S. Engelschall] PR#2844
3561e645d77448b20b1676680b08c76d559e5335Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Split MODULE_MAGIC_NUMBER into _MAJOR/_MINOR numbers. This should
b9c80c8bddbb88384d7baef297a873b5f8715e49Mark Andrews provide a way to trace API changes that add functionality but do
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews not create a compatibility issue for precompiled modules, etc.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews See include/ap_mmn.h for more details. [Randy Terbush]
b9c80c8bddbb88384d7baef297a873b5f8715e49Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix suexec installation under `make install root=xxx' situation.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
27269e9dd45b619160f90db1a0f6b2b3f6f4bbb8Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Extend the output of the -V switch to include the paths of all
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews compiled-in configuration files, if they were overridden at
f38c274c217d0a5b791786877422306a0e477e10Mark Andrews compile time, for least astonishment of the user.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
84ef147b1fa0aed15cade55478ed647d15f7b094Mark Andrews *) When READing a request in ExtendedStatus mode, the "old"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews vhost, request and client information is not displayed.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jim Jagielski]
e53a5a116fc531f730df0adb091278ff8a941dffMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) STATUS is no longer available. Full status information now
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews run-time configurable using the ExtendedStatus directive.
fc7fbdf6e66fb496442ec4f99f5a84669ea4c6d3Mark Andrews [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: Eliminate O(n^2) space DoS attacks (and other O(n^2)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews cpu time attacks) in header parsing. Add ap_overlap_tables(),
986be654feec852eb9da0d15599f18d0035e569bMark Andrews a function which can be used to perform bulk update operations
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews on tables in a more efficient manner. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c26c65b7a0d036e78bfc73f3e7e0817adb0365c0Mark Andrews *) SECURITY: Added compile-time and configurable limits for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews various aspects of reading a client request to avoid some simple
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews denial of service attacks, including limits on maximum request-line
43733a83ed92359555c0dcc766e04216ba858309Mark Andrews size (LimitRequestLine), number of header fields (LimitRequestFields),
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and size of any one header field (LimitRequestFieldsize). Also added
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a configurable directive LimitRequestBody for limiting the size of the
bda64555f62216c3e785338f372a7ad9b79c197cMark Andrews request message body. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make status module aware of DNS and logging states, even if
39c2b741427eedafe5054909773c2e121c078b72Mark Andrews STATUS not defined. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix a problem with the new OS/2 mutexes. [Brian Havard]
de36c606c52ad51e5abca6e42faf655937e5ed10Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Enhance mod_speling so that CheckSpelling can be used in
23cb957a81a51a9656917ea98d0ae56b7abdcaccMark Andrews <Directory> containers and .htaccess files. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: new ap_custom_response() function for hooking into the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ErrorDocument mechanism at runtime [Doug MacEachern]
28d8b4118da7abed531ca09136a6d1402837d721Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: new ap_uuencode() function [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d6c0627d1e4d841eac9576427f2d4a0cf9a47e2cMark Andrews *) API: scan_script_header_err_core() now "public" and renamed
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ap_scan_script_header_err_core() [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5d7b81d2a49d237ff5e73fdc4bd3394a3ee29392Mark Andrews *) The 'status' module will now show the process pid's and their
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews state even without full STATUS accounting. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Restore the client IP address to the error log messages, this
8f63de30293716a22054e7db47f27e81bab545c5Mark Andrews was lost during the transition from 1.2 to 1.3. Add a new
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews function ap_log_rerror() which takes a request_rec * and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews formats it appropriately. [Dean Gaudet] PR#2661
caa8797a00ccb1a02f1690dda5b4aeda9a1db5a7Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Cure ap_cfg_getline() of its nasty habit of compressing internal
9ae90732df942a7ffcbaa26ba254b55248ce79a5Mark Andrews whitespace in input lines -- including within quoted strings.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews but leading and trailing whitespace should continue to be
f3222d48cc3d81706d198faa00dea9720eb0768dMark Andrews stripped [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Cleanup of the PrintPath/PrintPathOS2 helper functions. Avoid
e95cc59f90d35f2d482b6f9c19ba96818275335cMark Andrews the ugly use of an env. variable and use command-line args for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews alternate $PATH. Make more like advanced 'type's as well.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
0062c1ddfe0b2f0a4e206a5d460d8e7d58e29b80Brian Wellington *) The IRIXN32 Rule was being ignored. Configure now correctly adds
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews -n32 only if IRIXN32 says to. [Jim Jagielski, Alain St-Denis
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <alain.st-denis@ec.gc.ca>] PR#2736
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
48b0f5ff87f0a5a138129bcd855fd72908491321Andreas Gustafsson *) Clean up a warning in mod_proxy. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Renamed __EMX__ (internal define of the gcc port under OS/2) to OS2
cde7dfea4c1267a2b526114f4ea80fe9db1fc557Brian Wellington following the same idea as "MSVC vs WIN32". Additionally the src/os/emx/
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directory was renamed to src/os/os2/ for consistency.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Brian Havard, Ralf S. Engelschall]
fca9cc33ad4299e58e53aa5273d805477267e27aBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add new Rule SHARED_CHAIN which can be used to enable linking of DSO
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews files (here modules) against other DSO files (here shared libraries).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This is done by determining a subset of LIBS which can be safely used for
2ca2e1a1ceec59a40f977f01ba8e8f4c0424c484Brian Wellington linking the DSOs, i.e. PIC libs and shared libs. Currently the rule is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews disabled for all platforms to avoid problems with this (experimental)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews rule. But we provide it now for those people how ran into problems and
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellington want to came out by forcing linking against DSOs.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2587
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
683f10428e292811317df38fa324f242abbf7384Mark Andrews *) Fix suEXEC start message: Has to be of `notice' level to really get
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews printed together with the standard startup message because the `notice'
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews level is handled special inside ap_log_error() for startup messages.
5da1e589c2288dbe87002f771005a78d80a2e258Mark Andrews [Ralf S. Engelschall] PR#2761 PR#2761 PR#2765
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add correct `model' MIME types from RFC2077 to mime.types file.
5da1e589c2288dbe87002f771005a78d80a2e258Mark Andrews [Ralf S. Engelschall] PR#2732
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed examples in mod_rewrite.html document.
852fa3b2e32719d094f3ad6513238841ae1f078bMark Andrews [Youichirou Koga <y-koga@jp.FreeBSD.org>, Ralf S. Engelschall] PR#2756
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Allow ap_read_request errors to propagate through the normal request
8569ab045a4cf6ecd1b5a3354ddb1c93ef34ea57Brian Wellington handling loop so that the connection can be properly closed with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews lingering_close, thus avoiding a potential TCP reset that would
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews cause the client to miss the HTTP error response. [Roy Fielding]
a5c077e40c784cf9e25c95a1ab94db2faab04ae9Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) One more portability fix for APACI shadow tree support: Swap order of awk
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and sed in top-level configure script to avoid sed fails on some
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews platforms (for instance SunOS 4.1.3 and NCR SysV) because of the
2ca556300b09a94f0937b303386d29b95ef057ddBrian Wellington non-newline-termined output of Awk. [Ralf S. Engelschall] PR#2729
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: NEC EWS4800 support.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [MATSUURA Takanori <t-matsuu@protein.osaka-u.ac.jp>]
97527fc03cdb061759e2c9529c670ac1c190ef84Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix a segfault in the proxy on OS/2. [Brian Havard]
e1c2a8b9c120bcfc2f56e866ca3069b8a90c38dbMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix Win32 part of ap_spawn_child() by providing a reasonable child_info
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews structure instead of just NULL. This fixes at least the RewriteMap
b7064914ca566fdd67cf0fe7e82d586cbb596470Mark Andrews programs under Win32. [Marco De Michele <mdemichele@tin.it>] PR#2483
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add workaround to top-level `configure' script for brain dead
49f62849e5f80add0ee36b0f9b42cdce8de9748aMark Andrews `echo' commands which interpet escape sequences per default.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2654
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure that the path to the Perl interpreter is correctly
e9472e9f18f1c4f1279be2b3147be13a2bb731d0Mark Andrews adjusted under `make install' also for the printenv CGI script.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2595
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Update the mod_rewrite.html document to correctly reflect the situation
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of the `proxy' (`[P]') feature. [Ralf S. Engelschall] PR#2679
d073663cb45bef2fff5f9a43b9b6006edfc52483Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix `install-includes' sub-target of `install' target in top-level
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Makefile.tmpl: The umask+cp approach didn't work as expected (especially
cad61731f8e960d9d99034a2a6eaafe1069c405cMark Andrews for users which extracted the distribution under 'umask 077'), so replace
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews it by an explicit cp+chmod approach.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Richard Lloyd, Curt Sampson, Ralf S. Engelschall] PR#2656 PR#2626
54469c2b2262f6a3f09610df69e16e9c75fd1fe5Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix `distclean' and `clean' targets in src/Makefile.tmpl to have same
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews behavior and to cleanup correctly even under enabled SHARED_CORE rule.
90e303b114e56db5809fdd19805243457fa43cd9Olafur Gudmundsson [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Use a more straight forward and thus less problematic Sed command in
adbb11147cd5d97d140485fa37e85e66e15cf594Mark Andrews src/helper/mkdir.sh script. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure the `configure' scripts doesn't fail when trying to guess the
9ab461a6ffed2ae2fe0380c30b69052db7473405Mark Andrews domainname of the machine and there are multiple `domainname' and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews `search' entries in /etc/resolv.conf.
77467267d97c781f3f3d050e229a874831e59c3dMark Andrews [Ralf S. Engelschall] PR#2710
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
13ba983cc86bc7d80d5f66ba09002f7d510a6631Mark Andrews *) Add note about the SHARED_CORE requirement on some platforms also to the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews INSTALL file because a lot of users don't read htdocs/manual/dso.html
da5d1cf1b1aa29ae53a0427be49291b04bd60549Mark Andrews first. [Ralf S. Engelschall] PR#2701
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix document "hyperlink" for dso.html in src/Configuration.tmpl
66291de2060a1569de3fe9c5f0c1225448868f7aMark Andrews [Knut A.Syed <Knut.Syed@nhh.no>] PR#2674
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6c06bc591a830023e5e7a41cc4b37978b98c0c51Mark Andrews *) Modify mod_rewrite to update the Vary response field if the URL rewriting
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews engine does any manipulations or decisions based upon request fields.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar] PR#1644
c36f45e354c0d5b6ab9f821bfe315d0ce9d95a29Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Document the special APACI behavior for installation paths where
9cec4ca6cac428a46c6d64197c64831dcc02f506Andreas Gustafsson ``/apache'' is appended to paths under some (well defined, of course)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews situations to prevent pollution of system locations with Apache files.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2660
23fb770906bf1fd98210f16ad660078274242963Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed problem with buffered response message not being sent for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the read_request error conditions of URI-too-long (414) and
0cb27602e5690baa9ab61c7c1430e507536adca7Brian Wellington malformed header fields (400). [Roy Fielding] PR#2646
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add support for the Max-Forwards: header line required by RFC2068 for
ff1b064f5e2bf19c8e25f8927d23df5714e666edMark Andrews the TRACE method. This allows apache to TRACE along a chain of proxies
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews up to a predetermined depth. [Martin Kraemer]
8e40433e347bc487cd70f02487fc7ce947a2422aMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix SHARED_CORE rule: The CFLAGS_SHLIB variable is no longer doubled
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (compilers complained) and the .so.V.R.P filename extension was adjusted
880723fb130841459d45695b387651cacd6c9bb8Mark Andrews to correctly reflect the 1.3.2 version.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2644
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
8f44fd4f8d5cefc227ab0fe59cbcbc3979fbc9caAndreas Gustafsson *) SECURITY: Plug "..." and other canonicalization holes under OS/2.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Brian Havard]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: implement serialized accepts for OS/2. [Brian Havard]
fefbb64a751f23c9dcf8bb1e62c6ed40a6a04fb2Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_include had problems with the fsize and flastmod directives
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews under WIN32. Fix also avoids the minor security hole of using
111e3433d289e8b4ea1260add39baa78c2a46891Mark Andrews ".." paths for fsize and flastmod.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Manoj Kasichainula <manojk@raleigh.ibm.com>] PR#2355
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
cf300e03de3df3ff422db922520bf07c686c86daMark Andrews *) Fixed some Makefile dependency problems. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.3.1
9ac8796f1653d89af589753a3e42c694f35ddd8aMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Disable the incorrect entry for application/msword in the
242bba8991b030b7764f0bdca3922d75c34ea51eAndreas Gustafsson mod_mime_magic "magic" file because it also matches other Office
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews documents. [Ralf S. Engelschall] PR#2608
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix broken RANLIB handling in src/Configure (the entry from
242bba8991b030b7764f0bdca3922d75c34ea51eAndreas Gustafsson src/Configuration.tmpl was ignored) and additionally force RANLIB to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews /bin/true under HP/UX where ranlib exists but is deprecated.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2627
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
242bba8991b030b7764f0bdca3922d75c34ea51eAndreas Gustafsson *) 'apachectl status' failed on some systems.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Steve VanDevender <stevev@darkwing.uoregon.edu>, Lars Eilebrecht] PR#2613
02bdc23f8e3ca0f710e0a40daa15941ab1db6bb2Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add new flags for ap_unparse_uri_components() to make it generate
ef29912666cc6160f7165558bef017ab3849c5e1Mark Andrews the scheme://sitepart string only, or to omit the query string.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Canonicalize ServerRoot before checking to see if it
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is a valid directory. The failure to do this caused certain
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ServerRoot settings (eg. "ServerRoot /apache") to be improperly
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews rejected. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
0cfa2fb26df42f781eca8c4c856d2d0165055bebMark Andrews *) Global renaming of C header files to both get rid of conflicts with third
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews party packages and to again reach consistency:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 1. conf.h -> ap_config.h
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 2. conf_auto.h -> ap_config_auto.h \ these are now merged
06a949d2ce8d4b4cbfbf4e7a0335316520aafa46Andreas Gustafsson 3. ap_config.h -> ap_config_auto.h / in the config process
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 4. compat.h -> ap_compat.h
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 5. apctype.h -> ap_ctype.h
0b81e99ddfb01746e667797dedc291fc550d14d3Brian Wellington Backward compatibility files for conf.h and compat.h were created.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_mmap_static will no longer take action on requests unless at
3638017bd3cb8e30874f708a125d1541b680b25eBrian Wellington least one "mmapfile" directive is present in the configuration.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This experimental module has to do some black magic to operate
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews inside the current API and thus creates side-effects for other
8771fbe4a2cee7bebd785a486824833d741c7315Brian Wellington modules under some circumstances.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b541c10d0442d9804d94567a97956cec3bd2912dBrian Wellington *) Add conservative ticks around more egrep arguments in top-level configure
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to avoid problems under brain-dead platforms like Digital UNIX (OSF1).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2596
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_rewrite created RewriteLock files under the UID of the parent
c01237c6bc5ec25063b4aae1799fe4de01a7455bAndreas Gustafsson process, thus the child processes had no write access to the files.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Now a chown() is done on the file to the uid of the children,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews if applicable. [Lars Eilebrecht, Ralf S. Engelschall] PR#2341
60213f2815a7e6584a2285546d05633fa7b6f5b4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Autogenerate some HAVE_XXXXX_H defines in conf_auto.h (determined via
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews TestCompile) instead of defining them manually in conf.h based on less
6c8abf481df85a67c3f32f5f107b554d3ff5a3edMark Andrews accurate platform definitions. This way we no longer have to fiddle with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews OS-type and/or OS-version identifiers to discover whether a system header
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews file exists or not. Instead we now directly check for the existence of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews those esoteric ones.
1e4bfff1855795853648f507422b96fc8fecbff1Mark Andrews [Ralf S. Engelschall] PR#2093, PR#2361, PR#2377, PR#2434,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#2524, PR#2525, PR#2533, PR#2569
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6b31d9c56874d3bd58b420cbe6cd64be502dbe08Andreas Gustafsson *) mod_setenvif (BrowserMatch* and friends) will now match a missing
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews field with "^$". [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Set the RTLD_GLOBAL dlopen mode parameter to allow dynamically loaded
ee80f4506479e189ca1320eb87ac89188c5a7848Mark Andrews modules to load their own modules dynamically. This improves mod_perl
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and mod_php3 when these modules are loaded dynamically into Apache.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Rasmus Lerdorf]
d9d6d2f77fe54831dec9cde8ca03ae1f825599f9Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Cache a proxied request in the event that the client cancels the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews transfer, provided that the configured percentage of the file has
eb2c518a3871932e86268e7c6ddae2b2a00d72fdMark Andrews already been transfered. It works for HTTP transfers only. The
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews new configuration directive is called CacheForceCompletion.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Glen Parker <glenebob@nwlink.com>] PR#2277
4072dfb9b865c82c24a72e734d54da51a20dfc1eMark Andrews
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews *) Add the "<!DOCTYPE HTML" magic cookie used by modern documents (and
92094d44a2d0cb2b1be58a87299903ba7c436a0cAndreas Gustafsson required by HTML 3.2 and later) to mod_mime_magic's conf/magic.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Anna Shergold <anna@inext.co.uk>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d1abb8bb020aacd1ce0da65c2d5d8f7c96ebd52aMark Andrews *) Fix yet another signal-based race condition involving nested timers.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Signals suck. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) suexec's error messages have been clarified a little bit. [Ken Coar]
b4aeceec736cd16d4c4e98f519c8df79b15fbe45Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Clean up some, but perhaps not all, 8-bit character set problems
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with config file parsing, and URL parsing. We now define
307ba34fa07db768c3a899844f248a2c1d7dcc7fAndreas Gustafsson ap_isdigit(), ap_isupper(), ... which cast to an (unsigned char).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This should work on most modern unixes.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#800, 2282, 2553 (and others)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b6b9d8b8434e4eaab74b69cd14fcacf448055ca5Brian Wellington *) The "handler not found" error was issued in cases where the handler
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews really did exist, but was just declining to serve the request.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [John Van Essen <jve@gamers.org>] PR#2529
31f6e44dcaad33d66d607e3a919d4aa59cdbaec5Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add Dynamic Shared Object (DSO) support for SCO5 (OpenServer 5.0.x).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ronald Record <rr@sco.com>] PR#2533
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6d6529b5e5ab7223fa2560ebe144bcb82517cef3Mark Andrews *) The APACI libexecdir was not extended with an "apache/" subdir
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews if the installation prefix didn't already contain "apache", but
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews it should be because the DSO files are Apache-specific. Now
0b07b9482c00060d1ddd551a5dcb8cecbe2c1f65Mark Andrews libexecdir is treated the same way sysconfdir, datadir, localstatedir
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and includedir are already treated.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Charles Levert <charles@comm.polymtl.ca>] PR#2551
c0fe9b0d1b01a9a0883977a362ce4128723a56d6Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The <Limit> parsing routine was incorrectly treating methods as
2869504d83e84a91dbc822e8a243e837f5c0374dAndreas Gustafsson case-insensitive. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The ap_bprintf() code neglected to test if there was an error on
138cc7f283889367b11840ff77a9ea08e17a9daeAndreas Gustafsson the connection. ap_bflush() misdiagnosed a failure as a success.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) add support for #perl arg interpolation in mod_include
ac1a59e95cfd035f38222e739affd43eafa9eeefMark Andrews [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
58930ca9802e772afe9f5ccb30f236d201cf60e0Danny Mayer *) API: Name changes of table_elts to ap_table_elts, is_table_empty
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to ap_is_table_empty and bgetflag to ap_bgetflag. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
e3e94dd137c5f9d3d5c5179863f674b27aa0cc02Andreas Gustafsson *) PORT: Add UnixWare 7 support
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Vadim Kostoglodoff <vadim@olly.ru>] PR#2463
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix the Guess-DSO-flags-from-Perl stuff in src/Configure: "perl" was
7c014c5bf41dc38802e8889c0a9110204eb1a552Andreas Gustafsson used instead of "$PERL" which contains the correctly determined Perl
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews interpreter (important for instance on systems where "perl" and "perl5"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews exists, like BSDI or FreeBSD, etc).
a8fb98aff8a186bf80fa4e48cc3e99a42939dd0aMark Andrews [Ralf S. Engelschall] PR#2505
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3e42bdfdc901b6b921b02028bd51ca2af8e84adcMark Andrews *) Move the initial suEXEC-related startup message from plain
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews fprintf()/stderr to a delayed ap_log_error()-based one to avoid problems
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews when Apache is started from inetd (instead of standalone). Under this
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews situation startup messages on stderr lead to problems (the line is sent
b20eef7ab022dd984e2e9c12f6a7edf35661d3b0Mark Andrews to the client in front of the requested document).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#871, PR#1318
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add a flag so ap_fnmatch() can be used for case-blind pattern matching.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar, Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Don't collapse multiple slashes in PATH_INFO.
ea01b618d981e58f85071a40550bc7f7565d4509Andreas Gustafsson [Ben Laurie, Bill Stoddard <wgstodda@us.ibm.com>] PR#2274
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
80dd46d7aab16c42a8c1acf6156c95406a9f20a4Mark Andrews *) WIN32 SECURITY: Eliminate trailing "."s in path components. These are
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ignored by the Windows filesystem, and so can be used to bypass security.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ben Laurie, Alexei Kosut].
993572b2495561c57b556621dd9fe493e8c6dd1bDanny Mayer
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) We now attempt to dump core when we get SIGILL. [Jim Jagielski]
78bf1ca89505820ed7b03be4bf0c0b53b557f3cdAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: remove broken test for MAP_FILE in http_main.c.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Wilfredo Sanchez <wsanchez@apple.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
afeabf9f707ca71192041c1132d9f07d7bd83132Mark Andrews *) PORT: Change support/apachectl to use "kill -0 $pid" to test if the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews httpd is running. This should be more portable than figuring out
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews which of three dozen different versions of "ps" are installed.
3842a051baf34ffc4e428cd6f2d4a641e548e6f6Mark Andrews [a cast of dozens]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a89d1aea0cce6a28a3751cd508db67e38d307a5eDanny Mayer *) WIN32: If we can't figure out how to execute a file in a script
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directory, bail out of the request with an error message. [W G Stoddard]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32 SECURITY: Eliminate directories consisting of three or more dots;
04f158ce9a12746eb216892b2bf8259749db254eAndreas Gustafsson these are treated by Win32 as if they are ".." but are not detected by
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews other machinery within Apache. This is something of a kludge but
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews eliminates a security hole. [Manoj Kasichainula, Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
62c1fe7b450916acdaf4a3fe65a9b691d5d32f3fBrian Wellington *) Move ap_escape_quotes() from src/ap to src/main/util.c; it uses
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews pools and thus pollutes libap (until the pool stuff is moved there).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar]
712bf9b0cc4ed34f4bf33b437f8b0e45853b93ceMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) IndexIgnore should be case-blind on Win32 (and any other case-aware
7e2f4ceafaae4eac1deddc87f906b29a922fff9dAndreas Gustafsson but case-insensitive platforms). New #define for this added to conf.h
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (CASE_BLIND_FILESYSTEM). [Ken Coar] PR#2455
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
72499be79fbb68140bd31e0e4ded18a70a5b523bMark Andrews *) Enable DSO support for OpenBSD in general, not only for 2.x, because it
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews also works for OpenBSD 1.x. [Ralf S. Engelschall]
90c5477ca11a94b0e7d8071181d69544e1ab9be9Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Fix compilation problem on ARM Linux.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Sam Kington <sam@illuminated.co.uk>] PR#2443
552a117791c17878c5c1b94b0fc3ac4e8491543eMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Let APACI's configure script determine some configuration parameters
f3e4c3d6c536973bae92611402ba55277069eba2Mark Andrews (Group, Port, ServerAdmin, ServerName) via some intelligent tests to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews remove some of the classical hurdles for new users when setting up
6fb633bc3fddba07fc9460ffd245b7ee2d459285Mark Andrews Apache. This is done per default because it is useful for the average
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews user. Package authors can use the --without-confadjust option to disable
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews these configuration adjustments.
ca033e166ca9f9dc7bf010065a93af668a09fd44Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
f9321a16fb8dce8999a43a6d4008c54845305401Mark Andrews *) Added an EXTRA_DEPS configuration parameter which can be used
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to add an extra Makefile dependency for the httpd target, for instance
c8bedec446212b07511ded85ba04a9a3d5965ba8Mark Andrews to external third-party libraries, etc.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
7a104af70fb3071e7949c4e0e585af18ab362db5Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add <IfDefine>..</IfDefine> sections to the core module (with same spirit
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews as <IfModule>..</IfModule> sections) which can be used to skip or process
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews contained commands dependend of ``-D PARAMETER'' options on the command
923de3bb9cf4d619de206544975986a22b18196fMark Andrews line. This can be used to achieve logical conditions like <IfDefine
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ReverseProxy> instead of physically ones (e.g. <IfModule mod_proxy.c>)
2359261a252b339f3cef046cefa10ee1e1d4564dMark Andrews and thus especially can be used for conditionally loading DSO-based
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews modules via LoadModule, etc. [Ralf S. Engelschall]
769cd7d5dd677434c3dfa27cbfdd8cb76296fcdcMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: clean up a warning in mod_status for OS/2. [Brian Havard]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6bad645917a026dfa4662dd0a3a78b9efc3f4c36Mark Andrews *) Make table elements const. This may prevent obscure errors. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
11931cc68d6c8139f507a724e7ca9814eed8b552Mark Andrews *) Fix parsing of FTP `SIZE' responses in proxy module: The newline was not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews truncated which forced following HTTP headers to be data in the HTTP
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews reponse. [Ralf S. Engelschall, Charles Fu <ccwf@bacchus.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#2412, 2367
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Portability fix for APACI shadow tree support: Swap order of awk and sed
d91d025deffd075db2507d44fab04b79920b3e91Mark Andrews in top-level configure script to avoid sed fails on some platforms (for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews instance SunOS 4.1.3 and NCR SysV) because of the non-newline-termined
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews output of Awk. [Bill Houle <bhoule@sandiegoca.ncr.com>] PR#2435
985b4f1c8653c6dfaa46652c412838850c0ffb1cMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Improve performance of directory listings (mod_autoindex) by comparing
1d556695ef3c7918ba5061d7d846122d60f5f6c5Mark Andrews integer keys (last-modified and size) as integers rather than converting
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews them to strings first. Also use a set of explicit byte tests rather
e9ca87459a20f5e6721b9bd0b28c95fc3d6b843cMark Andrews than strcmp() to check for parent directory-ness of an entry. Oh, and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews make sure the parent directory (if displayed) is *always* listed first
ca690f98020f75758bc26f4b5ef1ccf0472a27c3Mark Andrews regardless of the sort key. Overall performance winnage should be good
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in CPU time, instruction cache, and memory usage, particularly for large
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directories. [Ken Coar]
137a1f98e3862577ae9ccbb6b735ef63a51c456eMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add a tiny but useful goody to APACI's configure script: The generation
5cd7e9d4db393c314dd1a761c52d2cb3a4da9b72Andreas Gustafsson of a config.status script (as GNU Autoconf does) which remembers the used
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews configure command and hence can be used to restore the configuration by
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews just re-running this script or for remembering the configuration between
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews releases.
cc8e8b59d6780889739657226a95e23ca1ecadb1Andreas Gustafsson [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add httpd -t (test) option for running configuration syntax tests only.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews If something is broken it complains and exits with a return code
65775fe205e8ac935313c42062c75460e0bc1514Andreas Gustafsson non-equal to 0. This can be used manually by the user to check the Apache
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews configuration after editing and is also automatically used by apachectl
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews on (graceful) restart command to make sure Apache doesn't die on restarts
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews because of a configuration which is now broken since the last (re)start.
17b687ef360ba8c07201dc6511a3c975cc1bb2a8Andreas Gustafsson This way `apachectl restart' can be used inside cronjobs without having
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to expect Apache to be falling down. Additionally the httpd -t can be run
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews via `apachectl configtest'.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2393
998358fa900393378c70ad598c2b2e67385089d4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Minor display fix for "install" target of top-level Makefile:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the displayed installation command was incorrect although the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews executed command was correct. Now they are in sync.
bc508906db43dda7eab0988348dd0ae3f3023a9bMark Andrews [Ralf S. Engelschall] PR#2402
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Correct initialization of variable `allowed_globals' in http_main.c
b352902413608d0eb310c4bb45412fa45734afbcAndreas Gustafsson [Justin Bradford <justin@ukans.edu>] PR#2400
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Apache would incorrectly downcase the entire Content-Type passed from
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews CGIs. This affected server-push scripts and such which use
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews multipart/x-mixed-replace;boundary=ThisRandomString.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#2394
72e8c079c4c6dc66d565cf89ebf6feb5fa2dea33Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: QNX update to properly guess 32-bit systems.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Sean Boudreau <seanb@qnx.com>] PR#2390
c8ab83c08e5227b5146295a9ef4a96d61b066b67Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure the DSO emulation code for HPUX finds the proprietary shl_xxx()
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews functions which are in libdld under HPUX 9/10.
4e57d3ff7d92abdef4b0b6aebc23a9dfae2ba040Andreas Gustafsson [Ralf S. Engelschall] PR#2378
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure the "install" target of the top-level Makefile doesn't break
081cff0c33514a5dc63ab794fc199c07377ab756Mark Andrews because of a return code of 1 from an "if" (for instance under braindead
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Ultrix the result code of an "if" construct is 1 if the "then" clause
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews didn't match). [Ralf S. Engelschall]
d352f188cb9e3820054b7451384a3d910619b4a1Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add an additional "dummy" target to the "$(LIB)" target in generated
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews modules/xxx/Makefile's to avoid problems with SVR4 Make under "full-DSO"
3d38596530c389610494e6a6ba70d9f5dc9717c5Andreas Gustafsson situation (no libxxx.a built, only mod_xxx.so's) where LIB and OBJS are
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews empty. [Ralf S. Engelschall, Dean Gaudet, Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a7cb695600c3c14ac12676f0fb1e179690c5883cMark Andrews *) Replace two bad sprintf() calls with ap_snprintf() variants in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_rewrite. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b19619260fbd447b0fe3e709b2cc8ae38f27ec3fMark Andrews *) Fix missing usage description for MetaFiles directive.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [David MacKenzie <djm@va.pubnix.com>] PR#2384
1500a4fe5da9475d5918b27b566a1278ec6b54ebAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_log_config wouldn't let vhosts use log formats defined in the
1255d388f034dc556d235a002527101781dbeb29Mark Andrews main server. [Christof Damian <damian@mediaconsult.com>] PR#2090
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c615c2ddce6c08e5a26d9ca61742a20fa8dc1938Mark Andrews *) mod_usertrack was corrupting the client hostname. As part of the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews fix, the cookie values were slightly extended to include the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews fully qualified hostname of the client.
31d3464c0c0a35236c7924f698c5a8a66a9ed534Mark Andrews [Dean Gaudet] PR#2190, 2229, 2366
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix a typo in pool debugging code. [Alvaro Martinez Echevarria]
2f6d1483f665d86501049199b9698554da0eacb0Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_unique_id did not work on alpha linux (in general on any
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews architecture that has 64-bit time_t).
ea7b38cd1e5c6c9e099f1b3a702ba531bc4aba0aMark Andrews [Alvaro Martinez Echevarria]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Make SCO 5 (and probably 3) compile again. [Ben Laurie]
32d248107a5bc92b4bf9fc77deaa55b3da969ba2Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: NCR MPRAS systems have the same bug with SIGHUP restart that
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Solaris systems experience. So define WORKAROUND_SOLARIS_BUG.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Klaus Weber <kweber@chephren.germany.ncr.com>] PR#1973
4574714ad44ba97f53425fe8d21b7ecb00ac83b9Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Change "Options None" to "Options FollowSymLinks" in the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <Directory /> section of the default access.conf-dist
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (and -win even though it doesn't matter there). This has better
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews performance, and more intuitive semantics. [Dean Gaudet]
07eaf0b8d0c3c93d8139c413bf9cc8bba7db9432Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Updated support for UTS 2.1.2.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dave Dykstra <dwd@bell-labs.com>] PR#2320
cf70df7d0e24401a358f0b9c1a616ad0e8c783a6Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix symbol export list (src/support/httpd.exp) after recent
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews API changes in the child spawning area.
9234d92d4e274791eff42cc4ea5766ed7a281b17Mark Andrews [Jens-Uwe Mager <jum@helios.de>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Workaround for configure script and old `test' commands which do not
0cf9ce19cc05a60f85ec610106a983fe806ebb77Andreas Gustafsson support the -x flag (for instance under platforms like Ultrix). This is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews solved by another helper script findprg.sh which searches for Perl and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Awk like PrintPath but _via different names_.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
2ba574f329c14376d26d7c0f22c89d7a978a2625Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Remove the system() call from htpasswd.c, which eliminates a system
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews dependancy. ["M.D.Parker" <mdpc@netcom.com>] PR#2332
3c3fe072252aecffae43e6349125663c315b092dAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Fix compilation failures on NEXTSTEP.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Rex Dieter <rdieter@math.unl.edu>] PR#2293, 2316
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
05a4a299b599195ca6ede9395b245956a8c3a790Mark Andrews *) PORT: F_NDELAY is a typo, should have been FNDELAY. There's also
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews O_NDELAY on various systems. [Dave Dykstra <dwd@bell-labs.com>] PR#2313
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3ad07fa335d40330cd1859da42e67f2457443990Andreas Gustafsson *) PORT: helpers/GuessOS updates for various versions for NCR SVR4.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [juerg schreiner <j.schreiner@zh.ch>,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Bill Houle <Bill.Houle@SanDiegoCA.NCR.COM>] PR#2310
1094dec52a86e57df53f6167d86de94360a7a382Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix recently introduced Win32 child spawning code in mod_rewrite.c which
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews was broken because of invalid ap_pstrcat() -> strcat() transformation.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
fa2fb620c7c0a907b220c257007d8fb6d38bb3a4Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Proxy Cache Fixes: account for directory sizes, fork off garbage collection
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to continue in background, use predefined types (off_t, size_t, time_t),
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews log the current cache usage percentage at LogLevel debug
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer, based on discussion between Dean Gaudet & Dirk vanGulik]
62a3dbe63e833f2eaf613393399ea4667d8de28dAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.3.0
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Using a type map file as a custom error document was not possible.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Lars Eilebrecht] PR#1031
9bdb01e6c382e897572791b12190472955994d87Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Avoid problems with braindead Awks by additionally searching for gawk
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and nawk in APACI's configure script.
e69b9ffb0f8b4d1117a682908c9143ebe3efcd6bAndreas Gustafsson [Dave Dykstra <dwd@bell-labs.com>, Ralf S. Engelschall] PR#2319
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Rename md5.h to ap_md5.h to avoid conflicts with native MD5 on
a77ad145d0109081c5da6ac40a2303369db89735Andreas Gustafsson some systems. [Randy Terbush]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Change usage of perror()+fprintf(stderr,...) in mod_rewrite to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews more proper ap_log_error() variants.
61d5bfc06be978ea962b1c64309894ac80351771Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure the argument for the --add-module option to APACI's configure
ada9b8ab20b81716c7ff1f4f3365929b2f7c8ff8Mark Andrews script is of type [path/to/]mod_xxx.c because all calculations inside
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews configure and src/Configure depend on this.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2307
1beaa9e45738ad18cb7cae55aea95a1b16a14f94Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Changes usage of perror/fprintf to stderr to more proper ap_log_error
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in mod_mime, mod_log_referer, mod_log_agent, and mod_log_config.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Brian Behlendorf]
bb60abb44549428414cd55a022f2b8cc4488f7adAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Various OS/2 cleanups ["Brian Havard" <brianh@kheldar.apana.org.au>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: QNX needed a #include <sys/mman.h>; and now it uses flock
024face21cdfbfc7a862a3be061e6780533ef755Andreas Gustafsson serialized accept to handle multiple sockets.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Rob Saccoccio <robs@InfiniteTechnology.com>] PR#2295, 2296
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1beaa9e45738ad18cb7cae55aea95a1b16a14f94Andreas Gustafsson *) Have NT properly set the directory for CGI scripts
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (& other spawned children)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [W G Stoddard <wgstodda@us.ibm.com>]
f953788d75c7df2db43907c68da18ed75c235dd3Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Propagate environment to CGI scripts correctly in Win32.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [W G Stoddard <wgstodda@us.ibm.com>] PR#2294
fbdde79262a4ba2bdf4bfae61167026b3220488aAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Some symbol renaming:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ap_spawn_child_err became ap_spawn_child
fbdde79262a4ba2bdf4bfae61167026b3220488aAndreas Gustafsson ap_spawn_child_err_buff became ap_bspawn_child
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews spawn_child was obsoleted and moved to compat.h
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Brian Behlendorf]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3fc4c1434d7ac377c720640e2e925a3af567cccbMark Andrews *) Upgrade the child spawning code in mod_rewrite for the RewriteMap
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews programs: ap_spawn_child_err() is used and the Win32 case now uses
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews CreateProcess() instead of a low-level execl() (which caused problems in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the past under Win32).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
0aba41458d345ea901cf945d47162e5f23647de9Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A few cosmetics and trivial enhancements to APXS to make the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews generated Makefile more user friendly. [Ralf S. Engelschall]
5f7516bee5ace9542701f23fc7723a3e3196802aMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Proxy Fix: The proxy special failure routine ap_proxyerror()
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews was updated to use the normal apache error processing, thereby allowing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews proxy errors to be treated by ErrorDocument's as well. For this
2e24e82fc3551e3228bcacaa7c45cb61daa49195Mark Andrews purpose, a new module-to-core communication variable "error-notes"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews was introduced; the proxy (and possibly other modules) communicates
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews its error text using this variable. Its content is copied to a new
d5169236b7260d447e672db8256fdd7c70f5ee1dMark Andrews cgi-env-var REDIRECT_ERROR_NOTES for use by ErrorDocuments.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews The old proxy special error routine ap_proxy_log_uerror()
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews was replaced by regular ap_log_error() calls, many messages were made
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews more informative.
df7596a03eea7f1c2df89bd63d3bd4b73f274565Mark Andrews [Martin Kraemer] PR#494, 1259
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: A possible buffer overflow in the ftp proxy was fixed.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
b923e278535b4e8d264998a85a6ae1eb4b3aa4c6Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Transform the configure message "You need root privileges for suEXEC"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews from a fatal error into a (more friendly) warning because the building
ed2cefaf0ea367ee408cb7f6a54a413814240fa7Andreas Gustafsson ("make") of Apache we can allow, of course. Root privileges are needed
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews only for the installation step ("make install"). So make sure the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews user is aware of this fact but let him proceed as long as he can.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2288
b923e278535b4e8d264998a85a6ae1eb4b3aa4c6Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Renamed three more functions to common ap_ prefix which we missed at the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Big Symbol Renaming because they're #defines and not real C functions:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is_default_port(), default_port(), http_method().
769ef0b7bdc9520dd62d2f440ea36bc020e88934Andreas Gustafsson [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A zero-length name after a $ in an SSI document should cause
9e46f410e716f73abb345be215ccb4c61782b718Andreas Gustafsson just the $ to be in the expansion. This was broken during the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews security fixes in 1.2.5. [Dean Gaudet] PR#1921, 2249
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
769ef0b7bdc9520dd62d2f440ea36bc020e88934Andreas Gustafsson *) Call ap_destroy_sub_req() in ap_add_cgi_vars() to reclaim some
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews memory. [Rob Saccoccio <robs@InfiniteTechnology.com>] PR#2252
b09f4e054cbe67b93a5ff62d511ee25945038943Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix src/support/httpd.exp (DSO export file which is currently only
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews used under AIX) because of recent changes to function names.
40dd9cb8cc240c33d820fe79f176ed51e4c06a1aMark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.3b7
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
96ea98af241ef00395f4e61de7e2dacfd9941afcMark Andrews *) Make sure a MIME-type can be forced via a RewriteRule even when no
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews substitution takes place, for instance via the following rule:
54c4aa0f62aebeb01b6861ee068c1044433fe8feMark Andrews ``RewriteRule ^myscript$ - [T=application/x-httpd-cgi]'' This was often
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews requested by users in the past to force a single script without a .cgi
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews extension and outside any cgi-bin dirs to be executed as a CGI program.
808b909f27c30d36b27efb5aa5ef2d18f83b6d4bAndreas Gustafsson [Ralf S. Engelschall] PR#2254
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A fix for protocol issues surrounding 400, 408, and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 414 responses. [Ed Korthof]
846474d5a6aa21cebb3e94243a11faa5c20200bfAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Ignore MaxRequestsPerChild on WIN32. [Brian Behlendorf]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix discrepancy in proxy_ftp.c which was causing failures when
7655e78c366cc0d25e24e2a96ba58e04a96042faAndreas Gustafsson trying to connect to certain ftpd's, such as anonftpd.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Rick Ohnemus <rick@ecompcon.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6859033d425170380bcfac4809257bc6e9b60383Andreas Gustafsson *) Make mod_rewrite use ap_open_piped_log() for RewriteLog directive's
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews logfile instead of fiddling around itself with child spawning stuff.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
f558da602e8b74ed181d9189f20bf32dfa6d8723Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Made RefererIgnore case-insensitive.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
ff4322d44f8404683b6fb6c86a38a2bc14f6c083Andreas Gustafsson *) Mod_log_agent, mod_log_referer now use ap_open_piped_log for piped logs.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Brian Behlendorf]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
8d146b6e1156f5b562af9a4a9aba76b09650412cAndreas Gustafsson *) Replace use of spawn_child with ap_spawn_child_err_buff, to make everything
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "safe" under Win32. In: mod_include.c, mod_mime_magic.c
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Brian Behlendorf]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
808b909f27c30d36b27efb5aa5ef2d18f83b6d4bAndreas Gustafsson *) Improve RFC1413 support. [Bob Beck <beck@bofh.ucs.ualberta.ca>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix support script `dbmmanage': It was unable to handle some sort
640923da589bc5b8492ac407ef89ea1ee9a1c358Andreas Gustafsson of passwords, especially passwords with "0" chars.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2242
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Clicking on "Last Modified" in a fancy index caused a crash. Fixed.
d9e690eb71bde3c748208733ba40a34e9d0ba29dAndreas Gustafsson [Ben Laurie] PR#2238
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1299e93989afbe1fee0739811b05fd1641ea14aeAndreas Gustafsson *) WIN32: CGIs could cause a hang (because of a deadlock in the standard C
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews library), so CGI handling has been changed to use Win32 native handles
640923da589bc5b8492ac407ef89ea1ee9a1c358Andreas Gustafsson instead of C file descriptors.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ben Laurie and Bill Stoddard <wgstodda@us.ibm.com>] PR#1129, 1607
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The proxy cache would store an incorrect content-length in the cached
0bd1b2fbfed4aa489e9d5fcbc7f48acb96ba7248Mark Andrews file copy after a cache update. That resulted in repeated fetching
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of the original copy instead of using the cached copy.
aa30ee42c4b6da9bab4fb84d6cbbda6036a4d426Mark Andrews [Ernst Kloppenburg <kloppen@isr.uni-stuttgart.de>] PR#2094
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1de63e34f163b7a4708a6ad1779f93ae7636b92eAndreas Gustafsson *) The Makefiles assumed that DSO files are build via $(LD). This
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is broken for two reasons: First we never defined at least LD=ld
01446841be2b73f9a2ead74056df2d5342414041Andreas Gustafsson somewhere to make sure this works (it was silently assumed that most Make
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews provide a built-in LD definition - ARGL!) and second using the generic LD
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews variable is not the truth. Instead a special variable named LD_SHLIB is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews reasonable because although "ld" is usually the default, the command for
28cf7340b9c82fc62ca1a1782cb1bd7b0de11aebAndreas Gustafsson building DSO files can be "libtool" or even "cc" on some systems.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1de63e34f163b7a4708a6ad1779f93ae7636b92eAndreas Gustafsson *) Replace the AddVersionPlatform directive with ServerTokens which
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews provides for more control over the format of the Server:
feb1f6a4ac42988558ecb8dc5dc0c974ec1f0509Brian Wellington header line. SERVER_SUBVERSION is no longer supported;
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews all module should use the ap_add_version_component()
d1a6976967d6cfd93f5a8d80878215691ac8fe74Mark Andrews API function instead. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Support for the NCR MP/RAS 3.0
5e4c83cfec3f267ea8f22fbb535c61434c94d43cDanny Mayer [John Withers <withers@semi.kcsc.mwr.irs.gov>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The LDFLAGS_SHLIB_EXPORT variable of src/Configuration[.tmpl] was
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews not retrieved in src/Configure and thus was not useable.
e6f17474cb43a138bf7fc9ad30c6b3a2847cb7a7Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Various Makefile consistency cleanups:
5fe21da364d4397c9a413fe689ce82dea36a7b29Mark Andrews - make OSDIR also automatically be relative to src/ like INCDIR
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - SUBDIRS is now generated in src/Makefile only and not in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Makefile.config because it is a local define for this location.
43efd9fa56b03e3e285fb58859efc9348c7f4a9fMark Andrews - remove BROKEN_BPRINTF_FLAGS because is it no longer used inside
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews any Makefile but make sure that at least the "-K inline" is kept in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews CFLAGS for SCO 5.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - update the "depend" targets in Makefile.tmpl files to use $(OSDIR), too.
36e37042c6c9252cdf6eb99bd71ccb6e6c43ba6dBrian Wellington - updated the dependencies theirself
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - removed not existing SHLIB variable from "clean" targets
98e231525fda817d393ef0c529b50bfc08cebe47Mark Andrews - replaced SHLIB_OBJS/SHLIBS_OBJ consistently with OBJS_PIC because OBJS
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews already exists and OBJS_PIC are also just plain objects and have not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directly to do with "shared" things. The only difference is that they
d4196128b31d511c8513edacc70dea7e8d0c053aMark Andrews contain PIC. So OBJS_PIC is the more canonical name.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Updated the Makefile-dependency lines for OBJS_PIC
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Removed the Makefile-dependency line in Configure to avoid double
56d69016f4fae2eda4d39c92fe13595251aaadd3Mark Andrews definitions
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - replaced ugly xx-so.o/xx.so-o hack with a clean and consistent usage
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of xxx.lo as GNU libtool does with its PIC objects
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - reduce local complexity in modules Makefile.tmpl by moving the last
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews existing target "depend" to the generation section in Configure, too.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - removed the historical $(SPACER) which was used in the past together
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with BROKEN_BPRINTF_FLAGS to avoid zig-zags in the build process. This
e60b3717f0e6f28d6fb2c5124ffb3bd31cc3a746Mark Andrews is no longer needed.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - force the build and run of the gen_xxx programs under main/ as the
3d8ab44d14f3de797b8454fc2edb7421a6bfc874Andreas Gustafsson first step before building the objects because it looks cleaner
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
3426f7118c92cab8714a7fddc9e721ff09554447Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Make Win32 work again after the /dev/null DoS fix.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ben Laurie]
db235e65884c04058cc6e99ca485170d67cf9538Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Check for buffer overflows in ap_os_canonical_filename.
64a5004a66accd190bfd5ddf115667726537be50Andreas Gustafsson [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Don't force ISAPI headers to finish with \n.
64a5004a66accd190bfd5ddf115667726537be50Andreas Gustafsson [Jim Patterson <Jim.Patterson@Cognos.COM>, Ben Laurie] PR#2060
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) When opening "configuration" files (like httpd.conf, htaccess
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and htpasswd), Apache will not allow them to be non-/dev/null
b1ae7a591a4b99a26036e919b87247b65abfcd77Mark Andrews device files. This closes a DoS hole. At the same time,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews we use ap_pfopen to open these files to handle timeouts.
6dbc6fae496db1f584c055e63bcd7afd332fe8f6Andreas Gustafsson [Jim Jagielski, Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Apache will now log the reason its httpd children exit if they exit
cab0ee644db604d56b45ec39429d505d635da347Andreas Gustafsson due to an unexpected signal. (It requires a new porting define,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews SYS_SIGLIST, which if defined should point to a list of text
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews descriptions of the signals available. See PORTING.) [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
7780a3e5a4659bb8fc44f8915d20a8d3ffa33e00Andreas Gustafsson *) WIN32: chdir() doesn't make sense in a multithreaded environment
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews like WIN32. Before, Win32 CGI's could have had sporadic failures
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews if a chdir call from one thread was made between another chdir call
6dbc6fae496db1f584c055e63bcd7afd332fe8f6Andreas Gustafsson and a spawn in another thread. So, for now don't chdir for CGI scripts
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in WIN32. The current CGI "spec" is unclear as to whether it's
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews necessary. Long-term fix is to either serialize the chdir/spawn combo
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews or use WIN32 native calls to spawn a process. This temp fix was
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews necessary to remove this as a showstopper for 1.3's release.
847169dab2d0496df1d66842b2cce67c66bf9680Andreas Gustafsson [Brian Behlendorf]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Cleanup the suEXEC support in APACI and make it more safe:
3f543c371fff724d1fb05eb564f732476e946b5bBrian Wellington 1. Add big fat hint in INSTALL about risks and to read the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews htdocs/manual/suexec.html document before using the suexec-related
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews configure options.
847169dab2d0496df1d66842b2cce67c66bf9680Andreas Gustafsson 2. Make sure the user has at least provided one --suexec-xxxx option
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (specifies suEXEC parameters) in addition to --enable-suexec option.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews If only --enable-suexec is given APACI stops with a hint to INSTALL
9aba20edee4e704433a464ae43b070b0775de506Mark Andrews and htdocs/manual/suexec.html documents.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 3. Provide two additional --suexec-xxxx options to make the suEXEC
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews configuration complete (especially for package maintainers who else
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews had to patch the source tree) by providing ways to configure minimal
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews UID/GID and safe PATH, too.
e8d86192fc424f49e43df9cee439ca5c793e6000Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Cleanup of the `configure --shadow' process:
bae5d9fcb4616005fbc861e327b0a48b7bd4d89aMark Andrews - make sure the configure script creates its temporary files in the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews shadow tree to avoid conflicts with parallel configure runs
98a5dc52bf668b093cda7901c057f7b54e18a2fcAndreas Gustafsson - removed unnecessary option "-r" from "rm" call for Makefiles
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - make sure the configure scripts creates the shadow-wrapper Makefile
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews only when no shadow trees already exists
98a5dc52bf668b093cda7901c057f7b54e18a2fcAndreas Gustafsson - make sure "make distclean" removes the shadow-wrapper Makefile but only
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews when no more shadow trees exists
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - overhauled mkshadow.sh script: now its more IFS-safe and approx. twice
98a5dc52bf668b093cda7901c057f7b54e18a2fcAndreas Gustafsson as fast (in the past it needed 70sec, now it runs just 38sec)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - make sure CVS does not complain about the created files
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Makefille.<gnutriple> and directories src.<gnutriple>
452b30ddb32dd9370b2e5ee10427dd3758ef98b4Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added the ap_add_version_component() API routine and the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews AddVersionPlatform core directive. The first allows modules to
6668eca26bf3123750afda48b69991bd29d83807Mark Andrews declare themselves in the Server response header field value,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews augmenting the SERVER_SUBVERSION define in the Configuration file
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with run-time settings (more useful in a loadable-module environment).
06a960c681566a163af5b9a655cf36023075ddcbMark Andrews AddVersionPlatform inserts a comment such as "(UNIX)" or "(Win32)"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews into the server version string. [Ken Coar] PR#2056
cad3210bb95057a37aaed20bc8a1542e0534422cAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Minor stability tweaks to avoid core dumps in ap_snprintf.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
cad3210bb95057a37aaed20bc8a1542e0534422cAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Emit the "Accept-Range" header for the default handler.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Brian Behlendorf] PR#1464
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add a note to httpd.conf-dist that apache will on some systems fail
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to start when the Group # is set to a negative or large positive value.
afeded2289de8d193b072da2b44a2d580cc235c1Danny Mayer [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure the module execution order is correct even when some modules
afeded2289de8d193b072da2b44a2d580cc235c1Danny Mayer are loaded under runtime (`LoadModule') via the DSO mechanism:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 1. The list of loaded modules is now a dynamically allocated one
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and not the original statically list from modules.c
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 2. The loaded modules are now correctly setup by LoadModule for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews later use by the AddModule command.
89555ff443c8127a533f6c742316c9b1a713cfd5Mark Andrews 3. When the DSO mechanism for modules is used APACI's `install'
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews target now enables all created `LoadModule' lines per default because
aa9a67adeb48069f5c2e5d8936a8ed5aac7d6ad7Andreas Gustafsson this is both already expected by the user _and_ needed to avoid
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews confusion with the next point and reduces the Makefile.tmpl complexity
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 4. When the DSO mechanism for modules is used, APACI's `install'
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews target now additionally makes sure the module list is reconstructed
73ac1894ea64bc50aff7406872d0e9c5df6d9cf6Mark Andrews via a complete `ClearModuleList+AddModule...' entry.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 5. The support tool `apxs' now also makes sure an AddModule command
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is added in addition to the LoadModule command.
330b421487d7c3a5e699472fe889aa633772057fMark Andrews 6. The modules.c generation was extended to now contain two
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews comments to make sure no one is confused by the confusing terminology
e22dca2a9ad30d493a869586abed86f7268204f9Mark Andrews of loading/linking (we use load=link+load & link=activate instead of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the obvious load=activate & link=link :-( )
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed This way now there is no longer a difference under execution time between
2c0b26955ee32fcee1757ec1be5a8caf8fe695a6Mark Andrews statically and dynamically linked modules.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
2449f41e75d3b3f1c0ec3f05b1603fd8f80d8ae0Mark Andrews *) Fix the generated mod_xxx.c from "apxs -g -f xxx" after the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Big Symbol Renaming. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6f7660093e70d3a7c80738b681ac0f5c1b661c00Mark Andrews *) Add a comment to mod_example.c showing the format of a FLAG command
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews handler. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1fdbadc594a49b423052ea342dac74ff1a36089dMark Andrews *) Standardized the time format in mod_status to match that of other
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews places in the code (e.g. DATE_GMT). PR#1551
a1898260ad19d02e88ab76c1855d33c67add9defMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix handling of %Z in timefmt strings for those platforms with no time
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews zone information in their tm struct. [Paul Eggert <eggert@twinsun.com>]
c0b6c1a5ab50722793cb99b0d8a1e9e910c146a5Andreas Gustafsson PR#754
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Makes mod_rewrite, mod_log_config, mod_status and the ServerSignature
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews feature compatible with 'UseCanonicalName off' by changing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews r->server->server_hostname to ap_get_server_name(). And I changed some
d16b4e8ba885a45933dc6a46f340b76811d60c74Andreas Gustafsson functions which use r->server->port to use ap_get_server_port() instead,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews because if there's no Port directive in the config r->server->port is 0.
de9833be77ef92c17b35c02d138a0ad8df34dd91Mark Andrews [Lars Eilebrecht]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) get/set_module_config are trivial enough to be better off inline. Worth
4e400cb7a2edd25af98ebc25fcbb5b36ca08f9a0Mark Andrews 1.5% performance boost. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix off-by-one error in ap_proxy_date_canon() in proxy_util.c
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews when ensuring 'x' is at least 30-chars big. [Jim Jagielski,
ec5a06ccf7b15f07d20fd872c3dc1ab8f82f2ceaMark Andrews Brian Behlendorf]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) [BS2000 security] BS2000 needs an extra authentication to initialize
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the task environment to the unprivileged User id. Otherwise CGI scripts
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews would have a way to gain super user access. [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix debug log messages for BS2000/OSD: instead of logging the whole
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews absolute path, only log base name of logging source as is done
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in unix. [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
23a020bc1312fc35e7c4ea36df846c550cb13634Andreas Gustafsson *) Ronald Tschalaer's Accept-Encoding patch - preserve the "x-" in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the encoding type from the Accept-Encoding header (if it's there)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and use it in the response, as that's probably what it'll be expecting.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ronald.Tschalaer@psi.ch]
0a532842050020a1b0577c65f91f38bd022daa78Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix to mod_alias: translate_alias_redir is dealing with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a URI, not a filename, so the check for drive letters for win32
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and emx is not necessary. [Dean Gaudet]
23a020bc1312fc35e7c4ea36df846c550cb13634Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Allow .cmd as an executable extension.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Kari Likovuori <Kari.Likovuori@mol.fi>] PR#2146
ab3eaa20e9a7e56208408563c79b4f8ac01d5e84Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make Apache header files, and some variables, C++ friendly.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Michael Anderson's <mka@redes.int.com.mx>]
e1a153c3f095e217eea29958950fea36e54862ceAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Child processes can now "signal" (by exiting with a status
7250c1a2616761395bdb9ae7cd1ba43f20d3edc4Andreas Gustafsson of APEXIT_CHILDFATAL) the parent process to abort and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews shutdown the server if the error in the child process was
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews fatal enough. [Jim Jagielski]
a5b9c2b208b51b039c8f4006cddf3d37dd781561Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_autoindex's find_itme() was sensitive to MIME type case.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jim Jagielski] PR#2112
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure the referer_log and agent_log entries in the default httpd.conf
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews file are also adjusted for the actual relative installation paths.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2175
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Extensive overhaul of the way UNCs are handled. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Make roots of filesystems (e.g. c:/) work. [Ben Laurie]
ee3ab6063dd13b5947d3fbe88b9ce8f38d65df9dBrian Wellington PR#1558
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Various porting changes to support AIX 3.2, 4.1.5, 4.2 and 4.3.
d81622b537be1971530cfb459acdbbe7d82d883bBrian Wellington Additionally the checks for finding the vendor DSO library were moved
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews from mod_so.c to Configure because first it needs $PLAT etc. and second
a5b9c2b208b51b039c8f4006cddf3d37dd781561Brian Wellington mod_so already uses an abstraction layer and does not fiddle with the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews vendor functions itself.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jens-Uwe Mager, Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
2da0b7dfbd02fab454b8ba60f1fdb7e2a5cbd2dbMark Andrews *) PORT: Some optimization defines for NetBSD
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jaromir Dolecek <dolecek@ics.muni.cz>] PR#2165
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1cb6e8cbe41afade950837319e04da4ccf8649e0Brian Wellington *) PORT: Dynamic Shared Object (DSO) support for NetBSD.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jaromir Dolecek <dolecek@ics.muni.cz>, Ralf S. Engelschall] PR#2158
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6443201354efa09f16ada26dab99e9b7f8271521Andreas Gustafsson *) Add Dynamic Shared Object (DSO) support for AIX (at least 4.2 but older
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews AIX variants should work fine, too. Even AIX 3.x should work). This is
6443201354efa09f16ada26dab99e9b7f8271521Andreas Gustafsson accomplished by using the free DSO emulation code from Jens-Uwe Mager
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews which we put into a os/unix/os-dso-aix.c file.
e980502db40155234b4e8d320b748b34dbaba3a2Brian Wellington [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Fix compiler warnings under AIX >= 4.2 where the manual pages imply
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews that we should use NET_SIZE_T == int but the include files force size_t.
ecd1addb86319bacc6c0bff2c68373619eebbffcMark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
ea20115e347264b9bc1c686d6dfc1b5af3a5516bAndreas Gustafsson *) Fix two bugs in select() handling in http_main.c.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
bddfe77128b0f16af263ff149db40f0d885f43d0Mark Andrews *) Suppress "error(0)" messages for ap_log_error() when the APLOG_NOERRNO
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is unset (as it is in situations like timeouts) where it is unclear
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews whether errno is set or not. [Martin Kraemer]
aa0dc8d920a1f79626c3564408db9c5c9a5319a7Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Just having APACI's localstatedir is too general and not enough for most
aa0dc8d920a1f79626c3564408db9c5c9a5319a7Andreas Gustafsson of the systems. 1.3b6 again required manual APACI patches by package
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews maintainers from RedHat and FreeBSD because for their filesystem layout a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews little bit more flexibility in configuring the paths is needed. Hence we
35db8a8eda6a889675138eb125d366c8851f68a5Andreas Gustafsson provide three additional configure options (--runtimedir, --logfiledir,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews --proxycachedir) which now can be used for more granular adjustments if
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews --localstatedir is not enough to fit the particular needs. As a nice
0d5e7cd0afaee07302f8364aa454f09b4c63ea79Andreas Gustafsson side-effect this reduces some subdir fiddling in configure+Makefile.tmpl.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
5e88852b94830bf71e37dc700d568cb35e2e6f7eAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make the install root for "make install" in APACI's Makefile overrideable
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews by package authors. This way we are even more friendly to package
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews maintainers (especially Debian and RedHat) who build for the real prefix
22815444822da17fab82d4ab115da6e055ea1754Brian Wellington via "configure --prefix=/<real>" but use a different local prefix via
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "make root=/tmp/apache install" for rolling the package without bristling
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the target location on their system.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
35db8a8eda6a889675138eb125d366c8851f68a5Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Workaround sed limitations in APACI's configure script by now
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews substituting in chunks of 50 commands (because for instance HPUX's vendor
bd6504aa9aa16a912412fbe010046aaf4bf23621Brian Wellington sed has a limit of max. 98 commands)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2136
bd6504aa9aa16a912412fbe010046aaf4bf23621Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Adding SOCKS5 support and fixing existing SOCKS4 support.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2140
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Manually fix some symbols which were not renamed to prefix ap_ in the BIG
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews RENAMING process because they are defined as pre-processor macros instead
1e289d3cca5cdd01dda650fa6e4c1de1aa8b4196Andreas Gustafsson of real functions: bputc, bgetc, piped_log_write_fd, piped_log_read_fd
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c54210716ee55b55e22d8dad56fd696a641fc98dBob Halley *) Workaround braindead AWK's when generating ap_config.h: The split() and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews substr() functions cannot be nested under vendor AWK from Solaris 2.6.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2139
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3fcf6b956f47405750724bd84e1b2290b61c9186Brian Wellington *) Various bugfixes and cleanups for the APACI configure script:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o fix IFS handling for _nested_ situation
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o fix Perl interpreter search: take first one found instead of last one
0a2d5c990559ce2b9f95df752db6e93024d9a250Brian Wellington o fix DSO consistency check
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o print error messages to stderr instead of stdout
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o add install-quiet for --shadow situation to Makefile stub
96ed62425310854fd6f6f06bfb7651b3e4c17ee7Andreas Gustafsson o reduce complexity by avoiding sed-hacks for rule and module list loops
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
96ed62425310854fd6f6f06bfb7651b3e4c17ee7Andreas Gustafsson *) Fix DEBUG_CGI situation in mod_cgi.c [David MacKenzie] PR#2114
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure the input field separator (IFS) shell variable is explicitly
5733d25b06b46067b3751d10436d82aef09cd705Brian Wellington initialized correctly before _every_ `for' loop and also restored after
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the loops. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5733d25b06b46067b3751d10436d82aef09cd705Brian Wellington *) Make sure that "make install" doesn't overwrite the `mime.types' and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews `magic' files from an existing Apache installation. Because people often
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews customize these for own MIME and content types.
debff476ad3512687a354499c25d2793e2009acdBrian Wellington [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
eb6e3b04169a766d2b968bcc978191605c2ef24cAndreas Gustafsson *) PORT: Dynamic Shared Object (DSO) support for OpenBSD 2.x
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Peter Galbavy, Ralf S. Engelschall] PR#2109
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
7d8c3693d0426b56750b14d80c47df5e42fc75e4Andreas Gustafsson *) Fix the path to the ScoreBoardFile in the install-config target, too.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2105
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Let "configure" clear out the users parameters (provided as shell
fed846067d265db1037483d81d01f3651c8a3f28Brian Wellington variables) to avoid side-effects in "src/Configure" when the user
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews exported them (which is not needed, but some users do it).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2101
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Provide backward compatibility from some old src/Configuration.tmpl
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews parameter names to the canonical Autoconf-style shell variable names. For
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews instance CFLAGS vs. EXTRA_CFLAGS. The EXTRA_xxx variants are accepted now
7d8c3693d0426b56750b14d80c47df5e42fc75e4Andreas Gustafsson but a hint message is displayed. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure that "make install" doesn't overwrite the DocumentRoot and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews CGI scripts from an existing Apache installation.
07c336a9a85791dff886b1e28514589a25d9b720Andreas Gustafsson [Ralf S. Engelschall, Jim Jagielski] PR#2084
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make `configure --compat' more "compatible" by first
07c336a9a85791dff886b1e28514589a25d9b720Andreas Gustafsson let the libexecdir default to EPREFIX/libexec instead of EPREFIX/bin and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews second by making sure the "avoid-bristling-suffix" /apache is not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews appended to sysconfdir, datadir, localstatedir and includedir when
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews --compat is used. [Ralf S. Engelschall, Lars Eilebrecht]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) NeXT required strdup() in support/logresolve.c
712fa28946312882a60b0c6a913914d3e8c69867Mark Andrews [Francisco Tomei <fatomei@sandburg.unm.edu>] PR#2082
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
63fd201fde27ce408cde1c73a054e401fcfb9e3bDavid Lawrence *) AIX required sys/select.h in support/ab.c
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jens Schleusener <Jens.Schleusener@dlr.de>] PR#2081
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews *) Fix the path to the MimeMagicFile in the install-config target, too.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#2089
f8644da8d948dbc973f6dd4c94a79774e16ec07bDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Added HP-UX 11 patches [Jeff Earickson <jaearick@colby.edu>]
9bfa90768ab83ea5a8571c98d3774377da4bdcbeDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) If you start apache with the -S command line option it will dump
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews out the parsed vhost settings. This is useful for folks trying
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to figure out what is wrong with their vhost configuration.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (Other dumps may be added in the future.) [Dean Gaudet]
2d67c2474475acf52c8251dc48bfb7565ee5f2ffDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add %pA, %pI, and %pp codes to ap_vformatter (and hence ap_bprintf,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ap_snprintf, and ap_psprintf). See include/ap.h for docs.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
6a7a69e9f764812872ec2db775be2ac8bb073102Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Because /usr/local/apache is the default prefix the ``configure
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews --compat'' option no longer has to set prefix, again. This way the
0a9a3d8c6daf9ffcfb62dbe366e26f521cbb9736Brian Wellington --compat option honors a leading --prefix option. [Lars Eilebrecht]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Cast the first argument of dlopen() in ap_os_dso_load()
34d5676aac483e00e16056a6834a27b52bed42f0Brian Wellington to `char *' under OSF1 and FreeBSD 2.x where it is defined this way
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to avoid "discard const" warnings. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1d9ab721315555ac75e7d4f57585323909283688Andreas Gustafsson *) If a specific handler is set for a file yet the request still
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ends up being handled by the default handler, log an error
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews message before handling it. This catches things such as trying
ef8d97818f0d30a4e09db97af695f504b311372cMark Andrews to use SSIs without mod_include enabled. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6af5c66df334c4e275e07b03c9b35e40dbaa4f31Andreas Gustafsson *) Fix error logging for the startup case where ap_log_error() still uses
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews stderr as the target. Now the default log level is honored here, too.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Make sure some AWK's don't fail in src/Configure with "string too
519f8475ff8218e3981ae2b249eb1403da7c52f6Andreas Gustafsson long" errors when generating the MODULES entry for src/Makefile
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ben Hyde, Ralf S. Engelschall]
edc1c60621b44fbc8131ad1542f657dd129f9a30Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make sure src/Configure doesn't complain about the old directory
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews /usr/local/etc/httpd/ when APACI is used. [Lars Eilebrecht]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
41626c0997c89dcdecf67c931f0031aadd507977Andreas GustafssonChanges with Apache 1.3b6
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Clean up warnings on Ultrix and HPUX. [Ben Hyde]
464c2e4bb960d15bd60d53c3ef3ae7414b129037David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Adding DSO support for the HP/UX platform by emulating the dlopen-style
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews interface via the similar but proprietary HP/UX shl_xxx-style system
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews calls. [Ralf S. Engelschall]
6112718b0dbb01ffbfd3fabc61e30c7e4485b0a7David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Updated UnixWare 2.0.x and 2.1.x entries for DSO support and made
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews APACI Makefile.tmpl "install" target more robust for sensible UnixWare
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Make. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) ++++ THE BIG SYMBOL RENAMING ++++
04260c5c48d234734863f0222e207b6564cd41a8David Lawrence To avoid symbol clashes with third-party code compiled into the server,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews we globally applied the prefix "ap_" to the following classes of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews functions:
6c35e4dd17e6562a6b4d106cbf1d824b9f529356David Lawrence - Apache provided general functions (e.g., ap_cpystrn)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Public API functions (e.g., palloc, bgets)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Private functions which we can't make static (because of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews cross-object usage) but should be (e.g., new_connection)
504f7802d4c9b43db4820f496c4d00e078effa18David Lawrence For backward source compatibility a new header file named compat.h was
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews created which provides defines for the old symbol names and can be used
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews by third-party module authors.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [The Apache Group]
6af5c66df334c4e275e07b03c9b35e40dbaa4f31Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added dynamic shared object (DSO) support for SVR4-derivates: The
841179549b6433e782c164a562eb3422f603533dAndreas Gustafsson problem under SVR4 is that there is no command flag to force the linker
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to export the global symbols of the httpd executable therewith they are
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews available to the DSO's. Instead of problematic hacks like creating a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews dummy.so file (containing dummy references to all global symbols) the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews httpd binary is linked against, we use a clean trick stolen from Perl 5:
f808bd34fbd3dd9508e8183e8025635bc330c34aAndreas Gustafsson Placing the Apache core code itself into a DSO library named libhttpd.so.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This way the global symbols _HAVE_ to be exported and thus are available
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to any manually loaded DSO's under runtime. To reduce the impact to the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews user to null we go even further and create a stub httpd executable which
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews automatically keeps track of the DSO library loading itself and thus
841179549b6433e782c164a562eb3422f603533dAndreas Gustafsson hides the complete mechanism from the user. Although the generation of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews this DSO library is automatically triggered for platforms which
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews essentially need it (mostly all SVR4-derivates) it can be also enabled
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews manually via the Rule SHARED_CORE. This can be interesting in the future
6c6a6c9f5e2b3c6fd72263eac155e4feddb77316Brian Wellington where we perhaps exploit this libhttpd.so mechanism for providing nifty
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews features like graceful upgrades, or whatever.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall, Martin Kraemer]
2445d14b1a95132a473aa30076d0ce1762027e76Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Build the libraries before building the rest of the tools. [Ben Hyde]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews *) Add "distclean" target to src/-Makefiles to provide "make distclean" also
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews inside the src subtree (i.e. for non-APACI users). Following GNU Makefile
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews conventions while "clean" removes only stuff created by "all" targets,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "distclean" additionally removes the stuff from the configuration
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews process. This way "make distclean" (hence the name) provides a fresh
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews source tree as it was for distribution.
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews *) Allow top-level (APACI) Makefile to break on build errors
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the same way the src/ subtree Makefiles breaks on them by replacing the
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews initial APACI sed-subdir-display-kludge with a more clean
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews variable-passing-solution: variable SDP can optionally hold the subdir
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews prefix which is consistently used for displaying the subdir movement.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This way even the top-level Makefile can stop correctly on errors as the
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews user expects. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews *) Fixed ordering of argument checks for RewriteBase directive.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Todd Eigenschink <eigenstr@mixi.net>] PR#2045
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Change Win32 IS_MODULE to SHARED_MODULE to match Unix' method of
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews indicating that a module is being compiled for dynamic loading. Also
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews remove #define IS_MODULE from modules and add SHARED_MODULE define
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews to the mak/dsp files. [Alexei Kosut]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews *) Reduce logging level of "normal" warning messages to APLOG_INFO,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews since we are now logging APLOG_WARNING by default. [Roy Fielding]
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: OS/2 tweak to deal with multiple .exe targets. [Brian Havard]
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add documentation file and src/Configuration.tmpl entry for the
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews experimental mod_mmap_static module. Because although it is and marked as
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews an experimental one it is distributed and thus should be documented and
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews prepared for configuration the same way as all others modules.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add query (-q) option to apxs support tool to be able to manually query
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews specific settings from apxs. This is needed for instance when you
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews manually want to access Apache's header files and you need to assemble
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews the -I option. Now you can do -I`apxs -q INCLUDEDIR`.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
ed0e1ae6bc3df39389a24d72cf544b2437bf8340Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Now src/Configure uses a fallback strategy for the shared object support
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews on platforms where no explicit information is available: If a Perl
56877490bc70e4004f6b5e4a16067750ca64be85Andreas Gustafsson installation exists we ask it about its shared object support and if it's
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the dlopen-style one we shamelessly guess the compiler and linker flags
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews for creating shared objects from Perls knowledge. Of course, the user is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews warning about what we are doing and informed that he should send us
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the guessed flags when they work. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Provide APACI --without-support option to be able to disable the build
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and installation of the support tools from the src/support/ area.
af0be81b2f6ea700dd882d3b18468c7815bd5ef2Andreas Gustafsson Although its useful to have these installed per default we should provide
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a way to compile and install without them for backward-compatibility.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
ed0e1ae6bc3df39389a24d72cf544b2437bf8340Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add of the new APache eXtenSion (apxs) support tool for building and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews installing modules into an _already installed_ Apache package through the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews dynamic shared object (DSO) mechanism [mod_so.c]. The trick here is that
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews this approach actually doesn't need the Apache source tree. The
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (APACI-installed) server package is enough, because this now includes the
6cefb60af55912df4411389bccfc38a74e992332Mark Andrews Apache C header files (PREFIX/include) and the new APXS tool
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (SBINDIR/apxs). The intend is to provide a handy tool for third-party
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews module authors to build their Apache modules _OUTSIDE_ the Apache source
02e81689e3eff98a8d70c98a7cc45c150472316aBrian Wellington tree while avoiding them to fiddle around with the totally platform
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews dependend way of compiling DSO files. The tool supports all ranges of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews modules, from trivial ones (single mod_foo.c) to complex ones (like PHP3
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews which has a mod_php3.c plus a pre-built libmodphp3-so.a) and even can
dccd7f8459d811141fde04d4a307b9b695cf58b1David Lawrence on-the-fly generate a minimalistic Makefile and sample module for the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews first step to provide both a quick success event and to demonstrate the
dccd7f8459d811141fde04d4a307b9b695cf58b1David Lawrence APXS mechanism to module authors. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Fix core dumps in use of CONNECT in proxy.
dccd7f8459d811141fde04d4a307b9b695cf58b1David Lawrence [Rainer.Scherg@rexroth.de] PR#1326, #1573, #1942
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Modify the log directives in httpd.conf-dist files to use CustomLog
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews so that users have examples of how CustomLog can be used.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Lars Eilebrecht]
dccd7f8459d811141fde04d4a307b9b695cf58b1David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add the new Apache Autoconf-style Interface (APACI) for the top-level of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the Apache distribution tree. Until Apache 1.3 there was no real
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews out-of-the-box batch-capable build and installation procedure for the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews complete Apache package. This is now provided by a top-level "configure"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews script and a corresponding top-level "Makefile.tmpl" file. The goal is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to provide a GNU Autoconf-style frontend which is capable to both drive
afb0a628efd8ecf40f66f6b8d0711bca62be2a9aMark Andrews the old src/Configure stuff in batch and additionally installs the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews package with a GNU-conforming directory layout. Any options from the old
17dba29ba5db791976e505114baee53a1dde88aaBrian Wellington configuration scheme are available plus a lot of new options for flexibly
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews customizing Apache. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The floating point ap_snprintf code wasn't threadsafe.
b5a86fe434c7d58d28af3b5c70c1743979f13aaeMark Andrews Had to remove the HAVE_CVT macro in order to do threadsafe
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews calling of the ?cvt() floating point routines. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3042b3e2711d00b7fd9ffbf51443ad761d30427fMark Andrews *) PORT: Add the SCO_SV port. [Jim Jagielski] PR#1962
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: IRIX needs the -n32 flag iff using the 'cc' compiler
adcd8c93196ad0a3516252d80597c3c52472ffb2David Lawrence [Jim Jagielski] PR#1901
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) BUG: Configure was using TCC and CC inconsistently. Make sure
af0be81b2f6ea700dd882d3b18468c7815bd5ef2Andreas Gustafsson Configure knows which CC we are using. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
adcd8c93196ad0a3516252d80597c3c52472ffb2David Lawrence *) "Options +Includes" wasn't correctly merged if "+IncludesNoExec"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews was defined in a parent directory. [Lars Eilebrecht]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: ap_snprintf() code mutated into ap_vformatter(), which is
adcd8c93196ad0a3516252d80597c3c52472ffb2David Lawrence a generic printf-style routine that can call arbitrary output
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews routines. Use this to replace http_bprintf.c. Add new routines
adcd8c93196ad0a3516252d80597c3c52472ffb2David Lawrence psprintf(), pvsprintf() which allocate the exact amount of memory
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews required for a string from a pool. Use psprintf() to clean up
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews various bits of code which used ap_snprintf()/pstrdup().
adcd8c93196ad0a3516252d80597c3c52472ffb2David Lawrence [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: HAVE_SNPRINTF doesn't do anything any longer. This is because
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ap_snprintf() has different semantics and formatting codes than
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews snprintf(). [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SIGXCPU and SIGXFSZ are now reset to SIG_DFL at boot-time. This
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is necessary on at least Solaris where the /etc/rc?.d scripts
adcd8c93196ad0a3516252d80597c3c52472ffb2David Lawrence are run with these signals ignored, and "SIG_IGN" settings are
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews maintained across exec().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Rein Tollevik <reint@sys.sol.no>] PR#2009
adcd8c93196ad0a3516252d80597c3c52472ffb2David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix the check for symbolic links in ``RewriteCond ... -l'': stat() was
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews used instead of lstat() and thus this flag didn't work as expected.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Rein Tollevik <reint@sys.sol.no>] PR#2010
adcd8c93196ad0a3516252d80597c3c52472ffb2David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix the proxy pass-through feature of mod_rewrite for the case of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews existing QUERY_STRING now that mod_proxy was recently changed because of
adcd8c93196ad0a3516252d80597c3c52472ffb2David Lawrence the new URL parsing stuff. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A few changes to scoreboard definitions which helps gcc generate
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews better code. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) ANSI C doesn't guarantee that "int foo : 2" in a structure will
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews be a signed bitfield. So mark a few bitfields as signed to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ensure correct code. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5455f30a7532738d750252c00e649890c694ee30Brian Wellington *) The default for HostnameLookups was changed to Off, but there
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews was a problem and it wasn't taking effect. [Dean Gaudet]
e2fd12f3a020ca8c5de168a44fb72e339cdaa3e9Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Clean up undefined signals on some platforms (SCO, BeOS).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
cf74d05a50e342e5b3870005c04ae5ed8013ab3eBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) After a SIGHUP the listening sockets in the parent weren't
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews properly marked for closure on fork().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [J�rgen Keil <jk@tools.de>] PR#2000
2ae4dd0dbd50b3159476537c60ccdc8b64364356Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Allow %2F in two situations: 1) it is in the query part of the URI,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews therefore not exposed to %2F -> '/' translations and 2) the request
f3ac8ee19231ae3018ec21756f19b1bd639ce7e7Andreas Gustafsson is a proxy request, so we're not dealing with a local resource anyway.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Without this, the proxy would fail to work for any URL's with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews %2f in them (occurs quite often in
f3ac8ee19231ae3018ec21756f19b1bd639ce7e7Andreas Gustafsson http://.../cgi-bin/...?http%3A%2F%2F... references) [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Protect against FD_SETSIZE mismatches. [Dean Gaudet]
82e991b8ed4e0ed3b010d191e0cadfd60226c2d9Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make the shared object compilation command more portable by avoiding
5ce23ccf3f324dc90ab9b4426b1da6284b0e2abfAndreas Gustafsson the direct combination of `-c' & `-o' which is not honored by some
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews compilers like UnixWare's cc. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: the proxy was creating filenames missing the last four
508d17362c2c43ddf95ddc87ae6a8c5f32f35323Andreas Gustafsson characters. While this normally doesn't stop anything from
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews working, it can result in extra collisions.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Tim Costello <tjcostel@socs.uts.edu.au>] PR#1890
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Now mod_proxy uses the response string (in addition to the response status
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews code) from the already used FTP SIZE command to setup the Content-Length
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews header if available. [Ralf S. Engelschall] PR#1183
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
e7a4f58d55042cbc981a70b5071aaea46b9ebf7fAndreas Gustafsson *) Reanimated the (still undocumented) proxy receive buffer size directive:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Renamed from ReceiveBufferSize to ProxyReceiveBufferSize because the old
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews name was really too generic, added documentation for this directive to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the mod_proxy.html and corrected the hyperlink to it in the
5fdc9aaf401f6816df65d0e9cf701872f345c558Andreas Gustafsson new_features_1.3.html document. [Ralf S. Engelschall] PR#1348
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix a bug in the src/helpers/fp2rp script and make it a little bit
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews faster [Martin Kraemer]
6060b0ac76667afae3c9132ab6e3568a7a693f5dAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make Configure die when you give it an unknown command switch.
50097b38c075be55a73bb3737d091c503c70061dBrian Wellington [Ben Hyde]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
751aa24c98fea02215cad95a08411af547d70e41Bob Halley *) Add five new and fresh manpages for the support programs: dbmmanage.1,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews suexec.8, htdigest.1, rotatelogs.8 and logresolve.8. Now all up-to-date
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and per default compiled support programs have manual pages - just to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews document our stuff a little bit more and to be able to do really
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Unix-like installations ;-) [Ralf S. Engelschall]
fd5847ef0954117d5f905dbbfb68f1e67e4f285fAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Major cleanups to the Configure script to make it and its generated
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Makefiles again readable and maintainable: add SRCDIR option, removed
82e991b8ed4e0ed3b010d191e0cadfd60226c2d9Andreas Gustafsson INCLUDES_DEPTH[0-2] kludge, cleanup of TARGET option, cleanup of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews generated sections, consequently added Makefile headers with inheritance
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews information, added subdir movement messages for easier following where
82e991b8ed4e0ed3b010d191e0cadfd60226c2d9Andreas Gustafsson the build process currently stays (more verbose then standard Make, less
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews verbose than GNU make), same style to comments in the Configure script,
69d44b2f5ac8e35bdb0b80aeb304f5cb62197892Mark Andrews added Apache license header, fixed a few bugs, etc. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add the new ApacheBench program "ab" to src/support/: This is derived
3242899a56da9c245956979d5be9c92b2cf0ee24Andreas Gustafsson from the ZeusBench benchmarking program and can be used to determine the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews response performance of an Apache installation. This version is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews officially licensed with Zeus Technology, Ltd. See the license agreement
8fbd23c0aaacdde1348b6457c5db14c433096fd2Andreas Gustafsson statements in <199803171224.NAA24547@en1.engelschall.com> in apache-core.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5f539d5fc68ca056bd1791e3156b0fe6b28cde16Brian Wellington *) API: Various core functions that are definately not part of the API
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews have been made static, and a few have been marked API_EXPORT. Still
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews more have been marked CORE_EXPORT and are not intended for general
76477bd0e0a8f150f06f45c347d286b782cfa679Brian Wellington use by modules. [Doug MacEachern, Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_proxy was not clearing the Proxy-Connection header from
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews requests; now it does. This did not violate any spec, however
e491ef29043ae77d3d78fb7a59328f143fcf70feAndreas Gustafsson causes poor interactions when you are talking to remote proxies.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Marc Slemko] PR#1741
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Various cleanups to the command line interface and manual pages.
1a286a6613d385b443030a8c932e40ac9e9c301fBob Halley [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) cfg_getline() was not properly handling lines that did not end
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with a line termination character. [Marc Slemko] PR#1869, 1909
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3242899a56da9c245956979d5be9c92b2cf0ee24Andreas Gustafsson *) Performance tweak to mod_log_config. [Dmitry Khrustalev]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Clean up some undocumented behavior of mod_setenvif related to
9ffcab1e9a398e431c10c9936c28e4166c2e82e0Andreas Gustafsson "merging" two SetEnvIf directives when they match the same header
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and regex. Document that mod_setenvif will perform comparisons in
de8717a7218a4f034144ad7b8755ad43e3fd45c9David Lawrence the order they appear in the config file. Optimize mod_setenvif by
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews doing more work at config time rather than at runtime.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6f115bdb61672871bd822bdcd09cb1a3aad38aa0David Lawrence *) src/include/ap_config.h now wraps it's #define's with #ifndef/#endif's
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to allow for modules to overrule them and to reduce redefinition
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews warnings [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) [PORT] For A/UX change the OS-#define for -DAUX to -DAUX3.
5e194abb5b548524e5c0fd2bb4627ec698b75e2bAndreas Gustafsson [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Making the hard-coded cross-module function call mime_find_ct() (from
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_proxy to mod_mime) obsolete by making sure the API hook for MIME type
5e194abb5b548524e5c0fd2bb4627ec698b75e2bAndreas Gustafsson checking is really called even for proxy requests except for URLs with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews HTTP schemes (because there we can optimize by not running the type
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews checking hooks due to the fact that the proxy gets the MIME Content-type
09ae77ca30eb17ee32d3f7720ca796a72259cde6Andreas Gustafsson from the remote host later). This change cleans up mod_mime by removing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the ugly export kludge, makes the one-liner file mod_mime.h obsolete, and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews especially unbundles mod_proxy and mod_mime. This way they both now can
cedd0ab1e812ec7cf05d57c3e602db41b79f0a2aAndreas Gustafsson be compiled as shared objects and are no longer tied together.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
8c3989000a19f88415d094eb5984f7cf6ba2340cBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) util.c cleanup and speedup. [Dean Gaudet]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
ac6afcd0caf72aaa2a537e0003de30b363b4a68bBrian Wellington *) API: Clarification, pstrndup() will always copy n bytes of the source
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and NUL terminate at the (n+1)st byte. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c20ffa38dee7efa0dc01822d4bac5e41729b9b61Brian Wellington *) Mark module command_rec and handler_rec structures const so that they
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews end up in the read-only data section (and are friendlier to systems
2b7a77a68e27fc7991a857d403cb34b2ae90fc0bMark Andrews that don't do optimistic memory allocation on fork()). [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add check to the "Port" directive to make sure the specified
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews port is in the appropriate range. [Ben Hyde]
aed6a8ed2e706404ccca0f31faf110fd6efd34e6Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Performance improvements to invoke_handler().
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews [Dmitry Khrustalev <dima@bog.msu.su>]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Added support for building shared objects even for library-style modules
aed6a8ed2e706404ccca0f31faf110fd6efd34e6Andreas Gustafsson (which are built from more than one object file). This now provides the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ability to build mod_proxy as a shared object module. Additionally
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews modules like mod_example are now also supported for shared object
f8b3c627949bd4bc2f6aafb3dab2f56e3aa9ba06Brian Wellington building because the generated Makefiles now no longer assume there is at
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews least one statically linked module. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: Clarify usage of content_type, handler, content_encoding,
55ddb88e53838693370c213930beda1652b8a583Brian Wellington content_language and content_languages fields in request_rec. They
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews must always be lowercased; and the strings pointed to shouldn't
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews be modified (you must copy them to modify them). Fix a few bugs
daad43e5a4e83bd3c055632799ab67e269467db0Brian Wellington related to this. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: Clarification: except for RAW_ARGS, all command handlers can
3efd6904134ef6c4866a633eabeb55d1c86be7bbBrian Wellington treat the char * parameters as permanent, and modifiable. There
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is no need to pstrdup() them. Clean up some needless pstrdup().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
70d08aea0a693c6ca62c2f7bb33bfddf9e427601Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Now mod_so keeps track of which module shared objects with which names
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews are loaded and thus avoids multiple loading and unloading and irritating
907620b5e0d898da324192cbbe5a5b518f55d175Bob Halley error_log messages. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Prior to the existence of mod_setenv it was necessary to tweak the TZ
2c9db9314993504064c1a71f4a059ff9493a75caBrian Wellington environment variable in the apache core. But that tweaking interferes
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with mod_setenv. So don't tweak if the user has specified an explicit
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews TZ variable. [Jay Soffian <jay@cimedia.com>] PR#1888
9027e1bcf1b245226e3053a75d16c5351d7e60caDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) rputs() did not calculate r->sent_bodyct properly.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Siegmund Stirnweiss <siegst@kat.ina.de>] PR#1900
9027e1bcf1b245226e3053a75d16c5351d7e60caDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The CGI spec says that REMOTE_HOST should be set to the remote hosts's
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews name, or left unset if this value is unavailable. Apache was setting
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews it to the IP address when unavailable.
668f8d91db59f4dd89a0b54206f87879354339f5Brian Wellington [Tony Finch <fanf@demon.net>] PR#1925
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d7ba3622ffa20c653ef6c8cfae42d8cd26465b7fBrian Wellington *) Various improvements to the configuration and build support for compiling
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews modules as shared objects. Especially Solaris 2.x, SunOS 4.1, IRIX and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews OSF1 support with GCC and vendor compilers was added. This way shared
c0968380c4fb0b8196aafb8de225531bd847bb6dBrian Wellington object support is now provided out-of-the-box for FreeBSD, Linux,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Solaris, SunOS, IRIX and OSF1. In short: On all major platforms!
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Minor cleanup in http_main -- split QNX and OS2 specific "mmap"
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington scoreboard code into separate #defines -- USE_POSIX_SCOREBOARD
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and USE_OS2_SCOREBOARD. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b879ed05f4fb8209add6c19a509c984b6c8b3a98Andreas Gustafsson *) Fix one more special locking problem for RewriteMap programs in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_rewrite: According to the documentation of flock(), "Locks are on
b52a5b063050f209b0f47379178a1e7ae7404624Andreas Gustafsson files, not file descriptors. That is, file descriptors duplicated
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews through dup(2) or fork(2) do not result in multiple instances of a lock,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews but rather multiple references to a single lock. If a process holding a
34613b2e39478a83076f6a626a4b855cebb19533Andreas Gustafsson lock on a file forks and the child explicitly unlocks the file, the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews parent will lose its lock.". To overcome this we have to make sure the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews RewriteLock file is opened _AFTER_ the childs were spawned which is now
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the case by opening it in the child_init instead of the module_init API
6eccf5bd07eb9abf65cc08fec4a8fc97b62c0e1bBrian Wellington hook. [Ralf S. Engelschall] PR#1029
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Change to Location and LocationMatch semantics. LocationMatch no
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews longer lets a single slash match multiple adjacent slashes in the
3bd8e7cf1c082cd1021e5a6cae1cf21911217858Brian Wellington URL. This change is for consistency with RewriteRule and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews AliasMatch. Multiple slashes have meaning in URLs that they do
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews not have in (some) filesystems. Location on the other hand can
b8a85202af814468421a6541b4c935bd14773c53Brian Wellington be considered a shorthand for a more complicated regex, and it
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews does match multiple slashes with a single slash -- which is
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews also consistent with the Alias directive.
b879ed05f4fb8209add6c19a509c984b6c8b3a98Andreas Gustafsson [Dean Gaudet] related PR#1440
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix bug with mod_mime_magic causing certain files, including files
4c03e69ab845f703c1ffa3b7772938ca98cce44dAndreas Gustafsson of length 0, to result in no response from the server.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b0390aab30438a13f533cccae9389945214b1421Brian Wellington *) The Configure script now generates src/include/ap_config.h which
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews contains the set of defines used when Apache is compiled on a platform.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This file can then be included by external modules before including
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews any Apache header files in case they are being built separately from
54d64c7994d01da590462ecc56faf1a87fc4abb9Brian Wellington Apache. Along with this change, a couple of minor changes were
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews made to make Apache's #defines coexist peacefully with any autoconf
4c03e69ab845f703c1ffa3b7772938ca98cce44dAndreas Gustafsson defines an external module might have. [Rasmus Lerdorf]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix mod_rewrite for the ugly API case where <VirtualHost> sections exist
225a66da7ea2671a3e4db3cc4337f97ff67be647Brian Wellington but without any RewriteXXXXX directives. Here mod_rewrite is given no
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews chance by the API to initialize its per-server configuration and thus
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews receives the wrong one from the main server. This is now avoided by
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews remembering the server together with the config structure while
279de54fe3a0ac10b64762b18a4569c07b15d742Andreas Gustafsson configuring and later assuming there is no config when we see a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews difference between the remembered server and the one calling us.
279de54fe3a0ac10b64762b18a4569c07b15d742Andreas Gustafsson [Ralf S. Engelschall] PR#1790
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed the DBM RewriteMap support for mod_rewrite: First the support now
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is automatically disabled under configure time when the dbm_xxx functions
17789c880460c0bca3f3693c759be2214b936e69Brian Wellington are not available. Second, two heavy source code errors in the DBM
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews support code were fixed. This makes DBM RewriteMap's usable again after
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a long time of brokenness. [Ralf S. Engelschall] PR#1696
55b62439233d930152690b9eba97b06d9dc13d23Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Now all configuration files support Unix-style line-continuation via
123a3dddc94534d3a6c6f81c118a5b63dc5994c3Andreas Gustafsson the trailing backslash ("\") character. This enables us to write down
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews complex or just very long directives in a more readable way. The
590233519e14f3cf49840a93d2648d5560dd957eDavid Lawrence backslash character has to be really the last character before the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews newline and it has not been prefixed by another (escaping) backslash.
590233519e14f3cf49840a93d2648d5560dd957eDavid Lawrence [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) When using ProxyPass the ?querystring was not passed correctly.
123a3dddc94534d3a6c6f81c118a5b63dc5994c3Andreas Gustafsson [Joel Truher <truher@wired.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) To deal with modules being compiled and [dynamically] linked
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews at a different time from the core, the SERVER_VERSION and
5ea0d11ca45bfd1ea9db8db07f18fbb02f500661Brian Wellington SERVER_BUILT symbols have been abstracted through the new
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews API routines apapi_get_server_version() and apapi_get_server_built().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar] PR#1448
d25dd5b0567f67ecf40b7ed1cb20e0dce7b41c49Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Preserve trailing slash in canonical path (and hence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in PATH_INFO). [Paul Sutton, Ben Laurie]
9ac7076ebad044afb15e9e2687e3696868778538Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: USE_PTHREAD_SERIALIZED_ACCEPT has proven unreliable
7c058f1c384ebdba74231111f9358cf08109a5dbBob Halley depending on the rev of Solaris and what mixture of modules
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews are in use. So it has been disabled, and Solaris is back to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews using USE_FCNTL_SERIALIZED_ACCEPT. Users may experiment with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews USE_PTHREAD_SERIALIZED_ACCEPT at their own risk, it may speed
620de5a4b1f23dc9b4ec30d30c0607ff389be0daBob Halley up static content only servers. Or it may fail unpredictably.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#1779, 1854, 1904
4e3f8e480f220ef8a87fd28d02f9001b8fc6f423Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_test_util_uri.c created which tests the logic in util_uri.c.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: Rewrite of absoluteURI handling, and in particular how
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews absoluteURIs match vhosts. Unless a request is a proxy request, a
dc2e09d48b49d96a0572a971180718f680140cf0Andreas Gustafsson "http://host" url is treated as if a similar "Host:" header had been
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews supplied. This change was made to support future HTTP/1.x protocols
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews which may require clients to send absoluteURIs for all requests.
dc2e09d48b49d96a0572a971180718f680140cf0Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews In order to achieve this change subtle changes were made to the API. In a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews request_rec, r->hostlen has been removed. r->unparsed_uri now exists so
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews that the unmodified uri can be retrieved easily. r->proxyreq is not set
dc2e09d48b49d96a0572a971180718f680140cf0Andreas Gustafsson by the core, modules must set it during the post_read_request or
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews translate_names phase.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
90c099e88e9f16bfee9edee3ac1a51fc98843772Brian Wellington Plus changes to the virtualhost test suite for absoluteURI testing.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This fixes several bugs with the proxy proxying requests to vhosts
620de5a4b1f23dc9b4ec30d30c0607ff389be0daBob Halley managed by the same httpd.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
68b952dc98a9e02b269c0712da120cd773679652Brian Wellington *) API: Cleanup of code in http_vhost.c, and remove vhost matching
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews code from mod_rewrite. The vhost matching is now performed by a
d1cc210d2091916df6f9858fae20a1c760f3b257Andreas Gustafsson globally available function matches_request_vhost(). [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Reduce memory usage, and speed up ServerAlias support. As a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews side-effect users can list multiple ServerAlias directives
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and they're all considered.
d1cc210d2091916df6f9858fae20a1c760f3b257Andreas Gustafsson [Chia-liang Kao <clkao@cirx.org>] PR#1531
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The "poly" directive in image maps did not include the borders of the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews polygon, whereas the "rect" directive does. Fix this inconsistency.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Konstantin Morshnev <moko@design.ru>] PR#1771
ed0a4f1a302a5e543a9a2e4f8e61ca8a0673c6a7Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make \\ behave as expected. [Ronald.Tschalaer@psi.ch]
a93cf7e83be621d3d68f51e37121a47a70a6757bMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add the `%a' construct to LogFormat and CustomLog to log the client IP
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews address. [Todd Eigenschink <eigenstr@mixi.net>] PR#1885
c05eeed3c915d55a4949f5c2ce8700a0b0f9381bAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: A new source module main/util_uri.c; It contains a routine
c05eeed3c915d55a4949f5c2ce8700a0b0f9381bAndreas Gustafsson parse_uri_components() and friends which breaks a URI into its component
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews parts. These parts are stored in a uri_components structure called
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews parsed_uri within each request_rec, and are available to all modules.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Additionally, an unparse routine is supplied which re-assembles the URI
3bb043a8b8b15eece3794ec31ad0ccab103a1c21Brian Wellington components back to an URI, optionally hiding the username:password@ part
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews from ftp proxy requests, and other useful routines. Within the structure,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews you find on a ready-for-use basis:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews scheme; /* scheme ("http"/"ftp"/...) */
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews hostinfo; /* combined [user[:password]@]host[:port] */
df0f58959ed82a2a43ca8d816ce9592541df9f2fMark Andrews user; /* user name, as in http://user:passwd@host:port/ */
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews password; /* password, as in http://user:passwd@host:port/ */
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews hostname; /* hostname from URI (or from Host: header) */
903e9d41ef730f098d38da9588f2824f37b7d73cMark Andrews port_str; /* port string (integer representation is in "port") */
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews path; /* the request path (or "/" if only scheme://host was given) */
f4b5a0f43481026ea27bd96e3584ca0e92542f0dBob Halley query; /* Everything after a '?' in the path, if present */
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews fragment; /* Trailing "#fragment" string, if present */
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This is meant to serve as the platform for *BIG* savings in
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson code complexity for the proxy module (and maybe the vhost logic).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Make all possible meta-construct expansions ($N, %N, %{NAME} and
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson ${map:key}) available for all location where a string is created in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_rewrite rewriting rulesets: 1st arg of RewriteCond, 2nd arg of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews RewriteRule and for the [E=NAME:STRING] flag of RewriteRule. This way the
ea544b0511a66bc5f3700d56a72dcd808fdf22e8Brian Wellington possible expansions are consequently usable at all string creation
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews locations. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix initialization of RewriteLogLevel (default now is 0 as documented
a012d6dbfb100390efa7d0d4be64ada0210b09ddBrian Wellington and not 1) and the per-virtual-server merging of directives. Now all
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directives except `RewriteEngine' and `RewriteOption' are either
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews completely overridden (default) or completely inherited (when
c8d185ad5827bf2cf9982075e3336f680759a260Andreas Gustafsson `RewriteOptions inherit') is used. [Ralf S. Engelschall] PR#1325
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix `RewriteMap' program lookup in situations where such maps are
1e50dad10da55802152d00d5573f8b7d49d752a6Bob Halley defined but disabled (`RewriteEngine off') in per-server context.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#1431
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix bug introduced in 1.3b4-dev, config with no Port setting would cause
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews server to bind to port 0 rather than 80. [Dean Gaudet]
c8d185ad5827bf2cf9982075e3336f680759a260Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix long-standing problem with RewriteMap _programs_ under Unix derivates
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (like SunOS and FreeBSD) which don't accept the locking of pipes
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directly. A new directive RewriteLock is introduced which can be used to
22cafd0ece9c8d22a1218f000afdbceda21fe8afBrian Wellington setup a separate locking file which then is used for synchronization.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall] PR#1029
2cb74c5bc52ef415a771fafe0bf504eab609feadBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: The server root is obtained from the registry key
3d60fe9bafbf633e3a7811c11227baebb17878a4Brian Wellington HKLM\SOFTWARE\Apache Group\Apache\<version> (version is currently
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "1.3 beta"), unless overridden by the -d command line flag. The
218c8472e6c8c1a014e412615cc97bb93c0ef9c2Brian Wellington value is stored by running "apache -i -d serverroot". [Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Merged os/win32/mod_dll.c into modules/standard/mod_so.c to support
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews dynamic loading on Win32 and Unix via the same module. [Paul Sutton]
f24c135e09214c3843a49fd32ebef2f6a436ba8eBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Now mod_rewrite no longer makes problematic assumptions on the characters
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a username can contain when trying to expand it via /etc/passwd.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
02940eaf0f732c28c0b39ed114a3803074a80138Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The mod_setenvif BrowserMatch backwards compatibility command did not
02940eaf0f732c28c0b39ed114a3803074a80138Andreas Gustafsson work properly with spaces in the regex. [Ronald Tschalaer] PR#1825
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9a7d163f6f305d48771b4c56d8d18efc6dfc8fc3Mark Andrews *) Add new RewriteMap types: First, `rnd' which is equivalent to the `txt'
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews type but with a special post-processing for the looked-up value: It
aa23a35d81a9618a40c4a9b44be48009553e4777Andreas Gustafsson parses it into alternatives according to `|' chars and then only one
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews particular alternative is chosen randomly (this is an essential
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews functionality needed for balancing between backend-servers when using
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Apache as a Reverse Proxy. The looked up value here is a list of
aa23a35d81a9618a40c4a9b44be48009553e4777Andreas Gustafsson servers). Second, `int' with the built-in maps named `tolower' and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews `toupper' which can be used to map URL parts to a fixed case (this is an
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews essential feature to fix the case of server names when doing mass
22457624d3e63e7cd255b4083cb435c16caea26dBob Halley virtual-hosting with the help of mod_rewrite instead of using
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <VirtualHost> sections). [Ralf S. Engelschall, parts based on code from
91425b5e7204b05165e2c5b244f3dad502f9627dBrian Wellington Jay Soffian <jay@cimedia.com>] PR#1631
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add a new directive to mod_proxy similar to ProxyPass: `ProxyPassReverse'.
91425b5e7204b05165e2c5b244f3dad502f9627dBrian Wellington This directive lets Apache adjust the URL in Location-headers on HTTP
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews redirect responses sent by the remote server. This way the virtually
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mapped area is no longer left on redirects and thus by-passed which is
b18a5b6730dcb062cf7f47c6b3cb909030b58f36Brian Wellington especially essential when running Apache as a reverse proxy.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
7e361074bc8a2df7a0891a7040eea02ca3a5e286Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Hide Proxy-Authorization from CGI/SSI/etc just like Authorization is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews hidden. [Alvaro Martinez Echevarria]
328b080b4af258fdd4d3a2ea1558b48706bd8116Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Apache will, when started with the -X (single process) debugging flag,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews honor the SIGINT or SIGQUIT signals again now. This capability got lost
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a while ago during OS/2 signal handling changes.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9e560b59a722d06a62b5aed761e71fec72638a7cBrian Wellington *) [PORT] Work around the fact that NeXT runs on more than the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews m68k chips in mod_status [Scott Anguish and Timothy Luoma
f91dc72b422479b5a0caf1fe54c4054d25ae6055Brian Wellington <luomat@peak.org>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
7e361074bc8a2df7a0891a7040eea02ca3a5e286Andreas Gustafsson *) [PORT] Recognize FreeBSD versions so we can use the OS regex as well
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews as handling unsigned-chars for FreeBSD v3 and v2 [Andrey Chernov
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <ache@nagual.pp.ru> and Jim] PR#1450
d6b3d06db7ce3b9229dc30cc0e3a72ba2603da28Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Use SA_RESETHAND or SA_ONESHOT when installing the coredump handlers.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews In particular the handlers could trigger themselves into an infinite
8e68489885e744ab48907414b4199c36858c27ddMark Andrews loop if RLimitMem was used with a small amount of memory -- too small
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews for the signal stack frame to be set up. [Dean Gaudet]
c17c59662f0969a5e52e8b7529cbde1a7c746095Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix problems with absoluteURIs introduced during 1.3b4. [Dean Gaudet,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Alvaro Martinez Echevarria <alvaro@lander.es>]
c17c59662f0969a5e52e8b7529cbde1a7c746095Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix multiple UserDir problem introduced during 1.3b4-dev.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#1850
651421a5db8a9edf39c76fd8cf859409eb8c373bAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) ap_cpystrn() had an off-by-1 error.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Charles Fu <ccwf@klab.caltech.edu>] PR#1847
651421a5db8a9edf39c76fd8cf859409eb8c373bAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: As Ken suggested the check_cmd_context() function and related
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews defines are non-static now so modules can use 'em. [Martin Kraemer]
7427490a67b9547242b57c255254f7e146127c48Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_info would occasionally produce an unpaired <tt> in its
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews output. Fixed. [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
dfa0badebe5a8260281228d94dbe28e4314a9df6Andreas Gustafsson *) By default AIX binds a process (and it's children) to a single
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews processor. httpd children now unbind themselves from that cpu
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and re-bind to one selected at random via bindprocessor()
dfa0badebe5a8260281228d94dbe28e4314a9df6Andreas Gustafsson [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Linux 2.0 and above implement RLIMIT_AS, RLIMIT_DATA has almost no
2d0627005d48b7657fa11792c123466b4f974b61Mark Andrews effect. Work around it by using RLIMIT_AS for the RLimitMEM
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directive. [Enrik Berkhan <enrik@inka.de>] PR#1816
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
80ddc8b22bf2ede60038393be5cad9da99d3f03fAndreas Gustafsson *) mod_mime_magic error message should indicate the filename when
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews reads fail. ["M.D.Parker" <mdpc@netcom.com>] PR#1827
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
94baac869a70b529a24ff23d8dc899faa5d4fdc4Brian Wellington *) Previously Apache would permit </Files> to end <FilesMatch> (and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews similary for Location and Directory), now this is diagnosed as an
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews error. Improve error messages for mismatched sections (<Files>,
1ac2c28488fb5de80b3ce9aac3500d215cb61728Brian Wellington <FilesMatch>, <Directory>, <DirectoryMatch>, ...).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet, Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a12d9cfa59b5981c52e1aaafedf652d5128f3448Brian Wellington *) <Files> is not permitted within <Location> (because of the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews semantic ordering). [Dean Gaudet] PR#379
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
702a69f04a89422968ef8fc6fc271fac058e03efBrian Wellington *) <Files> with wildcards was broken by the change in wildcard
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews semantics (* does not match /). To fix this, <Files> now
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews apply only to the basename of the request filename. This
0f537d1c63f643924355ff9ca2cf72c547101aa4Brian Wellington fixes some other inconsistencies in <Files> semantics
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (such as <Files a*b> not working). [Dean Gaudet] PR#1817
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9ee323b64bc9dcd73f9a0a0e69a31475026721daAndreas Gustafsson *) Removed bogus "dist.tar" target from Makefile.tmpl and make sure
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews backup files are removed on "clean" target [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c27148868266dd718b6677c794b3e6dca53c3bdcAndreas Gustafsson *) PORT: Add -lm to LIBS for HPUX. [Dean Gaudet] PR#1639
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Various errors from select() and accept() in child_main() would
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews result in an infinite loop. It seems these two tickle kernel
f8a44ed40032e034883019ac556f3bb732491a32Mark Andrews or library bugs occasionally, and result in log spammage and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a generally bad scene. Now the child exits immediately,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews which seems to be a good workaround.
07d6480b684d3745e645f35a8b95dae9bda982a3Mark Andrews [Dean Gaudet] PR#1747, 1107, 588, 1787, 987, 588
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Cleaned up some race conditions in unix child_main during
634784cb66a1c9ddee0c448f71580f024c8fe40bAndreas Gustafsson initialization. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
ea6709ec8a66e3ffef9c9466613df499567c57f8Brian Wellington *) SECURITY: "UserDir /abspath" without a * in the path would allow
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews remote users to access "/~.." and bypass access restrictions
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (but note /~../.. was handled properly).
634784cb66a1c9ddee0c448f71580f024c8fe40bAndreas Gustafsson [Lauri Jesmin <jesmin@ut.ee>] PR#1701
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: os_is_path_absolute() now takes a const char * instead of a char *.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.3b5
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
49576ae7a481415d5e815ff59b71c76203259619Andreas Gustafsson *) Source file dependencies in Makefile.tmpl files throughout the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews source tree were updated to accurately reflect reality.
e8af4e152413190e5553c2fb3074a1cc689c6cefAndreas Gustafsson [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
4d30acbac52fcb20a4f0ab4f8508f24861386fe7Brian Wellington *) Preserve the content encoding given by the AddEncoding directive
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews when the client doesn't otherwise specify an encoding.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>]
131d5feb05fce60143bc17dab73df20753d9301fBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Sort out problems with canonical filename handling happening too late.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet, Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
76c9d2f6c0a5d6ea8bcc35fc3228d2019507b2bbBrian WellingtonChanges with Apache 1.3b4
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The module structure was modified to include a *dynamic_load_handle
187a97287e626b2f2e9774479e145dfbf1eba66cBrian Wellington in the STANDARD_MODULE_STUFF portion, and the MODULE_MAGIC_NUMBER
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews has been bumped accordingly. [Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
7ed2d93fa4e12e0ceaa0c7c0da3a89e7a5d78296Andreas Gustafsson *) All BrowserMatch directives mentioned in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews htdocs/manual/known_client_problems.html are in the default
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews configuration files. [Lars Eilebrecht]
1ec527b71267747cc3ae4d9849aa4f6362c78ea9Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) MiNT port update. [Jan Paul Schmidt]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
703e1c0bb66f3cd3d300358ca0c1fdf3cb5fb1c5Brian Wellington *) HTTP/1.1 requires x-gzip and gzip encodings be treated
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews equivalent, similarly for x-compress and compress. Apache
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews now ignores a leading x- when comparing encodings. It also
7ed2d93fa4e12e0ceaa0c7c0da3a89e7a5d78296Andreas Gustafsson preserves the encoding the client requests (for example if
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews it requests x-gzip, then Apache will respond with x-gzip
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in the Content-Encoding header).
14bb9cccae74676e25ae145dc14a3681cc3022b9Mark Andrews [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>] PR#1772
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian Wellington *) Fix a memory leak on keep-alive connections. [Igor Tatarinov]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
fcc3c131e03cb7e844eaecf74d4f9b7fd38c8398Andreas Gustafsson *) Added mod_so module to support dynamic loading of modules on Unix
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (like mod_dld for Win32). This replaces mod_dld.c. Use SharedModule
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews instead of AddModule in Configuration to build shared modules
6d3e8dffb447b9a961360f7f4fd77b0bdb81de76Andreas Gustafsson [Sameer Parekh, Paul Sutton]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Minor cleanups to r->finfo handling in some modules.
7017ede939a5d3e7f2dc113061887a9e81fe8627Brian Wellington [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Abstract read()/write() to ap_read()/ap_write().
66921d6dd259c4486a07aba19eee2b8349698575Brian Wellington Makes it easier to add other types of IO code such as SFIO.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Randy Terbush]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b65fc651b8aaab5d0fb9b8f6ef583d699d14a113Mark Andrews *) API: Generalize default_port manipulations to make support of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews different protocols easier. [Ben Laurie, Randy Terbush]
2728a98ee4104b2fb30f273893a7f354e20002b5Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) There are many cases where users do not want Apache to form
be387fd057ee54ae5d84904e69587d6e29bd3950Mark Andrews self-referential urls using the "canonical" ServerName and Port.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews The new UseCanonicalName directive (default on), if set to off
d72269740049af28b091ba81d68a067c88f53547Mark Andrews will cause Apache to use the client-supplied hostname and port.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews API: Part of this change required a change to the construct_url()
7dbb39a417a28f61ba13e6e066c2f9c711f61471Mark Andrews prototype; and the addition of get_server_name() and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews get_server_port().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Michael Douglass <mikedoug@texas.net>, Dean Gaudet]
a51f77a70bba62f227fb15fe72ecf959893e3f0fMark Andrews PR#315, 459, 485, 1433
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Yet another rearrangement of the source tree.. now all the common
ff7f1dc0393cfc8a033be7e94aa56cd57c97d174Andreas Gustafsson header files are in the src/include directory. The -Imain -Iap
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews references in Makefiles have been changed to the simpler -Iinclude
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews instead. In addition to simplifying the build a little bit, this
7dec36c225ad044a6546a4e232888f3412c030a8Brian Wellington also makes it clear when a module is referencing something in a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews other than kosher manner (e.g., the proxy including mod_mime.h).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Module-private header files (the proxy, mod_mime, the regex library,
ff7f1dc0393cfc8a033be7e94aa56cd57c97d174Andreas Gustafsson and mod_rewrite) have not been moved to src/include; nor have
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the OS-abstraction files. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix a bug where r->hostname didn't have the :port stripped
9b0c4bf7003db929fe00a345fc96fb97677d29e0Brian Wellington from it. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Tweaked the headers_out table size, and the subprocess_env
576f85e5fdb8805307f318db79dfc0d19e390d1aAndreas Gustafsson table size guess in rename_original_environment(). Added
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews MAKE_TABLE_PROFILE which can help discover make_table()
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews calls that use too small an initial guess, see alloc.c.
576f85e5fdb8805307f318db79dfc0d19e390d1aAndreas Gustafsson [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Options and AllowOverride weren't properly merging in the main
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews server setting inside vhosts (only an issue when you have no
0c70ab306505d89983186e9f8bb8647de55b5d04Mark Andrews <Directory> or other section containing an Options that affects
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a request). Options +foo or -foo in the main_server wouldn't
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews affect the main_server's lookup defaults. [Dean Gaudet]
32e64787d9bd84a012ddac506f88fbc677b49377Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Variable 'cwd' was being used pointlessly before being set.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar] PR#1738
fa5a42fbad42f4e033376d5d4624e29d018d97b7Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) r->allowed handling cleaned up in the standard modules.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
523dd6a979865b8b1b8f1ecc81e5ce47a168c63fBrian Wellington *) Some case-sensitivity issues cleaned up to be consistent with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews RFC2068. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
5bb4ceb2a67fd558962f8a786c93daedc148a599Mark Andrews *) SIGURG doesn't exist everywhere.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Mark Andrew Heinrich <heinrich@tinderbox.Stanford.EDU>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d119051ef75d5a88d28c13fb0a7c6d6757a4e9b5Brian Wellington *) mod_unique_id was erroneously generating a second unique id when
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews an internal redirect occured. Such redirects occur, for example,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews when processing a DirectoryIndex match. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9b0e404e5fc71a2bd4fba8a66296477f815af7d5Brian Wellington *) API: table_add, table_merge, and table_set include implicit pstrdup()
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of the key and value. But in many cases this is not required
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews because the key/value is a constant, or the value has been built
4817a0628785835abb57d06f2f616b4a6515ac2fAndreas Gustafsson by pstrcat() or other similar means. New routines table_addn,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews table_mergen, and table_setn have been added to the API, these
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews routines do not pstrdup() their arguments. The core code and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews standard modules were changed to take advantage of these routines.
c26c349eab7ca0499786c2091f0e407ec90eee6bAndreas Gustafsson The resulting server is up to 20% faster in some situations.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Note that it is easy to get code subtly wrong if you pass a key/value
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews which is in a pool other than the pool of the table. The only
4817a0628785835abb57d06f2f616b4a6515ac2fAndreas Gustafsson safe thing to do is to pass key/values which are in the pool of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the table, or in one of the ancestors of the pool of the table.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews i.e. if the table is part of a subrequest, a value from the main
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews request's pool is OK since the subrequest pool is a sub_pool of the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews main request's pool (and therefore has a lifespan at most as long as
a2a7eaf89cd68acdb16177bb05701107ceab52b9Brian Wellington the main pool). There is debugging code which can detect improper
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews usage, enabled by defining POOL_DEBUG. See alloc.c for more details.
148af05e15f5d7ae3b076231617369fdaf57d26dAndreas Gustafsson [Dmitry Khrustalev <dima@bog.msu.su>, Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) More mod_mime_magic cleanup: fewer syscalls; should handle "files"
d31498a54482c8d5d934875d3fdeaa621c962d6fBrian Wellington which don't exist on disk more gracefully; handles vhosts properly.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Update documentation to reflect the code -- if there's no
a2a7eaf89cd68acdb16177bb05701107ceab52b9Brian Wellington MimeMagicFile directive then the module is not enabled.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
a2a7eaf89cd68acdb16177bb05701107ceab52b9Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Some older *nix dialects cannot automatically start scripts
54ce9b2e29aafe1cb5f898a0983fb66e450e9559Brian Wellington which begin with a #! interpreter line (the shell starts the scripts
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews appropriately on these platforms). Apache now supports starting of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "hashbang-scripts" when the NEED_HASHBANG_EMUL define is set.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer, with code from peter@zeus.dialix.oz.au (Peter Wemm)
7357590beef5f671cfdd4ec4304e5210adfb0d8aBrian Wellington taken from tcsh]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: "typedef array_header table" removed from alloc.h, folks should
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews have been writing to use table as if it were an opaque type, but even
8dd5237a27e2e824d18f835dc711573aeb23a173Mark Andrews some standard modules got this wrong. By changing the definition
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to "typedef struct table table" module authors will receive compile
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews time warnings that they're doing the wrong thing. This change
3b5102fc018a29e52befde5991844843c7b70786Michael Sawyer facilitates future changes with more sophisticated table
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews structures. Specifically, module authors should be using table_elts()
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to get access to an array_header * for the table. [Dean Gaudet]
3b5102fc018a29e52befde5991844843c7b70786Michael Sawyer
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: Renamed new_connection() to avoid namespace collision with LDAP
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews library routines. [Ken Coar, Rasmus Lerdorf]
f7e900edbc368275aa7cec7ebec0986e45aeadd7Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: mod_speling is now available on the Win32 platform.
ec772e873bd7f24418049b5b1b5d7c44ff781356Brian Wellington [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) For clarity the following compile time definition was changed:
abfbf760f3bc2a6744b0249a31ca5153234b49e8Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews SAFE_UNSERIALIZED_ACCEPT -> SINGLE_LISTEN_UNSERIALIZED_ACCEPT
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
75768d5fa2c6c5c441b849ca4efa649a7c2a9e88Bob Halley Also, for example, HAVE_MMAP would mean to use mmap() scoreboards
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and not be a general notice that the OS has mmap(). Now the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews HAVE_MMAP/SHMGET #defines strictly are informational that the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews OS has that method of shared memory; the type to use for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the scoreboard is a seperate #define (USE_MMAP_SCOREBOARD
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and USE_SHMGET_SCOREBOARD). This allows outside modules to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews determine if shared memory is available and allows Apache
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to determine the best method to use for the scoreboard.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jim Jagielski]
fa280ff02ad0c29616a0c3a22ef02cbb3f6db7efDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: UnixWare 2.1.2 SMP appears to require USE_FCNTL_SERIALIZED_ACCEPT,
22dbaf9ad8065127fd93eff0f239fd9c548d18b6Andreas Gustafsson as do various earlier versions. It should be safe on all versions.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Unixware 1.x appears to have the same SIGHUP bug as solaris does with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the slack code. A few other cleanups for Unixware.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Tom Hughes <thh@cyberscience.com>] PR#1082, PR#1282, PR#1499, PR#1553
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
184867e88b5a30bbc29f17edbc7b50a6c8a944e7David Lawrence *) PORT: A/UX can handle single-listen accepts without mutex
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews locking, so we add SINGLE_LISTEN_UNSERIALIZED_ACCEPT. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
fa280ff02ad0c29616a0c3a22ef02cbb3f6db7efDavid Lawrence *) When die() happens we need to eat any request body if one exists.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Otherwise we can't continue with a keepalive session. This shows up
046a9aca49bdc25bd57d75fd0dd34c021722f095Mark Andrews as a POST problem with MSIE 4.0, typically against pages which are
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews authenticated. [Roy Fielding] PR#1399
f4e4111795ceb13066d09c38723afacb04e33ad4Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) If you define SECURITY_HOLE_PASS_AUTHORIZATION then the Authorization
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews header will be passed to CGIs. This is generally a security hole, so
253ab81bf2760d3d7f68512b43710afc02d788daMark Andrews it's not a default. [Marc Slemko] PR#549
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix Y2K problem with date printing in suexec log.
be171be1799e0ba8cdd35d4f67b772ff086d0d81Andreas Gustafsson [Paul Eggert <eggert@twinsun.com>] PR#1343
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a110543bb4d2e53caa40f83c2b45786a1efe63efAndreas Gustafsson *) WIN32 deserves a pid file. [Ben Hyde]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) suexec errors now include the errno/description. [Marc Slemko] PR#1543
ef9f9001fca9445ef315b1e76a66fc84fef6fdc6Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: OSF/1 now uses USE_FLOCK_SERIALIZED_ACCEPT to solve PR#467.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews The choice of flock vs. fcntl was made based on timings which showed that
ee303f481dfefcd4e4994f8b8b17f2de32aa4d69Brian Wellington even on non-NFS, non-exported filesystems fcntl() was an order of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews magnitude slower. It also uses SINGLE_LISTEN_UNSERIALIZED_ACCEPT so
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews that single socket users will see no difference. [Dean Gaudet] PR#467
86b8c485762daa54a96d033110f6f41ea96e5213David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) "File does not exist" error message was erroneously including the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews errno. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
125a916d1a0c01f139ced5736145703df28d07cfDavid Lawrence *) Improve the warning message generated when a client drops the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews connection (hits stop button, etc.) during a send. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Defining GPROF will disable profiling in the parent and enable it
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in the children. If you're profiling under Linux this is pretty much
2115bc7d6433c92499d8e4f67e1c1dfa42ecd6f0David Lawrence necessary because SIGPROF is lost across a fork(). [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) htdigest and htpasswd needed slight tweaks to work on OS/2 and WIN32.
02e38214502c3a946cdfe87e16525747617a1150Brian Wellington [Brian Havard]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The NeXT cc (which is gcc hacked up) doesn't appear to support some
f8da2d95835c5216570a45e9000f740321503ae3David Lawrence gcc functionality. Work around it.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Keith Severson <keith@sssd.navy.mil>] PR#1613
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Some linkers complain when .o files contain no functions.
fdb2cda3ed366699d70aaf67ee5ae7fcd2ca7561David Lawrence [Keith Severson <keith@sssd.navy.mil>] PR#1614
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
8dc3d2006f679d0a291f7a20612c37e2a7146096Brian Wellington *) Some const declarations in mod_imap.c that were added for debugging
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews purposes caused some compilers heartburn without adding any
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews significant value, so they've been removed. [Ken Coar]
a110543bb4d2e53caa40f83c2b45786a1efe63efAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The src/main/*.h header files have had #ifndef wrappers added to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews insulate them against duplicate calls if they get included through
bd5f2ac1880f5f2e96b291378c3dff296fc011f1Mark Andrews multiple paths (e.g., in .c files as well as other .h files).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar]
f0f61db621eed0c453e31bb85f6803c550e19a6bAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The libap routines now have a header file for their prototypes,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews src/ap/ap.h, to ease their use in non-httpd applications. [Ken Coar]
63612a0fe1abbeb8ab6d727a4cfe46831c481387Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_autoindex with a plaintext header file would emit the <PRE>
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews start-tag before the HTML preamble, rather than after the preamble
7d33e8996948523e0180bc7e28a93d534d878dccAndreas Gustafsson but before the header file contents. [John Van Essen <jve@gamers.org>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#1667
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: Fix a possible buffer overflow in logresolve. This is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews only an issue on systems without a MAXDNAME define or where
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the resolver returns domain names longer than MAXDNAME. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: Eliminate possible buffer overflow in cfg_getline, which
736aab3076e9bec708cec073f5cf8e6c4b588886Brian Wellington is used to read various types of files such as htaccess and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews htpasswd files. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
bb1cf189bb9fd9059cf13b785d15b0e50c0be8fbAndreas Gustafsson *) SECURITY: Ensure that the buffer returned by ht_time is always
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews properly null terminated. [Marc Slemko]
7cb10f77890fe36b14079c7beb848ec390a53e44Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The "Connection" header could be sent back with multiple "close"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews tokens. Not an error, but a waste.
bb1cf189bb9fd9059cf13b785d15b0e50c0be8fbAndreas Gustafsson [Ronald.Tschalaer@psi.ch] PR#1683
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_rewrite's RewriteLog should behave like mod_log_config, it
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews shouldn't force hostname lookups. [Dean Gaudet] PR#1684
f53848e17123569387b279578f0100dca5407da5Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) "basic" auth needs a case-insensitive comparison.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ronald.Tschalaer@psi.ch] PR#1666
64a84169d7eed05486b10be90afea58f4af146f9Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) For maximum portability, the environment passed to CGIs should
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews only contain variables whose names match the regex
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews /[a-zA-Z][a-zA-Z0-9_]*/. This is now enforced by stamping
acc63b06d9e4e2137950dabddcccd17d8b336ca0Olafur Gudmundsson underscores over any character outside the regex. This
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews affects HTTP_* variables, in a way that should be backward
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews compatible for all the standard headers; and affects variables
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews set with SetEnv/BrowserMatch and similar directives.
051706a29a73416fbae116952dd6b6bdda765538Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c8fc692fa1445ccfc39b68902546cdfc7ee30d3eBrian Wellington *) mod_speling returned incorrect HREF's when an ambigous match
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews was found. Noticed by <robinton@amtrash.comlink.de> (Soeren Ziehe)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [robinton@amtrash.comlink.de (Soeren Ziehe), Martin Kraemer]
f19771c55d7e7d5bb38160e710185e6e61749d16Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Apache now compiles & runs on an EBCDIC mainframe
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (the Siemens BS2000/OSD family) in the POSIX subsystem
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Fix problem killing children when terminating. Allow ^C
f1d427043e94371cdf1f21b3cbd65917adbcff25Andreas Gustafsson to shut down the server. [Brian Havard]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) pstrdup() is implicit in calls to table_* functions, so there's
10e22ebcc3629be94d37bf408157e2c5ee5740e0Andreas Gustafsson no need to do it before calling. Clean up a few cases.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Marc Slemko, Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6c29053a20f7614167bafa4388c666644a095349Andreas Gustafsson *) new -C and -c command line arguments
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews usage:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews -C "directive" : process directive before reading config files
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews -c "directive" : process directive after reading config files
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews example:
3d509f54ac6bbcc19de5aa6d1ce37e001821dc7bDavid Lawrence httpd -C "PerlModule Apache::httpd_conf"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Doug MacEachern, Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Fix the execution of CGIs that are scripts and called
a59ed6543bbc13e7c784d6badce7b757c2620e28David Lawrence with path info that does not have an '=' in.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (eg. http://server/cgi-bin/printenv?foobar)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Marc Slemko] PR#1591
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Fix a call to os_canonical_filename so it doesn't try to
10e6498d6d7b2cfd8d822788d817fc9a3e0b0c3aDavid Lawrence mess with fake filenames. This fixes proxy caching on
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews win32. PR#1265
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: General mod_include cleanup, including fixing several
91b191a90cae9b162b8c68a3b4820031e129b37bBrian Wellington possible buffer overflows and a possible infinite loop.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet, Marc Slemko]
bf00f50cf43a43a999b5ab054cab652f7775dce6Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: Numerous changes to mod_imap in a general cleanup
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews including fixing a possible buffer overflow. [Dean Gaudet]
253f774e358dba38742a484426a4cadf4f248817Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: overhaul of multithreading code. Shutdowns are now graceful
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (connections are not dropped). Code can handle graceful restarts
2de31518c3da27092120b40fc373cecf600d64e6Brian Wellington (but there is as yet no way to signal this to Apache). Various
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews other cleanups. [Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
4ae3a03bb7dbb050adddc051a5df6f3de057eb27Andreas Gustafsson *) The aplog_error changes specific to 1.3 introduced a buffer
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews overrun in the (now legacy) log_printf function. Fixed.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
10e22ebcc3629be94d37bf408157e2c5ee5740e0Andreas Gustafsson *) mod_digest didn't properly deal with proxy authentication. It
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews also lacked a case-insensitive comparision of the "Digest"
2732332fe53d00592109ef69c0075fcc2ad09db9Brian Wellington token. [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>] PR#1599
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A few cleanups in mod_status for efficiency. [Dean Gaudet]
8fa78d9ad5f5ab6c69d1d52b00b1ffcdf1bd5bebMichael Sawyer
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A few cleanups in mod_info to make it thread-safe, and remove an
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews off-by-5 bug that could hammer \0 on the stack. [Dean Gaudet]
e544b507b8019a62c5d2716281f6832519a8791dDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) no2slash() was O(n^2) in the length of the input. Make it O(n).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
09de21079e902c7356d936ef4f2a31060b36e5f3Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: migration from strncpy() to our "enhanced" version called
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ap_cpystrn() for performance and functionality reasons.
ee4429e13e08f30c366cdc5d10585388b8a9f212Michael Sawyer Located in libap.a. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3c7ce471aa8a1a9c5bc0ca9e41f406bdc9f0b2aeAndreas Gustafsson *) table_set() and table_unset() did not deal correctly with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews multiple occurrences of the same key.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Stephen Scheck <sscheck@infonex.net>, Ben Laurie] PR#1604
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The AuthName must now be enclosed in quotes if it is to contain
8aff41ca8ac8dbd9671f3da824406a8783db49d1Brian Wellington spaces. [Ken Coar] PR#1195
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: new function: ap_escape_quotes(). [Ken Coar] PR#1195
c9d7e543d0da2996d1cc52d3c5920141df49a4ecBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Work around optimiser bug that killed ISAPI in release
6dbf9cbe6a39a00de910ef843b9f864abf68bc40Brian Wellington versions. [Ben Laurie] PR#1533
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Update the MPE port [Mark Bixby, Jim Jagielski]
17aac384e029f5dd3314876058c7501f4d84b90bBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Interim (slow) fix for p->sub_pool critical sections in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews alloc.c (affects win32 only). [Ben Hyde]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellington *) non-WIN32 was missing destroy_mutex definition. [Ben Hyde]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) send_fd_length() did not calculate total_bytes_sent properly.
3c7ce471aa8a1a9c5bc0ca9e41f406bdc9f0b2aeAndreas Gustafsson [Ben Reser <breser@regnow.com>] PR#1366
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The bputc() macro was not properly integrated with the chunking
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews code; in many cases modules using bputc() could cause completely
4d5c668a91c6e5a26653031dd137292bfc03da52Andreas Gustafsson bogus chunked output. (Typically this will show up as problems
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with Internet Explorer 4.0 reading a page, but other browsers
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews having no problem.) [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
f437f6ffae28f88334cf47ce8f948cbf40331ffaAndreas Gustafsson *) Create LARGE_WRITE_THRESHOLD define which determines how many
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews bytes have to be supplied to bwrite() before it will consider
704d6eeab1d8d6a2aeb99c37fa5a97322d9340fcBrian Wellington doing a writev() to assemble multiple buffers in one system
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews call. This is critical for modules such as mod_include,
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews mod_autoindex, mod_php3 which all use bputc()/bputs() of smaller
ed8ba54e644957e0ebd51601552193275299ca8dAndreas Gustafsson strings in some cases. The result would be extra effort
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews setting up writev(), and in many cases extra effort building
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews chunks. The default is 31, it can be overriden at compile
4d5c668a91c6e5a26653031dd137292bfc03da52Andreas Gustafsson time. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Move the gid switching code into the child so that log files
9c566a852f31c3a5d0b9d6eaf11463114339c01dAndreas Gustafsson and pid files are opened with the root gid.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Gregory A Lundberg <lundberg@vr.net>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9c566a852f31c3a5d0b9d6eaf11463114339c01dAndreas Gustafsson *) WIN32: Check for binaries by looking for the executable header
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews instead of counting control characters.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jim Patterson <Jim.Patterson@Cognos.COM>] PR#1340
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) ap_snprintf() moved from main/util_snprintf.c to ap/ap_snprintf.c
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews so the functionality is available to applications other than the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews server itself (like the src/support tools). [Ken Coar]
4c08b67a5f01eda472a9dfee4c73dbbac49c0065Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) ap_slack() moved out of main/util.c into ap/ap_slack.c as part of
1addbb84718fdb7635459ed05f060be086e88f35Andreas Gustafsson the libap consolidation work. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) ap_snprintf() with a len of 0 behaved like sprintf(). This is not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews useful, and isn't what the standards require. Now it returns 0
1addbb84718fdb7635459ed05f060be086e88f35Andreas Gustafsson and writes nothing. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) When an error occurs in fcntl() locking suggest the user look up
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the docs for LockFile. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d3be9a9c6ef76a5d7671b0962785ca025b153d2bAndreas Gustafsson *) Eliminate some dead code from writev_it_all().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Igor Tatarinov <tatarino@prairie.NoDak.edu>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
e9fce1415f8be4cd38d528950c92c481bd105254Mark Andrews *) mod_autoindex had an fread() without checking the result code.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews It also wouldn't handle "AddIconByType (TXT,/icons/text.gif text/*"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (note the missing closing paren) properly. [Dean Gaudet]
59e1a928bc4253b91ead0f7c46be7d3984cb3016Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) It appears the "257th byte" bug (see
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews htdocs/manual/misc/known_client_problems.html#257th-byte) can happen
90cd33e0baf23574a88a4c967afec8b95a1801deAndreas Gustafsson at the 256th byte as well. Fixed. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Fix mod_mime_magic under OS/2, no support for block devices.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Brian Havard]
517950ae99fa271b034a5cfec1c9fbb62696f975Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix memory corruption caused by allocating auth usernames in the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews wrong pool. [Dean Gaudet] PR#1500
dfd7798d8b870abf03795d8095297a4b982ab6e9Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix an off-by-1, and an unterminated string error in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_mime_magic. [Dean Gaudet]
19ff7edc1a6388085193f5487e1599f45aa62648Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix a potential SEGV problem in mod_negotiation when dealing
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews with type-maps. [Dean Gaudet]
8a0ff6c15cb20c903f9e16a3d5c2cab603478bc3Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Better glibc support under Linux. [Dean Gaudet] PR#1542
a6dbd6b6604e27ae3c7190de20dbcaaa6e5a1fd8Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) "RedirectMatch gone /" would cause a SIGSEGV. [Dean Gaudet] PR#1319
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
0c0619cc1983ff58e855c5159d8892e46dddac5eBrian Wellington *) WIN32: avoid overflows during file canonicalisations.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [malcolm@mgdev.demon.co.uk] PR#1378
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c472ead4a932f93251eddaa41e120c3bfc4f95a4Andreas Gustafsson *) WIN32: set_file_slot() didn't detect absolute paths. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#1511, 1508
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: mod_status display header didn't match fields. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a6dbd6b6604e27ae3c7190de20dbcaaa6e5a1fd8Andreas Gustafsson *) The pthread_mutex_* functions return an error code, and don't
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews set errno. [Igor Tatarinov <tatarino@prairie.NoDak.edu>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
383665e42ad838046472e847b16c4e0d3f1aaf76Bob Halley *) WIN32: Allow spaces to prefix the interpreter in #! lines.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ben Laurie] PR#1101
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Cure file leak in CGIs. [Peter Tillemans <pti@net4all.be>] PR#1523
383665e42ad838046472e847b16c4e0d3f1aaf76Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) proxy_ftp: the directory listings generated by the proxy ftp module
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews now have a title in which the path components are clickable and allow
6b5a6fbe1cc0ceb7e2b516aaada596b79360a5b8Bob Halley quick navigation to the clicked-on directory on the currently listed
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ftp server. This also fixes a bug where the ".." directory links would
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews sometimes refer to the wrong directory. [Martin Kraemer]
ba6fd2580863759baedd9c47153602b19006a324Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Allocate the correct amount of memory for the scoreboard.
ba6fd2580863759baedd9c47153602b19006a324Andreas Gustafsson [Ben Hyde] PR#1387
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Only lowercase the part of the path that is real. [Ben Laurie]
ba6fd2580863759baedd9c47153602b19006a324Andreas Gustafsson PR#1505
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
850d70818503ca1b0f98c9c70b16b51e789fd705Andreas Gustafsson *) Fix problems with timeouts in inetd mode and -X mode. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix the spurious "(0)unknown error: mmap_handler: mmap failed"
dd16d9d9e77c2d906ee5ffa3dd9f71cacfbcb081Brian Wellington error messages. [Ben Hyde]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d3a86da2e8f09e2c3f55721aae537b9cacc7e537Andreas GustafssonChanges with Apache 1.3b3
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Work around brain-damaged spawn calls that can't deal
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with spaces and slashes. [Ben Laurie]
850d70818503ca1b0f98c9c70b16b51e789fd705Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Fix the code so CGIs can use socket calls on Windows.
3c82f274bd880a33fdaf211af4fe8f6b3d6ca556David Lawrence The problem was that certain undocumented environment variables
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews needed for sockets to work under Win32 were not being passed.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Frank Faubert <frank@sane.com>]
3c82f274bd880a33fdaf211af4fe8f6b3d6ca556David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add a "-V" command line flag to the httpd binary. This
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews flag shows some of the defines that Apache was compiled with.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews It is useful for debugging purposes. [Martin Kraemer]
3c82f274bd880a33fdaf211af4fe8f6b3d6ca556David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Start separating the ap_*() routines into their own library, so they
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews can be used by items in src/support among other things.
3c82f274bd880a33fdaf211af4fe8f6b3d6ca556David Lawrence [Ken Coar] PR#512, 905, 1252, 1308
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Give a more informative error when no AuthType is set.
5afc10d6d8278c9ab34b9f6c82ef7bb3bfefd0efAndreas Gustafsson [Lars Eilebrecht]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
78d78f05d91205cbde33ca87d24b8d13aa2d8d66Brian Wellington *) Remove strtoul() use from mod_proxy because it isn't available
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews on all platforms. [Marc Slemko] PR#1214
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Some Win32 systems terminated all responses after 16 kB.
5afc10d6d8278c9ab34b9f6c82ef7bb3bfefd0efAndreas Gustafsson This turns out to be a bug in Winsock - select() doesn't always
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews return the correct status. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Directives owned by http_core can now use the new check_cmd_context()
3f01dde0bd24561fc3a6c2f7e259a58af4457a86Brian Wellington routine to ensure that they're not being used within a container
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (e.g., <Directory>) where they're invalid. [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
626b221f7113479a0709f0bb0a8193c0ab0dcf84Andreas Gustafsson *) PORT: Recent changes made it necessary to add explicit prototype
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews for fgetc() and fgets() on SunOS 4.x. [Martin Kraemer, Ben Hyde]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) It was necessary to distinguish between resources which are
c379c1bddb2d84c9219ab6c394b33aa866b9f3bfAndreas Gustafsson allocated in the parent, for cleanup in the parent, and resources
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews which are allocated in each child, for cleanup in each child.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews A new pool was created which is passed to the module child_init
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson and child_exit functions; modules are free to register per-child
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews cleanups there. This fixes a bug with reliable piped logs.
ebfcb6cf66283096ebda1503b6cc042ce86b6bedBrian Wellington [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c379c1bddb2d84c9219ab6c394b33aa866b9f3bfAndreas Gustafsson *) mod_autoindex wasn't displaying the ReadmeName file at the bottom
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews unless it was also doing FancyIndexes, but it displayed the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews HeaderName file at the top under all circumstances. It now shows
dffdc24ffd76ef3d8c8141671e89fb39428fef06Brian Wellington the ReadmeName file for simple indices, too, as it should.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar] PR#1373
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) http_core was mmap()ing even in cases where it wasn't going to
17442ccc2b2e9c3b3bfc337f0fdfad6186fbb123Mark Andrews read the file. [Ben Hyde <bhyde@gensym.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
61b0df9eb522f13aef13cc2704728e799cbc251aMichael Sawyer *) Complete rewrite ;-) of mod_rewrite's URL rewriting engine:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Now the rewriting engine (the heart of mod_rewrite) is organized more
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews straight-forward, first time well documented and reduced to the really
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews essential parts. All redundant cases were stripped off and processing now
369bb68c2c7709c7fd8b0d6c1d1f8abc6422a7e2Michael Sawyer is the same for both per-server and per-directory context with only a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews minimum difference (the prefix stripping in per-dir context). As a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews side-effect some subtle restrictions and two recently discovered problems
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews are gone: Wrong escaping of QUERY_STRING on redirects in per-directory
3dcb97b199693012d12e978b8f577a339e434361Andreas Gustafsson context and restrictions on the substitution URL on redirects.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Additionally some minor source cleanups were done.
4ec1a96d90784f70380bdec66f8a0bd6718a5b71Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Lars Eilebrecht wrote a whole new set of Apache Vhost Internals
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews documentation, examples, explanations and caveats. They live in a new
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews subdirectory htdocs/manual/vhost/. [Lars Eilebrecht <sfx@unix-ag.org>]
fa3cbea8bfba19d1c11f9a6ad20f40a2c15377f0Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) If ap_slack fails to allocate above the low slack line it's a good
0fc89c4ee660e825ac66774f2d4912cfc396386aMark Andrews indication that further problems will occur; it's a better indication
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews than many external libraries give us when we actually run out of
e21d199dca95aff5d50f133d6b064309e209af00Brian Wellington descriptors. So report it to the user once per restart.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#1181
c03298d879554fc5dc197c28fd4b686e0d880ee3Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Change mod_include and mod_autoindex to use Y2K-safe date formats
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews by default. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
04c22ceaf2d3812eaab69d79958d0e0d62048cd2Mark Andrews *) Add a "SuppressColumnSorting" option to the IndexOptions list,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews which will keep the column heading from being links for sorting
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the display. [Ken Coar, suggested by Brian Tiemann <btman@pacific.net>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR #1261
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6ef15459b8fd3fc8b5672da4ad72c19a755dbe45Mark Andrews *) PORT: Update the LynxOS port. [Marius Groeger <mag@sysgo.de>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix logic error when issuing a mmap() failed message
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence with a non-zero MMAP_THRESHOLD.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [David Chambers <davidc@flosun.salk.edu>] PR#1294
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence *) Preserve handler value on ProxyPass'ed requests by not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews calling find_types on a proxy'd request; fixes problems
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews where some ProxyPass'ed URLs weren't actually passed
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews to the proxy.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Lars Eilebrecht] PR#870
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews *) Fix a byte ordering problem in mod_access which prevented
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the old-style syntax (i.e. "a.b.c." to match a class C)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews from working properly. [Dean Gaudet] PR#1248, 1328, 1384
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix problem with USE_FLOCK_SERIALIZED_ACCEPT not working
389c749a5ee18f1c0d6278ae49f2aae5d5f0d2dcMark Andrews properly. Each child needs to open the lockfile instead
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of using the passed file-descriptor from the parent.
051706a29a73416fbae116952dd6b6bdda765538Mark Andrews [Jim Jagielski] PR#1056
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix the error logging in mod_cgi; the recent error log changes
4b6d5b2312d1482cc406fe58fa3269dd7a915b3fMark Andrews introduced a bug that prevented it from working correctly.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [M.D.Parker] PR#1352
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Default to USE_FCNTL_SERIALIZED_ACCEPT on HPUX to properly
29c818c7d40fc8898b062903ec703851328a4deaMark Andrews handle multiple Listen directives. [Marc Slemko] PR#872
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b1cde6bf3a8e3a77eb77caf97df0d7ec5c8450dfBrian Wellington *) Inherit a bugfix to fnmatch.c from FreeBSD sources.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ["[KOI8-R] ������ ������" <ache@nagual.pp.ru>] PR#1311
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
28b7844ee93231da831ba3c090e1677bb1be5f18Andreas Gustafsson *) When a configuration parse complained about a bad directive,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the logger would use whatever (unrelated) value was in errno.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews errno is now forced to EINVAL first in this case. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A sed command in the Configure script pushed the edge of POSIXness,
37d1c8ee546ae89720c3e17e57ee3a05e9cdc7b9Brian Wellington breaking on some systems. [Bhaba R.Misra <system@vt.edu>] PR#1368
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Solaris >= 2.5 was totally broken due to a mess up using pthread
28b7844ee93231da831ba3c090e1677bb1be5f18Andreas Gustafsson mutexes. [Roy Fielding, Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) OS/2 Port updated; it should be possible to build OS/2 from the same
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews sources as Unix now. [Brian Havard <brianh@kheldar.apana.org.au>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix a year formatting bug in mod_usertrack.
78db9e8f4b686fde6dfa0ec85a68c06cc9d4bf28Brian Wellington [Paul Eggert <eggert@twinsun.com>] PR#1342
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A mild SIGTERM/SIGALRM race condition was eliminated.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#1211
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b20ee662a7c847c9ef7b96ab9e5e34543efe5c0dMark Andrews *) Warn user that default path has changed if /usr/local/etc/httpd
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is found on the system. [Lars Eilebrecht]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
f90fe7c8b9a3eef8968fac74905e868c8ab583a3Brian Wellington *) Various mod_mime_magic bug fixes and cleanups: Uncompression
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews should work, it should work on WIN32, and a few resource
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews leaks and abort conditions are fixed.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#1205
190fbe9738bd0c1b9b13732bb8bd56b2b7c71640David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: On AIX 1.x files can't be named '@', fix the proxy cache
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews to use '%' instead of '@' in its encodings.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [David Schuler <schuld@btv.ibm.com>] PR#1317
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Improve the warning message generated when the "server is busy".
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#1293
c40085afa75a5eae732ec1198384dd5cb24400b6Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: All ports which don't otherwise define DEF_WANTHSREGEX will
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews get Spencer regex by default. This is to avoid having to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews discover bugs in operating system libraries. [Dean Gaudet]
c40085afa75a5eae732ec1198384dd5cb24400b6Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: "Fix" PR#467 by generating warnings on systems which we have
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews not been able to get working USE_*_SERIALIZED_ACCEPT settings for.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Document this a bit more in src/PORTING. [Dean Gaudet] PR#467
c40085afa75a5eae732ec1198384dd5cb24400b6Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Ensure that one copy of config warnings makes it to the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews error_log. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Invent new structure and associated methods to handle config file
10258f6b3d1ce54ffb22e6b9a31f8f001f7ee2d5Mark Andrews reading. Add "custom" hook to use config file cfg_getline() on
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews something which is not a FILE* [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b38ebe307cb2411535c79afd441870a99cc50eddMark Andrews *) Make single-exe Windows install. [Ben Laurie and Eric Esselink]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Make CGI work under Win95. [Ben Laurie and Paul Sutton]
c2e0aac879097f81bcd31e3d09660a71e70c5fb0Michael Sawyer
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) WIN32: Make index.html and friends work under Win95. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
588b63e1a86fb707172830e14897da624ed380edMark Andrews *) PORT: Solaris 2.4 needs Spencer regex, the system regex is broken.
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews [John Line <jml4@cam.ac.uk>] PR#1321
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
bb17aa91c14de959b191a200df61afb6a68f110fBrian Wellington *) Default pathname has been changed everywhere to /usr/local/apache
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Sameer <sameer@c2.net>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
452d75b18f9d050086964fa39c326cf388517396Mark Andrews *) PORT: AIX now uses USE_FCNTL_SERIALIZED_ACCEPT.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [David Bronder <David-Bronder@uiowa.edu>] PR#849
2b4db0b6d4b5a0307cecbafdd1d34d6f61b7dbadMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: i386 AIX does not have memmove.
6850cdd4497424c9d42ade487edfde9fb9a47de9Brian Wellington [David Schuler <schuld@btv.ibm.com>] PR#1267
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: HPUX now defaults to using Spencer regex.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Philippe Vanhaesendonck <pvanhaes@be.oracle.com>,
2a37aa188c2297e0c0856c3e5740c43dd426a432Mark Andrews Omar Del Rio <al112263@academ01.lag.itesm.mx>] PR#482, 1246
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Some versions of NetBSD don't automatically define
6c87cf19970a9eef43c1e38227cd23b3a2f6151aMark Andrews __NetBSD__. Workaround by defining NETBSD.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Chris Craft <ccraft@cncc.cc.co.us>] PR#977
7869b99dc815e3b863351b8095d1b71b3f583541Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: UnixWare 2.x requires -lgen for syslog.
df1e829dde71ab960545453e4ae439ae601d5a9eMark Andrews [Hans Snijder <hs@meganet.nl>] PR#1249
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: ULTRIX appears to not have syslog.
df1e829dde71ab960545453e4ae439ae601d5a9eMark Andrews [Lars Eilebrecht <Lars.Eilebrecht@unix-ag.org>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Basic Gemini port (treat it like unixware212).
fb04db11ee6aad3ac3e023ab89b5f9d8a4d5674dMichael Sawyer ["Pavel Yakovlev (Paul McHacker)" <hac@tomcat.olly.ru>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: All SVR4 systems now use NET_SIZE_T = size_t, and
fb04db11ee6aad3ac3e023ab89b5f9d8a4d5674dMichael Sawyer use USE_SHMGET_SCOREBOARD.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
fb04db11ee6aad3ac3e023ab89b5f9d8a4d5674dMichael Sawyer *) Various improvements in detecting config file errors (missing closing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directives for <Directory>, <Files> etc. blocks, prohibiting global
fb04db11ee6aad3ac3e023ab89b5f9d8a4d5674dMichael Sawyer server settings in <VirtualHost> blocks, flagging unhandled multiple
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews arguments to <Directory>, <Files> etc.)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add support to suexec wrapper program for mod_unique_id's UNIQUE_ID
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews variable to provide this one to suexec'd CGIs, too.
e65fe7af00935a0a81d4b0b0ed51c7f6c89f5c3bAndreas Gustafsson [M.D.Parker <mdpc@netcom.com>] PR#1284
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) New support tool: src/support/split-logfile, a sample Perl script which
4bb3a1a63d7943564f30bf9efd312283141439a2Andreas Gustafsson splits up a combined access log into separate files based on the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews name of the virtual host (listed first in the log records by "%v").
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
e2b52099918681498136fc82df192d256cc3cdd3Brian WellingtonChanges with Apache 1.3b2 (there is no 1.3b1)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
389ec663f262cc219e986d6600eec9707ef2cb24Brian Wellington *) TestCompile was not passing $LIBS [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
e549eb1242b69ee050440e7205a5633cb56199b3Mark Andrews *) Makefile.tmpl was not using $CFLAGS in the link phase.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
88cef4408ab6b4c48702ed1b3ae27e20f485d864Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add debugging code to alloc.c. Defining ALLOC_DEBUG provides a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews rudimentary memory debugger which can be used on live servers with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews low impact -- it sets all allocated and freed memory bytes to 0xa5.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Defining ALLOC_USE_MALLOC will cause the alloc code to use malloc()
ff7e6f2791cc5ad7c5f401a184b88343fde5ec3cAndreas Gustafsson and free() for each object. This is far more expensive and should
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews only be used for testing with tools such as Electric Fence and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Purify. See main/alloc.c for more details. [Dean Gaudet]
693ddf84daa745a0ea8ca311a8154dfa03eabc43Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Configure uses a sh trap and didn't set its exitcode properly.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#1159
ff7e6f2791cc5ad7c5f401a184b88343fde5ec3cAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Yet another vhost revamp. Add the NameVirtualHost directive which
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews explicitly lists the ip:port pairs that are to be used for name-vhosts.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews From a given ip:port, regardless what the Host: header is, you can
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews only reach the vhosts defined on that ip:port. The precedence of
2bebe117bf96d7e24df4d703d6488d61a5179bcaMark Andrews vhosts was reversed to match other precedences in the config --
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the earlier vhosts override the later vhosts. All vhost matching was
4da10bce4bf64b574b59aa4fb5be0f237d0d41edBrian Wellington moved into http_vhost.[ch]. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3f123dcc2fe5d2cd08ca91b732741d86a4036906Brian Wellington *) ap_inline can be used to force inlining. GNUC __attribute__() can
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews be used for whatever reason is appropriate (i.e. format() warnings
16ea60d0dbbaf1206f4800cb16744ef568fd7be8Michael Sawyer for printf style functions). Both are enabled only with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews gcc >= 2.7.x (so that we have fewer support issues with older
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews versions). [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
85b23709431b1a84924fe2844f5cf657d1689eefMichael Sawyer *) Fix support for Proxy Authentication (we were testing the response
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews status too early). [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) CoreDumpDirectory directive directs where the core file is
d15f51c600ed29b2dc379c433fb226c3a13ac0bbAndreas Gustafsson written when a SIGSEGV, SIGBUS, SIGABORT or SIGABRT are
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews received. [Marc Slemko, Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Support for Atari MINT.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jan Paul Schmidt <Jan.P.Schmidt@mni.fh-giessen.de>]
aa2c453d3c6e416b56b29247bedd9a0af2721e93Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) When booting, apache will now detach itself from stdin, stdout,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and stderr. stderr will not be detached until after the config
e412ae947df6de858883564b8676a9650df70d9aMark Andrews files have been read so you will be able to see initial error
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews messages. After that all errors are logged in the error_log.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This makes it more convenient to start apache via rsh, ssh,
07a926724c0a91d85b85a94441938d0094e88cffMark Andrews or crontabs. [Dean Gaudet] PR#523
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_proxy was sending HTTP/1.1 responses to ftp requests by mistake.
07a926724c0a91d85b85a94441938d0094e88cffMark Andrews Also removed the auto-generated link to www.apache.org that was the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews source of so many misdirected bug reports. [Roy Fielding, Marc Slemko]
90023730de34721b8cd8f3b5d059a28b7a65cf04Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) send_fb would not detect aborted connections in some situations.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
922e6a3c2ac4ef900dd9dc99f0cc137f18372583Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_include would use uninitialized data when parsing certain
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews expressions involving && and ||. [Brian Slesinsky] PR#1139
280747fa7c1d4597d47f7be8ec5fb7c8980c1952Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_imap should only handle GET methods. [Jay Bloodworth]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
27d725f2b0f8d176d4625dc8b2ed71269b25c9a7Andreas Gustafsson *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_autoindex improperly counted &escapes; as more than one
337ca1838428c52bca3c72288342ce3dee550a04Andreas Gustafsson character in the description. It also improperly truncated
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews descriptions that were exactly the maximum length.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) RedirectMatch was not properly escaping the result (PR#1155). Also
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "RedirectMatch /advertiser/(.*) $1" is now permitted.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
6b0ce7d29fac9df84ed34aa2d4634e754aec750dAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_include now uses symbolic names to check for request success
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and return HTTP errors, and correctly handles all types of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews redirections (previously it only did temporary redirect correctly).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar, Roy Fielding]
c89ac488df58cf6a37918cd00236eedf015830f8Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_userdir was modifying r->finfo in cases where it wasn't setting
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews r->filename. Since those two are meant to be in sync with each other
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews this is a bug. ["Paul B. Henson" <henson@intranet.csupomona.edu>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c89ac488df58cf6a37918cd00236eedf015830f8Andreas Gustafsson *) PORT: Support Unisys SVR4, whose uname returns mostly useless data.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ["Kaufman, Steven E" <Steven.Kaufman@unisys.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
46a7e707fee6d7ba6ca6dae200ff6e0230f4d2f1Brian Wellington *) Inetd mode (which is buggy) uses timeouts without having setup the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews jmpbuffer. [Dean Gaudet] PR#1064
9d3ef72b37c7d23ce3aaaaa5cd0434b4e5ed5c12Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Work around problem under Linux where a child will start looping
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews reporting a select error over and over.
a7c76f1924d5fc914c579fd3b0276ffbddd2f65aMark Andrews [Rick Franchuk <rickf@transpect.net>] PR#1107, 987, 588
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c50a002bd1e36d13e95d74b43ed4a2b5d6fdcec3Mark Andrews *) Fixed error in proxy_util.c when looping through multiple host IP
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews addresses. [Lars Eilebrecht] PR#974
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c50a002bd1e36d13e95d74b43ed4a2b5d6fdcec3Mark Andrews *) If BUFFERED_LOGS is defined then mod_log_config will do atomic
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews buffered writes -- that is, it will buffer up to PIPE_BUF (i.e. 4k)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews bytes before writing, but it will never split a log entry across a
c50a002bd1e36d13e95d74b43ed4a2b5d6fdcec3Mark Andrews buffer boundary. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
07a46d6dca37ef96b6e9c1fc0c2789983d91819cAndreas Gustafsson *) API: the short_score record has been split into two pieces, one which
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the parent writes on, and one which the child writes on. As part of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews this change the get_scoreboard_info() function was removed, and
051beeafa6547440da17985665b31952b85ede56Brian Wellington scoreboard_image was exported. This change fixes a race condition
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in file based scoreboard systems, and speeds up changes involving the
cd73a1c823bc9feea603803a96a9e5f5da8bf33dMichael Sawyer scoreboard in earlier 1.3 development. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: New register_other_child() API (see http_main.h) which allows
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews modules to register children with the parent for maintenance. It
6d85ebc2d2ccbb8ef01c3ac1659686d3c2be0377Brian Wellington is disabled by defining NO_OTHER_CHILD. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b0796437d493ca2e083ab0ff02acf0dc0c8ad2a3David Lawrence *) API: New piped_log API (see http_log.h) which implements piped logs,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and will use register_other_child to implement reliable piped logs
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews when it is available. The reliable piped logs part can be disabled
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews by defining NO_RELIABLE_PIPED_LOGS. At the moment reliable piped
98b8d49c0c0bbace27966eed5811bc81255ce297Brian Wellington logs is only available on Unix. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
e42c402595802edceafbd3e5338dda011fbbcdb6Michael Sawyer *) API: set_last_modified() broken into set_last_modified(), set_etag(), and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews meets_conditions(). This allows conditional HTTP selection to be
3291587f23b940c986f41cf37b2e531f618ec2bdMichael Sawyer handled separately from the storing of the header fields, and provides
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the ability for CGIs to set their own ETags for conditional checking.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar, Roy Fielding] PR#895
3291587f23b940c986f41cf37b2e531f618ec2bdMichael Sawyer
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Changes to mod_log_config to allow naming of format strings.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Format nicknames are defined with "LogFormat fmt nickname", and can
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews be used with "LogFormat nickname" and "CustomLog logtarget nickname".
b374727d513049b4bfcb9eb021002595fe6a7c63Mark Andrews [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) New module, "mod_speling", which can help find files even when
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the URL is slightly misspelled. [Martin Kraemer, Alexei Kosut]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: New function child_terminate() triggers the child process to
2868291ab5d4deba4d61c110f92dc397807702c7Mark Andrews exit, while allowing the child finish what it needs to for the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews current request first.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Doug MacEachern, Alexei Kosut]
be1d71fd17c92b0acee36ba43ebe4daa498e8014Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Windows now defaults to using full status reports with mod_status.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Alexei Kosut] PR #1094
8e732de92e9814e3fa54e36d2154939ea6086b16Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) *Really* disable all mod_rewrite operations if the engine is off.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Some things (like RewriteMaps) were checked/performed even if they
afd2f40b3cff8c3c307155bdc27e5b60e9115545Andreas Gustafsson weren't supposed to be. [Ken Coar] PR #991
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Implement a new timer scheme which eliminates the need to call alarm() all
c605f30cd7d540243509c86cf31b01bdd4fe19feMark Andrews the time. Instead a counter in the scoreboard for each child is used to
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews show when the child has made forward progress. The parent samples this
c605f30cd7d540243509c86cf31b01bdd4fe19feMark Andrews counter every scoreboard maintenance cycle, and issues SIGALRM if no
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews progress has been made in the timeout period. This reduces the static
3302ed8d6eaef8f598338f5682477c5f6acd583cBob Halley request best-case syscall count to 22 from 29. This scheme is only
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews used by systems with memory-based scoreboards. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The proxy now properly handles CONNECT requests which are sent
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to proxy servers when using ProxyRemote. [Marc Slemko] PR#1024
d03bffc40e68ddb63d278946fd9f7f1ad784f5bcMichael Sawyer
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A script called apachectl has been added to the support
d03bffc40e68ddb63d278946fd9f7f1ad784f5bcMichael Sawyer directory. This script allows you to do things such as
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "apachectl start" and "apachectl restart" from the command
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews line. [Marc Slemko]
91ac60fe11b3ebd095c5fed0db343b2c9a97e646Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Modules and core routines are now put into libraries, which
83d2840b6f1a5ec898e441be148ddd3211f11583Bob Halley simplifies the link line tremendously (among other advantages).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Some of the MD5 names defined in Apache have been renamed to have
42e31e6ef7689e0c0569a1f9a5c250d73870b073Michael Graff an `ap_' prefix to avoid conflicts with routines supplied by
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews external libraries. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Removal of mod_auth_msql.c from the distribution. There are many
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews other options for databases today. Rather than offer one option,
a405a53d536521e6c93f47485aacd7c1a1ffb29eAndreas Gustafsson offer none at this time. mod_auth_msql and other SQL database
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews authentication modules can be found at the Apache Module Registry.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews http://modules.apache.org/ It would be nice to offer a generic
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_auth_sql option in the near future.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
53df51bf458da9b04074b6b62b5639c926a751e4Andreas Gustafsson *) PORT: BeOS support added [Alexei Kosut]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Configure no longer accepts the -make option, since it creates
ba43c53451d5c38765f376eeede457178b36951aBob Halley Makefile on the fly based on Makefile.tmpl and Configuration.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Apache now gracefully shuts down when it receives a SIGTERM, instead
b9dead30b1806bcfcca9a47dfa3f5078c6377910Mark Andrews of forcibly killing off all its processes and exiting without
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews cleaning up. [Alexei Kosut]
056141f2878d1046306ef0ba035263a00de57f98Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: A new field in the request_rec, r->mtime, has been added to
5126112bc3639b9dae5726c3148d6699d277e789Mark Andrews avoid gratuitous parsing of date strings. It is intended to hold
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the last-modified date of the resource (if applicable). An
4440f995911810aaa98d8985ac1a8192095879f2Michael Graff update_mtime() routine has also been added to advance it if
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews appropriate. [Roy Fielding, Ken Coar]
72c815ed1780b9039b9ad0d31faf68b3b5c05637Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: If a htaccess file can not be read due to bad permissions,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews deny access to the directory with a HTTP_FORBIDDEN. The previous
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews behavior was to ignore the htaccess file if it could not be read.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This change may make some setups with unreadable htaccess files
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews stop working. [Marc Slemko] PR#817
b7e031d5173476224027407d8e23eaa7557fc396Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add aplog_error() providing a mechanism to define levels of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews verbosity to the server error logging. This addition also provides
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the ability to log errors using syslogd. Error logging is configurable
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews on a per-server basis using the LogLevel directive. Conversion
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of log_*() in progress. [Randy Terbush]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Further enhance aplog_error() to not log filename, line number, and
7ec4367f3d578170a9495ff3c851b248c1656f08Andreas Gustafsson errno information when it isn't applicable. [Ken Coar, Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
2c9c7c5bb5975a18925c30aeb33a26094902f1c1Andreas Gustafsson *) WIN32: Canonicalise filenames under Win32. Short filenames are
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews converted to long ones. Backslashes are converted to forward
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews slashes. Case is converted to lower. Parts of URLs that do not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews correspond to files are left completely alone. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
4440f995911810aaa98d8985ac1a8192095879f2Michael Graff *) PORT: 2 new OSs added to the list of ports:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Encore's UMAX V: Arieh Markel <amarkel@encore.com>
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Acorn RISCiX: Stephen Borrill <sborrill@xemplar.co.uk>
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
4440f995911810aaa98d8985ac1a8192095879f2Michael Graff *) Add the server version (SERVER_VERSION macro) to the "server
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews configured and running" entry in the error_log. Also build an
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews object file at link-time that contains the current time
4440f995911810aaa98d8985ac1a8192095879f2Michael Graff (SERVER_BUILT global const char[]), and include that in the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews message. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Set r->headers_out when sending responses from the proxy.
abaec24086f0cc3d7c0994ca9d2247b40eb6aaedBrian Wellington This fixes things such as the logging of headers sent from
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the proxy. [Marc Slemko] PR#659
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) support/httpd_monitor is no longer distributed because the
3ad16d4c3a5029662d4ec804f7644739d011d03dBob Halley scoreboard should not be file based if at all possible. Use
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_status to see current server snapshot.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) (set_file_slot): New function, allowing auth directives to be
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews independent of the server root, so the server documents can be
32b2cdf212de957e3f9b0efca59f098ed4fb42deBrian Wellington moved to a different directory or machine more easily.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [David J. MacKenzie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) If no TransferLog is given explicitly, decline
b42a7e9d80e293a5104d9de6ddabd29676918aa5Andreas Gustafsson to log. This supports coexistence with other logging modules,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews such as the custom one that UUNET uses. [David J. MacKenzie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
7f52817a92d74be0d970c33b204f8f13309eece5Andreas Gustafsson *) Check for titles in server-parsed HTML files.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Ignore leading newlines and returns in titles. The old behavior
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of replacing a newline after <title> with a space causes the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews title to be misaligned in the listing. [David J. MacKenzie]
4b809ba3464c9fb6bb08e9153b9286a8f8a37b01Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Change mod_cern_meta to be configurable on a per-directory basis.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [David J. MacKenzie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add 'Include' directive to allow inclusion of configuration
1fc26319b5d69d19a7a31c8d0ab1afc2beef0c41Andreas Gustafsson files within configuration files. [Randy Terbush]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Proxy errors on connect() are logged to the error_log (nothing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews new); now they include the IP address and port that failed
7da0286b540515c82ea83163d6cba59a64fa3eddMichael Graff (*that's* new). [Ken Coar, Marc Slemko] PR#352
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Various architectures now define USE_MMAP_FILES which causes
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the server to use mmap() for static files. There are two
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews compile-time tunables MMAP_THRESHOLD (minimum number of bytes
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews required to use mmap(), default is 0), and MMAP_SEGMENT_SIZE (maximum
c4ec2c3190175705df255aa3d5e842a96137a5a1Andreas Gustafsson number of bytes written in one cycle from a single mmap()d object,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews default 32768). [Dean Gaudet]
8529c3cdc6abdf3514cb0127313a976bbc3b3936Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: Added post_read_request API phase which is run right after reading
87ecd67dae468cf5c9bae213c6fa321449b2ebc2Andreas Gustafsson the request from a client, or right after an internal redirect. It is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews useful for modules setting environment variables that depend only on
f38a84ce830efefe48838425ab281e0ae2a91d0eAndreas Gustafsson the headers/contents of the request. It does not run during subrequests
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews because subrequests inherit pretty much everything from the main
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews request. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
1b32bc7da1da9059abd68d6dd15b23e8a442afa3Brian Wellington *) Added mod_unique_id which is used to generate a unique identifier for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews each hit, available in the environment variable UNIQUE_ID.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
4187398298c1916f409b44e0457f60e551f5ea1bAndreas Gustafsson *) init_modules is now called after the error logs have been opened. This
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews allows modules to emit information messages into the error logs.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
4b809ba3464c9fb6bb08e9153b9286a8f8a37b01Brian Wellington *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews information for case where proxy module is not available. [Marc Slemko]
a69cebac84ec223b908e056678fa7c1181785b20Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Apache has need for mutexes to serialize its children around
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews accept. In prior versions either fcntl file locking or flock file
7d8d82cee0910a0252e1c37bace732e996789772Andreas Gustafsson locking were used. The method is chosen by the definition of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews USE_xxx_SERIALIZED_ACCEPT in conf.h. xxx is FCNTL for fcntl(),
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and FLOCK for flock(). New options have been added:
e5d0f6d61e2349e1512c40922305b28c69cb4d3fBrian Wellington - SYSVSEM to use System V style semaphores
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - PTHREAD to use POSIX threads (appears to work on Solaris only)
37a8fbab3a1fe6d513b767118cba7515152c2b9bBrian Wellington - USLOCK to use IRIX uslock
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Based on timing various techniques, the following changes were made
a38f86ea5bb9f924b5912d8444862000a1323082Andreas Gustafsson to the defaults:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Linux 2.x uses flock instead of fcntl
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Solaris 2.x uses pthreads
7d8d82cee0910a0252e1c37bace732e996789772Andreas Gustafsson - IRIX uses SysV semaphores -- however multiprocessor IRIX boxes
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews work far faster if you -DUSE_USLOCK_SERIALIZED_ACCEPT
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet, Pierre-Yves Kerembellec <Pierre-Yves.Kerembellec@vtcom.fr>,
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews Martijn Koster <m.koster@pobox.com>]
735fb4ffa6a76413f85101d7d625a4776d6ee6cdAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: The semantics of accept/select make it very desirable to use
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mutexes to serialize accept when multiple Listens are in use. But
d70e2f3652fcbcfb2cfa0781a71e2bd2396871f3Andreas Gustafsson in the case where only a single socket is open it is sometimes
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews redundant to serialize accept(). Not all unixes do a good job with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews potentially dozens of children blocked on accept() on the same
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews socket. It's now possible to define SINGLE_LISTEN_UNSERIALIZED_ACCEPT and
9139e153da3ffa88457d3e035e2f0132c63a4a71Andreas Gustafsson the server will avoid serialization when listening on only one socket,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and use serialization when listening on multiple sockets.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#467
30e6ea9dedbe0738f9729833b1b59042dbebc4dfBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Configure changes: TestLib replaced by TestCompile, which has
1aae88078f409b39c24e2313ffdd767ed29ac787Brian Wellington some additional capability (such as doing a sanity check of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the compiler and flags selected); the version of Solaris is now
17a28c1f02c5093b207a3b64201aa9e71df78ebaAndreas Gustafsson available via the #define value of SOLARIS2; IRIX n32bit libs
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews now supported and selectable by new Configuration Rule: IRIXN32;
b5232b135db580a2c16666e74a82f11130e0731fAndreas Gustafsson We no longer default to -O2 optimization. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Updated Configure: Configuration now uses AddModule to specify
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews module source or binary file location, relative to src directory.
87075c90f668f4c2f7a709a6bd32bb8e013ae73dBrian Wellington Modules can be dropped into modules/extra, or in their own
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directory, and modules can come with a Makefile or Configure can
cea88d887559f209ae9d993e0a8fb58d03f60e77Brian Wellington create one. Modules can add compiler or library information to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews generated Makefiles. [Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a7705f38e91cc6afaba0426f6b452c9ae5a4efeaAndreas Gustafsson *) Source core re-organisation: distributed modules are now in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews modules/standard. All other source code is in main. OS-specific
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews code is in os/{unix,emx,win32} directories. [Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_browser has been removed, since it's replaced by mod_setenvif.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix another long-standing bug in sub_req_lookup_file where it would
735fb4ffa6a76413f85101d7d625a4776d6ee6cdAndreas Gustafsson happily skip past access checks on subdirectories looked up with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews relative paths. (It's used by mod_dir, mod_negotiation,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and mod_include.) [Dean Gaudet]
c05eb51a1b9ebd156b9fec957d60c2579c968468Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) directory_walk optimization to reduce an O(N*M) loop to O(N+M) where
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews N is the number of <Directory> sections, and M is the number of
a3365e361f0066609d250005e2b1082cb2ba35fdAndreas Gustafsson components in the filename of an object.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews To achieve this optimization the following config changes were made:
e32394a2ac3466a2235f79ee32c247a11be42a8dAndreas Gustafsson - Wildcards (* and ?, not the regex forms) in <Directory>s,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <Files>s, and <Location>s now treat a slash as a special
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews character. For example "/home/*/public_html" previously would
031f9084fc1ca8b258c151f428677e7226556ad0Mark Andrews match "/home/a/andrew/public_html", now it only matches things
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews like "/home/bob/public_html". This mimics /bin/sh behaviour.
031f9084fc1ca8b258c151f428677e7226556ad0Mark Andrews - It's possible now to use [] wildcarding in <Directory>, <Files>
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews or <Location>.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Regex <Directory>s are applied after all non-regex <Directory>s.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix a bug introduced in 1.3a1 directory_walk regarding .htaccess files
44215b932d4f0ce5257d794cb6f76b9282455eb1Mark Andrews and corrupted paths. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Enhanced and cleaned up the URL rewriting engine of mod_rewrite:
44215b932d4f0ce5257d794cb6f76b9282455eb1Mark Andrews First the grouped parts of RewriteRule pattern matches (parenthesis!) can
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews be accessed now via backreferences $1..$9 in RewriteConds test-against
eea2865feca4ea56facd2ef6e7226386a3604f65Andreas Gustafsson strings in addition to RewriteRules subst string. Second the grouped
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews parts of RewriteCond pattern matches (parenthesis!) can be accessed now
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews via backreferences %1..%9 both in following RewriteCond test-against
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews strings and RewriteRules subst string. This provides maximum flexibility
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews through the use of backreferences.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Additionally the rewriting engine was cleaned up by putting common
6d8568cb45240974da0ee1b653b28e3fdfffe93eAndreas Gustafsson code to the new expand_backrefs_inbuffer() function.
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) When merging the main server's <Directory> and <Location> sections into
6d3f954c572db02159deedd444373161fda47a88Brian Wellington a vhost, put the main server's first and the vhost's second. Otherwise
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the vhost can't override the main server. [Dean Gaudet] PR#717
b0f941a50f24656b3523609f86cead41b0269c7aBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The <Directory> code would merge and re-merge the same section after
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a match was found, possibly causing problems with some modules.
ea419adc4eca4c3e44f2c282035b5dce6b795fe2Andreas Gustafsson [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) ip-based vhosts are stored and queried using a hashing function, which
eea2865feca4ea56facd2ef6e7226386a3604f65Andreas Gustafsson has been shown to improve performance on servers with many ip-vhosts.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Some other changes had to be made to accommodate this:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - the * address for vhosts now behaves like _default_
886b96ebfd555cfeaf37ae46fc08421a41c61392Andreas Gustafsson - the matching process now is:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - match an ip-vhost directly via hash (possibly matches main
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews server)
674f1cfb1d7dfa92e52db950dbe80e60ef8f5cddBrian Wellington - if that fails, just pretend it matched the main server
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - if so far only the main server has been matched, perform
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews name-based lookups (ServerName, ServerAlias, ServerPath)
da76a8046e01e1c1c2e6f75772afb2c4f202cc25Brian Wellington *only on name-based vhosts*
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - if they fail, look for _default_ vhosts
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet, Dave Hankins <dhankins@sugarat.net>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
cd7ffa4c1286a48c10056632be3fb0b64c575c35Brian Wellington *) dbmmanage overhaul:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - merge dbmmanage and dbmmanage.new functionality, remove dbmmanage.new
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - tie() to AnyDBM_File which will use one of DB_File, NDBM_File or
0cff88818a96197995c3533f6cbfb1a0efc06db0Brian Wellington GDBM_File (-ldb, -lndbm, -lgdbm) (trying each in that order)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - provide better seed for rand
5bba7216f3263dc49dd4db2ac64b6203a9e2b180Andreas Gustafsson - prompt for password as per getpass(3) (turn off echo, read from
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews /dev/tty, etc.)
e06aebbe7b5b3128f99b16d6756a074b4de28d37Mark Andrews - use "newstyle" crypt based on $Config{osname} ($^O)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - will not add a user if already in database, use new `update' command
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews instead
40b1b44ed65b9655a135fc867ed9f0374c247ad4Andreas Gustafsson - added `check' command to check a users' password
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - added `import' command to convert existing password text-files or
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews dbm files exported with `view'
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - more descriptive usage, general cleanup, 'use strict' clean, etc.
ab8668fb583a92df0698f5cdac7e7b12ead614aaBrian Wellington [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added psocket() which is a pool form of socket(), various places within
575db903aabb08137a757d1c60ebb0d286ecff56Andreas Gustafsson the proxy weren't properly blocking alarms while registering the cleanup
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews for its sockets. bclose() now uses pclose() and pclosesocket(). There
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews was a bug where the client socket was being close()d twice due a still
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews registered cleanup. [Dean Gaudet]
575db903aabb08137a757d1c60ebb0d286ecff56Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) A few cleanups were made to reduce time(), getpid(), and signal() calls.
a4c55a3d0813e00e3d7846cc9736110c61d0a2baAndreas Gustafsson [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c851f1cc2187b59687af94725fbacac022987d05Andreas Gustafsson *) PORT: AIX >= 4.2 requires -lm due to libc changes.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jason Venner <jason@idiom.com>] PR#667
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
91614f2bc498ef7eea22e449c91951f4598c8223Andreas Gustafsson *) Enable ``=""'' for RewriteCond directives to match against
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the empty string. This is the preferred way instead of ``^$''.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
512661edd7d51c8c179cce89a855df6cec2fcdcdMark Andrews *) Fixed an infinite loop in mod_imap for references above the server root
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews [Dean Gaudet] PR#748
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
385a9cb48a70b329e507c39d043fa9a44c659913James Brister *) mod_proxy now has a ReceiveBufferSize directive, similar to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews SendBufferSize, so that the TCP window can be set appropriately
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews for LFNs. [Phillip A. Prindeville]
385a9cb48a70b329e507c39d043fa9a44c659913James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_browser has been replaced by the more general mod_setenvif
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (courtesy of Paul Sutton). BrowserMatch* directives are still
bd77de5fcaea4dcf2f0250ded32adfccd3a38256Brian Wellington available, but are now joined by SetEnvIf*, UnSetEnvIf*, and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews UnSetEnvIfZero directives. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
48674819ebf9176b5d5582ae851e485c324c1159Michael Sawyer *) "HostnameLookups double" forces double-reverse DNS to succeed in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews order for remote_host to be set (for logging, or for the env var
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews REMOTE_HOST). The old define MAXIMUM_DNS has been deprecated.
48674819ebf9176b5d5582ae851e485c324c1159Michael Sawyer [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9594482ba300a4d694162fa62ba636c7dd00d3b6Brian Wellington *) mod_access overhaul:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Now understands network/netmask syntax (i.e. 10.1.0.0/255.255.0.0)
47ddde42728034854444cf17e278cebaea06f666Michael Graff and cidr syntax (i.e. 10.1.0.0/16). PR#762
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Critical path was sped up by pre-computing a few things at config time.
5613bf7de9760875da9f5fbc6ffcd93e0af967ffMark Andrews - The undocumented syntax "allow user-agents" was removed,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the replacement is "allow from env=foobar" combined with mod_browser.
edf8c55546efa9fb42da1c055ce02462a5c709c0David Lawrence - When used with hostnames it now forces a double-reverse lookup
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews no matter what the directory settings are. This double-reverse
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews doesn't affect any of the other routines that use the remote
c5944292e9ebee4a39fe939b9a16fe5596808556David Lawrence hostname. In particular it's still passed to CGIs and the log
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews without the double-reverse check. Related PR#860.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) When a large bwrite() occurs (larger than the internal buffer size),
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews while there is already something in the buffer, apache will combine
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the large write and the buffer into a single writev(). (This is
c5944292e9ebee4a39fe939b9a16fe5596808556David Lawrence in anticipation of using mmap() for reading files.)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
36e0c379080343a0272dc076b7d7795ded04ee1dBrian Wellington *) In obscure cases where a partial socket write occurred while chunking,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Apache would omit the chunk header/footer on the next block. Cleaned
529a6b5224d751504027293a766a4c8b81241869Brian Wellington up other bugs/inconsistencies in error conditions in buff.c. Fixed
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a bug where a long pause in DNS lookups could cause the last packet
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of a response to be unduly delayed. [Roy Fielding, Dean Gaudet]
862a026a7d752fbc8b376df6f7a9080d7c778b49Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: Added child_exit function to module structure. This is called
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews once per "heavy-weight process" just before a server child exit()'s
677045ed612e1c26a32b5700479e26c25bcede58Brian Wellington e.g. when max_requests_per_child is reached, etc.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Doug MacEachern, Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
febf5f8b55abb2e6e840488a29a5ef4e20654f67David Lawrence *) mod_include cleanup showed that handle_else was being used to handle
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews endif. It didn't cause problems, but it was cleaned up too.
c34bdef6bd197a04990e52469ad68481532dd35aAndreas Gustafsson [Howard Fear]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_cern_meta would attempt to find meta files for the directory itself
dc2c974dcf954a0a238d1afb886c445d06b1aa8bBrian Wellington in some cases, but not in others. It now avoids it in all cases.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a32738e3e4ed9619c8ace22cd119e6769176b22cAndreas Gustafsson *) mod_mime_magic would core dump if there was a decompression error.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer <Martin.Kraemer@mch.sni.de>] PR#904
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6dc130c7c95107748fff5f767161c2bb742f9f87Brian Wellington *) PORT: some variants of DGUX require -lsocket -lnsl
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Alexander L Jones <alex@systems-options.co.uk>] PR#732
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
49855f0856a0f6f9fed80af88faddf38f3e74eefAndreas Gustafsson *) mod_autoindex now allows sorting of FancyIndexed directory listings
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews by the various fields (name, size, et cetera), either in ascending
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews or descending order. Just click on the column header. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
dc2c974dcf954a0a238d1afb886c445d06b1aa8bBrian Wellington *) PORT: Various tweaks to eliminate pointer-int casting warnings on 64-bit
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews CPUs like the Alpha. Apache still stores ints in pointers, but that's
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the relatively safe direction. [Dean Gaudet] PR#344
d4ab9cd94f0fe0cf24ba36d21240215ae648c8d5James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: QNX mmap() support for faster/more reliable scoreboard handling.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Igor N Kovalenko <infoh@mail.wplus.net>] PR#683
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
080a4fe83c3ad208073bffbce1a2af8fe444214fMichael Sawyer *) child_main avoids an unneeded call to select() when there is only one
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews listening socket. [Dean Gaudet]
36007b707f28f36864e8d76f11379b22e9737538Michael Sawyer
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) In the event that the server is starved for idle servers it will
9bef4575d71a084edf59ac681e53e35ae1b72166Andreas Gustafsson spawn 1, then 2, then 4, ..., then 32 servers each second,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews doubling each second. It'll also give a warning in the errorlog
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews since the most common reason for this is a poor StartServers
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews setting. The define MAX_SPAWN_RATE can be used to raise/lower
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the maximum. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Apache now provides an effectively unbuffered connection for
9bef4575d71a084edf59ac681e53e35ae1b72166Andreas Gustafsson CGI scripts. This means that data will be sent to the client
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews as soon as the CGI pauses or stops output; previously, Apache would
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews buffer the output up to a fixed buffer size before sending, which
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews could result in the user viewing an empty page until the CGI finished
87f4c7933fd2962cca3b9b7e046327f3c6306b84Andreas Gustafsson or output a complete buffer. It is no longer necessary to use an
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "nph-" CGI to get unbuffered output. Given that most CGIs are written
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in a language that by default does buffering (e.g. perl) this
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews shouldn't have a detrimental effect on performance.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
87f4c7933fd2962cca3b9b7e046327f3c6306b84Andreas Gustafsson "nph-" CGIs, which formerly provided a direct socket to the client
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews without any server post-processing, were not fully compatible with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews HTTP/1.1 or SSL support. As such they would have had to implement
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the transport details, such as encryption or chunking, in order
10e6498d6d7b2cfd8d822788d817fc9a3e0b0c3aDavid Lawrence to work properly in certain situations. Now, the only difference
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews between nph and non-nph scripts is "non-parsed headers".
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet, Sameer Parekh, Roy Fielding]
10e6498d6d7b2cfd8d822788d817fc9a3e0b0c3aDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) If a BUFF is switched from buffered to unbuffered reading the first
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews bread() will return whatever remained in the buffer prior to the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews switch. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
dae5ce6ddb0a3c425865d3b6f0f13c4126eacc17Andreas GustafssonChanges with Apache 1.3a1
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added another Configure helper script: TestLib. It determines
9a8fea7bc8fb79ff1d31f0a2ba3c9694041c6f3aAndreas Gustafsson if a specified library exists. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Allow for use of n32bit libraries under IRIX 6.x
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [derived from patch from Jeff Hayes <jhayes@aw.sgi.com>]
663841abe0bb1cc8040e552597ef721c35b799e5Brian Wellington PR#721
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c49e3222b0912479015161e8b54a67a1abf9a0ffAndreas Gustafsson *) PORT: Some architectures use size_t for various lengths in network
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews functions such as accept(), and getsockname(). The definition
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews NET_SIZE_T is used to control this. [Dean Gaudet]
bf68c5151b5c4f7d6b2783584434e61045a88d7fAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Linux: Attempt to detect glibc based systems and include crypt.h
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and -lcrypt. Test for various db libraries (dbm, ndbm, db) when
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_auth_dbm or mod_auth_db are included. [Dean Gaudet]
178f73169a27ac031f58863ae12cdb33dc15f6c4Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: QNX doesn't have initgroups() which support/suexec.c uses.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Igor N Kovalenko <infoh@mail.wplus.net>]
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
64024eaa4d029b0bd090c435b8b02b45eef5cd89Andreas Gustafsson begin with. "nokeepalive" now works for HTTP/1.1 clients. Added
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews "downgrade-1.0" which causes Apache to pretend it received a 1.0.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] related PR#875
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
da527e4ff6a013364826637963e7ac372e024f33David Lawrence *) API: Correct child_init() slot declaration from int to void, to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews match the init() declaration. Update mod_example to use the new
8d51d9e67e1e5dcf10203c4147ece519c7daa57dMark Andrews hook. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
30576c592b538cab293cf6e1f6265d376cd5a12cAndreas Gustafsson *) added transport handle slot (t_handle) to the BUFF structure
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) get_client_block() returns wrong length if policy is
ce2be9b7211ab5bacaa10fe74ef35def3a3f6089David Lawrence REQUEST_CHUNKED_DECHUNK.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#815
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Support the image map format of FrontPage. For example:
9bf765ab3a5203b854d32266e6162e547791383cDavid Lawrence rect /url.hrm 10 20 30 40
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ["Chris O'Byrne" <obyrne@iol.ie>] PR#807
f4d9f465cd29963a99554bbe2936509ea3568c89James Brister
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) PORT: -lresolv and -lsocks were in the wrong order for Solaris.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ["Darren O'Shaughnessy" <darren@aaii.oz.au>] PR#846
adade77942b069127a7094df419b3ad39dafb385James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) AddModuleInfo directive for mod_info which allows you to annotate
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the output of mod_info. ["Lou D. Langholtz" <ldl@usi.utah.edu>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added NoProxy directive to avoid using ProxyRemote for selected
ce8d0fffea20fe03fd0f075263f529ad55f82aacAndreas Gustafsson addresses. Added ProxyDomain directive to cause unqualified
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews names to be qualified by redirection.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Martin Kraemer <Martin.Kraemer@mch.sni.de>]
ea01648cb950b8d4b5625a8a91a4c1c019dec885Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Support Proxy Authentication, and don't pass the Proxy-Authorize
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews header to the remote host in the proxy. [Sameer Parekh and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Wallace]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Upgraded mod_rewrite from 3.0.6+ to latest officially available version
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 3.0.9. This upgrade includes: fixed deadlooping on rewriting to same
7d7bd1b4f0270691f434d37b1052259a13185663Andreas Gustafsson URLs, fixed rewritelog(), fixed forced response code handling on
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews redirects from within .htaccess files, disabled pipe locking under
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews braindead SunOS 4.1.x, allow env variables to be set even on rules with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews no substitution, bugfixed situations where HostnameLookups is off, made
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_rewrite more thread-safe for NT port and fixed problem when creating
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews an empty query string via "xxx?".
81f11a70588c6929d1aefd529b940efb70747fc2Andreas Gustafsson This update also removes the copyright of Ralf S. Engelschall,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews i.e. now mod_rewrite no longer has a shared copyright. Instead is is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews exclusively copyrighted by the Apache Group now. This happened because
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the author now has gifted mod_rewrite exclusively to the Apache Group and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews no longer maintains an external version.
04d58db32739157df6c44e3f37ecb83816fd3f75Andreas Gustafsson [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) API: Added child_init function to module structure. This is called
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews once per "heavy-weight process" before any requests are handled.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews See http_config.h for more details. [Dean Gaudet]
5096958739769958dd7a6b69356bf41260033873David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Anonymous_LogEmail was logging on each subrequest.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#421, 868
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: Added is_initial_req() which tests if the request being
84f4e4a656926a795f3bae40b2a6308bebb48b49David Lawrence processed is the initial request, or a subrequest.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
838281ed55d0d3939c2f510559d5852872ed4ddbDavid Lawrence *) Extended SSI (mod_include) now handles additional relops for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews string comparisons (<, >, <=, and >=). [Bruno Wolff III] PR#41
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
89e57b472d87a37aa6c49a5544d1d1dfe9617f5dDavid Lawrence *) Configure fixed to correctly propagate user-selected options and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews settings (such as CC and OPTIM) to Makefiles other than
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews src/Makefile (notably support/Makefile). [Ken Coar] PR#666, #834
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d1e971ba027a8d320cc87a02a71158970bd03308Mark Andrews *) IndexOptions SuppressHTMLPreamble now causes the actual HTML of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directory indices to start with the contents of the HeaderName file
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews if there is one. If there isn't one, the behaviour is unchanged.
d1e971ba027a8d320cc87a02a71158970bd03308Mark Andrews [Ken Coar, Roy Fielding, Andrey A. Chernov]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
475c936d4cd0fb83700eb3e022aaecc5626b9b4fJames Brister *) WIN32: Modules can now be dynamically loaded DLLs using the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews LoadModule/LoadFile directives. Note that module DLLs must be
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews compiled with the multithreaded DLL version of the runtime library.
d8c8722f28ca439b9ca46f109e2804a7eb33a1acBrian Wellington [Alexei Kosut and Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Automatic indexing removed from mod_dir and placed into mod_autoindex.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This allows the admin to completely remove automatic indexing
4b7167e96abe79cdf194ac3865760a7139b70090Brian Wellington from the server, while still supporting the basic functions of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews trailing-slash redirects and DirectoryIndex files. Note that if
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews you're carrying over an old Configuration file and you use directory
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews indexing then you'll want to add:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a4b496f2abd35b0f27761385c8679de1f5714b0dBrian Wellington Module autoindex_module mod_autoindex.o
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews before mod_dir in your Configuration. [Dean Gaudet]
952e9025b0ecd20e6c7f7852551e36bb9677f713James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) popendir/pclosedir created to properly protect directory scanning.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#525
952e9025b0ecd20e6c7f7852551e36bb9677f713James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) AliasMatch, ScriptAliasMatch and RedirectMatch directives added,
952e9025b0ecd20e6c7f7852551e36bb9677f713James Brister giving regex support to mod_alias. <DirectoryMatch>, <LocationMatch>
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and <FilesMatch> sections added to succeed <DirectoryMatch ~>, etc...
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Alexei Kosut]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The AccessFileName directive can now take more than one filename.
de8e189332e884db065b921f84e3ee4922ad10e3David Lawrence ["Lou D. Langholtz" <ldl@usi.utah.edu>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The new mod_mime_magic can be used to "magically" determine the type
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of a file if the extension is unknown. Based on the unix file(1)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews command. [Ian Kluft <ikluft@cisco.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) We now determine and display the time spent processing a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews request if desired. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_status: PID field of "dead" child slots no longer displays
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews main httpd process's PID. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Makefile.nt added - to build all the bits from the command line:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews nmake -f Makefile.nt
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Doesn't yet work properly. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Default text of 404 error is now "Not Found" rather than the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews potentially misleading "File Not Found". [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) CONFIG: "HostnameLookups" now defaults to off because it is far better
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews for the net if we require people that actually need this data to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews enable it. [Linus Torvalds]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) directory_walk() is an expensive function, keep a little more state to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews avoid needless string counting. Add two new functions make_dirstr_parent
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and make_dirstr_prefix which replace all existing uses of make_dirstr.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews The new functions are a little less general than make_dirstr, but
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews work more efficiently (less memory, less string counting).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) EXTRA_LFLAGS was changed to EXTRA_LDFLAGS (and LFLAGS was changed
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to LDFLAGS) to avoid complications with lex rules in make files.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#372
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) run_method optimized to avoid needless scanning over NULLs in the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews module list. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Revamp of (unix) scoreboard management code such that it avoids
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews unnecessary traversals of the scoreboard on each hit. This is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews particularly important for high volume sites with a large
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews HARD_SERVER_LIMIT. Some of the previous operations were O(n^2),
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and are now O(n). See also SCOREBOARD_MAINTENANCE_INTERVAL in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews httpd.h. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) In configurations using multiple Listen statements it was possible for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews busy sockets to starve other sockets of service. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added hook so standalone_main can be replaced at compile time
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (define STANDALONE_MAIN)
202991557a4b7e8d3df7725d84f0fcae90dbaee6David Lawrence [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Lowest-level read/write functions in buff.c will be replaced with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the SFIO library calls sfread/sfwrite if B_SFIO is defined at
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews compile time. The default sfio discipline will behave as apache
1c823819b73f17cbfd188d35962da196a48190fbAndreas Gustafsson would without sfio compiled in.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Doug MacEachern]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Enhance UserDir directive (mod_userdir) to accept a list of
428b78e56dc10ea220fadfed11242ceb1d51d0e3Andreas Gustafsson usernames for the 'disable' keyword, and add 'enable user...' to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews selectively *en*able userdirs if they're globally disabled.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b719a598e77aada962b3a05cb00179dc929d3939Andreas Gustafsson *) If NETSCAPE_DBM_COMPAT is defined in EXTRA_CFLAGS then Apache
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews will work with Netscape dbm files. (dbmmanage will probably not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews work however.) [Alexander Spohr <aspohr@netmatic.com>] PR#444
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
428b78e56dc10ea220fadfed11242ceb1d51d0e3Andreas Gustafsson *) Add a ListenBacklog directive to control the backlog parameter
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews passed to listen(). Also change the default to 511 from 512.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: A new handler response DONE which informs apache that the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews request has been handled and it can finish off quickly, similar to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews how it handles errors. [Rob Hartill]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
323b6387ce2575627427859b8668e7f27f090c4cMark Andrews *) Turn off chunked encoding after sending terminating chunk/footer
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews so that we can't do it twice by accident. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_expire also issues Cache-Control: max-age headers.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Rob Hartill]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: Added kill_only_once option for free_proc_chain so that it won't
d68e4b66b1075e556b480f8bfb607aeba5da46f6Andreas Gustafsson aggressively try to kill off specific children. For fastcgi.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Stanley Gambarin <gambarin@OpenMarket.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_auth deals with extra ':' delimited fields. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added IconHeight and IconWidth to mod_dir's IndexOptions directive.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews When used together, these cause mod_dir to emit HEIGHT and WIDTH
e44d56866bd609e066380cbef414e6ce11a08976Andreas Gustafsson attributes in the FancyIndexing IMG tags. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Sequent and SONY NEWS-OS support added. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
84c4c99c9e2cf14fb9ef6f6815a9fdb824475423Michael Sawyer *) PORT: Added Windows NT support
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ben Laurie and Ambarish Malpani <ambarish@valicert.com>]
f204bdd8e6703ff0ef1adf0a2c407202418a936dDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.2.6
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_include when using XBitHack Full would send ETags in addition to
f204bdd8e6703ff0ef1adf0a2c407202418a936dDavid Lawrence sending Last-Modifieds. This is incorrect HTTP/1.1 behaviour.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#1133
f204bdd8e6703ff0ef1adf0a2c407202418a936dDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: When a client connects to a particular port/addr, and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews gives a Host: header ensure that the virtual host requested can
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews actually be reached via that port/addr. [Ed Korthof <ed@organic.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Support virtual hosts with wildcard port and/or multiple ports
8b31f5630f6345f686449f8a84c33c0813283e42Andreas Gustafsson properly. [Ed Korthof <ed@organic.com>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed some case-sensitivity issues according to RFC2068.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
13c32cb589e571e9204dbb091e145809288c9c21David Lawrence *) Set r->allowed properly in mod_asis.c, mod_dir.c, mod_info.c,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and mod_include.c. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Variable 'cwd' was being used pointlessly before being set.
822f118444dcaddaf977bc73e958b2f755e4ddfdAndreas Gustafsson [Ken Coar] PR#1738
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SIGURG doesn't exist on all platforms.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Mark Andrew Heinrich <heinrich@tinderbox.Stanford.EDU>]
822f118444dcaddaf977bc73e958b2f755e4ddfdAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) When an error occurs during a POST, or other operation with a
8775909be9fc67180fc480115716f88174e74471James Brister request body, the body has to be read from the net before allowing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a keepalive session to continue. [Roy Fielding] PR#1399
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
406ce0cd9633188a79c008e8f7c8092fa54bc98cJames Brister *) When an error occurs in fcntl() locking suggest the user look up
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the docs for LockFile. [Dean Gaudet]
a797a75953e21b514427d188bf5d5051419c10adBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) table_set() and table_unset() did not deal correctly with
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews multiple occurrences of the same key. [Stephen Scheck
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <sscheck@infonex.net>, Ben Laurie] PR#1604
17d91fddb33cc6e0bf2dfacf7156bb1ebba197d8David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) send_fd_length() did not calculate total_bytes_sent properly in error
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews cases. [Ben Reser <breser@regnow.com>] PR#1366
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) r->connection->user was allocated in the wrong pool causing corruption
a38e5f0695a8ddf0b3cbb70b5a172a5c6dce994bDavid Lawrence in some cases when used with mod_cern_meta. [Dean Gaudet] PR#1500
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_proxy was sending HTTP/1.1 responses to ftp requests by mistake.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Also removed the auto-generated link to www.apache.org that was the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews source of so many misdirected bug reports. [Roy Fielding, Marc Slemko]
c244584cad2a71276e60919bf2c80c7d79dc073bDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Multiple "close" tokens may have been set in the "Connection"
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews header, not an error, but a waste.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ronald.Tschalaer@psi.ch] PR#1683
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) "basic" and "digest" auth tokens should be tested case-insensitive.
abeb505bb6c1400dde1a40d0bff7b3a435666e1cMark Andrews [Ronald.Tschalaer@psi.ch] PR#1599, PR#1666
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
57b3597444bc8716459f0fb3022b2c12f4eee2aeAndreas Gustafsson *) It appears the "257th byte" bug (see
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews htdocs/manual/misc/known_client_problems.html#257th-byte) can happen
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews at the 256th byte as well. Fixed. [Dean Gaudet]
99524919752c9b9abe1814007732b86592011cc1Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_rewrite would not handle %3f properly in some situations.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf Engelschall]
26c86a6fc85c89447d23d4a3e34b11157a2ff6f4Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Apache could generate improperly chunked HTTP/1.1 responses when
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the bputc() or rputc() functions were used by modules (such as
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews mod_include). [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b3157263ee12a5792737f09b708d3fc65ca99e01Andreas Gustafsson *) #ifdef wrap a few #defines in httpd.h to make life easier on
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews some ports. [Ralf Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix MPE compilation error in mod_usertrack.c. [Mark Bixby]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Quote CC='$(CC)' to improve recurse make calls. [Martin Kraemer]
b90d3f516fd62514ff0b06a6ee0311d7ab5fbbb4Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Avoid B_ERROR redeclaration on sysvr4 systems. [Martin Kraemer]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b35a009df86b4aa3793e87602c95af2a503ec0eeMark AndrewsChanges with Apache 1.2.5
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
7bb1e299e133de5d530aa4cb545f4130aabf5235Andreas Gustafsson *) SECURITY: Fix a possible buffer overflow in logresolve. This is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews only an issue on systems without a MAXDNAME define or where
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the resolver returns domain names longer than MAXDNAME. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
482b9dae17bc5dc4e51b78d3c5b1a18c7c1adae9Andreas Gustafsson *) Fix an improper length in an ap_snprintf call in proxy_date_canon().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix core dump in the ftp proxy when reading incorrectly formatted
34ea3c6fd940a8514b5ec609491f823263a735c7Michael Sawyer directory listings. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3c671ac666de8a7dcd7bd02afa20968da0b85bbdMark Andrews *) SECURITY: Fix possible minor buffer overflow in the proxy cache.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Marc Slemko]
3c671ac666de8a7dcd7bd02afa20968da0b85bbdMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: Eliminate possible buffer overflow in cfg_getline, which
3c671ac666de8a7dcd7bd02afa20968da0b85bbdMark Andrews is used to read various types of files such as htaccess and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews htpasswd files. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: Ensure that the buffer returned by ht_time is always
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews properly null terminated. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
58c42ee18c186b2151ced62f64aa4ca23cff4a1dJames Brister *) SECURITY: General mod_include cleanup, including fixing several
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews possible buffer overflows and a possible infinite loop. This cleanup
58c42ee18c186b2151ced62f64aa4ca23cff4a1dJames Brister was done against 1.3 code and then backported to 1.2, the result
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews is a large difference (due to indentation cleanup in 1.3 code).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Users interested in seeing a smaller set of relevant differences
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews should consider comparing against src/modules/standard/mod_include.c
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews from the 1.3b3 release. Non-indentation changes to mod_include
5dc6a24e8b6808f03e7a9bc6530d646ebba927dbMark Andrews between 1.2 and 1.3 were minimal. [Dean Gaudet, Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
242dfd9cc6901a5e02dae94acdecdb91e78ea07cMark Andrews *) SECURITY: Numerous changes to mod_imap in a general cleanup
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews including fixing a possible buffer overflow. This cleanup also
77771185071bf74d53378f1a3099a04d2af5153eBrian Wellington was done with 1.3 code as a basis, see the the previous note
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews about mod_include. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: If a htaccess file can not be read due to bad
0d5d8e2bbf2c0c129f0416f24758a0925ce12be8James Brister permissions, deny access to the directory with a HTTP_FORBIDDEN.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews The previous behavior was to ignore the htaccess file if it could not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews be read. This change may make some setups with unreadable
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews htaccess files stop working. PR#817 [Marc Slemko]
99f3a24e69edbb19e4fe7f2fb0a72c478f8c3cafJames Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: no2slash() was O(n^2) in the length of the input.
aa79283a0d97d5d77d3c17bcb1756035eabe647aAndreas Gustafsson Make it O(n). This inefficiency could be used to mount a denial
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of service attack against the Apache server. Thanks to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Michal Zalewski <lcamtuf@boss.staszic.waw.pl> for reporting
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews this. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
aa79283a0d97d5d77d3c17bcb1756035eabe647aAndreas Gustafsson *) mod_include used uninitialized data for some uses of && and ||.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Brian Slesinsky <bslesins@wired.com>] PR#1139
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_imap should decline all non-GET methods.
aa79283a0d97d5d77d3c17bcb1756035eabe647aAndreas Gustafsson [Jay Bloodworth <jay@pathways.sde.state.sc.us>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
0bfcec250f9705a1211d0374f0fc1049960de84bMark Andrews *) suexec.c wouldn't build without -DLOG_EXEC. [Jason A. Dour]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_userdir was modifying r->finfo in cases where it wasn't setting
b5f24a6988e04710bee0281b03b7e168358ac868Andreas Gustafsson r->filename. Since those two are meant to be in sync with each other
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews this is a bug. ["Paul B. Henson" <henson@intranet.csupomona.edu>]
379bd2c19cec393f56a2e9c42cc87fc8213a1b62James Brister
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) mod_include did not properly handle all possible redirects from sub-
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews requests. [Ken Coar]
379bd2c19cec393f56a2e9c42cc87fc8213a1b62James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Inetd mode (which is buggy) uses timeouts without having setup the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews jmpbuffer. [Dean Gaudet] PR#1064
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c24265935e70d17279153b3cde43e3f6c3527577Andreas Gustafsson *) Work around problem under Linux where a child will start looping
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews reporting a select error over and over.
bedfa169b4cc5511b34c0c4a54c5b8aae364babeJames Brister [Rick Franchuk <rickf@transpect.net>] PR#1107
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.2.4
bedfa169b4cc5511b34c0c4a54c5b8aae364babeJames Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The ProxyRemote change in 1.2.3 introduced a bug resulting in the proxy
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews always making requests with the full-URI instead of just the URI path.
d85552c450141012e7cbeaacc77fb9575b0bb4cbJames Brister [Marc Slemko, Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add -lm for AIX versions >= 4.2 to allow Apache to link properly
47c196192afa37b2dea728e52579779f190bf07fJames Brister on this platform. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
adf82221858138f295bce732e86dcac34645692eJames BristerChanges with Apache 1.2.3
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The request to a remote proxy was mangled if it was generated as the
f3b52d9fe5e7e851adecad4eec8952cceda47592Brian Wellington result of a ProxyPass directive. URL schemes other than http:// were not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews supported when ProxyRemote was used. PR#260, PR#656, PR#699, PR#713,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#812 [Lars Eilebrecht]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews information for case where proxy module is not available. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Force proxy to always respond as HTTP/1.0, which it was failing to
71a4339351de0d8233d61025a667ec4dc3e0f868James Brister do for errors and cached responses. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Improved support for ConvexOS 11. [Jeff Venters]
71a4339351de0d8233d61025a667ec4dc3e0f868James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.2.2 [not released]
71a4339351de0d8233d61025a667ec4dc3e0f868James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed another long-standing bug in sub_req_lookup_file where it would
0380c44d0238a88e167526954d630d071739ed28Mark Andrews happily skip past access checks on subdirectories looked up with relative
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews paths. (It's used by mod_dir, mod_negotiation, and mod_include.)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
a6733246eafeb43755ce6d7ec3627ac4209cbccbMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add lockfile name to error message printed out when
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews USE_FLOCK_SERIALIZED_ACCEPT is defined.
36bcb04af27e050ddc04b2ff37dbeafc84538fd4Brian Wellington [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Enhanced the chunking and error handling inside the buffer functions.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet, Roy Fielding]
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) When merging the main server's <Directory> and <Location> sections into
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a vhost, put the main server's first and the vhost's second. Otherwise
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the vhost can't override the main server. [Dean Gaudet] PR#717
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The <Directory> code would merge and re-merge the same section after
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a match was found, possibly causing problems with some modules.
9c11326b18c69b9b2fd6102d80fbd568ae6bd31eAndreas Gustafsson [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed an infinite loop in mod_imap for references above the server root.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#748
c78dc8b001ba46ef1edb784635c3ba7b3e4456ceJames Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_include cleanup showed that handle_else was being used to handle
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence endif. It didn't cause problems, but it was cleaned up too.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Howard Fear]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Last official synchronization of mod_rewrite with author version (because
d5399cc351a549db957185993b320a3bffa40e41James Brister mod_rewrite is now directly developed by the author at the Apache Group):
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o added diff between mod_rewrite 3.0.6+ and 3.0.9
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews minus WIN32/NT stuff, but plus copyright removement.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews In detail:
40f349ad1f2f0a63ef2784b8affcd44dc660b39cJames Brister - workaround for detecting infinite rewriting loops
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - fixed setting of env vars when "-" is used as subst string
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews - fixed forced response code on redirects (PR#777)
ac3b769801d794993e9eb6065b2f7144ffcfc9acMark Andrews - fixed cases where r->args is ""
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - kludge to disable locking on pipes under braindead SunOS
69b691c9624f31e59b8d128ada902a82127c15a3James Brister - fix for rewritelog in cases where remote hostname is unknown
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - fixed totally damaged request_rec walk-back loop
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o remove static from local data and add static to global ones.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o replaced ugly proxy finding stuff by simple
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews find_linked_module("mod_proxy") call.
dba20696eb808075d849e5a4cc8d854555869fb2Brian Wellington o added missing negation char on rewritelog()
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews o fixed a few comment typos
98c2f9a11185b8a5dd601798990612beb6d1578eJames Brister [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Anonymous_LogEmail was logging on each subrequest.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#421, PR#868
98c2f9a11185b8a5dd601798990612beb6d1578eJames Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews begin with. "nokeepalive" now works for HTTP/1.1 clients. Added
705cb05a187558959d20ec2c31e06de8e96f61b2David Lawrence "downgrade-1.0" which causes Apache to pretend it received a 1.0.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Additionally mod_browser now triggers during translate_name to workaround
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a deficiency in the header_parse phase.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#875
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a3c0a79b61edfd6a021c080d4b368c9c962fcad6Andreas Gustafsson *) get_client_block() returns wrong length if policy is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews REQUEST_CHUNKED_DECHUNK.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#815
0b056755b2f423ba5f6adac8f7851d78f7d11437David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Properly treat <files> container like other containers in mod_info.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Marc Slemko] PR#848
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The proxy didn't treat the "Host:" keyword of the host header as case-
174a4f7b80af7f7a33cd9a098c13af23e5ec2a28David Lawrence insensitive. The proxy would corrupt the first line of a response from
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews an HTTP/0.9 server. [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#813,814
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_include would log some bogus values occasionally.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Skip Montanaro <skip@calendar.com>, Marc Slemko] PR#797
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
174a4f7b80af7f7a33cd9a098c13af23e5ec2a28David Lawrence *) PORT: The slack fd changes in 1.2.1 introduced a problem with SIGHUP
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews under Solaris 2.x (up through 2.5.1). It has been fixed.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet] PR#832
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: In HTTP/1.1, whether or not a request message contains a body
0640343258a99230c62e39dfbbe1505e3a970ee8Andreas Gustafsson is independent of the request method and based solely on the presence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of a Content-Length or Transfer-Encoding. Therefore, our default
dccfe96a449d135d1b3806a9ab8fd7481d017c8bAndreas Gustafsson handlers need to be prepared to read a body even if they don't know
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews what to do with it; otherwise, the body would be mistaken for the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews next request on a persistent connection. discard_request_body()
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews has been added to take care of that. [Roy Fielding] PR#378
d98c74e2ec5b96bd22aa4ed6d893e8993787493bMichael Graff
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) API: Symbol APACHE_RELEASE provides a numeric form of the Apache
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews release version number, such that it always increases along the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews same lines as our source code branching. [Roy Fielding]
d03d4524993ecf5da72694907cb8581eadbe5c4dBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Minor oversight on multiple variants fixed. [Paul Sutton] PR#94
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
75f6c57d9544aa77a3b1a04587b4702c07343c90Brian WellingtonChanges with Apache 1.2.1
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: Don't serve file system objects unless they are plain files,
f34984369fbc87f6cc5c5d1059303377a1724d79James Brister symlinks, or directories. This prevents local users from using pipes
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews or named sockets to invoke programs for an extremely crude form of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews CGI. [Dean Gaudet]
7cd4c3ddd1baf5f2b204562fdba3da37c716cc78Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: HeaderName and ReadmeName were settable in .htaccess and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews could contain "../" allowing a local user to "publish" any file on
76a191c4202a4839e4ce598ec91f0c0d12f630aaAndreas Gustafsson the system. No slashes are allowed now. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: It was possible to violate the symlink Options using mod_dir
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (headers, readmes, titles), mod_negotiation (type maps), or
fef059dcec0f7f83b09b9ce30b91b21a51d9c481Andreas Gustafsson mod_cern_meta (meta files). [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) SECURITY: Apache will refuse to run as "User root" unless
5f80c1428b9b7235fc9c1c80aa505457c3043504Brian Wellington BIG_SECURITY_HOLE is defined at compile time. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) CONFIG: If a symlink pointed to a directory then it would be disallowed
af602636644fdfaabc331bd926b0aabb9432e152Brian Wellington if it contained a .htaccess disallowing symlinks. This is contrary
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to the rule that symlink permissions are tested with the symlink
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews options of the parent directory. [Dean Gaudet] PR#353
b3aaa872e12e5c8658271bde8e4dd85d015e823fAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) CONFIG: The LockFile directive can be used to place the serializing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews lockfile in any location. It previously defaulted to /usr/tmp/htlock.
b3aaa872e12e5c8658271bde8e4dd85d015e823fAndreas Gustafsson [Somehow it took four of us: Randy Terbush, Jim Jagielski, Dean Gaudet,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Request processing now retains state of whether or not the request
389f2ccc2f5f00a11a14114d40492f7ac8249fa7Olafur Gudmundsson body has been read, so that internal redirects and subrequests will
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews not try to read it twice (and block). [Roy Fielding]
6deb631b20b7e212d9a350759e472fa60f9e92e4David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add a placeholder in modules/Makefile to avoid errors with certain
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews makes. [Marc Slemko]
b1d234eb75e2804e09d89178a76df39c321db51bBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) QUERY_STRING was unescaped in mod_include, it shouldn't be.
a9bc95f22ef2dd4a12e79be99412c9f18b814a5dBrian Wellington [Dean Gaudet] PR#644
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_include was not properly changing the current directory.
3c8e458ed2118828b13f35ca6fcc409da66c2869David Lawrence [Marc Slemko] PR#742
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Attempt to work around problems with third party libraries that do not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews handle high numbered descriptors (examples include bind, and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews solaris libc). On all systems apache attempts to keep all permanent
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews descriptors above 15 (called the low slack line). Solaris users
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews can also benefit from adding -DHIGH_SLACK_LINE=256 to EXTRA_CFLAGS
7ffc4c63ac8841d127c2d77c8716cc0dc483badcDavid Lawrence which keeps all non-FILE * descriptors above 255. On all systems
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews this should make supporting large numbers of vhosts with many open
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews log files more feasible. If this causes trouble please report it,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews you can disable this workaround by adding -DNO_SLACK to EXTRA_CFLAGS.
19d1b1667d073850d4366352aaf8319efc5debeeBrian Wellington [Dean Gaudet] various PRs
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Related to the last entry, network sockets are now opened before
20b20b23948b90cb2f7d7f402da99d09f837efd0David Lawrence log files are opened. The only known case where this can cause
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews problems is under Solaris with many virtualhosts and many Listen
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directives. But using -DHIGH_SLACK_LINE=256 described above will
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews work around this problem. [Dean Gaudet]
a89b06a49cc61cdce2ce0ea0f62b514998fa16d9Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) USE_FLOCK_SERIALIZED_ACCEPT is now default for FreeBSD, A/UX, and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews SunOS 4.
a89b06a49cc61cdce2ce0ea0f62b514998fa16d9Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Improved unix error response logging. [Marc Slemko]
7e9bfde7951c4e35bcbd0d3439790cc823a6794cAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Update mod_rewrite from 3.0.5 to 3.0.6. New ruleflag
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews QSA=query_string_append. Also fixed a nasty bug in per-dir context:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews when a URL http://... was used in conjunction with a special
4c9406964425ecc33fac38bb093e236b43b449e6Andreas Gustafsson redirect flag, e.g. R=permanent, the permanent status was lost.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ronald Tschalaer <Ronald.Tschalaer@psi.ch>, Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) If an object has multiple variants that are otherwise equal Apache
533131b93b69c4534b5f1f9138b59211670e6e6dMichael Graff would prefer the last listed variant rather than the first.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Paul Sutton] PR#94
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) "make clean" at the top level now removes *.o. [Dean Gaudet] PR#752
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
533131b93b69c4534b5f1f9138b59211670e6e6dMichael Graff *) mod_status dumps core in inetd mode. [Marc Slemko and Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#566
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) pregsub had an off-by-1 in its error checking code. [Alexei Kosut]
533131b93b69c4534b5f1f9138b59211670e6e6dMichael Graff
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: fix rlim_t problems with AIX 4.2. [Marc Slemko] PR#333
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
73abbeb5823a9b3e01b05a8878db915eb6beccdaAndreas Gustafsson *) PORT: Update UnixWare support for 2.1.2.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Lawrence Rosenman <ler@lerctr.org>] PR#511
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: NonStop-UX [Joachim Schmitz <schmitz_joachim@tandem.com>] PR#327
538971e27d45861c937331f52b0e96d3a5157d8eAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Update ConvexOS support for 11.5.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [David DeSimone <fox@convex.com>] PR#399
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c50936eb40263b65ebf6afe4e6556e2dc67c10e4Brian Wellington *) PORT: Support for DEC cc compiler under ULTRIX.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ["P. Alejandro Lopez-Valencia" <alejolo@ideam.gov.co>] PR#388
8977ab7ca0ed63a39a8cd0b915ab9cb1254dcd3fJames Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Support for Maxion/OS SVR4.2 Real Time Unix. [no name given] PR#383
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: Workaround for AIX 3.x compiler bug in http_bprintf.c.
dc97fe4ed08488d314ab5bc8e99ed839542cf411David Lawrence [Marc Slemko] PR#725
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) PORT: fix problem compiling http_bprintf.c with gcc under SCO
95be83b467e2384d414693982318a5c06cccf1d7Andreas Gustafsson [Marc Slemko] PR#695
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.2
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
95be83b467e2384d414693982318a5c06cccf1d7Andreas GustafssonChanges with Apache 1.2b11
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed open timestamp fd in proxy_cache.c [Chuck Murcko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added undocumented perl SSI mechanism for -DUSE_PERL_SSI and mod_perl.
95be83b467e2384d414693982318a5c06cccf1d7Andreas Gustafsson [Doug MacEachern, Rob Hartill]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Proxy needs to use hard_timeout instead of soft_timeout when it is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews reading from one buffer and writing to another, at least until it has
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a custom timeout handler. [Roy Fielding and Petr Lampa]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence *) Fixed problem on IRIX with servers hanging in IdentityCheck,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews apparently due to a mismatch between sigaction and setjmp.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Roy Fielding] PR#502
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Log correct status code if we timeout before receiving a request (408)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews or if we received a request-line that was too long to process (414).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ed Korthof and Roy Fielding] PR#601
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Virtual hosts with the same ServerName, but on different ports, were
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews not being selected properly. [Ed Korthof]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added code to return the requested IP address from proxy_host2addr()
52b784e2a662038b833e4f9ad7bff881faf52a85Andreas Gustafsson if gethostbyaddr() fails due to reverse DNS lookup problems. Original
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews change submitted by Jozsef Hollosi <hollosi@sbcm.com>.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Chuck Murcko] PR#614
edb8ffbbf3e4b3c16a10fdd45720d97706e6bf50Mark Andrews
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed *) If multiple requests on a single connection are used to retrieve
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews data from different virtual hosts, the virtual host list would be
59abb512d344bfa09012cc11b7d814966f035da4Mark Andrews scanned starting with the most recently used VH instead of the first,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews causing most virtual hosts to be ignored.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Paul Sutton and Martin Mares] PR#610
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The OS/2 handling of process group was broken by a porting patch for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews MPE, so restored prior code for OS/2. [Roy Fielding and Garey Smiley]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Inherit virtual server port from main server if none (or "*") is
a120694df8156f76eb629e4d686d3729362e3c90David Lawrence given for VirtualHost. [Dean Gaudet] PR#576
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) If the lookup for a DirectoryIndex name with content negotiation
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews has found matching variants, but none are acceptable, return the
a120694df8156f76eb629e4d686d3729362e3c90David Lawrence negotiation result if there are no more DirectoryIndex names to lookup.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Petr Lampa and Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
fcba8f29fedd5a29651579e22c96413b4f37cab9Brian Wellington *) If a soft_timeout occurs after keepalive is set, then the main child
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews loop would try to read another request even though the connection
f6afa4ac95f3a6c86c61c0b122cd0dc6f957649bBrian Wellington has been aborted. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
34b394b43e2207e8f8f3703f0402422121455638David Lawrence *) Configure changes: Allow for whitespace at the start of a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Module declaration. Also, be more understanding about the
cde7793c7fb83adecf1a60bfc76cde6d1d7db0ebJames Brister CC=/OPTIM= format in Configuration. Finally, fix compiler
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews flags if using HP-UX's cc compiler. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
cde7793c7fb83adecf1a60bfc76cde6d1d7db0ebJames Brister *) Subrequests and internal redirects now inherit the_request from the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews original request-line. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
cde7793c7fb83adecf1a60bfc76cde6d1d7db0ebJames Brister *) Test for error conditions before creating output header fields, since
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews we don't want the error message to include those fields. Likewise,
cde7793c7fb83adecf1a60bfc76cde6d1d7db0ebJames Brister reset the content_language(s) and content_encoding of the response
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews before generating or redirecting to an error message, since the new
cde7793c7fb83adecf1a60bfc76cde6d1d7db0ebJames Brister message will have its own Content-* definitions. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Restored the semantics of headers_out (headers sent only with 200..299
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence and 304 responses) and err_headers_out (headers sent with all responses).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Avoid the overhead of copying tables if err_headers_out is empty
cde7793c7fb83adecf1a60bfc76cde6d1d7db0ebJames Brister (the usual case). [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
cde7793c7fb83adecf1a60bfc76cde6d1d7db0ebJames Brister *) Fixed a couple places where a check for the default Content-Type was
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews not properly checking both the value configured by the DefaultType
cde7793c7fb83adecf1a60bfc76cde6d1d7db0ebJames Brister directive and the DEFAULT_TYPE symbol in httpd.h. Changed the value
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews of DEFAULT_TYPE to match the documented default (text/plain).
527ea00c176abc167a6daf978e06f52c7e70aa06Andreas Gustafsson [Dean Gaudet] PR#506
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Escape the HTML-sensitive characters in the Request-URI that is
f7d85bae58428b91fde90f87c1e9ef89897acf2eAndreas Gustafsson output for each child by mod_status. [Dean Gaudet and Ken Coar] PR#501
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Properly initialize the flock structures used by the mutex locking
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews around accept() when USE_FCNTL_SERIALIZED_ACCEPT is defined.
ec7493d8d1966a3dc5f5306fc0a96519e0de6dceAndreas Gustafsson [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The method for determining PATH_INFO has been restored to the pre-1.2b
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (and NCSA httpd) definition wherein it was the extra path info beyond
bd36d3014e8a82d217ed1c88cdb4c717a25fee09Andreas Gustafsson the CGI script filename. The environment variable FILEPATH_INFO has
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews been removed, and instead we supply the original REQUEST_URI to any
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews script that wants to be Apache-specific and needs the real URI path.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This solves a problem with existing scripts that use extra path info
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in the ScriptAlias directive to pass options to the CGI script.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
8adf1b9e749ca303ea8a8ffb29b5101ecbe2ecf6Mark Andrews *) The _default_ change in 1.2b10 will change the behaviour on configs
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews that use multiple Listen statements for listening on multiple ports.
7b52c2ad3c9ca65712e962ddc803e34641f2bc07Mark Andrews But that change is necessary to make _default_ consistent with other
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews forms of <VirtualHost>. It requires such configs to be modified
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to use <VirtualHost _default_:*>. The documentation has been
8adf1b9e749ca303ea8a8ffb29b5101ecbe2ecf6Mark Andrews updated. [Dean Gaudet] PR#530
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) If an ErrorDocument CGI script is used to respond to an error
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews generated by another CGI script which has already read the message
c052487cdf42c83bb0fa8e4c0ed135e801ac1e90Mark Andrews body of the request, the server would block trying to read the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews message body again. [Rob Hartill]
dcd66bf9667816cfc3419f2040e03f5621d88555Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) signal() replacement conflicted with a define on QNX (and potentially
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews other platforms). Fixed. [Ben Laurie] PR#512
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
f4f3f2cf3499cf6c32f6329aca08b5c557f507f1Mark AndrewsChanges with Apache 1.2b10
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
ff8d15be4e6096329fe6ae8217d0adcabd08c94bOlafur Gudmundsson *) Allow HTTPD_ROOT, SERVER_CONFIG_FILE, DEFAULT_PATH, and SHELL_PATH
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to be configured via -D in Configuration. [Dean Gaudet] PR#449
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) <VirtualHost _default_:portnum> didn't work properly. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added prototype for mktemp() for SUNOS4 [Marc Slemko]
6a13d6f3c687d463a2a88f696a5193a5651612baAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) In mod_proxy.c, check return values for proxy_host2addr() when reading
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews config, in case the hostent struct returned is trash.
996f4a8bc34cb0203ce6a40ff82bca8bf32423ccAndreas Gustafsson [Chuck Murcko] PR #491
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed the fix in 1.2b9 for parsing URL query info into args for CGI
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews scripts. [Dean Gaudet, Roy Fielding, Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
6a13d6f3c687d463a2a88f696a5193a5651612baAndreas GustafssonChanges with Apache 1.2b9 [never announced]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Reset the MODULE_MAGIC_NUMBER to account for the unsigned port
47b26abe77184f9bedc68e36bdad03332cf67570David Lawrence changes and in anticipation of 1.2 final release. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c0fcd6b98bc1fe5bbd2bd1a4d729215f65e3d20fJames Brister *) Fix problem with scripts not receiving a SIGPIPE when client drops
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the connection (e.g., when user presses Stop). Apache will now stop
17d0495c338ca6273cc1e1e3fd9354ab785a9ae9Mark Andrews trying to send a message body immediately after an error from write.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Roy Fielding and Nathan Kurz] PR#335
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
4c5651ee049cbace08d5350e3d23a0d6da491fa8James Brister *) Rearrange Configuration.tmpl so that mod_rewrite has higher priority
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews than mod_alias, and mod_alias has higher priority than mod_proxy;
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews rearranged other modules to enhance understanding of their purpose
e06abf2270cc397e6a1ab8e25055e9c05f256beeJames Brister and relative order (and maybe even reduce some overhead).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Roy Fielding and Sameer Parekh]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
e06abf2270cc397e6a1ab8e25055e9c05f256beeJames Brister *) Fix graceful restart. Eliminate many signal-related race
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews conditions in both forms of restart, and in SIGTERM. See
e411a986b94276c28e6a971f9c3b61d45c635456James Brister htdocs/manual/stopping.html for details on stopping and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews restarting the parent. [Dean Gaudet]
e411a986b94276c28e6a971f9c3b61d45c635456James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix memory leaks in mod_rewrite, mod_browser, mod_include. Tune
c6ce77b4dccb15297f78de9e0c00d40f40ce8aa4Mark Andrews memory allocator to avoid a behaviour that required extra blocks to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews be allocated. [Dean Gaudet]
1d7172079ddd7aaad66a135a814d0013c6503837Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Allow suexec to access files relative to current directory but not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews above. (Excluding leading / or any .. directory.) [Ken Coar]
5159c427839689d5070e2f9c6c9a0168dd9f6583Mark Andrews PR#269, 319, 395
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix suexec segfault when group doesn't exist. [Gregory Neil Shapiro]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews PR#367, 368, 354, 453
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix the above fix: if suexec is enabled, avoid destroying r->url
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews while obtaining the /~user and save the username in a separate data
dd3fc76a33569ee9d5d30effc0d975651a4567f5Andreas Gustafsson area so that it won't be overwritten by the call to getgrgid(), and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews fix some misuse of the pool string allocation functions. Also fixes
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews a general problem with parsing URL query info into args for CGI scripts.
3364cad7e4699aff0b2d5090ab09a6da9733a118Andreas Gustafsson [Roy Fielding] PR#339, 367, 354, 453
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix IRIX warning about bzero undefined. [Marc Slemko]
e2cf9c2db3fd484d160d3b7850f5e4d9c19945faJames Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix problem with <Directory proxy:...>. [Martin Kraemer] PR#271
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Corrected spelling of "authoritative". AuthDBAuthoratative became
e2cf9c2db3fd484d160d3b7850f5e4d9c19945faJames Brister AuthDBAuthoritative. [Marc Slemko] PR#420
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) MaxClients should be at least 1. [Lars Eilebrecht] PR#375
e2cf9c2db3fd484d160d3b7850f5e4d9c19945faJames Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The default handler now logs invalid methods or URIs (i.e. PUT on an
e2cf9c2db3fd484d160d3b7850f5e4d9c19945faJames Brister object that can't be PUT, or FOOBAR for some method FOOBAR that
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed apache doesn't know about at all). Log 404s that occur in mod_include.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Paul Sutton, John Van Essen]
e2cf9c2db3fd484d160d3b7850f5e4d9c19945faJames Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) If a soft timeout (or lingerout) occurs while trying to flush a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews buffer or write inside buff.c or fread'ing from a CGI's output,
36357e4304862fb47e9fae03c704cb6720310c45James Brister then the timeout would be ignored. [Roy Fielding] PR#373
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Work around a bug in Netscape Navigator versions 2.x, 3.x and 4.0b2's
9bb05852fed91ff3913601b7ed8e43e711aa9094David Lawrence parsing of headers. If the terminating empty-line CRLF occurs starting
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews at the 256th or 257th byte of output, then Navigator will think a normal
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews image is invalid. We are guessing that this is because their initial
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews read of a new request uses a 256 byte buffer. We check the bytes written
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews so far and, if we are about to tickle the bug, we instead insert a
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews padding header of eminent bogosity. [Roy Fielding and Dean Gaudet] PR#232
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed SIGSEGV problem when a DirectoryIndex file is also the source
b09983678f5d116d3c8387aaeab4f2dc4deb0454David Lawrence of an external redirection. [Roy Fielding and Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Configure would create a broken Makefile if the configuration file
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews contained a commented-out Rule. [Roy Fielding]
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Promote per_dir_config and subprocess_env from the subrequest to the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews main request in mod_negotiation. In particular this fixes a bug
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews where <Files> sections wouldn't properly apply to negotiated content.
014892d86d30b7eceb0003d51788f9b5cadfc1bfAndreas Gustafsson [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b99d080717fdd741961d736581270d37bad8bec0David Lawrence *) Fix a potential deadlock in mod_cgi script_err handling.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
97f75286ada13a1b06a424607e638bde5ebfb3caAndreas Gustafsson *) rotatelogs zero-pads the logfile names to improve alphabetic sorting.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Mitchell Blank Jr]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b905ff7cbe3737d3c76115fa71c340a8ce439120David Lawrence *) Updated mod_rewrite to 3.0.4: Fixes HTTP redirects from within
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews .htaccess files because the RewriteBase was not replaced correctly.
23a09704774241d2dba059e4d9231cd3d28bb116David Lawrence Updated mod_rewrite to 3.0.5: Fixes problem with rewriting inside
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews <Directory> sections missing a trailing /. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
358628c8f4804a2db52be0f6d03a66137fab4884David Lawrence *) Clean up Linux settings in conf.h by detecting 2.x versus 1.x. For
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 1.x the settings are those of pre-1.2b8. For 2.x we include
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews USE_SHMGET_SCOREBOARD (scoreboard in shared memory rather than file) and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews HAVE_SYS_RESOURCE_H (enable the RLimit commands).
54a2e7e8a21ee765f41bd995101995613bff9e8cDavid Lawrence [Dean Gaudet] PR#336, PR#340
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Redirect did not preserve ?query_strings when present in the client's
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews request. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
027212247d59c05452abb7a8b253efe52d14459eDavid Lawrence *) Configure was finding non-modules on EXTRA_LIBS. [Frank Cringle] PR#380
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Use /bin/sh5 on ULTRIX. [P. Alejandro Lopez-Valencia] PR#369
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a2605214c27439a8af2ad4bd9a8630dcfcc8152eDavid Lawrence *) Add UnixWare compile/install instructions. [Chuck Murcko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add mod_example (illustration of API techniques). [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add macro for memmove to conf.h for SUNOS4. [Marc Slemko]
344e909ce9c59422a70105aba498e68b2d42623bDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Improve handling of directories when filenames have spaces in them.
738922ba7bb10b206f6f54931aed068e3dcb950dDavid Lawrence [Chuck Murcko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
eefea43215016bce437ab4a7441b2851fd182960David Lawrence *) For hosts with multiple IP addresses, try all additional addresses if
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews necessary to get a connect. Fail only if hostent address list is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews exhausted. [Chuck Murcko]
9c4f33b6718407e94d50dbfb4977e16d3f83de9dDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) More signed/unsigned port fixes. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
c403d3f7d6cb17406e9be03a330ed5cf91619abcDavid Lawrence *) HARD_SERVER_LIMIT can be defined in the Configuration file now.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.2b8
a0f6cda5fd9f2fcc4154bb63628f849b639a40caAndreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) suexec.c doesn't close the log file, allowing CGIs to continue writing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to it. [Marc Slemko]
dc91d010dbd848ab3a11815e5a3d109662a38b0cDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) The addition of <Location> and <File> directives made the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews sub_req_lookup_simple() function bogus, so we now handle
e3b3a046bf653d39cb5b92534a6a36fce1702d20Bob Halley the special cases directly. [Dean Gaudet]
b58d2c6a1cfe8f06548763a139579f270d9014a6Jeremy Reed
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) We now try to log where the server is dumping core when a fatal
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews signal is received. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Improved lingering_close by adding a special timeout, removing the
904463e94cafd59c8284f472ea8f58f1f311b8cbDavid Lawrence spurious log messages, removing the nonblocking settings (they
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews are not needed with the better timeout), and adding commentary
bf6f755a74e24441e96a110b3c8d11cfe2ed0da7David Lawrence about the NO_LINGCLOSE and USE_SO_LINGER issues. NO_LINGCLOSE is
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews now the default for SunOS4, UnixWare, NeXT, and IRIX. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Send error messages about setsockopt failures to the server error
1a7f6c3898266854db100fb2cb36418d650de8e7Brian Wellington log instead of stderr. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix loopholes in proxy cache expiry vis a vis alarms. [Brian Moore]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
56433595bb938c21fd3b07a0f7c565d942bb8780David Lawrence *) Stopgap solution for CGI 3-second delay with server-side includes: if
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews processing a subrequest, allocate memory from r->main->pool instead
fc9e755ba340607d76c7de897ee2d985d3b24505David Lawrence of r->pool so that we can avoid waiting for free_proc_chain to cleanup
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in the middle of an SSI request. [Dean Gaudet] PR #122
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
7896e45912df15d07eb99f885b9d9c15ad5f3f68David Lawrence *) Fixed status of response when POST is received for a nonexistent URL
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews (was sending 405, now 404) and when any method is sent with a
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews full-URI that doesn't match the server and the server is not acting
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews as a proxy (was sending 501, now 403). [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
32eddfc189108fa93e31761e13150594c7a79d2bDavid Lawrence *) Host port changed to unsigned short. [Ken Coar] PR #276
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix typo in command definition of AuthAuthoritative. [Ken Coar] PR #246
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b8dd48ecf83142f6ee7238cbd68fec455e527fc8Mark Andrews *) Defined USE_SHMGET_SCOREBOARD for shared memory on Linux. [Dean Gaudet]
95b484c9580d06eb2f9735a22e9841389c2859baMark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Report extra info from errno with many errors that cause httpd to exit.
68e4926b2262571e004b4be00b905ec776c01d9cMichael Graff spawn_child, popenf, and pclosef now have valid errno returns in the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews event of an error. Correct problems where errno was stomped on
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews before being reported. [Dean Gaudet]
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) In the proxy, if the cache filesystem was full, garbage_coll() was
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews never called, and thus the filesystem would remain full indefinitely.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews We now also remove incomplete cache files left if the origin server
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews didn't send a Content-Length header and either the client has aborted
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews transfer or bwrite() to client has failed. [Petr Lampa]
61e9c1cdbe29683bb2db388e4fc6a6fd59315cefDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed the handling of module and script-added header fields.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Improved the interface for sending header fields and reduced
8b11f3debd9a9494d5aec60ea228ab393fbdc26eDavid Lawrence the duplication of code between sending okay responses and errors.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews We now always send both headers_out and err_headers_out, and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews ensure that the server-reserved fields are not being overridden,
2cc1d2536d5834fbe20281068b8bd34dd1ee5337David Lawrence while not overriding those that are not reserved. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Moved transparent content negotiation fields to err_headers_out
140d92622430165001bd91ba2e7d516992faeb2fMichael Sawyer to reflect above changes. [Petr Lampa]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence *) Fixed the determination of whether or not we should make the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews connection persistent for all of the cases where some other part
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence of the server has already indicated that we should not. Also
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews improved the ordering of the test so that chunked encoding will
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews be set whenever it is desired instead of only when KeepAlive
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence is enabled. Added persistent connection capability for most error
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews responses (those that do not indicate a bad input stream) when
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews accessed by an HTTP/1.1 client. [Roy Fielding]
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Added missing timeouts for sending header fields, error responses,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and the last chunk of chunked encoding, each of which could have
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence resulted in a process being stuck in write forever. Using soft_timeout
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews requires that the sender check for an aborted connection rather than
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews continuing after an EINTR. Timeouts that used to be initiated before
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews send_http_header (and never killed) are now initiated only within or
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence around the routines that actually do the sending, and not allowed to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews propagate above the caller. [Roy Fielding]
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_auth_anon required an @ or a . in the email address, not both.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dirk vanGulik]
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) per_dir_defaults weren't set correctly until directory_walk for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews name-based vhosts. This fixes an obscure bug with the wrong config
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence info being used for vhosts that share the same ip as the server.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence *) Improved generation of modules/Makefile to be more generic for
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews new module directories. [Ken Coar, Chuck Murcko, Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Generate makefile dependency for Configuration based on the actual
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews name given when running the Configure process. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed problem with vhost error log not being set prior to
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews initializing virtual hosts. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed infinite loop when a trailing slash is included after a type map
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews file URL (extra path info). [Petr Lampa]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed server status updating of per-connection counters. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add documentation for DNS issues (reliability and security), and try
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to explain the virtual host matching process. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Try to continue gracefully by disabling the vhost if a DNS lookup
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews fails while parsing the configuration file. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Improved calls to setsockopt. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Negotiation changes: Don't output empty content-type in variant list;
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Output charset in variant list; Return sooner from handle_multi() if
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews no variants found; Add handling of '*' wildcard in Accept-Charset.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Petr Lampa and Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed overlaying of request/sub-request notes and headers in
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence mod_negotiation. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) If two variants' charset quality are equal and one is the default
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews charset (iso-8859-1), then prefer the variant that was specifically
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews listed in Accept-Charset instead of the default. [Petr Lampa]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Memory allocation problem in push_array() -- it would corrupt memory
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence when nalloc==0. [Kai Risku <krisku@tf.hut.fi> and Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) invoke_handler() doesn't handle mime arguments in content-type
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence [Petr Lampa] PR#160
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence *) Reduced IdentityCheck timeout to 30 seconds, as per RFC 1413 minimum.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
16a107c904a30a687a08efec86a26a2f9398d2edAndreas Gustafsson *) Fixed problem with ErrorDocument not working for virtual hosts
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews due to one of the performance changes in 1.2b7. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Log an error message if we get a request header that is too long,
33e927bf8622db6d3e5ecfd871f517db47fa722bDavid Lawrence since it may indicate a buffer overflow attack. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Made is_url() allow "[-.+a-zA-Z0-9]+:" as a valid scheme and
3e6b98586e823544344bcbbcad825d3d4485de59David Lawrence not reject URLs without a double-slash, as per RFC2068 section 3.2.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken Coar] PR #146, #187
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
947bd6c648bd29bc226971324de1b30230a56a22David Lawrence *) Added table entry placeholder for new header_parser callback
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews in all of the distributed modules. [Ken Coar] PR #191
878363c06b3d42f8fa4acca0c4aec9252b7844d9David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Allow for cgi files without the .EXE extension on them under OS/2.
cc5547dbcb04bdc498cf050c6104a1974f68c6eaAndreas Gustafsson [Garey Smiley] PR #59
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b8957f3496b6a900df9ca263864a47dbb1cb8978David Lawrence *) Fixed error message when resource is not found and URL contains
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews path info. [Petr Lampa and Dean Gaudet] PR #40
c7f22f83aac9e61dafee191cad040e9c42652cc8David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed user and server confusion over what should be a virtual host
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and what is the main server, resulting in access to something
c4717613e45323ed23dc6e9162cba89f1f83830cDavid Lawrence other than the name defined in the virtualhost directive (but
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with the same IP address) failing. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
f6d6835ed5bb14f7d87cb9b736deadf9de2085ddAndreas Gustafsson *) Updated mod_rewrite to version 3.0.2, which: fixes compile error on
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews AIX; improves the redirection stuff to enable the users to generally
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews redirect to http, https, gopher and ftp; added TIME variable for
d41c9885ecfb4be7382fd32a58ae4a9fb2056b81David Lawrence RewriteCond which expands to YYYYMMDDHHMMSS strings and added the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews special patterns >STRING, <STRING and =STRING to RewriteCond, which
38feb01f1b0a3ac65897ae63c22c27c72e8cfda1David Lawrence can be used in conjunction with %{TIME} or other variables to create
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews time-dependent rewriting rules. [Ralf S. Engelschall]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) bpushfd() no longer notes cleanups for the file descriptors it is handed.
802aa6f2b70cc0b4e69ef0a1dcab0a8d68a0fdeaDavid Lawrence Module authors may need to adjust their code for proper cleanup to take
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews place (that is, call note_cleanups_for_fd()). This change fixes problems
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews with file descriptors being erroneously closed when the proxy module was
5b27fa26dd1288f61de9ace6f4ec56be63858048David Lawrence in use. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix bug in suexec reintroduced by changes in 1.2b7 which allows
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley initgroups() to hose the group information needed for later
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews comparisons. [Randy Terbush]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Remove unnecessary call to va_end() in create_argv() which
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley caused a SEGV on some systems.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Use proper MAXHOSTNAMELEN symbol for limiting length of server name.
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Clear memory allocated for listeners. [Randy Terbush]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Improved handling of IP address as a virtualhost address and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews introduced "_default_" as a synonym for the default vhost config.
cc43f2461d2b7da80105cf6d1b96bda4e93303cdDavid Lawrence [Dean Gaudet] PR #212
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
58bc93c3ddbdf0b2fde9b7d2b4342f90d83ec633David LawrenceChanges with Apache 1.2b7
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Port to UXP/DS(V20) [Toshiaki Nomura <nom@yk.fujitsu.co.jp>]
7ce81e15fa98db5b13fba06d54526e8679ac064cDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) unset Content-Length if chunked (RFC-2068) [Petr Lampa]
8fedfa7b45989d3c1715e414637bc1a96331fd14David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) mod_negotiation fixes [Petr Lampa] PR#157, PR#158, PR#159
7da5c63dc0eaeec88aaf67b7aeee43ab0b0125baDavid Lawrence - replace protocol response numbers with symbols
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - save variant-list into main request notes
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - free allocated memory from subrequests
7da5c63dc0eaeec88aaf67b7aeee43ab0b0125baDavid Lawrence - merge notes, headers_out and err_headers_out
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) changed status check mask in proxy_http.c from "HTTP/#.# ### *" to
32eeec855957c3dd38f0d6c98ca79b67a71300b6Brian Wellington "HTTP/#.# ###*" to be more lenient about what we accept.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Chuck Murcko]
f3f88c6802df4cfee59439b19a1c49637b70342dDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) more proxy FTP bug fixes:
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Changed send_dir() to remove user/passwd from displayed URL.
77f372eed39827f5efef476602de7c0505f99b91David Lawrence - Changed login error messages to be more descriptive.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - remove setting of SO_DEBUG socket option
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Make ftp_getrc() more lenient about multiline responses,
8b7304a34c751e519ede7d00b77f1f962c0a37e4David Lawrence specifically, 230 responses which don't have continuation 230-
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews on each line). These seem to be all NT FTP servers, and while
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews perhaps questionable, they appear to be legal by RFC 959.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Add missing kill_timeout() after transfer to user completes.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Chuck Murcko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
cabcfd3e90a647c7bab3c5cc3ef7b36f49830787David Lawrence *) Fixed problem where a busy server could hang when restarting
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews after being sent a SIGHUP due to child processes not exiting.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Modify mod_include escaping so a '\' only signifies an escaped
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence character if the next character is one that needs
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews escaping. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Eliminated possible infinite loop in mod_imap when relative URLs are
d111a46c88adda33a93839f4934e127b6147d87dBob Halley used with a 'base' directive that does not have a '/' in it.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Marc Slemko, reported by Onno Witvliet <onno@tc.hsa.nl>]
e4e183af576855f4ccc9fc28084ffe095aaa5b55Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Reduced the default timeout from 1200 seconds to 300, and the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews one in the sample configfile from 400 to 300. [Marc Slemko]
6f17d90364f01c3e81073a9ffb40b0093878c8e2Brian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Stop vbprintf from crashing if given a NULL string pointer;
195da2b26542b85d60308b2af35ea9966df9c3bbMichael Graff print (null) instead. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Don't disable Nagle algorithm if system doesn't have TCP_NODELAY.
e9a9ae4fc627f24cb960a3008f2723ba9a55b274Brian Wellington [Marc Slemko and Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed problem with mod_cgi-generated internal redirects trying to
d1bdeae7bb7a0642170d5476c2fd901db3028143Andreas Gustafsson read the request message-body twice. [Archie Cobbs and Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Reduced timeout on lingering close, removed possibility of a blocked
d111a46c88adda33a93839f4934e127b6147d87dBob Halley read causing the child to hang, and stopped logging of errors if
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the socket is not connected (reset by client). [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Rearranged main child loop to remove duplication of code in
9e53cbca72767d0c91962b7a01650ea07d7398ddMark Andrews select/accept and keep-alive requests, fixed several bugs regarding
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews checking scoreboard_image for exit indication and failure to
9e53cbca72767d0c91962b7a01650ea07d7398ddMark Andrews account for all success conditions and trap all error conditions,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews prevented multiple flushes before closing the socket; close the entire
2d0c5f1eada2015324cb89c11c7c5c11cccb493fAndreas Gustafsson socket buffer instead of just one descriptor, prevent logging of
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews EPROTO and ECONNABORTED on platforms where supported, and generally
3bb3b7ac462a90c2b8b1fb783324d800e2ba748cMichael Graff improved readability. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Extensive performance improvements. Cleaned up inefficient use of
b5fff54fe9335b20c02d749831fc0eaeda97198fBrian Wellington auto initializers, multiple is_matchexp calls on a static string,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews and excessive merging of response_code_strings. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
15a0ed30600ea88fe1227233155586f0c3c6cc34Bob Halley *) Added double-buffering to mod_include to improve performance on
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews server-side includes. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Several fixes for suexec wrapper. [Randy Terbush]
53c892082e4dd70a12bb5badd81a9e939d7e6efdBrian Wellington - Make wrapper work for files on NFS filesystem.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Fix portability problem of MAXPATHLEN.
b5fff54fe9335b20c02d749831fc0eaeda97198fBrian Wellington - Fix array overrun problem in clean_env().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - Fix allocation of PATH environment variable
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b5fff54fe9335b20c02d749831fc0eaeda97198fBrian Wellington *) Removed extraneous blank line is description of mod_status chars.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Kurt Kohler]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3ae757933270e8298a6c1c5f9dfd30a4d852972cAndreas Gustafsson *) Logging of errors from the call_exec routine simply went nowhere,
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews since the logfile fd has been closed, so now we send them to stderr.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Harald T. Alvestrand]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed core dump when DocumentRoot is a CGI.
b61bbad878d0ac563a093525aa826cdba0fd43bfMark Andrews [Ben Laurie, reported by geddis@tesserae.com]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed potential file descriptor leak in mod_asis; updated it and
4716e94840921878b26e493576f84afe4fe08752Mark Andrews http_core to use pfopen/pfclose instead of fopen/fclose.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Randy Terbush and Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
622af581bd08a61d12c70f80b1d40d0d9c8a1fa3David Lawrence *) Fixed handling of unsigned ints in ap_snprintf() on some chips such
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews as the DEC Alpha which is 64-bit but uses 32-bit ints.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet and Ken Coar]
b4b032ab5a3d0e96e7c752e232e3050e8806b8cbBob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Return a 302 response code to the client when sending a redirect
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews due to a missing trailing '/' on a directory instead of a 301; now
0e9c5d24d25cb77a6935abf9247734b576626c9fBob Halley it is cacheable. [Markus Gyger]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3886e748a4086b813e3453232a742903762fedadBob Halley *) Fix condition where, if a bad directive occurs in .htaccess, and
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews sub_request() goes first to this directory, then log_reason() will
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews SIGSEGV because it doesn't have initialized r->per_dir_config.
3886e748a4086b813e3453232a742903762fedadBob Halley [PR#162 from Petr Lampa, fix by Marc Slemko and Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix handling of lang_index in is_variant_better(). This was
b4b032ab5a3d0e96e7c752e232e3050e8806b8cbBob Halley causing problems which resulted in the server sending the
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews wrong language document in some cases. [Petr Lampa]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Remove free() from clean_env() in suexec wrapper. This was nuking
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews the clean environment on some systems.
ce0004744d2c232581af53cbc6201f4ec4cf1f1cBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Tweak byteserving code (e.g. serving PDF files) to work around
ce0004744d2c232581af53cbc6201f4ec4cf1f1cBrian Wellington bugs in Netscape Navigator and Microsoft Internet Explorer.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Emit Content-Length header when sending multipart/byteranges.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Alexei Kosut]
ce0004744d2c232581af53cbc6201f4ec4cf1f1cBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Port to HI-UX/WE2. [Nick Maclaren]
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Port to HP MPE operating system for HP 3000 machines
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Mark Bixby <markb@cccd.edu>]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley *) Fixed bug which caused a segmentation fault if only one argument
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews given to RLimit* directives. [Ed Korthof]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Continue persistent connection after 204 or 304 response. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
8426878e988859184706f36e2229e24e77b80aa4Andreas Gustafsson *) Improved buffered output to the client by delaying the flush decision
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews until the BUFF code is actually about to read the next request.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews This fixes a problem introduced in 1.2b5 with clients that send
0f7045b0c437b158c61c195c319d2762882ece83Andreas Gustafsson an extra CRLF after a POST request. Also improved chunked output
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews performance by combining writes using writev() and removing as
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews many bflush() calls as possible. NOTE: Platforms without writev()
7c0e50b5623a6ffc9e3986e129f8ca6bae9aabfaBrian Wellington must add -DNO_WRITEV to the compiler CFLAGS, either in Configuration
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews or Configure, unless we have already done so. [Dean Gaudet]
a25310fd1dce652cdebba2b3dbc5d38cc3706745Andreas Gustafsson
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed mod_rewrite bug which truncated the rewritten URL [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed mod_info output corruption bug introduced by buffer overflow
42712a426dd62518ca7c36982867e5622f7265e7Michael Graff fixes. [Dean Gaudet]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
e6a6c0a5d6393d3a7f75b486f16e4ef15c4857bbDavid Lawrence *) Fixed http_protocol to correctly output all HTTP/1.1 headers, including
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews for the special case of a 304 response. [Paul Sutton]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Improved handling of TRACE method by bypassing normal method handling
11a898e05092e8477fbfe1a245c1c5871a846638Andreas Gustafsson and header parsing routines; fixed Allow response to always allow TRACE.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Dean Gaudet]
5d4f11b265c396d71ec2162a632e620425481a9eDavid Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed compiler warnings in the regex library. [Dean Gaudet]
b295930144c8782e84528dcd355153ae5a5d66e8David Lawrence
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Cleaned-up some of the generated HTML. [Ken Coar]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
0bcb1d4d630f8d7547ee62870e1b059827cc1c8aDavid LawrenceChanges with Apache 1.2b6
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister *) Allow whitespace in imagemap mapfile coordinates. [Marc Slemko]
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix typo introduced in fix for potential infinite loop around
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister accept() in child_main(). This change caused the rev to 1.2b6.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews 1.2b5 was never a public beta.
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark AndrewsChanges with Apache 1.2b5
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Change KeepAlive semantics (On|Off instead of a number), add
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews MaxKeepAliveRequests directive. [Alexei Kosut]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Various NeXT compilation patches, as well as a change in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews regex/regcomp.c since that file also used a NEXT define.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence [Andreas Koenig]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Allow * to terminate the end of a directory match in mod_dir.
7b2db4b8d13e3d8bc81419ffcc8b39de8193ef63David Lawrence Allows /~* to match for both /~joe and /~joe/. [David Bronder]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Don't call can_exec() if suexec_enabled. Calling this requires
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews scripts executed by the suexec wrapper to be world executable, which
9e7c9ad159b581714c67148c3c698c12730d7ef7James Brister defeats one of the advantages of running the wrapper. [Randy Terbush]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson *) Portability Fix: IRIX complained with 'make clean' about *pure* (removed)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson *) Migration from sprintf() to snprintf() to avoid buffer
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews overflows. [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson *) Provide portable snprintf() implementation (ap_snprintf)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews as well as *cvt family. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
404e3e4738e97d5dff48fab1e76839e963cb16a6Brian Wellington *) Portability Fix: NeXT lacks unistd.h so we wrap it's inclusion
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d9cc295339982d8d86075ab4285cc700d354e2eeBob Halley *) Remove mod_fastcgi.c from the distribution. This module appears
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews to be maintained more through the Open Market channels and should
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews continue to be easily available at http://www.fastcgi.com/
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fixed bug in modules/Makefile that wouldn't allow building in more
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews than one subdirectory (or cleaning, either). [Jeremy Laidman]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
7d1d130f4fe1b7485142c4f55a4ef3760b5fa30aBrian Wellington *) mod_info assumed that the config files were relative to ServerRoot.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken the Rodent]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d9cc295339982d8d86075ab4285cc700d354e2eeBob Halley *) CGI scripts called as an error document resulting from failed
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews CGI execution would hang waiting for POST'ed data. [Rob Hartill]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
9ac79ef3f89b23d80f9649abf71fdc65bb7a8b62David Lawrence *) Log reason when mod_dir returns access HTTP_FORBIDDEN
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Ken the Rodent]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
a6a0b5e9b7078887a73ecec8be2935daa287a389James Brister *) Properly check errno to prevent display of a directory index
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews when server receives a long enough URL to confuse stat().
be768c2e952c34438025999125f984995a2c675fBob Halley [Marc Slemko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Several security enhancements to suexec wrapper. It is _highly_
da6affdf7dd677a636155e4a41f6de416a2d815bBob Halley recommended that previously installed versions of the wrapper
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews be replaced with this version. [Randy Terbush, Jason Dour]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
da6affdf7dd677a636155e4a41f6de416a2d815bBob Halley - ~user execution now properly restricted to ~user's home
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews directory and below.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - execution restricted to UID/GID > 100
be768c2e952c34438025999125f984995a2c675fBob Halley - restrict passed environment to known variables
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - call setgid() before initgroups() (portability fix)
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews - remove use of setenv() (portability fix)
01e320c4fb51c802e9fe86c192fbebf4229ca918Bob Halley
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark Andrews *) Add HTTP/1.0 response forcing. [Ben Laurie]
19e0c849f69ad8b655b4d199e16de0a4a94562d6Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add access control via environment variables. [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add rflush() function. [Alexei Kosut]
01e320c4fb51c802e9fe86c192fbebf4229ca918Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) remove duplicate pcalloc() call in new_connection().
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix incorrect comparison which could allow number of children =
dd6132005a5c48dea642c2ed0507bf472c8ee9bbJames Brister MaxClients + 1 if less than HARD_SERVER_LIMIT. Also fix potential
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews problem if StartServers > HARD_SERVER_LIMIT. [Ed Korthof]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
d6d18435cd47a57f43af2eab835d0f6b7a76f2bdAndreas Gustafsson *) Updated support for OSes (MachTen, ULTRIX, Paragon, ISC, OpenBSD
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews AIX PS/2, CONVEXOS. [Jim Jagielski]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister *) Replace instances of inet_ntoa() with inet_addr() for ProxyBlock.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews It's more portable. [Martin Kraemer]
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Replace references to make in Makefile.tmpl with $(MAKE).
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews [Chuck Murcko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
99b80297d416ebb722b2515023c51b3aacdc1fb9Bob Halley *) Add ProxyBlock directive w/IP address caching. Add IP address
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews caching to NoCache directive as well. ProxyBlock works with all
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews handlers; NoCache now also works with FTP for anonymous logins.
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews Still more code cleanup. [Chuck Murcko]
fdb12d38d325efba64581bdee7fac188466fff55Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Add "header parse" API hook [Ben Laurie]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix byte ordering problems for REMOTE_PORT [Chuck Murcko]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) suEXEC wrapper was freeing memory that had not been malloc'ed.
43a5758df763a04d907a8b406e89a96f5c207a9cBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Correctly allow access and auth directives in <Files> sections in
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews server config files. [Alexei Kosut]
c73aafe6016ed1a7a6972681148cedf6a48a21bcBrian Wellington
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix bug with ServerPath that could cause certain files to be not
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews found by the server. [Alexei Kosut]
99b80297d416ebb722b2515023c51b3aacdc1fb9Bob Halley
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews *) Fix handling of ErrorDocument so that it doesn't remove a trailing
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews double-quote from text and so that it properly checks for unsupported
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews status codes using the new index_of_response interface. [Roy Fielding]
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews
54f68aeb5cb37e48df51dc5224917beaeda040cfTatuya JINMEI 神明達哉 *) Multiple fixes to the lingering_close code in order to avoid being
b39bfc630dc222fb73c21a00bcba47c4f9e38f20Mark Andrews interrupted by a stray timeout, to avoid lingering on a connection
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence that has already been aborted or never really existed, to ensure that
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence we stop lingering as soon as any error condition is received, and to
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence prevent being stuck indefinitely if the read blocks. Also improves
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence reporting of error conditions. [Marc Slemko and Roy Fielding]
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence
*) Fixed initialization of parameter structure for sigaction.
[mgyger@itr.ch, Adrian Filipi-Martin]
*) Fixed reinitializing the parameters before each call to accept and
select, and removed potential for infinite loop in accept.
[Roy Fielding, after useful PR from adrian@virginia.edu]
*) Fixed condition where, if a child fails to fork, the scoreboard would
continue to say SERVER_STARTING forever. Eventually, the main process
would refuse to start new children because count_idle_servers() will
count those SERVER_STARTING entries and will always report that there
are enough idle servers. [Phillip Vandry]
*) Fixed bug in bcwrite regarding failure to account for partial writes.
Avoided calling bflush() when the client is pipelining requests.
Removed unnecessary flushes from http_protocol. [Dean Gaudet]
*) Added description of "." mode in server-status [Jim Jagielski]
Changes with Apache 1.2b4
*) Fix possible race condition in accept_mutex_init() that
could leave a small security hole open allowing files to be
overwritten in cases where the server UID has write permissions.
[Marc Slemko]
*) Fix awk compatibilty problem in Configure. [Jim Jagielski]
*) Fix portablity problem in util_script where ARG_MAX may not be
defined for some systems.
*) Add changes to allow compilation on Machten 4.0.3 for PowerPC.
[Randal Schwartz]
*) OS/2 changes to support an MMAP style scoreboard file and UNIX
style magic #! token for better script portability. [Garey Smiley]
*) Fix bug in suexec wrapper introduced in b3 that would cause failed
execution for ~userdir CGI. [Jason Dour]
*) Fix initgroups() business in suexec wrapper. [Jason Dour]
*) Fix month off by one in suexec wrapper logging.
Changes with Apache 1.2b3:
*) Fix error in mod_cgi which could cause resources not to be properly
freed, or worse. [Dean Gaudet]
*) Fix find_string() NULL pointer dereference. [Howard Fear]
*) Add set_flag_slot() at the request of Dirk and others.
[Dirk vanGulik]
*) Sync mod_rewrite with patch level 10. [Ralf Engelschall]
*) Add changes to improve the error message given for invalid
ServerName parameters. [Dirk vanGulik]
*) Add "Authoritative" directive for Auth modules that don't
currently have it. This gives admin control to assign authoritative
control to an authentication scheme and allow "fall through" for
those authentication modules that aren't "Authoritative" thereby
allowing multiple authentication mechanisms to be chained.
[Dirk vanGulik]
*) Remove requirement for ResourceConfig/AccessConfig if not using
the three config file layout. [Randy Terbush]
*) Add PASV mode to mod_proxy FTP handler. [Chuck Murcko]
*) Changes to suexec wrapper to fix the following problems:
1. symlinked homedirs will kill ~userdirs.
2. initgroups() on Linux 2.0.x clobbers gr->grid.
3. CGI command lines paramters problems
4. pw-pwdir for "docroot check" still the httpd user's pw record.
[Randy Terbush, Jason Dour]
*) Change create_argv() to accept variable arguments. This fixes
a problem where arguments were not getting passed to the CGI via
argv[] when the suexec wrapper was active. [Randy Terbush, Jake Buchholz]
*) Collapse multiple slashes in path URLs to properly apply
handlers defined by <Location>. [Alexei Kosut]
*) Define a sane set of DEFAULT_USER and DEFAULT_GROUP values for AIX.
*) Improve the accuracy of request duration timings by setting
r->request_time in read_request_line() instead of read_request().
[Dean Gaudet]
*) Reset timeout while reading via get_client_block() in mod_cgi.c
Fixes problem with timed out transfers of large files. [Rasmus Lerdorf]
*) Add the ability to pass different Makefile.tmpl files to Configure
using the -make flag. [Rob Hartill]
*) Fix coredump triggered when sending a SIGHUP to the server caused
by an assertion failure, in turn caused by an uninitialised field in a
listen_rec.
[Ben Laurie]
*) Add FILEPATH_INFO variable to CGI environment, which is equal to
PATH_INFO from previous versions of Apache (in certain situations,
Apache 1.2's PATH_INFO will be different than 1.1's). [Alexei Kosut]
[later removed in 1.2b11]
*) Add rwrite() function to API to allow for sending strings of
arbitrary length. [Doug MacEachern]
*) Remove rlim_t typedef for NetBSD. Do older versions need this?
*) Defined rlim_t and WANTHSREGEX=yes and fixed waitpid() substitute for
NeXT. [Jim Jagielski]
*) Removed recent modification to promote the status code on internal
redirects, since the correct fix was to change the default log format
in mod_log_config so that it outputs the original status. [Rob Hartill]
Changes with Apache 1.2b2:
*) Update set_signals() to use sigaction() for setting handlers.
This appears to fix a re-entrant problem in the seg_fault()
bus_error() handlers. [Randy Terbush]
*) Changes to allow mod_status compile for OS/2 [Garey Smiley]
*) changes for DEC AXP running OSF/1 v3.0. [Marc Evans]
*) proxy_http.c bugfixes: [Chuck Murcko]
1) fixes possible NULL pointer reference w/NoCache
2) fixes NoCache behavior when using ProxyRemote (ProxyRemote
host would cache nothing if it was in the local domain,
and the local domain was in the NoCache list)
3) Adds Host: header when not available
4) Some code cleanup and clarification
*) mod_include.c bugfixes:
1) Fixed an ommission that caused include variables to not
be parsed in config errmsg directives [Howard Fear]
2) Remove HAVE_POSIX_REGEX cruft [Alexei Kosut]
3) Patch to fix compiler warnings [perrot@lal.in2p3.fr]
4) Allow backslash-escaping to all quoted text
[Ben Yoshino <ben@wiliki.eng.hawaii.edu>]
5) Pass variable to command line if not set in XSSI's env
[Howard Fear]
*) Fix infinite loop when processing Content-language lines in
type-map files. [Alexei Kosut]
*) Closed file-globbing hole in test-cgi script. [Brian Behlendorf]
*) Fixed problem in set_[user|group] that prevented CGI execution
for non-virtualhosts when suEXEC was enabled. [Randy Terbush]
*) Added PORTING information file. [Jim Jagielski]
*) Added definitions for S_IWGRP and S_IWOTH to conf.h [Ben Laurie]
*) Changed default group to "nogroup" instead of "nobody" [Randy Terbush]
*) Fixed define typo of FCNTL_SERIALIZED_ACCEPT where
USE_FCNTL_SERIALIZED_ACCEPT was intended.
*) Fixed additional uses of 0xffffffff where INADDR_NONE was intended,
which caused problems of systems where socket s_addr is >32bits.
*) Added comment to explain (r->chunked = 1) side-effect in
http_protocol.c [Roy Fielding]
*) Replaced use of index() in mod_expires.c with more appropriate
and portable isdigit() test. [Ben Laurie]
*) Updated Configure for ...
OS/2 (DEF_WANTHSREGEX=yes, other code changes)
*-dg-dgux* (bad pattern match)
QNX (DEF_WANTHSREGEX=yes)
*-sunos4* (DEF_WANTHSREGEX=yes, -DUSEBCOPY)
*-ultrix (new)
*-unixware211 (new)
and added some user diagnostic info. [Ben Laurie]
*) In helpers/CutRule, replaced "cut" invocation with "awk" invocation
for better portability. [Jim Jagielski]
*) Updated helpers/GuessOS for ...
SCO 5 (recognize minor releases)
SCO UnixWare (braindamaged uname, whatever-whatever-unixware2)
SCO UnixWare 2.1.1 (requires a separate set of #defines in conf.h)
IRIX64 (-sgi-irix64)
ULTRIX (-unknown-ultrix)
SINIX (-whatever-sysv4)
NCR Unix (-ncr-sysv4)
and fixed something in helpers/PrintPath [Ben Laurie]
Changes with Apache 1.2b1
*) Not listed. See <http://www.apache.org/docs/new_features_1_2.html>
Changes with Apache 1.1.1
*) Fixed bug where Cookie module would make two entries in the
logfile for each access [Mark Cox]
*) Fixed bug where Redirect in .htaccess files would cause memory
leak. [Nathan Neulinger]
*) MultiViews now works correctly with AddHandler [Alexei Kosut]
*) Problems with mod_auth_msql fixed [Dirk vanGulik]
*) Fix misspelling of "Anonymous_Authorative" directive in mod_auth_anon.
Changes with Apache 1.1.0
*) Bring NeXT support up to date. [Takaaki Matsumoto]
*) Bring QNX support up to date. [Ben Laurie]
*) Make virtual hosts default to main server keepalive parameters.
[Alexei Kosut, Ben Laurie]
*) Allow ScanHTMLTitles to work with lowercase <title> tags. [Alexei Kosut]
*) Fix missing address family for connect, also remove unreachable statement
in mod_proxy. [Ben Laurie]
*) mod_env now turned on by default in Configuration.tmpl.
*) Bugs which were fixed:
a) yet more mod_proxy bugs [Ben Laurie]
b) CGI works again with inetd [Alexei Kosut]
c) Leading colons were stripped from passwords [osm@interguide.com]
d) Another fix to multi-method Limit problem [jk@tools.de]
Changes with Apache 1.1b4
*) r->bytes_sent variable restored. [Robert Thau]
*) Previously broken multi-method <Limit> parsing fixed. [Robert Thau]
*) More possibly unsecure programs removed from the support directory.
*) More mod_auth_msql authentication improvements.
*) VirtualHosts based on Host: headers no longer conflict with the
Listen directive.
*) OS/2 compatibility enhancements. [Gary Smiley]
*) POST now allowed to directory index CGI scripts.
*) Actions now work with files of the default type.
*) Bugs which were fixed:
a) more mod_proxy bugs
b) early termination of inetd requests
c) compile warnings on several systems
d) problems when scripts stop reading output early
Changes with Apache 1.1b3
*) Much of cgi-bin and all of cgi-src has been removed, due to
various security holes found and that we could no longer support
them.
*) The "Set-Cookie" header is now special-cased to not merge multiple
instances, since certain popular browsers can not handle multiple
Set-Cookie instructions in a single header. [Paul Sutton]
*) rprintf() added to buffer code, occurrences of sprintf removed.
[Ben Laurie]
*) CONNECT method for proxy module, which means tunneling SSL should work.
(No crypto needed) Also a NoCache config directive.
*) Several API additions: pstrndup(), table_unset() and get_token()
functions now available to modules.
*) mod_imap fixups, in particular Location: headers are now complete
URL's.
*) New "info" module which reports on installed module set through a
special URL, a la mod_status.
*) "ServerPath" directive added - allows for graceful transition
for Host:-header-based virtual hosts.
*) Anonymous authentication module improvements.
*) MSQL authentication module improvements.
*) Status module design improved - output now table-based. [Ben Laurie]
*) htdigest utility included for use with digest authentication
module.
*) mod_negotiation: Accept values with wildcards to be treated with
less priority than those without wildcards at the same quality
value. [Alexei Kosut]
*) Bugs which were fixed:
a) numerous mod_proxy bugs
b) CGI early-termination bug [Ben Laurie]
c) Keepalives not working with virtual hosts
d) RefererIgnore problems
e) closing fd's twice in mod_include (causing core dumps on
Linux and elsewhere).
Changes with Apache 1.1b2
*) Bugfixes:
a) core dumps in mod_digest
b) truncated hostnames/ip address in the logs
c) relative URL's in mod_imap map files
Changes with Apache 1.1b1
*) Not listed. See <http://www.apache.org/docs/new_features_1_1.html>
Changes with Apache 1.0.3
*) Internal redirects which occur in mod_dir.c now preserve the
query portion of a request (the bit after the question mark).
[Adam Sussman]
*) Escape active characters '<', '>' and '&' in html output in
directory listings, error messages and redirection links.
[David Robinson]
*) Apache will now work with LynxOS 2.3 and later [Steven Watt]
*) Fix for POSIX compliance in waiting for processes in alloc.c.
[Nick Williams]
*) setsockopt no longer takes a const declared argument [Martijn Koster]
*) Reset timeout timer after each successful fwrite() to the network.
This patch adds a reset_timeout() procedure that is called by
send_fd() to reset the timeout ever time data is written to the net.
[Nathan Schrenk]
*) timeout() signal handler now checks for SIGPIPE and reports
lost connections in a more user friendly way. [Rob Hartill]
*) Location of the "scoreboard" file which used to live in /tmp is
now configurable (for OSes that can't use mmap) via ScoreBoardFile
which works similar to PidFile (in httpd.conf) [Rob Hartill]
*) Include sys/resource.h in the correct place for SunOS4 [Sameer Parekh]
*) the pstrcat call in mod_cookies.c didn't have an ending NULL,
which caused a SEGV with cookies enabled
*) Output warning when MinSpareServers is set to <= 0 and change it to 1
[Rob Hartill]
*) Log the UNIX textual error returned by some system calls, in
particular errors from accept() [David Robinson]
*) Add strerror function to util.c for SunOS4 [Randy Terbush]
Changes with Apache 1.0.2
*) patch to get Apache compiled on UnixWare 2.x, recommended as
a temporary measure, pending rewrite of rfc931.c. [Chuck Murcko]
*) Fix get_basic_auth_pw() to set the auth_type of the request.
[David Robinson]
*) past changes to http_config.c to only use the
setrlimit function on systems defining RLIMIT_NOFILE
broke the feature on SUNOS4. Now defines HAVE_RESOURCE
for SUNOS and prototypes the needed functions.
*) Remove uses of MAX_STRING_LEN/HUGE_STRING_LEN from several routines.
[David Robinson]
*) Fix use of pointer to scratch memory. [Cliff Skolnick]
*) Merge multiple headers from CGI scripts instead of taking last
one. [David Robinson]
*) Add support for SCO 5. [Ben Laurie]
Changes with Apache 1.0.1
*) Silence mod_log_referer and mod_log_agent if not configured
[Randy Terbush]
*) Recursive includes can occur if the client supplies PATH_INFO data
and the server provider uses relative links; as file.html
relative to /doc.shtml/pathinfo is /doc.shtml/file.html. [David Robinson]
*) The replacement for initgroups() did not call {set,end}grent(). This
had two implications: if anything else used getgrent(), then
initgroups() would fail, and it was consuming a file descriptor.
[Ben Laurie]
*) On heavily loaded servers it was possible for the scoreboard to get
out of sync with reality, as a result of a race condition.
The observed symptoms are far more Apaches running than should
be, and heavy system loads, generally followed by catastrophic
system failure. [Ben Laurie]
*) Fix typo in license. [David Robinson]
Changes with Apache 1.0.0 23 Nov 1995
*) Not listed. See <http://www.apache.org/docs/new_features_1_0.html>
Changes with Apache 0.8.16 05 Nov 1995
*) New man page for 'httpd' added to support directory [David Robinson]
*) .htgroup files can have more than one line giving members for a
given group (each must have the group name in front), for NCSA
back-compatibility [Robert Thau]
*) Mutual exclusion around accept() is on by default for SVR4 systems
generally, since they generally can't handle multiple processes in
accept() on the same socket. This should cure flaky behavior on
a lot of those systems. [David Robinson]
*) AddType, AddEncoding, and AddLanguage directives take multiple
extensions on a single command line [David Robinson]
*) UserDir can be disabled for a given virtual host by saying
"UserDir disabled" in the <VirtualHost> section --- it was a bug
that this didn't work. [David Robinson]
*) Compiles on QNX [Ben Laurie]
*) Corrected parsing of ctime time format [David Robinson]
*) httpd does a perror() before exiting if it can't log its pid
to the PidFile, to make diagnosing the error a bit easier.
[David Robinson]
*) <!--#include file="..."--> can no longer include files in the
parent directory, for NCSA back-compatibility. [David Robinson]
*) '~' is *not* escaped in URIs generated for directory listings
[Roy Fielding]
*) Eliminated compiler warning in the imagemap module [Randy Terbush]
*) Fixed bug involving handling URIs with escaped %-characters
in redirects [David Robinson]
Changes with Apache 0.8.15 14 Oct 1995
*) Switched to new, simpler license
*) Eliminated core dumps with improperly formatted DBM group files [Mark Cox]
*) Don't allow requests for ordinary files to have PATH_INFO [Ben Laurie]
*) Reject paths containing %-escaped '%' or null characters [David Robinson]
*) Correctly handles internal redirects to files with names containing '%'
[David Robinson]
*) Repunctuated some error messages [Aram Mirzadeh, Andrew Wilson]
*) Use geteuid() rather than getuid() to see if we have root privilege,
so that server correctly resets privilege if run setuid root. [Andrew
Wilson]
*) Handle ftp: and telnet: URLs correctly in imagemaps (built-in module)
[Randy Terbush]
*) Fix relative URLs in imagemap files [Randy Terbush]
*) Somewhat better fix for the old "Alias /foo/ /bar/" business
[David Robinson]
*) Don't repeatedly open the ErrorLog if a bunch of <VirtualHost>
entries all name the same one. [David Robinson]
*) Fix directory listings with filenames containing unusual characters
[David Robinson]
*) Better URI-escaping for generated URIs in directories with filenames
containing unusual characters [Ben Laurie]
*) Fixed potential FILE* leak in http_main.c [Ben Laurie]
*) Unblock alarms on error return from spawn_child() [David Robinson]
*) Sample Config files have extra note for SCO users [Ben Laurie]
*) Configuration has note for HP-UX users [Rob Hartill]
*) Eliminated some bogus Linux-only #defines in conf.h [Aram Mirzadeh]
*) Nuked bogus #define in httpd.h [David Robinson]
*) Better test for whether a system has setrlimit() [David Robinson]
*) Calls update_child_status() after reopen_scoreboard() [David Robinson]
*) Doesn't send itself SIGHUP on startup when run in the -X debug-only mode
[Ben Laurie]
Changes with Apache 0.8.14 19 Sep 1995
*) Compiles on SCO ODT 3.0 [Ben Laurie]
*) AddDescription works (better) [Ben Laurie]
*) Leaves an intelligible error diagnostic when it can't set group
privileges on standalone startup [Andrew Wilson]
*) Compiles on NeXT again --- the 0.8.13 RLIMIT patch was failing on
that machine, which claims to be BSD but does not support RLIMIT.
[Randy Terbush]
*) gcc -Wall no longer complains about an unused variable when util.c
is compiled with -DMINIMAL_DNS [Andrew Wilson]
*) Nuked another compiler warning for -Wall on Linux [Aram Mirzadeh]
Changes with Apache 0.8.13 07 Sep 1995
*) Make IndexIgnore *work* (ooops) [Jarkko Torppa]
*) Have built-in imagemap code recognize & honor Point directive [James
Cloos]
*) Generate cleaner directory listings in directories with a mix of
long and short filenames [Rob Hartill]
*) Properly initialize dynamically loaded modules [Royston Shufflebotham]
*) Properly default ServerName for virtual servers [Robert Thau]
*) Rationalize handling of BSD in conf.h and elsewhere [Randy Terbush,
Paul Richards and a cast of thousands...]
*) On self-identified BSD systems (we don't try to guess any more),
allocate a few extra file descriptors per virtual host with setrlimit,
if we can, to avoid running out. [Randy Terbush]
*) Write 22-character lock file name into buffer with enough space
on startup [Konstantin Olchanski]
*) Use archaic setpgrp() interface on NeXT, which requires it [Brian
Pinkerton]
*) Suppress -Wall warning by casting const away in util.c [Aram Mirzadeh]
*) Suppress -Wall warning by initializing variable in negotiation code
[Tobias Weingartner]
Changes with Apache 0.8.12 31 Aug 1995
*) Doesn't pause three seconds after including a CGI script which is
too slow to die off (this is done by not even trying to kill off
subprocesses, including the SIGTERM/pause/SIGKILL routine, until
after the entire document has been processed). [Robert Thau]
*) Doesn't do SSI if Options Includes is off. (Ooops). [David Robinson]
*) Options IncludesNoExec allows inclusion of at least text/* [Roy Fielding]
*) Allows .htaccess files to override <Directory> sections naming the
same directory [David Robinson]
*) Removed an efficiency hack in sub_req_lookup_uri which was
causing certain extremely marginal cases (e.g., ScriptAlias of a
*particular* index.html file) to fail. [David Robinson]
*) Doesn't log an error when the requested URI requires
authentication, but no auth header line was supplied by the
client; this is a normal condition (the client doesn't no auth is
needed here yet). [Robert Thau]
*) Behaves more sanely when the name server loses its mind [Sean Welch]
*) RFC931 code compiles cleanly on old BSDI releases [Randy Terbush]
*) RFC931 code no longer passes out name of prior clients on current
requests if the current request came from a server that doesn't
do RFC931. [David Robinson]
*) Configuration script accepts "Module" lines with trailing whitespace.
[Robert Thau]
*) Cleaned up compiler warning from mod_access.c [Robert Thau]
*) Cleaned up comments in mod_cgi.c [Robert Thau]
Changes with Apache 0.8.11 24 Aug 1995
*) Wildcard <Directory> specifications work. [Robert Thau]
*) Doesn't loop for buggy CGI on Solaris [Cliff Skolnick]
*) Symlink checks (FollowSymLinks off, or SymLinkIfOwnerMatch) always check
the file being requested itself, in addition to the directories leading
up to it. [Robert Thau]
*) Logs access failures due to symlink checks or invalid client address
in the error log [Roy Fielding, Robert Thau]
*) Symlink checks deal correctly with systems where lstat of
"/path/to/some/link/" follows the link. [Thau, Fielding]
*) Doesn't reset DirectoryIndex to 'index.html' when
other directory options are set in a .htaccess file. [Robert Thau]
*) Clarified init code and nuked bogus warning in mod_access.c
[Florent Guillaume]
*) Corrected several directives in sample srm.conf
--- includes corrections to directory indexing icon-related directives
(using unknown.gif rather than unknown.xbm as the DefaultIcon, doing
icons for encodings right, and turning on AddEncoding by default).
[Roy Fielding]
*) Corrected descriptions of args to AddIcon and AddAlt in command table
[James Cloos]
*) INSTALL & README mention "contributed modules" directory [Brian
Behlendorf]
*) Fixed English in the license language... "for for" --> "for".
[Roy Fielding]
*) Fixed ScriptAlias/Alias interaction by moving ScriptAlias handling to
mod_alias.c, merging it almost completely with handling of Alias, and
adding a 'notes' field to the request_rec which allows the CGI module
to discover whether the Alias module has put this request through
ScriptAlias (which it needs to know for back-compatibility, as the old
NCSA code did not check Options ExecCGI in ScriptAlias directories).
[Robert Thau]
Changes with Apache 0.8.10 18 Aug 1995
*) AllowOverride applies to the named directory, and not just
subdirectories. [David Robinson]
*) Do locking for accept() exclusion (on systems that need it)
using a special file created for the purpose in /usr/tmp, and
not the error log; using the error log causes real problems
if it's NFS-mounted; this is known to be the cause of a whole
lot of "server hang" problems with Solaris. [David Robinson;
thanks to Merten Schumann for help diagnosing the problem].
Changes with Apache 0.8.9 12 Aug 1995
*) Compiles with -DMAXIMUM_DNS ---- ooops! [Henrik Mortensen]
*) Nested includes see environment variables of the including document,
for NCSA bug-compatibility (some sites have standard footer includes
which try to print out the last-modified date). [Eric Hagberg/Robert
Thau]
*) <!--exec cgi="/some/uri/here"--> always treats the item named by the
URI as a CGI script, even if it would have been treated as something
else if requested directly, for NCSA back-compatibility. (Note that
this means that people who know the name of the script can see the
code just by asking for it). [Robert Thau]
*) New version of dbmmanage script included in support directory as
dbmmanage.new.
*) Check if scoreboard file couldn't be opened, and say so, rather
then going insane [David Robinson]
*) POST to CGI works on A/UX [Jim Jagielski]
*) AddIcon and AddAlt commands work properly [Rob Hartill]
*) NCSA server push works properly --- the Arena bug compatibility
workaround, which broke it, is gone (use -DARENA_BUG_WORKAROUND
if you still want the workaround). [Rob Hartill]
*) If client didn't submit any Accept-encodings, ignore encodings in
content negotiation. (NB this will all have to be reworked anyway
for the new HTTP draft). [Florent Guillaume]
*) Don't dump core when trying to log timed-out requests [Jim Jagielski]
*) Really honor CacheNegotiatedDocs [Florent Guillaume]
*) Give Redirect priority over Alias, for NCSA bug compatibility
[David Robinson]
*) Correctly set PATH_TRANSLATED in all cases from <!--#exec cmd=""-->,
paralleling earlier bug fix for CGI [David Robinson]
*) If DBM auth is improperly configured, report a server error and don't
dump core.
*) Deleted FCNTL_SERIALIZED_ACCEPTS from conf.h entry for A/UX;
it seems to work well enough without it (even in a 10 hits/sec
workout), and the overhead for the locking under A/UX is
alarmingly high (though it is very low on other systems).
[Eric Hagberg, Jim Jagielski]
*) Fixed portability problems with mod_cookies.c [Cliff Skolnick]
*) Further de-Berklize mod_cookies.c; change the bogus #include. [Brian
Behlendorf/Eric Hagberg]
*) More improvements to default Configuration for A/UX [Jim Jagielski]
*) Compiles clean on NEXT [Rob Hartill]
*) Compiles clean on SGI [Robert Thau]
Changes with Apache 0.8.8 08 Aug 1995
*) SunOS library prototypes now never included unless explicitly
requested in the configuration (via -DSUNOS_LIB_PROTOTYPES);
people using GNU libc on SunOS are screwed by prototypes for the
standard library.
(Those who wish to compile clean with gcc -Wall on a standard
SunOS setup need the prototypes, and may obtain them using
-DSUNOS_LIB_PROTOTYPES. Those wishing to use -Wall on a system
with nonstandard libraries are presumably competent to make their
own arrangements).
*) Strips trailing '/' characters off both args to the Alias command,
to make 'Alias /foo/ /bar/' work.
Changes with Apache 0.8.7 03 Aug 1995
*) Don't hang when restarting with a child from 'TransferLog "|..."' running
[reported by David Robinson]
*) Compiles clean on OSF/1 [David Robinson]
*) Added some of the more recent significant changes (AddLanguage stuff,
experimental LogFormat support) to CHANGES file in distribution root
directory
Changes with Apache 0.8.6 02 Aug 1995
*) Deleted Netscape reload workaround --- it's in violation of HTTP specs.
(If you actually wanted a conditional GET which bypassed the cache, you
couldn't get it). [Reported by Roy Fielding]
*) Properly terminate headers on '304 Not Modified' replies to conditional
GETs --- no browser we can find cares much, but the CERN proxy chokes.
[Reported by Cliff Skolnick; fix discovered independently by Rob Hartill]
*) httpd -v doesn't call itself "Shambhala". [Reported by Chuck Murcko]
*) SunOS lib-function prototypes in conf.h conditionalized on __GNUC__,
not __SUNPRO_C (they're needed to quiet gcc -Wall, but acc chokes on 'em,
and older versions don't set the __SUNPRO_C preprocessor variable). On
all other systems, these are never used anyway. [Reported by Mark Cox].
*) Scoreboard file (/tmp/htstatus.*) no longer publically writable.
Changes with Apache 0.8.5 01 Aug 1995
*) Added last-minute configurable log experiment, as optional module
*) Correctly set r->bytes_sent for HTTP/0.9 requests, so they get logged
properly. (One-line fix to http_protocol.c).
*) Work around bogus behavior when reloading from Netscape.
It's Netscape's bug --- for some reason they expect a request with
If-modified-since: to not function as a conditional GET if it also
comes with Pragma: no-cache, which is way out of line with the HTTP
spec (according to Roy Fielding, the redactor).
*) Added parameter to set maximum number of server processes.
*) Added patches to make it work on A/UX. A/UX is *weird*. [Eric Hagberg,
Jim Jagielski]
*) IdentityCheck bugfix [Chuck Murcko].
*) Corrected cgi-src/Makefile entry for new imagemap script. [Alexei Kosut]
*) More sample config file corrections; add extension to AddType for
*.asis, move AddType generic description to its proper place, and
fix miscellaneous typos. [ Alexei Kosut ]
*) Deleted the *other* reference to the regents from the Berkeley
legal disclaimer (everyplace).
*) Nuked Shambhala name from src/README; had already cleaned it out
of everywhere else.
Changes with Apache 0.8.4
*) Changes to server-pool management parms --- renamed current
StartServers to MinSpareServers, created separate StartServers
parameter which means what it says, and renamed MaxServers to
MaxSpareServers (though the old name still works, for NCSA 1.4
back-compatibility). The old names were generally regarded as
too confusing. Also altered "docs" in sample config files.
*) More improvements to default config files ---
sample directives (commented out) for XBitHack, BindAddress,
CacheNegotiatedDocs, VirtualHost; decent set of AddLanguage
defaults, AddTypes for send-as-is and imagemap magic types, and
improvements to samples for DirectoryIndex [Alexei Kosut]
*) Yet more improvements to default config files --- changes to
Alexei's sample AddLanguage directives, and sample LanguagePriority
[ Florent Guillaume ]
*) Set config file locations properly if not set in httpd.conf
[ David Robinson ]
*) Don't escape URIs in internal redirects multiple times; don't
do that when translating PATH_INFO to PATH_TRANSLATED either.
[ David Robinson ]
*) Corrected spelling of "Required" in 401 error reports [Andrew Wilson]
Changes with Apache 0.8.3
*) Edited distribution README to *briefly* summarize installation
procedures, and give a pointer to the INSTALL file in the src/
directory.
*) Upgraded imagemap script in cgi-bin to 1.8 version from more
recent NCSA distributions.
*) Bug fix to previous bug fix --- if .htaccess file and <Directory>
exist for the same directory, use both and don't segfault. [Reported
by David Robinson]
*) Proper makefile dependencies [David Robinson]
*) Note (re)starts in error log --- reported by Rob Hartill.
*) Only call no2slash() after get_path_info() has been done, to
preserve multiple slashes in the PATH_INFO [NCSA compatibility,
reported by Andrew Wilson, though this one is probably a real bug]
*) Fixed mod_imap.c --- relative paths with base_uri referer don't
dump core when Referer is not supplied. [Randy Terbush]
*) Lightly edited sample config files to refer people to our documentation
instead of NCSA's, and to list Rob McCool as *original* author (also
deleted his old, and no doubt non-functional email address). Would be
nice to have examples of new features...
Changes with Apache 0.8.2 19 Jul 1995
*) Added AddLanuage code [Florent Guillaume]
*) Don't say "access forbidden" when a CGI script is not found. [Mark Cox]
*) All sorts of problems when MultiViews finds a directory. It would
be nice if mod_dir.c was robust enough to handle that, but for now,
just punt. [reported by Brian Behlendorf]
*) Wait for all children on restart, to make sure that the old socket
is gone and we can reopen it. [reported by Randy Terbush]
*) Imagemap module is enabled in default Configuration
*) RefererLog and UserAgentLog modules properly default the logfile
[Randy Terbush]
*) Mark Cox's mod_cookies added to the distribution as an optional
module (commented out in the default Configuration, and noted as
an experiment, along with mod_dld). [Mark Cox]
*) Compiles on ULTRIX (a continuing battle...). [Robert Thau]
*) Fixed nasty bug in SIGTERM handling [reported by Randy Terbush]
*) Changed "Shambhala" to "Apache" in API docs. [Robert Thau]
*) Added new, toothier legal disclaimer. [Robert Thau; copied from BSD
license]
Changes with Apache 0.8.1
*) New imagemap module [Randy Terbush]
*) Replacement referer log module with NCSA-compatible RefererIgnore
[Matthew Gray again]
*) Don't mung directory listings with very long filenames.
[Florent Guillaume]
Changes with Apache 0.8.0 (nee Shambhala 0.6.2) 16 Jul 1995
*) New config script. See INSTALL for info. [Robert Thau]
*) Scoreboard mechanism for regulating the number of extant server
processes. MaxServers and StartServers defaults are the same as
for NCSA, but the meanings are slightly different. (Actually,
I should probably lower the MaxServers default to 10).
Before asking for a new connection, each server process checks
the number of other servers which are also waiting for a
connection. If there are more than MaxServers, it quietly dies
off. Conversely, every second, the root, or caretaker, process
looks to see how many servers are waiting for a new connection;
if there are fewer than StartServers, it starts a new one. This
does not depend on the number of server processes already extant.
The accounting is arranged through a "scoreboard" file, named
/tmp/htstatus.*, on which each process has an independent file
descriptor (they need to seek without interference).
The end effect is that MaxServers is the maximum number of
servers on an *inactive* server machine, but more will be forked
off to handle unusually heavy loads (or unusually slow clients);
these will die off when they are no longer needed --- without
reverting to the overhead of full forking operation. There is a
hard maximum of 150 server processes compiled in, largely to
avoid forking out of control and dragging the machine down.
(This is arguably too high).
In my server endurance tests, this mechanism did not appear to
impose any significant overhead, even after I forced it to put the
scoreboard file on a normal filesystem (which might have more
overhead than tmpfs). [Robert Thau]
*) Set HTTP_FOO variables for SSI <!--#exec cmd-->s, not just CGI scripts.
[Cliff Skolnick]
*) Read .htaccess files even in directory with <Directory> section.
(Former incompatibility noted on mailing list, now fixed). [Robert
Thau]
*) "HEAD /" gives the client a "Bad Request" error message, rather
than trying to send no body *and* no headers. [Cliff Skolnick].
*) Don't produce double error reports for some very obscure cases
mainly involving auth configuration (the "all modules decline to
handle" case which is a sure sign of a server bug in most cases,
but also happens when authentication is badly misconfigured).
[Robert Thau]
*) Moved FCNTL_SERIALIZED_ACCEPT defines into conf.h (that's what
it's *for*, and this sort of thing really shouldn't be cluttering
up the Makefile). [Robert Thau]
*) Incidental code cleanups in http_main.c --- stop dragging
sa_client around; just declare it where used. [Robert Thau]
*) Another acc-related fix. (It doesn't like const char
in some places...). [Mark Cox]
Changes with Shambhala 0.6.1 13 Jul 1995
*) Fixed auth_name-related typos in http_core.c [Brian Behlendorf]
Also, fixed auth typo in http_protocol.c unmasked by this fix.
*) Compiles clean with acc on SunOS [Paul Sutton]
*) Reordered modules in modules.c so that Redirect takes priority
over ScriptAlias, for NCSA bug-compatibility [Rob Hartill] ---
believe it or not, he has an actual site with a ScriptAlias and
a Redirect declared for the *exact same directory*. Even *my*
compatibility fetish wouldn't motivate me to fix this if the fix
required any effort, but it doesn't, so what the hey.
*) Fixed to properly default several server_rec fields for virtual
servers from the corresponding fields in the main server_rec.
[Cliff Skolnick --- 'port' was a particular irritant].
*) No longer kills off nph- child processes before they are
finished sending output. [Matthew Gray]
Changes with Shambhala 0.6.0 10 Jul 1995
*) Two styles of timeout --- hard and soft. soft_timeout()s just put
the connection to the client in an "aborted" state, but otherwise
allow whatever handlers are running to clean up. hard_timeout()s
abort the request in progress completely; anything not tied to some
resource pool cleanup will leak. They're still around because I
haven't yet come up with a more elegant way of handling
timeouts when talking to something that isn't the client. The
default_handler and the dir_handler now use soft timeouts, largely
so I can test the feature. [Robert Thau]
*) TransferLog "| my_postprocessor ..." seems to be there. Note that
the case of log handlers dying prematurely is probably handled VERY
gracelessly at this point, and if the logger stops reading input,
the server will hang. (It is known to correctly restart the
logging process on server restart; this is (should be!) going through
the same SIGTERM/pause/SIGKILL routine used to ding an errant CGI
script). [Robert Thau]
*) asis files supported (new module). [Robert Thau]
*) IdentityCheck code is compiled in, but has not been tested. (I
don't know anyone who runs identd). [Robert Thau]
*) PATH_INFO and PATH_TRANSLATED are not set unless some real PATH_INFO
came in with the request, for NCSA bug-compatibility. [Robert Thau]
*) Don't leak the DIR * on HEAD request for a directory. [Robert Thau]
*) Deleted the block_alarms() stuff from dbm_auth; no longer necessary,
as timeouts are not in scope. [Robert Thau]
*) quoted-string args in config files now handled correctly (doesn't drop
the last character). [Robert Thau; reported by Randy Terbush]
*) Fixed silly typo in http_main.c which was suddenly fatal in HP-UX.
How the hell did it ever work? [Robert Thau; reported by Rob Hartill]
*) mod_core.c --- default_type returns DEFAULT_TYPE (the compile-time
default default type); the former default default behavior when all
type-checkers defaulted had been a core dump. [Paul Sutton]
*) Copy filenames out of the struct dirent when indexing
directories. (On Linux, readdir() returns a pointer to the same
memory area every time). Fix is in mod_dir.c. [Paul Sutton]
Changes with Shambhala 0.5.3 [not released]
*) Default response handler notes "file not found" in the error log,
if the file was not found. [Cliff Skolnick].
*) Another Cliff bug --- "GET /~user" now properly redirects (the userdir
code no longer sets up bogus PATH_INFO which fakes out the directory
handler). [Cliff Skolnick]
Changes with Shambhala 0.5.2 06 Jul 1995
*) Changes to http_main.c --- root server no longer plays silly
games with SIGCHLD, and so now detects and replaces dying
children. Child processes just die on SIGTERM, without taking
the whole process group with them. Potential problem --- if any
child process refuses to die, we hang in restart.
MaxRequestsPerChild may still not work, but it certainly works
better than it did before this! [Robert Thau]
*) mod_dir.c bug fixes: ReadmeName and HeaderName
work (or work better, at least); over-long description lines
properly terminated. [Mark Cox]
*) http_request.c now calls unescape_url() more places where it
should [Paul Sutton].
*) More directory handling bugs (reported by Cox)
Parent Directory link is now set correctly. [Robert Thau]
Changes with Shambhala 0.5.1 04 Jul 1995
*) Generalized cleanup interface in alloc.c --- any function can be
registered with alloc.c as a cleanup for a resource pool;
tracking of files and file descriptors has been reimplemented in
terms of this interface, so I can give it some sort of a test.
[Robert Thau]
*) More changes in alloc.c --- new cleanup_for_exec() function,
which tracks down and closes all file descriptors which have been
registered with the alloc.c machinery before the server exec()s a
child process for CGI or <!--#exec-->. CGI children now get
started with exactly three file descriptors open. Hopefully,
this cures the problem Rob H. was having with overly persistent
CGI connections. [Robert Thau]
*) Mutual exclusion around the accept() in child_main() --- this is
required on at least SGI, Solaris and Linux, and is #ifdef'ed in
by default on those systems only (-DFCNTL_SERIALIZED_ACCEPT).
This uses fcntl(F_SETLK,...) on the error log descriptor because
flock() on that descriptor won't work on systems which have BSD
flock() semantics, including (I think) Linux 1.3 and Solaris.
This does work on SunOS (when the server is idle, only one
process in the pool is waiting on accept()); it *ought* to work
on the other systems. [Robert Thau]
*) FreeBSD and BSDI portability tweaks [Chuck Murcko]
*) sizeof(*sa_client) bugfix from [Rob Hartill]
*) pstrdup(..., NULL) returns NULL, [Randy Terbush]
*) block_alarms() to avoid leaking the DBM* in dbm auth (this should
be unnecessary if I go to the revised timeout-handling scheme).
[Robert Thau]
*) For NCSA bug-compatibility, set QUERY_STRING env var (to a null
string) even if none came in with the request. [Robert Thau]
*) CHANGES file added to distribution ;-).
Changes with Shambhala 0.4.5
*) mod_dld --- early dynamic loading support [rst]
*) Add wildcard content handlers for XBITHACK; default_hander now
invoked with that mechanism (as a handler hanging off mod_core) [rst]
*) XBITHACK supported as a wildcard content-handler, and
configurable at run-time (not just at compile time, as in the
"patchy server" releases) [rst]
Changes with Shambhala 0.4.4 30 Jun 1995
*) Fixed basic thinkos in mod_dbm_auth.c [rst, reported by Mark Cox]
*) Handle Addtype x/y .z [rst, reported by Cox]
Changes with Shambhala 0.4.3
*) Fixed very dumb bug in mod_alias; "Alias" and "Redirect" are not
synonymous [rst, terbush]
Changes with Shambhala 0.4.1 28 Jun 1995
*) First-cut virtual host implementation; some refit in the config
reading code, and log management, was necessary to support this [rst]
*) Sub-pool machinery, originally added to avoid excessive storage
allocation on listings of large directories (which turned out to
be the problem that the 0.3 storage accounting was added to
find). Subrequests and mod_dir changed to use subpools. [rst]
*) More memory debugging --- free list consistency checks. [rst]
*) Added err_headers to request_rec, with support elsewhere [rst]
*) Other fixes to minor bugs in mod_dir and mod_includes [rst, terbush]
Changes with Shambhala 0.3 19 Jun 1995
*) Switch ONE_PROCESS to a runtime command-line option (-X)
*) Don't compile in mod_ai_backcompat by default
*) Switch name of server from Apache to Shambhala in Makefile
*) Add some accounting routines to track memory usage in the pools,
for debugging
Changes with Shambhala 0.2
*) Set DOCUMENT_ROOT CGI variable
*) Add single-process debugging, as a compile-time option (ONE_PROCESS)
*) Add critical section protection to handling of cleanup structures
in alloc.c [rst]
*) Significant code reorg within the server core to group related
functions together [rst]
*) Correctly handle clients that hang up before sending any request
[rst]
*) Replace dying child processes. [rst]
Changes with Shambhala 0.1 12 Jun 1995
Major rewrite of the pre-existing "patchy server" codebase, by
Robert Thau (rst). Significant portions of the server code, such
as configuration-file handling and HTTP authentication support,
were ripped out and rewritten from scratch. Code that was not
completely rewritten was significantly altered.
Major changes with this release include:
*) Introduction of the module API; in request handling, the central
machinery just dispatches to various modules, which actually do
most of the work. Configuration handling is similar --- modules
declare their own commands, and the central machinery just
dispatches to them.
API features from shambhala/0.1 were substantially unchanged in
Apache 1.0 and 1.1. (1.0 API features not yet present in this
release, such as wildcard handlers and subpools, were added in
subsequent Shambhala releases, and were also generally rst's
work).
*) This release included the following modules:
mod_access (access control --- allow and deny directives),
mod_alias (Alias and Redirect commands),
mod_auth (straight HTTP authentication, based on flat-files)
mod_auth_dbm (same, with dbm files)
mod_cgi (CGI scripts and, in this release, ScriptAlias)
mod_common_log (CLF access logs; later renamed mod_log_common)
mod_dir (directory indexing)
mod_include (server-side includes)
mod_mime (AddType directives)
mod_negotiation (content negotiation)
mod_userdir (support for users' public_html directories)
It also included a mod_ai_backcompat, which was a private hack
for back-compatibility with rst's own AI-lab servers.
All of these modules were substantially complete, and functional
or nearly so (a few, which implemented features not in use at
Thau's site, required patches of a few lines).
*) sub-request machinery, to allow modules to determine how other
modules would assign MIME types to a given file, or optionally
serve its content (this is heavily used by mod_dir, mod_include
and mod_negotiation).
*) Resource pool system for keeping track of memory allocated and
files opened in service of a particular request. Much of the
code in the modules (when they weren't rewrites) was adjusted to
replace a pervasive convention of using fixed-size buffers on
the stack with an equally pervasive convention of using memory
allocated with palloc().
*) Reorganization of data structures associated with a given
request to eliminate use of global variables and the troublesome
unmunge_name function (used in NCSA and early Apache releases to
attempt to determine the URI which mapped to a given filename
--- a difficult proposition, given that it is easy to produce
setups in which multiple URIs map to the same file).
*) Source files renamed and rearranged
*) Very simple pre-forking behavior --- parent process forked off a
fixed number of children, and then just waited for SIGHUP.
*) Other more minor changes too numerous to list.
This release included modified versions of a lot of code from the
Apache 0.6.4 public release, plus an early pre-forking patch
codeveloped by Robert Thau and Rob Hartill.
Changes with Apache 0.7.3 20 Jun 1995
*) There were a bunch of changes between Apache 0.6.4 and 0.7.3 that
were incorporated by Rob Hartill on the main branch while Robert Thau
worked on the Shambhala rewrite above. Most were merged into the
Shambala architecture after Apache 0.8.0.
Changes with Apache 0.6.4 13 May 1995
*) Patches by Rob Hartill, Cliff Skolnick, Randy Terbush, Robert Thau,
and others.
Changes with Apache 0.5.1 10 Apr 1995
Changes with Apache 0.4 02 Apr 1995
*) Patches by Brian Behlendorf, Andrew Wilson, Robert Thau,
and Rob Hartill.
Changes with Apache 0.3 24 Mar 1995
*) Patches by Robert Thau, David Robinson, Rob Hartill, and
Carlos Varela.
Changes with Apache 0.2 18 Mar 1995
*) Based on NCSA httpd 1.3 by Rob McCool and patches by CERT,
Roy Fielding, Robert Thau, Nicolas Pioch, David Robinson,
Brian Behlendorf, Rob Hartill, and Cliff Skolnick.