Commit Graph

319 Commits

Author SHA1 Message Date
b906d05f70 Linux 2.4+: enable coredumps when Apache is started as root if
CoreDumpDirectory is explicitly coded


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98908 13f79535-47bb-0310-9956-ffa450edef68
2003-03-06 21:48:58 +00:00
a45632ba37 *) Introduce debugging symbols for Win32 release builds, both .pdb
and .dbg files (older debuggers and Dr. Watson-type utilities
     on WinNT or Win9x don't support the newer .pdb flavor.)
     [Allen Edwards, William Rowe]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98596 13f79535-47bb-0310-9956-ffa450edef68
2003-02-07 21:30:53 +00:00
742af25096 finished that boring job:
update license to 2003.

Happy New Year! ;-))


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 17:53:28 +00:00
89d2be9245 Integrate mod_ident with the Win32 build.
Submitted by David Shane Holden <dpejesh@yahoo.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98386 13f79535-47bb-0310-9956-ffa450edef68
2003-01-20 21:38:50 +00:00
cd0dc38dad Reduce the number of parameters on the event callback to avoid a protected
mode issue


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98299 13f79535-47bb-0310-9956-ffa450edef68
2003-01-16 23:31:35 +00:00
85a2ec41c6 Added a required parameter to RegisterForEventNotification() to allow the
function to be called in protected address space.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98237 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 15:43:23 +00:00
0ad3752a5d Fix win32 compile break due to file name changes in apr/include/arch/win32
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98204 13f79535-47bb-0310-9956-ffa450edef68
2003-01-08 19:29:05 +00:00
60c843a69a Register for the SERVERDOWN event to allow Apache to shutdown gracefully
when the NetWare OS is shutdown


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97898 13f79535-47bb-0310-9956-ffa450edef68
2002-12-12 19:40:52 +00:00
79ddea131d To be on the safe side...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97732 13f79535-47bb-0310-9956-ffa450edef68
2002-12-02 13:40:27 +00:00
6085062991 Must have symbolics for util_ldap/mod_auth_ldap base addresses.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97730 13f79535-47bb-0310-9956-ffa450edef68
2002-12-01 23:38:44 +00:00
a3fc322d82 Don't hold the Apache screen open when it exits with an error if all of the error
messages are going to a file anyway.  In other words, don't hold the screen
open if the -E <filename> command line parameter is used.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97507 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 21:14:02 +00:00
e3f5de91bc A comment which no longer applies (proper AP_DECLARE_DATA voided the
disclaimer.)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97460 13f79535-47bb-0310-9956-ffa450edef68
2002-11-08 16:29:19 +00:00
fde1ff1bf8 Well that was a little borked, if you were having stack problems using
logio the missing pre_connection hook declartion could have something
  to do with it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97379 13f79535-47bb-0310-9956-ffa450edef68
2002-11-01 18:07:52 +00:00
d387982c7a Restrict Win32 API replacements from interfering with 3rd-party builders
of add-ons or any other consumer of win32's os.h.  PR 12779.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96875 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 16:42:02 +00:00
807087a5e2 Forgot a file from the build overhaul for aaa ... need all those new
modules mapped into memory.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96809 13f79535-47bb-0310-9956-ffa450edef68
2002-09-14 16:34:16 +00:00
ebb7183a7b Removed access_module, auth_module and added authz_host_module in
order to comply with the new auth module architecture


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96792 13f79535-47bb-0310-9956-ffa450edef68
2002-09-13 21:43:22 +00:00
0071d5f8ed Avoid calling the real exit() function when the macro exit() is called outside of
a code block.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96627 13f79535-47bb-0310-9956-ffa450edef68
2002-09-03 22:00:36 +00:00
e13b336392 Resolve more handle leaks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96256 13f79535-47bb-0310-9956-ffa450edef68
2002-07-31 06:16:47 +00:00
d1bf15268a Refactor out the child behavior from mpm_winnt. This is the first
step in making a legible multiprocess windows mpm, or at least
  structuring the code to always begin a new child as an old one is
  going to die soon, rather than waiting for it's final dying breath.

  The only code that had to be affected [due to the split and general
  structure of the code] was merging the set_listeners_noninherited()
  code directly into the get_listeners_from_parent code, and also into
  the apr socket.c code for winnt.  For the most part the code splits
  rather nicely.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96221 13f79535-47bb-0310-9956-ffa450edef68
2002-07-29 05:06:20 +00:00
73f7934fd4 Hold the Apache screen open on NetWare if exit() is called for any reason
during initialization and configuration of the main Apache process.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96172 13f79535-47bb-0310-9956-ffa450edef68
2002-07-24 15:17:56 +00:00
ffbad94d87 No reason not to build charset_lite anymore on Win32
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96122 13f79535-47bb-0310-9956-ffa450edef68
2002-07-19 08:51:48 +00:00
4008f0e863 Try this AGAIN. Move ap_regkey.h to include/ and assure that this time,
it contains defined(WIN32)||defined(DOXYGEN) requirements to prevent the
  other platform exports from barfing.  Please ack if this works for you.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96019 13f79535-47bb-0310-9956-ffa450edef68
2002-07-11 19:57:02 +00:00
5614e5b0be Fix a const'ness conflict.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95948 13f79535-47bb-0310-9956-ffa450edef68
2002-07-03 00:17:40 +00:00
f4a72a6b00 Never trust Bill when he cuts and pastes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95938 13f79535-47bb-0310-9956-ffa450edef68
2002-07-02 19:07:48 +00:00
ad165f3ef7 Introduce a _raw_set/_raw_get for regkey values. Takes care of all the
oddballs, and lets us simplify _array_set/_array_get.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95936 13f79535-47bb-0310-9956-ffa450edef68
2002-07-02 19:02:00 +00:00
48805e658d Add ap_os_proc_filepath and clean up the win32/os.h file structure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95927 13f79535-47bb-0310-9956-ffa450edef68
2002-07-01 17:48:47 +00:00
1149429227 fix compile breakage with IBM's xlc compiler caused by the
attempt to lose const on progname

strrchr was not the real library function that takes a
const parameter; instead, strrchr was the Apache macro which
makes it clear that const will be lost


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95900 13f79535-47bb-0310-9956-ffa450edef68
2002-06-27 10:47:49 +00:00
b274510242 Fix a long-standing bug in 2.0, CGI scripts were being called
with relative paths instead of absolute paths.  Apache 1.3 used
absolute paths for everything except for SuExec, this brings back
that standard.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95899 13f79535-47bb-0310-9956-ffa450edef68
2002-06-27 06:07:58 +00:00
b7f68a9349 Doxygenate the rest of this header. Had I not overlooked the #ifdef WIN32
I probably wouldn't have had any issues parking this file in httpd/include


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95894 13f79535-47bb-0310-9956-ffa450edef68
2002-06-27 03:54:50 +00:00
d545963de7 Add in the other complex ap_regkey_value_foo() fns and move ap_regkey.h
Out Of The Way of exports stumbling onto it!!!


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95879 13f79535-47bb-0310-9956-ffa450edef68
2002-06-24 07:50:36 +00:00
14111fd4ca Introduce win32 registry handling through a very apr-ish interface.
Deals with apr utf-8 encoding of filesystem values, so we preserve
  strings in any locality or nationalized flavor of WinNT, and avoid
  the gunk for Win9x.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95875 13f79535-47bb-0310-9956-ffa450edef68
2002-06-24 04:50:41 +00:00
3f18121201 Finish the -w keep-console-open-on-error patch.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95869 13f79535-47bb-0310-9956-ffa450edef68
2002-06-23 10:24:07 +00:00
973b229950 Implemented ap_os_create_privileged_process() for NetWare which simply maps to
apr_proc_create()


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95446 13f79535-47bb-0310-9956-ffa450edef68
2002-05-31 17:17:40 +00:00
d23f9673bc Added mod_cgi and mod_netware as built in module in the NetWare build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95445 13f79535-47bb-0310-9956-ffa450edef68
2002-05-31 17:16:09 +00:00
c09368cc88 Fix for suexec execution of CGI scripts from mod_include
(including security patch to ensure that <!--#include file="name.cgi"-->
is run as the suexec user rather than the httpd user)
PR: 7791, 8291
Submitted by: Colm MacCarthaigh <colmmacc@redbrick.dcu.ie>
Reviewed by:	Brian Pane


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95290 13f79535-47bb-0310-9956-ffa450edef68
2002-05-26 08:27:10 +00:00
7fa760515c Fix linking of OS/2 core after recent changes that took apr/apr-util out
of EXTRA_LIBS. Use AP_LIBS to get all required libraries.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95218 13f79535-47bb-0310-9956-ffa450edef68
2002-05-22 14:49:58 +00:00
0436304b2b OS/2: export inet_addr from the core for mod_proxy & anything else that uses
apr_inet_addr which is just a #define.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95217 13f79535-47bb-0310-9956-ffa450edef68
2002-05-22 14:38:55 +00:00
bc0cf18899 stop using APLOG_NOERRNO in calls to ap_log_[pr]error()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95151 13f79535-47bb-0310-9956-ffa450edef68
2002-05-17 11:33:10 +00:00
31886a5756 Address PR 8963
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95025 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 03:56:53 +00:00
ec5a585bbb APR_PROC_MUTEX_IS_GLOBAL is the condition where apr_global_mutex_t
and apr_proc_mutex_t are interchangeable


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95009 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 13:19:54 +00:00
c33e4574d8 Add unixd_set_global_mutex_perms so we can set permissions on things like
SysV Semaphores in the core and modules.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94968 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 18:19:53 +00:00
0f183a2e01 Not yet added to the default build, but curious if they build and run.
mod_deflate tested with both zlib 1.1.3/1.1.4, unpacked in srclib/zlib/.
  Zlib only seems to have .dll builds, not very efficient when a single
  binary is built against sources, so we compile the appropriate sources.
  Your mileage may vary.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94800 13f79535-47bb-0310-9956-ffa450edef68
2002-04-25 18:01:44 +00:00
924fc33d06 Fix suexec invocations from userdir - the ~ was not being prepended to the
uid per our convention.  Therefore, bad things would happen (like we
wouldn't cd to the right directory).

Add a flag to the ap_unix_identity_t structure to indicate if we are in
a userdir - if so, prefix the ~.

(Modified by Justin, but Colm's patch pointed me in the right direction.)

PR: 7810
Submitted by:	Colm <colmmacc@redbrick.dcu.ie>
Reviewed by:	Justin Erenkrantz


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94791 13f79535-47bb-0310-9956-ffa450edef68
2002-04-25 07:18:40 +00:00
d716a8302f Remove uses of apr_lock.h. This patch is untested, but I don't see where
the apr_lock.h include was necessary anyway.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94565 13f79535-47bb-0310-9956-ffa450edef68
2002-04-09 06:47:25 +00:00
d39795abc0 Would really prefer if the authors of the .dsp's would maintain this...
better yet - clone existing .dsp's to assure they are correct


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94413 13f79535-47bb-0310-9956-ffa450edef68
2002-04-03 06:07:36 +00:00
70bb2575ea The old, legacy (and unused) code in which the scoreboard was totally
and completely contained in a file (SCOREBOARD_FILE) has been
removed. This does not affect scoreboards which are *mapped* to
files using named-shared-memory at all. This implies that scoreboards
must be based, at some level, on native shared memory (mmap, shm_open,
shmget, whatever), but the code has assumed that for quite awhile
now. Having the scoreboard be *based* on a file makes no sense today.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94306 13f79535-47bb-0310-9956-ffa450edef68
2002-03-29 14:33:50 +00:00
da65586a94 Added code to extract the current address space name so that each
instance of Apache can be identified by the address space that it is running in


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93934 13f79535-47bb-0310-9956-ffa450edef68
2002-03-14 16:48:19 +00:00
845cbfd508 Update our copyright for this year.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
2002-03-13 20:48:07 +00:00
90f63dfcd5 Removed unixd_set_lock_perms(apr_lock_t *), which is no longer
used by any of the MPMs.  (This is another step toward eliminating
the httpd's dependencies on the old lock API.)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93558 13f79535-47bb-0310-9956-ffa450edef68
2002-02-24 08:33:56 +00:00
3f92e8eca8 one blank line for code, one huge step for legibility
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92984 13f79535-47bb-0310-9956-ffa450edef68
2002-01-23 18:31:51 +00:00