]> granicus.if.org Git - apache/log
apache
24 years agoRemove a warning when compiled with --use-maintainer-mode. Basically,
Ryan Bloom [Wed, 31 May 2000 22:06:33 +0000 (22:06 +0000)]
Remove a warning when compiled with --use-maintainer-mode.  Basically,
process_rec should just be storing argv the same way that getopt
expects it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85361 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Wed, 31 May 2000 16:19:59 +0000 (16:19 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Fix my (very) minor nit with the .dsp's... not sure how I missed this
  when I first reworked these.  Echo a success message and suppress the
  cp output.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85360 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Wed, 31 May 2000 15:28:52 +0000 (15:28 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Quick patch to accomodate the mpm's rename to mpm_winnt.c/.h

  At least in the short term.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85359 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Wed, 31 May 2000 15:15:31 +0000 (15:15 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  First checkin of Win32 service control structure merged into the mpm.

  Project files to be updated with this 'experimental' implementation once
  peer review is complete and the module maintainer accepts the patch.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85358 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRework DSO error reporting to be more flexible & informative.
Brian Havard [Wed, 31 May 2000 02:30:30 +0000 (02:30 +0000)]
Rework DSO error reporting to be more flexible & informative.
This patch covers os/2, unix & win32. Other platforms still need some
adjustment (BeOS, AIX).

Reviewed by: rbb, gstein

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85357 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAPACHE_XLATE: in ap_send_error_response(), move the setting
Jeff Trawick [Wed, 31 May 2000 01:35:46 +0000 (01:35 +0000)]
APACHE_XLATE: in ap_send_error_response(), move the setting
of the translation handle to before we process ErrorDocument
strings.  The previous placement of this logic only handled
the hard-coded response documents.

When ErrorDocument specifies a redirection, we don't get here.
When the error response is headers only, we don't need to set
the handle for content.  Thus, all paths through
ap_send_error_response() should be handled now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85356 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Tue, 30 May 2000 22:56:36 +0000 (22:56 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Ugh, sorry bout that... reversing out the last dsp6->dsp5 commit.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85355 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Tue, 30 May 2000 22:54:31 +0000 (22:54 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  How, precisely, was Apache going to do anything with rewritten args ;-?
  +1 on my personal oh-duh tally for the weekend.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85354 13f79535-47bb-0310-9956-ffa450edef68

24 years agoForward fit a bug fix in the TAKE13 handling from 1.3 to 2.0
Ryan Bloom [Tue, 30 May 2000 15:56:18 +0000 (15:56 +0000)]
Forward fit a bug fix in the TAKE13 handling from 1.3 to 2.0
Submitted by: Jon Travis <jtravis@covalent.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85353 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSaferead on Windows should have been fixed with the lastest patches to
Ryan Bloom [Tue, 30 May 2000 15:14:23 +0000 (15:14 +0000)]
Saferead on Windows should have been fixed with the lastest patches to
saferead.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85352 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAn xlate configuration module shouldn't mess with BO_WXLATE;
Jeff Trawick [Tue, 30 May 2000 14:31:04 +0000 (14:31 +0000)]
An xlate configuration module shouldn't mess with BO_WXLATE;
ap_set_content_xlate() takes care of that detail.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85351 13f79535-47bb-0310-9956-ffa450edef68

24 years agoEnsure that the proper translation handle (if any) is used when
Jeff Trawick [Tue, 30 May 2000 14:20:46 +0000 (14:20 +0000)]
Ensure that the proper translation handle (if any) is used when
sending the canned response document to the client.  Otherwise, the
client may get garbage depending on the translation in effect.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85350 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWe now report the correct line number for syntax errors in config
Jeff Trawick [Tue, 30 May 2000 02:43:29 +0000 (02:43 +0000)]
We now report the correct line number for syntax errors in config
files, so remove the associated status item.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85349 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWe now report the correct line number for syntax errors in config
Jeff Trawick [Tue, 30 May 2000 02:42:32 +0000 (02:42 +0000)]
We now report the correct line number for syntax errors in config
files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85348 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMention the line number problem for config file errors and Greg
Jeff Trawick [Mon, 29 May 2000 11:54:11 +0000 (11:54 +0000)]
Mention the line number problem for config file errors and Greg
Ames' mod_mmap_static patch.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85343 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd OS/2 todo items.
Brian Havard [Mon, 29 May 2000 09:41:57 +0000 (09:41 +0000)]
Add OS/2 todo items.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85342 13f79535-47bb-0310-9956-ffa450edef68

24 years agoBrought mod_auth_digest up to synch with 1.3, fixed ap_time_t-related
Ronald Tschalar [Mon, 29 May 2000 08:57:18 +0000 (08:57 +0000)]
Brought mod_auth_digest up to synch with 1.3, fixed ap_time_t-related
bugs, and changed shmem/locking to use apr API. Shared-mem is currently
disabled, however, because of problems with graceful restarts.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85341 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Mon, 29 May 2000 04:17:41 +0000 (04:17 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  One last precursor to the common code base for Win32 rewrite_args from
  it's MPM.  Since we need to walk the arg list... why maintain it in
  several places.  This patch adds the AP_SERVER_BASEARGS definition to
  the header, so any mpm (and mod_info, for example) can know what args
  are legitimate, even when they plan to ignore them.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85340 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 17:52:19 +0000 (17:52 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Remove any possiblity of having multiple tags to correct as the version
  changes.  Split httpd.h's version into tokens.  Roll these tokens into
  registry.c

  TODO: Remove registry.c from the list of files to touch when rolling

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85338 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSwitch to APR's ap_probe_writable_fds() in spmt_os2 MPM.
Brian Havard [Sun, 28 May 2000 12:45:58 +0000 (12:45 +0000)]
Switch to APR's ap_probe_writable_fds() in spmt_os2 MPM.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85335 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd an mpm.h for spmt_os2 MPM so that mpm_common.c will build.
Brian Havard [Sun, 28 May 2000 12:33:04 +0000 (12:33 +0000)]
Add an mpm.h for spmt_os2 MPM so that mpm_common.c will build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85334 13f79535-47bb-0310-9956-ffa450edef68

24 years agoOnly compile ap_reclaim_child_processes() if a CHILD_INFO_TABLE is known.
Brian Havard [Sun, 28 May 2000 12:20:04 +0000 (12:20 +0000)]
Only compile ap_reclaim_child_processes() if a CHILD_INFO_TABLE is known.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85333 13f79535-47bb-0310-9956-ffa450edef68

24 years agoUse http://www.apache.org/httpd instead of http://www.apache.org/ as
Jeff Trawick [Sun, 28 May 2000 12:05:28 +0000 (12:05 +0000)]
Use http://www.apache.org/httpd instead of http://www.apache.org/ as
the link to Apache Web server.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85332 13f79535-47bb-0310-9956-ffa450edef68

24 years agomod_cgi: Restore logging of stderr from child process when ScriptLog
Jeff Trawick [Sun, 28 May 2000 11:48:24 +0000 (11:48 +0000)]
mod_cgi: Restore logging of stderr from child process when ScriptLog
isn't used (as in 1.3), except that on Unix it is now logged via
ap_log_rerror() instead of by the child having STDERR_FILENO refer
to the error log.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85331 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 04:16:09 +0000 (04:16 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Of course the build order changes without ap.dsp... so this should
  finish things off for tonight.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85330 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 04:03:22 +0000 (04:03 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Kill the Win32 library project ap.dsp and slide http_main.c from the
  ApacheCore.dsp into Apache.dsp - this is in prepartion of the real
  services update, which will move registry.c and service.c back into
  ApacheCore.dsp, kill both headers and incorporate their symbols into
  the mpm/winnt/winnt.h file.  main_win32.c will die as well, with it's
  few remaining functions moving into the mpm.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85329 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 03:58:12 +0000 (03:58 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Simple change to make these consistent with the other Apache module
  build files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85328 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 03:55:45 +0000 (03:55 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Adjust the support binary build files for the change from AP_STATIC as
  a library to API_STATIC for the ApacheCore project.

  If we adopt AP_EXPORT_bleh for the ApacheCore, these will be flipped.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85327 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 03:52:42 +0000 (03:52 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Finally a patch that can't (well, shouldn't :-) break any other platform.

  Open up the symbols defined for http_main.c to move main() from the core
  under Win32 (that's the real main(), not that apache_main() thing).

  Win32 Project file changes will follow in a seperate patch.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85326 13f79535-47bb-0310-9956-ffa450edef68

24 years ago Anchor tags aren't permitted to span elements like this.
Ken Coar [Sun, 28 May 2000 01:47:14 +0000 (01:47 +0000)]
Anchor tags aren't permitted to span elements like this.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85324 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 00:45:15 +0000 (00:45 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  /D(efine) STATIC to suppress warnings since pcreposix is statically
  linked to pcre.  ApacheCore would have to be touched as well, except
  that we don't override pcre_malloc or pcre_free.  If we do so, the
  STATIC symbol is too broad, and aught to be changed in Apache's
  public src/include/pcre.h headers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85322 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 23:53:45 +0000 (23:53 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Document the lack of exports so http_main.c stays that way,
  as suggested by Greg Stein.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85321 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 23:49:07 +0000 (23:49 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  One reason ap_config.h can be a problem.  Change VERSION->AB_VERSION to
  avoid ap_config.h #undef.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85320 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 22:53:48 +0000 (22:53 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Reverse out additional linkage argument from DECLARE_HOOK
  and IMPLEMENT_HOOK macros.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85319 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 22:40:44 +0000 (22:40 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Reverse out all _EXPORT_VAR changes back to their original _VAR_EXPORT
  names for linkage (API_, CORE_, and MODULE_).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85318 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd a showstopper for Windows.
Ryan Bloom [Sat, 27 May 2000 22:32:44 +0000 (22:32 +0000)]
Add a showstopper for Windows.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85317 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 18:25:11 +0000 (18:25 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Cleanup MSVC .dsp build for support/ files.  Give all support/ .dsp's
  the GCD configuration.  The entire Win32 environment now builds, but
  I'm sure that will be fixed soon :-)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85316 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 17:47:02 +0000 (17:47 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Prevent the .dsp project files from being touched if they were
  already cleanly converted.  Note that just loading the 6.0 .dsp
  in the 5.0 MSVC environment doesn't toggle the /ZI->/Zi option.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85315 13f79535-47bb-0310-9956-ffa450edef68

24 years agoKeep the MSVC++-isms out of the Unix flavor of API_EXPORT().
Jeff Trawick [Sat, 27 May 2000 14:22:13 +0000 (14:22 +0000)]
Keep the MSVC++-isms out of the Unix flavor of API_EXPORT().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85314 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix broken comment in util_ebcdic.c
Jeff Trawick [Sat, 27 May 2000 14:05:13 +0000 (14:05 +0000)]
Fix broken comment in util_ebcdic.c
Submitted by: Greg Ames

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85313 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 07:05:17 +0000 (07:05 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Cleaning up.  Note that apache (or https) -D DEFINE is now enabled, the
  shared data is now properly moved to either ap_hooks.c or http_config.c,
  and all should be well with rewrite_args.

  Next stop, no more apache_main entry point.  That's why this file needs
  to be empty of any callbacks or shared data, as it will bind to the core
  but the core won't be looking back into http_main.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85312 13f79535-47bb-0310-9956-ffa450edef68

24 years ago Pass the process_rec to the MPM to allow rewriting of the args list.
William A. Rowe Jr [Sat, 27 May 2000 06:22:55 +0000 (06:22 +0000)]
  Pass the process_rec to the MPM to allow rewriting of the args list.
  Especially necessary under Win32, or other non-unix front ends where
  oddball arguments might be required, but without causing a mess in
  http_main.c.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85311 13f79535-47bb-0310-9956-ffa450edef68

24 years ago A really simple change for readability:
William A. Rowe Jr [Sat, 27 May 2000 05:31:34 +0000 (05:31 +0000)]
  A really simple change for readability:

    ap_pool_t *g_pHookPool;           becomes ap_global_hook_pool
    int g_bDebugHooks;                becomes ap_debug_module_hooks
    const char *g_szCurrentHookName;  becomes ap_debug_module_name

  Just as a reminder, these are now declared in ap_hooks.c

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85310 13f79535-47bb-0310-9956-ffa450edef68

24 years ago This patch corrects the issues from the AP_EXPORT and linkage
William A. Rowe Jr [Sat, 27 May 2000 05:28:02 +0000 (05:28 +0000)]
  This patch corrects the issues from the AP_EXPORT and linkage
  specification arguments to the ap_hooks.h declarations.  As with
  the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR,
  and MODULE_VAR_EXPORT becomes MODULE_EXPORT_VAR.

  I will be happy to revert the inclusion of ap_config.h from
  httpd.h if this bothers anyone.  More individual modules need
  to be patched if we do so.

  The API_EXPORTs all moved into central storage in the ap_config.h
  header.  Without WIN32 or API_STATIC compile time declarations,
  these macros remain no-ops.

  This patch also moves the following data from http_main to http_config:

    const char *ap_server_argv0;
    const char *ap_server_root;
    ap_array_header_t *ap_server_pre_read_config;
    ap_array_header_t *ap_server_post_read_config;
    ap_array_header_t *ap_server_config_defines;

  And the following variables had already moved into ap_hooks.c:

    ap_pool_t *g_pHookPool;  (initialized now in http_config)
    int g_bDebugHooks;                   (out of http_config)
    const char *g_szCurrentHookName;     (out of http_config)

  The changes to http_main.c are in preparation for that module to
  move out to a seperate .exe for win32.  Other platforms will be
  unaffected, outside of these changes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85309 13f79535-47bb-0310-9956-ffa450edef68

24 years agofixes some compilation errors (macros, function params, etc). also shifts
Greg Stein [Sat, 27 May 2000 00:48:49 +0000 (00:48 +0000)]
fixes some compilation errors (macros, function params, etc). also shifts
    the time when ap_destroy_pool() is called. it used to be called too
    soon, which caused a core dump on the second CGI request.

Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com>
Reviewed by: Greg Stein

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85308 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Fri, 26 May 2000 18:58:43 +0000 (18:58 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Just cleaning up API_EXPORT...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85306 13f79535-47bb-0310-9956-ffa450edef68

24 years agos/IMPORT/EXPORT/g; typo i assume.
Doug MacEachern [Fri, 26 May 2000 18:23:47 +0000 (18:23 +0000)]
s/IMPORT/EXPORT/g; typo i assume.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85305 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd mod_charset_lite for configuring character set translation.
Jeff Trawick [Fri, 26 May 2000 17:40:42 +0000 (17:40 +0000)]
Add mod_charset_lite for configuring character set translation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85304 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFinish cleaning up after the API_VAR_EXPORT -> APR_VAR_EXPORT renaming.
Ryan Bloom [Fri, 26 May 2000 17:32:51 +0000 (17:32 +0000)]
Finish cleaning up after the API_VAR_EXPORT -> APR_VAR_EXPORT renaming.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85303 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Fri, 26 May 2000 05:09:17 +0000 (05:09 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  All waiting to bite us... just go ahead and ignore this commit.  Better
  now that when we are deciphering real changes.  This knocks all the
  projects into what I expect is a clean VC6 format.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85301 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Fri, 26 May 2000 04:51:07 +0000 (04:51 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Whoops... the two converters were to be non-destructive, and should be
  allowed to run multiple times in a row without harm.  This fixes a
  snafu that created multiple #PROP lines when invoked repeatedly.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85300 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Fri, 26 May 2000 04:22:14 +0000 (04:22 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Whoops, though I had already knocked off that nasty chomp() side effect.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85299 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPR:
William A. Rowe Jr [Fri, 26 May 2000 04:18:27 +0000 (04:18 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Take advantage of Bill Stoddard's goof to change this over permanently.

  Conversion is rather one way, for consistency.  We can't really maintain
  a dsp version 5 file from version 6, since version 5 likes to split up
  !MESSAGE lines in odd places.  This should make things more consistent.

  Please execute cvstodsp5.pl from the helpers folder, prior to actually
  using the MSVC 5.0 environment.  When you are ready to diff, update or
  commit changes, use dsp5tocvs.pl from the helpers folder to convert
  them all back.  (Be careful that you have CLOSED the DevStudio workspace
  before you try either command!)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85298 13f79535-47bb-0310-9956-ffa450edef68

24 years agoThis item doesn't really work properly, so we are removing it from the
Ryan Bloom [Thu, 25 May 2000 23:29:59 +0000 (23:29 +0000)]
This item doesn't really work properly, so we are removing it from the
STATUS file.  I was going to wait, but Manoj (the person who originally
put it in STATUS) said get rid of it, so away it goes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85297 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAPACHE_XLATE, CHARSET_EBCDIC stuff:
Jeff Trawick [Thu, 25 May 2000 20:51:25 +0000 (20:51 +0000)]
APACHE_XLATE, CHARSET_EBCDIC stuff:
Provide new function ap_set_content_xlate() to simplify what needs
to be done to set up translation of content.  Use it where appropriate.

With this change, EBCDIC logic was tweaked so that ap_checkconv() does
not overlay a translation handle previously stored (e.g., by a module)
unless it is turning translation off.  Unless ap_checkconv() determines
that translation is inappropriate, it should leave the translation handle
alone.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85296 13f79535-47bb-0310-9956-ffa450edef68

24 years ago Add '-n' option to make htpasswd send user:pw result to
Ken Coar [Thu, 25 May 2000 16:45:53 +0000 (16:45 +0000)]
Add '-n' option to make htpasswd send user:pw result to
stdout instead of fiddling with a text file.

Reviewed by: Greg Stein

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85294 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: Convert ap_proc_t to tranparent type.
Bill Stoddard [Wed, 24 May 2000 23:45:37 +0000 (23:45 +0000)]
Win32: Convert ap_proc_t to tranparent type.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85292 13f79535-47bb-0310-9956-ffa450edef68

24 years agoClear up some int vs. pid_t issues in prefork to keep compiles clean
Jeff Trawick [Wed, 24 May 2000 20:01:18 +0000 (20:01 +0000)]
Clear up some int vs. pid_t issues in prefork to keep compiles clean
on Solaris.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85290 13f79535-47bb-0310-9956-ffa450edef68

24 years agoImplement saferead in Apache 2.0. This has had minimal testing, and it
Ryan Bloom [Wed, 24 May 2000 19:19:20 +0000 (19:19 +0000)]
Implement saferead in Apache 2.0.  This has had minimal testing, and it
seems to work, but only really hammering on it will tell for sure.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85289 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAllow --enable-cgid and --disable-cgid to work. Basically just make
Ryan Bloom [Wed, 24 May 2000 16:17:58 +0000 (16:17 +0000)]
Allow --enable-cgid and --disable-cgid to work.  Basically just make
cgid a standard module.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85287 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix a memory leak with ap_wait_or_timeout.
Ryan Bloom [Wed, 24 May 2000 00:42:01 +0000 (00:42 +0000)]
Fix a memory leak with ap_wait_or_timeout.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85286 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRename stdin, stdout, stderr from new ap_proc_t to in, out, and err because
Ryan Bloom [Wed, 24 May 2000 00:15:09 +0000 (00:15 +0000)]
Rename stdin, stdout, stderr from new ap_proc_t to in, out, and err because
Windows was having problems with the original names.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85285 13f79535-47bb-0310-9956-ffa450edef68

24 years agouse the correct size for 'ret'
Greg Stein [Tue, 23 May 2000 23:32:35 +0000 (23:32 +0000)]
use the correct size for 'ret'

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85284 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix a small bug/warning when compiling with use-maintiner-mode related
Ryan Bloom [Tue, 23 May 2000 23:26:51 +0000 (23:26 +0000)]
Fix a small bug/warning when compiling with use-maintiner-mode related
to the ap_proc_t change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85283 13f79535-47bb-0310-9956-ffa450edef68

24 years ago Note a patch for htpasswd. A matching patch for 1.3 is also
Ken Coar [Tue, 23 May 2000 21:50:57 +0000 (21:50 +0000)]
Note a patch for htpasswd.  A matching patch for 1.3 is also
pending.  I'll commit in a couple of days if no-one comments.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85282 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPort mpmt_pthread and dexter to the new ap_proc_t code. This works
Ryan Bloom [Tue, 23 May 2000 21:27:37 +0000 (21:27 +0000)]
Port mpmt_pthread and dexter to the new ap_proc_t code.  This works
just fine for these MPMs and it was easy to make the changes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85280 13f79535-47bb-0310-9956-ffa450edef68

24 years agoConvert ap_proc_t to a complete type. This lets us access the pid directly.
Ryan Bloom [Tue, 23 May 2000 21:04:03 +0000 (21:04 +0000)]
Convert ap_proc_t to a complete type.  This lets us access the pid directly.
Only the prefork MPM has been ported so far, the rest of the Unix MPM's are
coming later today.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85279 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: Socket reuse is not enabled yet, so always mark used accept sockets
Bill Stoddard [Tue, 23 May 2000 17:28:51 +0000 (17:28 +0000)]
Win32: Socket reuse is not enabled yet, so always mark used accept sockets
as being closed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85278 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: Fix compile problems.
Bill Stoddard [Tue, 23 May 2000 16:50:37 +0000 (16:50 +0000)]
Win32: Fix compile problems.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85277 13f79535-47bb-0310-9956-ffa450edef68

24 years agoClean up some pid_t vs. int confusion in mpmt_pthread MPM. This is
Jeff Trawick [Tue, 23 May 2000 14:05:53 +0000 (14:05 +0000)]
Clean up some pid_t vs. int confusion in mpmt_pthread MPM.  This is
needed to avoid some warnings on Solaris.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85276 13f79535-47bb-0310-9956-ffa450edef68

24 years agoClean up some pid_t vs. int confusion in dexter.c. This is
Jeff Trawick [Tue, 23 May 2000 13:56:39 +0000 (13:56 +0000)]
Clean up some pid_t vs. int confusion in dexter.c.  This is
needed to avoid some warnings on Solaris.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85275 13f79535-47bb-0310-9956-ffa450edef68

24 years agoTurn on buffered I/O in mod_include for reading the input file.
Brian Havard [Tue, 23 May 2000 03:04:30 +0000 (03:04 +0000)]
Turn on buffered I/O in mod_include for reading the input file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85274 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove ap_destroy_context from Apache 2.0. With the name change back to
Ryan Bloom [Mon, 22 May 2000 17:05:23 +0000 (17:05 +0000)]
Remove ap_destroy_context from Apache 2.0.  With the name change back to
ap_pool_t, this function doesn't make sense.  This also changes all
references to ap_destroy_context back to ap_destroy_pool.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85271 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix the config parser so that if there is no current node, and we are
Ryan Bloom [Mon, 22 May 2000 02:57:44 +0000 (02:57 +0000)]
Fix the config parser so that if there is no current node, and we are
evaluating an EXEC_ON_READ directive, and the directive's sub_tree is empty,
we don't try to set the node's parent pointer.  This stops a seg fault.
Submitted by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85269 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove all remaining instances in Apache code of
Manoj Kasichainula [Sun, 21 May 2000 05:31:09 +0000 (05:31 +0000)]
Remove all remaining instances in Apache code of
ap_{block,unblock}_alarms.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85265 13f79535-47bb-0310-9956-ffa450edef68

24 years agoconfigure is a generated file; hence it should be in .cvsignore.
Manoj Kasichainula [Sun, 21 May 2000 05:29:22 +0000 (05:29 +0000)]
configure is a generated file; hence it should be in .cvsignore.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85264 13f79535-47bb-0310-9956-ffa450edef68

24 years ago Why should Ryan have all the fun?
William A. Rowe Jr [Fri, 19 May 2000 23:24:19 +0000 (23:24 +0000)]
  Why should Ryan have all the fun?
  Cleans up compiler warning emits.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85263 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMake Apache and APR use the same flags to specify maintainer mode. I
Ryan Bloom [Fri, 19 May 2000 23:13:31 +0000 (23:13 +0000)]
Make Apache and APR use the same flags to specify maintainer mode.  I
chose to use --with-maintainer-mode, because that flag can be passed down
using AC_CONFIG_SUBDIRS.  I couldn't find any easy way to pass environment
variables to configure scripts called from within Apache's configure.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85262 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove a warning about ap_base64encode not being defined anywhere.
Ryan Bloom [Fri, 19 May 2000 22:39:40 +0000 (22:39 +0000)]
Remove a warning about ap_base64encode not being defined anywhere.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85261 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove a warning when build with USE_MAINTAINER_MODE.
Ryan Bloom [Fri, 19 May 2000 22:39:00 +0000 (22:39 +0000)]
Remove a warning when build with USE_MAINTAINER_MODE.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85260 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix a bug in adding EXEC_ON_READ at the top level of the tree.
Ryan Bloom [Fri, 19 May 2000 17:22:47 +0000 (17:22 +0000)]
Fix a bug in adding EXEC_ON_READ at the top level of the tree.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85259 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix warnings on use of common prototypes. Fix bug of printing a
Roy T. Fielding [Fri, 19 May 2000 07:14:54 +0000 (07:14 +0000)]
Fix warnings on use of common prototypes.  Fix bug of printing a
pointer to proc_t instead of the actual pid on error.

Submitted by: Jeff Trawick, Roy Fielding

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85258 13f79535-47bb-0310-9956-ffa450edef68

24 years agoTemporary fix for misuse of int instead of pid_t.
Roy T. Fielding [Fri, 19 May 2000 07:10:57 +0000 (07:10 +0000)]
Temporary fix for misuse of int instead of pid_t.
Also include mpm_common.h to pick up the common prototypes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85257 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPrototypes for the visible functions in mpm_common.c.
Roy T. Fielding [Fri, 19 May 2000 07:07:39 +0000 (07:07 +0000)]
Prototypes for the visible functions in mpm_common.c.

Submitted by: Jeff Trawick <trawickj@bellsouth.net>
Reviewed by: Roy Fielding

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85256 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWe shouldn't be calling mm_free directly. Use ap_shm_free instead.
Roy T. Fielding [Fri, 19 May 2000 06:49:52 +0000 (06:49 +0000)]
We shouldn't be calling mm_free directly.  Use ap_shm_free instead.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85255 13f79535-47bb-0310-9956-ffa450edef68

24 years ago Current and clean make files for Win95. Changes Include:
William A. Rowe Jr [Fri, 19 May 2000 05:09:20 +0000 (05:09 +0000)]
  Current and clean make files for Win95.  Changes Include:

  All projects link incrementally with no link maps in Debug mode.
  New cvstodsp6.pl and dsp6tocvs.pl will fix up /the /ZI - /Zi issue.
  Includes corrections noted by Tim Costello

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85254 13f79535-47bb-0310-9956-ffa450edef68

24 years ago Fixes to allow Apache to run as a Win95 service... highlights
William A. Rowe Jr [Fri, 19 May 2000 05:01:53 +0000 (05:01 +0000)]
  Fixes to allow Apache to run as a Win95 service... highlights

  main_win32.h : Moved delarations to a header, by request
  ap_listen.h :  References types declared in http_config.h
  http_main.h :  Add the Win32 flavor entry point declaration
  apr.hw :       Cleanup the redundancy department of redundancy
  win32/proc.c : Double null termination was required here

  Everything else should be obvious and isolated to Win32.
  Build files will be committed seperately.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85253 13f79535-47bb-0310-9956-ffa450edef68

24 years agoap_wait_or_timeout() can't be static since it is called from
Jeff Trawick [Fri, 19 May 2000 02:37:17 +0000 (02:37 +0000)]
ap_wait_or_timeout() can't be static since it is called from
dexter.c, prefork.c, and mpmt_pthread.c.

(Yes, we still need a function prototype somewhere, but at least we
can link properly now.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85252 13f79535-47bb-0310-9956-ffa450edef68

24 years agoab: Fix a command-line processing bug; track bad headers in
Jeff Trawick [Fri, 19 May 2000 02:18:06 +0000 (02:18 +0000)]
ab: Fix a command-line processing bug; track bad headers in
err_response; support reading headers up to 2K.  (In the
original patch it was 8K instead of 2K; it isn't clear to me
that 8K is really needed or appropriate.)
Submitted by: Ask Bjoern Hansen <ask@valueclick.com>
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85251 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMove wait_or_timeout from the MPM's into the new mpm_common.c file. I
Ryan Bloom [Fri, 19 May 2000 01:05:26 +0000 (01:05 +0000)]
Move wait_or_timeout from the MPM's into the new mpm_common.c file.  I
also renamed wait_or_timeout to ap_wait_or_timeout for namespace
protection.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85250 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFirst function removed from Unix MPM's and moved to a common file. This
Ryan Bloom [Thu, 18 May 2000 23:25:06 +0000 (23:25 +0000)]
First function removed from Unix MPM's and moved to a common file.  This
work is not anywhere near finished, but the cleanup has begun at least.
Had to make a couple of variables non-static, so a name change was required
since they are now viewable from outside the library.  The advantage to this
is code that is much easier to maintain into the future, because it is
duplicated less often.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85249 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd "-D APACHE_XLATE" to the output of httpd -V when APACHE_XLATE
Jeff Trawick [Thu, 18 May 2000 19:56:16 +0000 (19:56 +0000)]
Add "-D APACHE_XLATE" to the output of httpd -V when APACHE_XLATE
is defined at compile time.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85248 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix some bugs in the use of APACHE_XLATE vs. CHARSET_EBCDIC
Jeff Trawick [Thu, 18 May 2000 19:54:44 +0000 (19:54 +0000)]
Fix some bugs in the use of APACHE_XLATE vs. CHARSET_EBCDIC
which prevented building with APACHE_XLATE on an ASCII machine.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85247 13f79535-47bb-0310-9956-ffa450edef68

24 years agorebuild mm's configure if mm's aclocal.m4 has been modified
Jeff Trawick [Thu, 18 May 2000 19:14:02 +0000 (19:14 +0000)]
rebuild mm's configure if mm's aclocal.m4 has been modified

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85246 13f79535-47bb-0310-9956-ffa450edef68

24 years agoThe following is a patch to fix Dirk's patch from March 14 so that
Jeff Trawick [Thu, 18 May 2000 14:11:23 +0000 (14:11 +0000)]
The following is a patch to fix Dirk's patch from March 14 so that
mod_rewrite will work without caveats. Basically Dirk was just
dropping patterns of the form ${x} if x didn't resolve to an
environment variable. That breaks mod_rewrite since mod_rewrite
uses the same syntax for some of its non-environment directives.

The patch below simply puts the behavior for unresolved values back
to what it was before Dirk's patch. If it is unresolved, it is just
left in the directive as is. Further processing will handle the value.

Dirk's optimization still holds if x is resolved. A small price is paid
if x is not resolved, but that shouldn't happen often.

(Note: some tweaks to the comments were negotiated offline after Paul
posted the patch to new-httpd.)
Submitted by: Paul Reder <rederpj@raleigh.ibm.com>
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85245 13f79535-47bb-0310-9956-ffa450edef68

24 years agoGet dexter building/running on OS/390 (same changes as those
Jeff Trawick [Thu, 18 May 2000 11:39:44 +0000 (11:39 +0000)]
Get dexter building/running on OS/390 (same changes as those
made to mpmt_pthread previously):
. don't include netinet/tcp.h if you ain't got it
. handle OS/390 flavors of pthread_sigmask() and
  pthread_attr_setdetachstate()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85244 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix problem where the Unix mpms had an unitialized variable for
Jeff Trawick [Thu, 18 May 2000 02:17:30 +0000 (02:17 +0000)]
Fix problem where the Unix mpms had an unitialized variable for
child exit status by adding an exit status parameter to
ap_wait_all_procs(); with this change, the mpms use
ap_wait_all_procs() more like they previously used waitpid().

With the introduction of the exit status parameter, the definition
of ap_wait_t was moved from Apache to APR.  There was some handling
of union wait for the type of the exit status parameter to waitpid()
which I retained (but cannot test).  For WIN32, ap_wait_t was defined
as int (in apr.hw).  No current Windows code uses ap_wait_t, but a
type is required so that references to ap_wait_t in apr_thread_proc.h
can compile on Windows.

Note: There is still a storage leak in the way that the Unix mpms call
ap_wait_all_procs()...  this will be resolved at some later time.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85243 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove an unused variable and warning.
Roy T. Fielding [Thu, 18 May 2000 01:35:03 +0000 (01:35 +0000)]
Remove an unused variable and warning.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85242 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMove prototype of ap_hook_deregister_all to where it belongs.
Roy T. Fielding [Thu, 18 May 2000 00:45:05 +0000 (00:45 +0000)]
Move prototype of ap_hook_deregister_all to where it belongs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85241 13f79535-47bb-0310-9956-ffa450edef68

24 years agoThis commit will most likely break everybody on Windows. The .dsp
Ryan Bloom [Wed, 17 May 2000 23:30:21 +0000 (23:30 +0000)]
This commit will most likely break everybody on Windows.  The .dsp
files I am checking in though will build a usable Apache on Windows.
This finishes at least the first round of the merge work to get the
common code into common files in APR.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85240 13f79535-47bb-0310-9956-ffa450edef68