]> granicus.if.org Git - apache/log
apache
22 years ago The fix wasn't healthy for Win9x. Work around pre-Unicode flavors.
William A. Rowe Jr [Sun, 23 Jun 2002 09:52:55 +0000 (09:52 +0000)]
  The fix wasn't healthy for Win9x.  Work around pre-Unicode flavors.

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

22 years agoRemoved "tolower(++s)" idiom from ap_strcasestr(), to avoid side-effects
Brian Pane [Sun, 23 Jun 2002 09:01:22 +0000 (09:01 +0000)]
Removed "tolower(++s)" idiom from ap_strcasestr(), to avoid side-effects
on any platform with a macro-based tolower() that references its argument
multiple times.

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

22 years agoConvert the hostname to all-lowercase in fix_hostname() so that
Brian Pane [Sun, 23 Jun 2002 08:10:49 +0000 (08:10 +0000)]
Convert the hostname to all-lowercase in fix_hostname() so that
the implementation matches the comments.  (Note: The current virtual
hosting code does case-insensitive host matching, so this fix is useful
mostly to help ensure that custom modules and any future vhosting code
don't get tripped up by case-sensitivity issues.)
Submitted by: Perry Harrington <pedward@webcom.com>
Reviewed by: Brian Pane

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

22 years ago Fixes Win32 cgi 500 errors when QUERY_ARGS or other strings include
William A. Rowe Jr [Sun, 23 Jun 2002 07:56:41 +0000 (07:56 +0000)]
  Fixes Win32 cgi 500 errors when QUERY_ARGS or other strings include
  extended characters (non US-ASCII) in non-utf8 format.  This brings
  Win32 back into CGI/1.1 compliance, and leaves charset decoding up
  to the cgi application itself.

  Accomplished this by utf-8 encoding of plain octets for user and header
  data, so that the apr_proc_create() translates back to single unicode
  characters.  This won't necessarily translate into the correct octet
  depending on the codepage used by the cgi app.  That's the next task.

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

22 years ago Whoops... removal of the last compat was just this bit premature.
William A. Rowe Jr [Sun, 23 Jun 2002 06:46:52 +0000 (06:46 +0000)]
  Whoops... removal of the last compat was just this bit premature.

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

22 years ago With dav corrected, this last _compat.h bogosity leaves the core distro.
William A. Rowe Jr [Sun, 23 Jun 2002 06:43:26 +0000 (06:43 +0000)]
  With dav corrected, this last _compat.h bogosity leaves the core distro.

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

22 years ago The real pain. ap->apr xml and text types.
William A. Rowe Jr [Sun, 23 Jun 2002 06:42:13 +0000 (06:42 +0000)]
  The real pain.  ap->apr xml and text types.

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

22 years ago Not really sure what this is, but it wasn't aprized. back out rev 1.2
William A. Rowe Jr [Sun, 23 Jun 2002 06:17:28 +0000 (06:17 +0000)]
  Not really sure what this is, but it wasn't aprized.  back out rev 1.2

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

22 years ago Adapt to use apr_ischar()
William A. Rowe Jr [Sun, 23 Jun 2002 06:16:05 +0000 (06:16 +0000)]
  Adapt to use apr_ischar()

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

22 years ago Use apr_ flavors of ischar()
William A. Rowe Jr [Sun, 23 Jun 2002 06:15:03 +0000 (06:15 +0000)]
  Use apr_ flavors of ischar()

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

22 years ago cleanup uses of apr_ischar() macros (no cast required)
William A. Rowe Jr [Sun, 23 Jun 2002 06:13:17 +0000 (06:13 +0000)]
  cleanup uses of apr_ischar() macros (no cast required)

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

22 years ago That's apr, not ap (any longer)
William A. Rowe Jr [Sun, 23 Jun 2002 06:12:09 +0000 (06:12 +0000)]
  That's apr, not ap (any longer)

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

22 years ago No crutches.
William A. Rowe Jr [Sun, 23 Jun 2002 06:10:00 +0000 (06:10 +0000)]
  No crutches.

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

22 years ago Use apr_ variants of ischar() tests.
William A. Rowe Jr [Sun, 23 Jun 2002 06:08:51 +0000 (06:08 +0000)]
  Use apr_ variants of ischar() tests.

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

22 years ago No crutches, people!
William A. Rowe Jr [Sun, 23 Jun 2002 06:06:25 +0000 (06:06 +0000)]
  No crutches, people!

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

22 years ago Simplify add_ssi_vars() and move the ssi/cgi vars into their respective
William A. Rowe Jr [Sun, 23 Jun 2002 04:05:17 +0000 (04:05 +0000)]
  Simplify add_ssi_vars() and move the ssi/cgi vars into their respective
  functions [so we may address r->subprocess_env in the ap_cgi_build_command
  win32 handler.]

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

22 years ago s/cgi/cgid might be just a little agressive - fix a comment
William A. Rowe Jr [Sun, 23 Jun 2002 04:03:21 +0000 (04:03 +0000)]
  s/cgi/cgid might be just a little agressive - fix a comment

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

22 years agoLinuxPPC binaries
Graham Leggett [Sun, 23 Jun 2002 02:52:13 +0000 (02:52 +0000)]
LinuxPPC binaries
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoEvery directive in the 2.0 documentation tree now has an example, except
Rich Bowen [Sat, 22 Jun 2002 19:54:41 +0000 (19:54 +0000)]
Every directive in the 2.0 documentation tree now has an example, except
those directives which have a fixed set of options (such as On or Off).
It might be nice to back-port some of this to the 1.3 docs, but I'm not
particularly motivated to do that myself.

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

22 years agoLargely rewritten, based on feedback on the list, on IRC, and questions
Rich Bowen [Sat, 22 Jun 2002 19:49:34 +0000 (19:49 +0000)]
Largely rewritten, based on feedback on the list, on IRC, and questions
on usenet. Hopefully this is a little more what people are actually
looking for, and will steer people towards better practices. Quite a lot
of work still needs to be done, but this is the first cut, and, I think,
somewhat of an improvement. Comments solicited.

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

22 years ago Revert to the 1.39 comments about NULL for ap_sub_req_lookup() next_filter
William A. Rowe Jr [Sat, 22 Jun 2002 19:39:45 +0000 (19:39 +0000)]
  Revert to the 1.39 comments about NULL for ap_sub_req_lookup() next_filter

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

22 years agoCleanup some leftover cruft from the last commit.
Bill Stoddard [Sat, 22 Jun 2002 19:29:15 +0000 (19:29 +0000)]
Cleanup some leftover cruft from the last commit.

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

22 years agoMove the req_hdrs pointer from the cache_object_t to the cache_handle_t. Each
Bill Stoddard [Sat, 22 Jun 2002 19:22:40 +0000 (19:22 +0000)]
Move the req_hdrs pointer from the cache_object_t to the cache_handle_t. Each
thread serving a request needs to update the req_hdrs pointer so it needs to
reside in r->pool (where the cache_handle_t resides).

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

22 years ago Note the changed meaning of the NULL next_filter argument to the
William A. Rowe Jr [Sat, 22 Jun 2002 16:32:45 +0000 (16:32 +0000)]
  Note the changed meaning of the NULL next_filter argument to the
  ap_sub_req_lookup() family, and fix a few oddball cases (those are,
  PATH_TRANSLATED reference issues.)

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

22 years agoso much for my alphabetizing skillz. ;-/
Cliff Woolley [Sat, 22 Jun 2002 09:23:51 +0000 (09:23 +0000)]
so much for my alphabetizing skillz. ;-/

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

22 years agohpux binaries are up, or at least will be if my upload to daedalus would
Cliff Woolley [Sat, 22 Jun 2002 09:21:55 +0000 (09:21 +0000)]
hpux binaries are up, or at least will be if my upload to daedalus would
ever finish.

also re-alphabetized the unices (except the Mandrake-foo, AIX-foo, etc, which
need to get their names formatted in the standard way)

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

22 years agonew configuration option for mod_rewrite to set cookies.
Ian Holsman [Sat, 22 Jun 2002 03:36:57 +0000 (03:36 +0000)]
new configuration option for mod_rewrite to set cookies.
configuration is like the following

RewriteRule (.*) - [CO=<cookiename>:$1:<domain>:<expiry in minutes>]

Submitted by: Brian Degenhardt <bmd@mp3.com>
Reviewed by: Ian Holsman

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

22 years agoFixing up some copy commands in the NetWare make files during the install
Bradley Nicholes [Fri, 21 Jun 2002 18:57:24 +0000 (18:57 +0000)]
Fixing up some copy commands in the NetWare make files during the install
phase of the build.

Submitted by: Guenter Knauf [eflash@gmx.net]

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

22 years agoAdd a timeout option to wintty. This allows the user to specify a number
Ryan Bloom [Fri, 21 Jun 2002 18:49:11 +0000 (18:49 +0000)]
Add a timeout option to wintty.  This allows the user to specify a number
of seconds to wait after the program terminates before closing the window.
Previously, the windows would remain open indefinately.  This option is
not currently being used by Apache.

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

22 years agoreword an error message
Jeff Trawick [Fri, 21 Jun 2002 14:30:23 +0000 (14:30 +0000)]
reword an error message

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

22 years agoap_die: get rid of bad side effects from the recursive error handling code
Greg Ames [Fri, 21 Jun 2002 13:58:39 +0000 (13:58 +0000)]
ap_die:  get rid of bad side effects from the recursive error handling code
that mess with the status and which request_rec the rest of the function uses.

Submitted by:  Justin Erenkrantz, Greg Ames

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

22 years agoUp and ready
Jim Jagielski [Fri, 21 Jun 2002 13:54:10 +0000 (13:54 +0000)]
Up and ready

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

22 years agoFix perchild to work with apachectl by adding -k support to perchild.
Jeff Trawick [Fri, 21 Jun 2002 11:00:43 +0000 (11:00 +0000)]
Fix perchild to work with apachectl by adding -k support to perchild.

PR:  10074

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

22 years agoprevent infinite recursion if an ErrorDocument gets an error
Greg Ames [Thu, 20 Jun 2002 19:34:28 +0000 (19:34 +0000)]
prevent infinite recursion if an ErrorDocument gets an error

Reported by: Colm MacC�rthaigh <colmmacc@Redbrick.DCU.IE>

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

22 years agoNetWare makefile for building the dftables utility
Bradley Nicholes [Thu, 20 Jun 2002 14:53:34 +0000 (14:53 +0000)]
NetWare makefile for building the dftables utility

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

22 years agoBack-out recent changes to the internationalized error docs to remove the
Joshua Slive [Thu, 20 Jun 2002 03:51:46 +0000 (03:51 +0000)]
Back-out recent changes to the internationalized error docs to remove the
server string.  Now that these error docs are no longer the default
for install-and-forget-it users, having them display this useful information
should no longer be a danger.

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

22 years agoI've been threatening to do this for a few days, but I wanted to wait for other dust
Joshua Slive [Thu, 20 Jun 2002 03:50:04 +0000 (03:50 +0000)]
I've been threatening to do this for a few days, but I wanted to wait for other dust
to clear.

Comment-out the internationalized error responses in the default configs.
I think these error docs are great, and anyone who understands the server
should be using them, but because of their complexity, they are a danger
to people who blindly install apache and forget it.

Developers especially should continue to use them, because they are great at
finding obscure bugs in mod_include, mod_negotiation, and sub-request
processing.

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

22 years agoRemove the old EOS logic that I neglected to delete on the last commit,
Brian Pane [Thu, 20 Jun 2002 03:45:21 +0000 (03:45 +0000)]
Remove the old EOS logic that I neglected to delete on the last commit,
and add a check for ap_pass_brigade() failure

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

22 years agoCleaner handling of unterminated SSI directives
Brian Pane [Thu, 20 Jun 2002 02:59:25 +0000 (02:59 +0000)]
Cleaner handling of unterminated SSI directives

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

22 years ago Easy to identify wrowe docs :)
William A. Rowe Jr [Wed, 19 Jun 2002 21:09:00 +0000 (21:09 +0000)]
  Easy to identify wrowe docs :)

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

22 years agoFix some variable names
Cliff Woolley [Wed, 19 Jun 2002 20:44:45 +0000 (20:44 +0000)]
Fix some variable names

Submitted by:  Brian Degenhardt <bmd@mp3.com>

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

22 years ago This moved, so moved.
William A. Rowe Jr [Wed, 19 Jun 2002 20:36:39 +0000 (20:36 +0000)]
  This moved, so moved.

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

22 years agoFixed a typo
Bradley Nicholes [Wed, 19 Jun 2002 20:34:35 +0000 (20:34 +0000)]
Fixed a typo

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

22 years agoBetter document the error cases returned from get_chunk_size().
Aaron Bannert [Wed, 19 Jun 2002 18:43:28 +0000 (18:43 +0000)]
Better document the error cases returned from get_chunk_size().

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

22 years agoUpdated binary status for NetWare
Bradley Nicholes [Wed, 19 Jun 2002 18:21:52 +0000 (18:21 +0000)]
Updated binary status for NetWare

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

22 years agoHere's the rh70 version, for the heck of it.
Aaron Bannert [Wed, 19 Jun 2002 17:42:56 +0000 (17:42 +0000)]
Here's the rh70 version, for the heck of it.

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

22 years agoGrrrr. Fix the htpasswd -c -n logic bug *the right way* this time. :(
Cliff Woolley [Wed, 19 Jun 2002 17:31:19 +0000 (17:31 +0000)]
Grrrr.  Fix the htpasswd -c -n logic bug *the right way* this time.  :(

PR: 9989

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

22 years agoFixed the EOS handling for partial SSI directives at the end of
Brian Pane [Wed, 19 Jun 2002 07:21:45 +0000 (07:21 +0000)]
Fixed the EOS handling for partial SSI directives at the end of
brigades.  (This was causing us to produce no output, not even
an HTTP response header, for a document containing an unterminated
"<!--#" directive

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

22 years agoFix grammar.
Cliff Woolley [Wed, 19 Jun 2002 04:25:55 +0000 (04:25 +0000)]
Fix grammar.

Submitted by:  James Cox <imajes@php.net>

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

22 years agoOS/2 2.0.39 binary is up.
Brian Havard [Wed, 19 Jun 2002 03:23:22 +0000 (03:23 +0000)]
OS/2 2.0.39 binary is up.

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

22 years agoDarwin5.5, Solaris8/intel, and Linux2.4 (Redhat7.2) are on daedalus.
Aaron Bannert [Wed, 19 Jun 2002 01:37:29 +0000 (01:37 +0000)]
Darwin5.5, Solaris8/intel, and Linux2.4 (Redhat7.2) are on daedalus.
I also removed Darwin 5.3 since it's unlikely someone will want binaries
for this kernel.

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

22 years agoAdd back in the original volunteers that I probably shouldn't have
Aaron Bannert [Wed, 19 Jun 2002 00:31:12 +0000 (00:31 +0000)]
Add back in the original volunteers that I probably shouldn't have
removed on the last run through.

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

22 years agoUpdate the volunteer list for binary distributions.
Aaron Bannert [Wed, 19 Jun 2002 00:24:09 +0000 (00:24 +0000)]
Update the volunteer list for binary distributions.

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

22 years ago Not standard WinFoo. Using cd now. Reported by Ian Holsman.
William A. Rowe Jr [Tue, 18 Jun 2002 23:48:42 +0000 (23:48 +0000)]
  Not standard WinFoo.  Using cd now.  Reported by Ian Holsman.

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

22 years agoHTML-encode the umlauts, and correct a few spelling mistakes.
Aaron Bannert [Tue, 18 Jun 2002 22:34:34 +0000 (22:34 +0000)]
HTML-encode the umlauts, and correct a few spelling mistakes.

Submitted by: Erik Abele <webmaster@codefaktor.de>
Reviewed by:  Aaron Bannert

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

22 years ago * clear up a warning that NOFILE was redefined on HP/UX.
Cliff Woolley [Tue, 18 Jun 2002 02:58:36 +0000 (02:58 +0000)]
 * clear up a warning that NOFILE was redefined on HP/UX.
 * fix a logic bug ... a binary and that should have been a binary or.
   (that one was just reporting a commandline args error, noncritical)

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

22 years agosquash warnings
Roy T. Fielding [Tue, 18 Jun 2002 00:33:26 +0000 (00:33 +0000)]
squash warnings

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

22 years agoIt isn't valid to check errno without setting it first, unless an
Roy T. Fielding [Tue, 18 Jun 2002 00:14:21 +0000 (00:14 +0000)]
It isn't valid to check errno without setting it first, unless an
error return value already indicated that errno was set.  Also, we might
as well accept any error or junk remaining in the field as a parse error.

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

22 years agoDo not use atol() for the Content-Length parsing as its handling of error
Justin Erenkrantz [Mon, 17 Jun 2002 22:46:30 +0000 (22:46 +0000)]
Do not use atol() for the Content-Length parsing as its handling of error
cases is undetermined by the ANSI C standard.

Instead, use strtol() with a check for the ERANGE error condition.

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

22 years ago Ooops... newline. Caught it
William A. Rowe Jr [Mon, 17 Jun 2002 22:45:09 +0000 (22:45 +0000)]
  Ooops... newline.  Caught it

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

22 years ago Quiet emits for win32 folks building with zlib for mod_deflate
William A. Rowe Jr [Mon, 17 Jun 2002 22:44:37 +0000 (22:44 +0000)]
  Quiet emits for win32 folks building with zlib for mod_deflate

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

22 years agoEliminate segfault we were seeing in mod_mem_cache when collecting an expired
Bill Stoddard [Mon, 17 Jun 2002 22:39:09 +0000 (22:39 +0000)]
Eliminate segfault we were seeing in mod_mem_cache when collecting an expired
entry from the cache. Ian?

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

22 years ago These emits occur mainline, outside of the pphrase_callback, so we never
William A. Rowe Jr [Mon, 17 Jun 2002 19:39:19 +0000 (19:39 +0000)]
  These emits occur mainline, outside of the pphrase_callback, so we never
  opened readtty or writetty.  But they are absolute failures, nothing the
  user could do to deal with them.  They are logged in the ssl vhost's error
  log.

  In this case, I forgot my SSLCertificateKeyFile, so the server never
  tried the callback.  writetty wasn't initialized, so we segfaulted.

  This segfault is due to misconfig, not to the dialog with the user.
  This is the easiest fix (easier to read, too), but we shouldn't need
  to worry too much that the release is tagged.  If we retag, fine, then
  grab it, but it only addresses a config problem.

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

22 years ago Show the 'Disconnect' button to detach ourselves from another computer's
William A. Rowe Jr [Mon, 17 Jun 2002 18:37:11 +0000 (18:37 +0000)]
  Show the 'Disconnect' button to detach ourselves from another computer's
  services on Win32.

Submitted by: Mladen Turk <mturk@mappingsoft.com>

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

22 years agobump after the tag
Cliff Woolley [Mon, 17 Jun 2002 16:11:06 +0000 (16:11 +0000)]
bump after the tag

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

22 years agohere goes nothing
Cliff Woolley [Mon, 17 Jun 2002 16:06:06 +0000 (16:06 +0000)]
here goes nothing

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

22 years agoGetting ready for 2.0.39. Here we go again
Cliff Woolley [Mon, 17 Jun 2002 16:01:53 +0000 (16:01 +0000)]
Getting ready for 2.0.39.  Here we go again

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

22 years agoGet this to work on win32 :(
Cliff Woolley [Mon, 17 Jun 2002 14:51:17 +0000 (14:51 +0000)]
Get this to work on win32 :(

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

22 years agoClarify CHANGES message
Justin Erenkrantz [Mon, 17 Jun 2002 05:13:12 +0000 (05:13 +0000)]
Clarify CHANGES message

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

22 years agoRewrite ap_get_client_block to rely on assumptions that have been
Justin Erenkrantz [Mon, 17 Jun 2002 05:09:45 +0000 (05:09 +0000)]
Rewrite ap_get_client_block to rely on assumptions that have been
solidified after this code was originally written.  Namely:

- AP_MODE_READBYTES will only return a brigade representing AT MOST bytes
  of data.  It can NOT return MORE than requested.
- APR_BLOCK_READ is respected - it is considered a design error of a filter
  if it returns without reading something.
- apr_brigade_flatten is available to do the heavy lifting of the copying
  into a flat buffer (as hinted at by the removed comment).

Tested with httpd-test.

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

22 years agoremove a redundant piece of code
Ian Holsman [Mon, 17 Jun 2002 01:59:32 +0000 (01:59 +0000)]
remove a redundant piece of code

Submitted By: Wayne Pascoe <wayne@pengiunpowered.org.uk>

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

22 years agoMore changes to bring the performance tuning guide closer to compatibility
Brian Pane [Sun, 16 Jun 2002 22:55:11 +0000 (22:55 +0000)]
More changes to bring the performance tuning guide closer to compatibility
with httpd-2.0:
 - Updated the sample system call trace with a 2.0/worker example
 - Removed the section on the preforking model

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

22 years agomoving on. :)
Cliff Woolley [Sun, 16 Jun 2002 19:44:45 +0000 (19:44 +0000)]
moving on.  :)

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

22 years agoUpdate before the tag
Cliff Woolley [Sun, 16 Jun 2002 19:41:09 +0000 (19:41 +0000)]
Update before the tag

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

22 years agobump before the tag
Cliff Woolley [Sun, 16 Jun 2002 19:40:04 +0000 (19:40 +0000)]
bump before the tag

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

22 years ago Formating, whitespace, following {} rules, 80 char lines, etc. The only
William A. Rowe Jr [Sun, 16 Jun 2002 19:02:58 +0000 (19:02 +0000)]
  Formating, whitespace, following {} rules, 80 char lines, etc.  The only
  significant variation from the general Apache rules is the construct:

  switch ()
  {
  case foo:
      case_fns();
  }

  indentation, since win32 switches are very common, but it's impossible
  to follow that rule and maintain legible 80 character line limits.  This
  is a common enough exception that I don't expect vocal objections.

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

22 years agoFinish the htpasswd port to APR. This brings the file checking code to
Ryan Bloom [Sun, 16 Jun 2002 15:52:15 +0000 (15:52 +0000)]
Finish the htpasswd port to APR.  This brings the file checking code to
APR.

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

22 years agoFirst pass at cleaning up htpasswd. This removes the tmpnam call in
Ryan Bloom [Sun, 16 Jun 2002 15:14:41 +0000 (15:14 +0000)]
First pass at cleaning up htpasswd.  This removes the tmpnam call in
favor of apr_file_mktemp.  This also APR-izes most of the code.  The
file access code is still not using APR, but that will be fixed next.

I also re-organized some of the code to make it a little cleaner, and
to use functions where I could.

PR: 7764

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

22 years agoThere's already a program distributed with Apache that does this.
Rich Bowen [Sun, 16 Jun 2002 12:17:18 +0000 (12:17 +0000)]
There's already a program distributed with Apache that does this.
Thanks, Joshua, for pointing this out. Do folks with binary
distributions (RPM or whatever) get this program installed somewhere
accessible?

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

22 years agoOS/2: Stop a bunch of error messages while doing a make install.
Brian Havard [Sun, 16 Jun 2002 07:43:14 +0000 (07:43 +0000)]
OS/2: Stop a bunch of error messages while doing a make install.

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

22 years ago For debug builds, toss the .pdb's alongside the binaries for debugging
William A. Rowe Jr [Sun, 16 Jun 2002 03:25:36 +0000 (03:25 +0000)]
  For debug builds, toss the .pdb's alongside the binaries for debugging
  in the install tree [note: you still need some sources handy, at least
  this solves the 80/20 headache.]

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

22 years agoFix the build on BSDi machines. The bsd_makefile trick didn't completely
David Reid [Sat, 15 Jun 2002 21:48:53 +0000 (21:48 +0000)]
Fix the build on BSDi machines. The bsd_makefile trick didn't completely
work as autoconf may run config.status and remove the fixes we've just
applied, so this allows us to workaround that problem.

Initailly suggested by Cliff, this is a modified version.

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

22 years agoForward-port a change from 1.3
Cliff Woolley [Sat, 15 Jun 2002 20:35:14 +0000 (20:35 +0000)]
Forward-port a change from 1.3

Reminded by:  Joshua Slive

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

22 years agoDavid Reid is testing on BSDi for me and then off we go....
Cliff Woolley [Sat, 15 Jun 2002 20:28:10 +0000 (20:28 +0000)]
David Reid is testing on BSDi for me and then off we go....

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

22 years agoRemoved spurious "Setup:" hanging on at the bottom of the page for no
Rich Bowen [Sat, 15 Jun 2002 20:20:35 +0000 (20:20 +0000)]
Removed spurious "Setup:" hanging on at the bottom of the page for no
apparent reason.

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

22 years agoCorrected HTML oops.
Rich Bowen [Sat, 15 Jun 2002 20:19:40 +0000 (20:19 +0000)]
Corrected HTML oops.

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

22 years agos/http/httpd/ in the title and page head.
Rich Bowen [Sat, 15 Jun 2002 20:15:39 +0000 (20:15 +0000)]
s/http/httpd/ in the title and page head.

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

22 years agoA little clarification of the command line which is to be typed. People
Rich Bowen [Sat, 15 Jun 2002 20:11:41 +0000 (20:11 +0000)]
A little clarification of the command line which is to be typed. People
seem to like to have an example of EXACTLY what they are supposed to
type.
Also, added a "subtitle" for the File Descriptor Limits page, to reflect
some of the material that I just added to it.

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

22 years agoAdded configuration example, code example, and a little explanation, to
Rich Bowen [Sat, 15 Jun 2002 20:09:08 +0000 (20:09 +0000)]
Added configuration example, code example, and a little explanation, to
facilitate logging all of your virtual hosts to a single file, and then
splitting them back up after. Note that if Apache has problems with this
many file handles, Perl might also. I'm not sure.

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

22 years agoImprove on some of the documentary comments in the request_rec.
Aaron Bannert [Sat, 15 Jun 2002 19:19:42 +0000 (19:19 +0000)]
Improve on some of the documentary comments in the request_rec.

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

22 years agoClose race condition cleaning up cache entry.
Bill Stoddard [Sat, 15 Jun 2002 16:49:19 +0000 (16:49 +0000)]
Close race condition cleaning up cache entry.

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

22 years agoNew Korean translations
Joshua Slive [Sat, 15 Jun 2002 15:34:06 +0000 (15:34 +0000)]
New Korean translations

Submitted by: Jeon Jeongho <mahajjh@myscan.org>
Reviewed by: Choi Kyusic

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

22 years agoNot to pick nits, but I think that the "add this back in" phrasing will
Rich Bowen [Sat, 15 Jun 2002 11:43:11 +0000 (11:43 +0000)]
Not to pick nits, but I think that the "add this back in" phrasing will
confuse people, and leave them unsure what they are actually supposed to
do, in the unlikely event that they want to turn this back on. Made it a
little clearer what they actually need to do. Tested.

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

22 years agoThe '-@' seems to be more portable than '- @'. FreeBSD complained
Cliff Woolley [Sat, 15 Jun 2002 09:41:03 +0000 (09:41 +0000)]
The '-@' seems to be more portable than '- @'.  FreeBSD complained
about the latter.

Tested on: Linux, FreeBSD, Solaris, HP/UX, Darwin

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

22 years agoWe not only want to avoid displaying it, we want to avoid sending it
Cliff Woolley [Sat, 15 Jun 2002 08:02:38 +0000 (08:02 +0000)]
We not only want to avoid displaying it, we want to avoid sending it
to the client entirely.  We need a mod_include conditional for that.

Submitted by:  Justin Erenkrantz

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

22 years agoWe must set the MIME-type for .shtml files to text/html if we want them
Ryan Bloom [Sat, 15 Jun 2002 07:20:59 +0000 (07:20 +0000)]
We must set the MIME-type for .shtml files to text/html if we want them
to be parsed for SSI tags.  Add the config for that to the default
config file so that it is easier to enable .shtml parsing.

PR: 9787
Submitted by: Dave Dyer <ddyer@real-me.net>

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

22 years agoComment out the SERVER_STRING variable from our default error documents.
Ryan Bloom [Sat, 15 Jun 2002 07:01:25 +0000 (07:01 +0000)]
Comment out the SERVER_STRING variable from our default error documents.
Some people do not like having this information in their error pages, and
it makes sense to not do it by default.  If users want this back, they
can uncomment it.

PR: 9319

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

22 years agoFixed a problem with 'make install' on one of the tarballs (which
Cliff Woolley [Sat, 15 Jun 2002 06:11:45 +0000 (06:11 +0000)]
Fixed a problem with 'make install' on one of the tarballs (which
have the CVS dirs removed already) with ReliantUnix's rm:

Installing configuration files
Installing HTML documents
Usage: rm [-firR] file ...
make[1]: *** [install-htdocs] Error 2
make[1]: Leaving directory `/home1/apache20/httpd-2.0.37'
make: *** [install-recursive] Error 1

Submitted by: Jean-frederic Clere <jfrederic.clere@fujitsu-siemens.com>

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

22 years agoMake the default_handler catch all requests that aren't served by
Ryan Bloom [Sat, 15 Jun 2002 05:49:06 +0000 (05:49 +0000)]
Make the default_handler catch all requests that aren't served by
another handler.  This also gets us to return a 404 if a directory
is requested, there is no DirectoryIndex, and mod_autoindex isn't
loaded.

PR: 8045
Submitted by: Justin Erenkrantz

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

22 years agoFixed a bug in the handling of nested if-statements in shtml files
Brian Pane [Sat, 15 Jun 2002 05:41:48 +0000 (05:41 +0000)]
Fixed a bug in the handling of nested if-statements in shtml files
PR: 9866

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