]> granicus.if.org Git - apache/log
apache
22 years agoReplaced APR_USEC_PER_SEC division with the new apr_time_sec() macro
Brian Pane [Sun, 30 Jun 2002 03:53:32 +0000 (03:53 +0000)]
Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro

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

22 years agoPunctuation tweaks.
Chris Pepper [Sun, 30 Jun 2002 03:48:13 +0000 (03:48 +0000)]
Punctuation tweaks.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoReplaced APR_USEC_PER_SEC division with the new apr_time_sec() macro
Brian Pane [Sun, 30 Jun 2002 03:46:56 +0000 (03:46 +0000)]
Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro

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

22 years agoI got sick of the error messages from copying the header files. This
Ryan Bloom [Sat, 29 Jun 2002 22:58:27 +0000 (22:58 +0000)]
I got sick of the error messages from copying the header files.  This
removes all of the error messages.

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

22 years agoPreserve existing installation directories. We copy over binaries,
Ryan Bloom [Sat, 29 Jun 2002 16:24:35 +0000 (16:24 +0000)]
Preserve existing installation directories.  We copy over binaries,
the build directory, the headers, and the man pages.  Everything else,
the config, htdocs, manual, error, icons, and cgi directories are
not installed if the directories already exist.  I got sick of having
to re-edit printenv for my tests, and this is the same logic 1.3 used.

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

22 years agoAdd autom4te.cache to cvsignore files.
Justin Erenkrantz [Sat, 29 Jun 2002 07:39:12 +0000 (07:39 +0000)]
Add autom4te.cache to cvsignore files.

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

22 years agoJust one more showstopper on my list and I'm not sure we can do anything
Justin Erenkrantz [Fri, 28 Jun 2002 20:16:26 +0000 (20:16 +0000)]
Just one more showstopper on my list and I'm not sure we can do anything
about this one in 2.0 due to required handler changes...

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

22 years ago Prevent us from getting stuck in a NULL provider hash.
William A. Rowe Jr [Fri, 28 Jun 2002 16:08:22 +0000 (16:08 +0000)]
  Prevent us from getting stuck in a NULL provider hash.
  Reported by: Sebastian Bergmann

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

22 years agoAdd a filter_init function to the filters so that a filter can execute
Justin Erenkrantz [Fri, 28 Jun 2002 08:40:25 +0000 (08:40 +0000)]
Add a filter_init function to the filters so that a filter can execute
arbitrary code before the handlers are invoked.

This resolves an issue with incorrect 304s on If-Modified-Since mod_include
requests since ap_meets_conditions() is not aware that this is a dynamic
request and it is not possible to satisfy 304 for these requests (unless
xbithack full is on, of course).  When mod_include runs as a filter, it is
too late to set any flag since the handler is responsible for calling
ap_meets_conditions(), which it should do before generating any data.

If a module doesn't need to run such arbitrary code, it can just pass NULL
as the argument and all is well.

PR: 9673
Reviewed by: Ryan Bloom and others

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

22 years ago:(
Jeff Trawick [Thu, 27 Jun 2002 21:06:18 +0000 (21:06 +0000)]
:(

(and if somebody can figure out how to build APR today, my hat is off
to them)

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

22 years agoI've had these for over a week but finally got around to signing them.
Aaron Bannert [Thu, 27 Jun 2002 20:56:13 +0000 (20:56 +0000)]
I've had these for over a week but finally got around to signing them.

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

22 years agofix compile breakage with IBM's xlc compiler caused by the
Jeff Trawick [Thu, 27 Jun 2002 10:47:49 +0000 (10:47 +0000)]
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

22 years agoFix a long-standing bug in 2.0, CGI scripts were being called
Ryan Bloom [Thu, 27 Jun 2002 06:07:58 +0000 (06:07 +0000)]
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

22 years agoFix doxygen comments and add a missing line-feed.
Justin Erenkrantz [Thu, 27 Jun 2002 05:32:20 +0000 (05:32 +0000)]
Fix doxygen comments and add a missing line-feed.

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

22 years agoStrengthen error-detection code in HTTP_IN and core_input_filter so that
Justin Erenkrantz [Thu, 27 Jun 2002 05:18:19 +0000 (05:18 +0000)]
Strengthen error-detection code in HTTP_IN and core_input_filter so that
invalid readbytes or errors reading brigades are properly handled.

Reviewed by: Brian Pane

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

22 years ago- Fix segfault in core_output_filter when we are passed an empty brigade.
Justin Erenkrantz [Thu, 27 Jun 2002 05:00:23 +0000 (05:00 +0000)]
- Fix segfault in core_output_filter when we are passed an empty brigade.
- Stash the remainder of the brigade in more when we see a flush bucket.
  Previous to this commit, we would only process the buckets before the
  flush on a HTTP/1.0 request and then return.

We are proably only finding this now since we now correctly check for
keepalive connection status.

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

22 years agoFix infinite loop when reading certain data due to two HTTP_IN filters being
Justin Erenkrantz [Thu, 27 Jun 2002 04:40:47 +0000 (04:40 +0000)]
Fix infinite loop when reading certain data due to two HTTP_IN filters being
present for internally redirected requests.

If HTTP_IN is present, r->proto_input_filters would have it, so adding it
twice is wrong.

PR: 10146
Reviewed by: Brian Pane

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

22 years ago Doxygenate the rest of this header. Had I not overlooked the #ifdef WIN32
William A. Rowe Jr [Thu, 27 Jun 2002 03:54:50 +0000 (03:54 +0000)]
  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

22 years agoRe-architected the select()/accept() loop to allow all threads to rely on select...
Bradley Nicholes [Wed, 26 Jun 2002 21:53:25 +0000 (21:53 +0000)]
Re-architected the select()/accept() loop to allow all threads to rely on select() to
signal when data is ready rather than only allowing a single thread at a time to
be signaled by select().  This allows Apache to pull the requests off of the
listen queue as fast as winsock will allow without latency introduced by the
accept mutex.

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

22 years agoadd another example filter, try to clarify how parameters to the filter
Jeff Trawick [Wed, 26 Jun 2002 19:54:53 +0000 (19:54 +0000)]
add another example filter, try to clarify how parameters to the filter
program are specified

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

22 years agoChange conn_rec->keepalive to an enumerated value of
Justin Erenkrantz [Wed, 26 Jun 2002 19:45:07 +0000 (19:45 +0000)]
Change conn_rec->keepalive to an enumerated value of

AP_CONN_UNKNOWN
AP_CONN_CLOSE
AP_CONN_KEEPALIVE

This also fixes a problem where ap_discard_request_body would not discard
the body when keepalive was 0.  This actually meant the keepalive status
was unknown *not* closed, but no one ever remembered that.

This problem was seen with mod_dav sending error responses (as reported by
Karl Fogel).

Suggested by: Greg "this isn't the '80s" Stein
Reviewed by: Greg Ames

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

22 years agoFix mod_ext_filter to look in the main server for filter definitions
Jeff Trawick [Wed, 26 Jun 2002 13:01:50 +0000 (13:01 +0000)]
Fix mod_ext_filter to look in the main server for filter definitions
when running in a vhost if the filter definition is not found in
the vhost.

PR:    10147

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

22 years agoSmall change of phrasing on the vhosts index page. A reordering of the
Rich Bowen [Wed, 26 Jun 2002 02:33:12 +0000 (02:33 +0000)]
Small change of phrasing on the vhosts index page. A reordering of the
main links in order to put the less commonly used stuff to the bottom of
the list.

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

22 years agoObtained from: IRC, various other conversations
Rich Bowen [Wed, 26 Jun 2002 02:31:47 +0000 (02:31 +0000)]
Obtained from: IRC, various other conversations
A number of people commented that they thought that beginners would find
that the IP addresses used in examples did not appear "real" enough.
Also, that the ".tld" domain names used in examples were confusing.
Examples have been changed to use 172.20 IP addresses, and host names
using more recognized tlds.

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

22 years ago Some small wording improvements.
William A. Rowe Jr [Tue, 25 Jun 2002 05:51:23 +0000 (05:51 +0000)]
  Some small wording improvements.

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

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

22 years agoap_discard_request_body: exit without reading the body if
Greg Ames [Mon, 24 Jun 2002 17:06:19 +0000 (17:06 +0000)]
ap_discard_request_body: exit without reading the body if
connection->keepalive is false.  This works in conjunction with
ap_die which resets connection->keepalive any time
ap_status_drops_connection is true.  The latter is explicity tested
here in case ap_die isn't involved.

Submitted by:   Justin Erenkrantz, Greg Ames

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

22 years agofix some mispellings of mod_deflate
Jeff Trawick [Mon, 24 Jun 2002 13:21:35 +0000 (13:21 +0000)]
fix some mispellings of mod_deflate

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

22 years ago Move the last little useful bit of registry.c into services.c, and
William A. Rowe Jr [Mon, 24 Jun 2002 07:53:50 +0000 (07:53 +0000)]
  Move the last little useful bit of registry.c into services.c, and
  blast it.  All Win32 registry foo is going through ap_regkey now.

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

22 years ago Add in the other complex ap_regkey_value_foo() fns and move ap_regkey.h
William A. Rowe Jr [Mon, 24 Jun 2002 07:50:36 +0000 (07:50 +0000)]
  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

22 years agoInclude apr_lib.h for the definition of apr_toupper() to get rid of
Cliff Woolley [Mon, 24 Jun 2002 07:17:36 +0000 (07:17 +0000)]
Include apr_lib.h for the definition of apr_toupper() to get rid of
undefined symbol link failures (apr_toupper is a macro, at least on
Unix).

Reported by:  Trawick's regression build

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

22 years ago Incorporate ap_regkey.c into the build.
William A. Rowe Jr [Mon, 24 Jun 2002 04:55:52 +0000 (04:55 +0000)]
  Incorporate ap_regkey.c into the build.

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

22 years ago Replace gunk with ap_regkey calls.
William A. Rowe Jr [Mon, 24 Jun 2002 04:55:24 +0000 (04:55 +0000)]
  Replace gunk with ap_regkey calls.

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

22 years ago Introduce win32 registry handling through a very apr-ish interface.
William A. Rowe Jr [Mon, 24 Jun 2002 04:50:41 +0000 (04:50 +0000)]
  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

22 years ago Another excessively warm day in Chicago.
William A. Rowe Jr [Mon, 24 Jun 2002 02:17:08 +0000 (02:17 +0000)]
  Another excessively warm day in Chicago.

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

22 years ago Doc it.
William A. Rowe Jr [Sun, 23 Jun 2002 10:27:54 +0000 (10:27 +0000)]
  Doc it.

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

22 years ago Seems 9x can't delete two files at a time
William A. Rowe Jr [Sun, 23 Jun 2002 10:25:30 +0000 (10:25 +0000)]
  Seems 9x can't delete two files at a time

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

22 years ago Finish the -w keep-console-open-on-error patch.
William A. Rowe Jr [Sun, 23 Jun 2002 10:24:07 +0000 (10:24 +0000)]
  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

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