]> granicus.if.org Git - apache/log
apache
22 years ago Fix a const'ness conflict.
William A. Rowe Jr [Wed, 3 Jul 2002 00:17:40 +0000 (00:17 +0000)]
  Fix a const'ness conflict.

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

22 years agonote the C-L filter fix
Cliff Woolley [Tue, 2 Jul 2002 23:54:07 +0000 (23:54 +0000)]
note the C-L filter fix

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

22 years agoFix C-L filter non-blocking-mode brokenness. It was failing to ever
Cliff Woolley [Tue, 2 Jul 2002 23:51:21 +0000 (23:51 +0000)]
Fix C-L filter non-blocking-mode brokenness.  It was failing to ever
read from pipe/socket buckets again if it got APR_EAGAIN from them
due to its use of APR_BRIGADE_FOREACH.

Submitted by: the gang on IRC

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

22 years agoRemove unused variable 'str'.
Justin Erenkrantz [Tue, 2 Jul 2002 22:31:05 +0000 (22:31 +0000)]
Remove unused variable 'str'.

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

22 years agoUse the apr_file_copy function rather than doing a system call to copy
Justin Erenkrantz [Tue, 2 Jul 2002 22:19:13 +0000 (22:19 +0000)]
Use the apr_file_copy function rather than doing a system call to copy
the file.

Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz

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

22 years agofound wasn't getting incremented when we update an exisiting record, thus
Justin Erenkrantz [Tue, 2 Jul 2002 22:15:39 +0000 (22:15 +0000)]
found wasn't getting incremented when we update an exisiting record, thus
an additional new record was getting created.

Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz

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

22 years agofix some mispellings of the word privileges
Jeff Trawick [Tue, 2 Jul 2002 21:51:24 +0000 (21:51 +0000)]
fix some mispellings of the word privileges

PR:             10424
Submitted by: Jens Kubieziel
Reviewed by: Jeff Trawick

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

22 years agoOptimized the addition of the core output filter
Brian Pane [Tue, 2 Jul 2002 21:40:13 +0000 (21:40 +0000)]
Optimized the addition of the core output filter

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

22 years agoReplaced ap_add_input_filter() call with cheaper ap_add_input_filter_handle()
Brian Pane [Tue, 2 Jul 2002 21:35:19 +0000 (21:35 +0000)]
Replaced ap_add_input_filter() call with cheaper ap_add_input_filter_handle()

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

22 years agohtpasswd needs to add a newline at the end of each record.
Ryan Bloom [Tue, 2 Jul 2002 19:48:38 +0000 (19:48 +0000)]
htpasswd needs to add a newline at the end of each record.
PR: 10422
Submitted by: Thom May [thom@planetarytramp.net]

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

22 years ago Never trust Bill when he cuts and pastes
William A. Rowe Jr [Tue, 2 Jul 2002 19:07:48 +0000 (19:07 +0000)]
  Never trust Bill when he cuts and pastes

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

22 years ago A bit more ap_regkey and apr-ization. Fixes some new bugs where the
William A. Rowe Jr [Tue, 2 Jul 2002 19:03:15 +0000 (19:03 +0000)]
  A bit more ap_regkey and apr-ization.  Fixes some new bugs where the
  AP_REGKEY_CREATE flag wasn't passed for ap_regkey_open (when the key
  is expected to not yet exist), and adds the new flags arg to value_set.

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

22 years ago Introduce a _raw_set/_raw_get for regkey values. Takes care of all the
William A. Rowe Jr [Tue, 2 Jul 2002 19:02:00 +0000 (19:02 +0000)]
  Introduce a _raw_set/_raw_get for regkey values.  Takes care of all the
  oddballs, and lets us simplify _array_set/_array_get.

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

22 years ago The pitfalls of cut'n'paste
William A. Rowe Jr [Mon, 1 Jul 2002 20:51:00 +0000 (20:51 +0000)]
  The pitfalls of cut'n'paste

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

22 years agoDocument what the threadpool MPM is
Brian Pane [Mon, 1 Jul 2002 20:24:10 +0000 (20:24 +0000)]
Document what the threadpool MPM is

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

22 years agoDocument what the leader MPM is, for the benefit of anyone who
Brian Pane [Mon, 1 Jul 2002 20:16:51 +0000 (20:16 +0000)]
Document what the leader MPM is, for the benefit of anyone who
stumbles across it in a source distribution

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

22 years ago Using apr_file_write_full() we have less to worry about,
William A. Rowe Jr [Mon, 1 Jul 2002 19:03:03 +0000 (19:03 +0000)]
  Using apr_file_write_full() we have less to worry about,
  and no extra os file handle.

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

22 years ago Eliminate GetModuleFileName()
William A. Rowe Jr [Mon, 1 Jul 2002 18:24:54 +0000 (18:24 +0000)]
  Eliminate GetModuleFileName()

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

22 years ago Remove all the CreateProcess() based code... see the prior commit
William A. Rowe Jr [Mon, 1 Jul 2002 18:22:53 +0000 (18:22 +0000)]
  Remove all the CreateProcess() based code... see the prior commit
  to compare old CP and new APR code side-by-side.

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

22 years ago Replace CreateProcess with properly formed apr threadproc code.
William A. Rowe Jr [Mon, 1 Jul 2002 18:18:31 +0000 (18:18 +0000)]
  Replace CreateProcess with properly formed apr threadproc code.
  Although it's nearly a noop (except that we handle i18n paths that
  translate into Unicode), I'm committing both so that they can be
  compared.  Use this version to eyeball bit for bit what has changed.

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

22 years ago Bring in os.h after we let apr do its platform foo.
William A. Rowe Jr [Mon, 1 Jul 2002 17:49:53 +0000 (17:49 +0000)]
  Bring in os.h after we let apr do its platform foo.

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

22 years ago Add ap_os_proc_filepath and clean up the win32/os.h file structure.
William A. Rowe Jr [Mon, 1 Jul 2002 17:48:47 +0000 (17:48 +0000)]
  Add ap_os_proc_filepath and clean up the win32/os.h file structure.

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

22 years agoMake security notes consistant with apache-1.3/src/CHANGES
Mark J. Cox [Mon, 1 Jul 2002 12:36:50 +0000 (12:36 +0000)]
Make security notes consistant with apache-1.3/src/CHANGES
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agofix make install to stop passing make operators to the shell
Jeff Trawick [Mon, 1 Jul 2002 11:44:21 +0000 (11:44 +0000)]
fix make install to stop passing make operators to the shell

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

22 years agoOptimization for ap_rgetline_core(): When "folding" mode is enabled,
Brian Pane [Mon, 1 Jul 2002 05:05:51 +0000 (05:05 +0000)]
Optimization for ap_rgetline_core(): When "folding" mode is enabled,
clear and re-use the temporary brigade rather than destroying it
and creating a new one

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

22 years agoRemove my address for sending comments to, since comments are no longer
Marc Slemko [Mon, 1 Jul 2002 03:11:47 +0000 (03:11 +0000)]
Remove my address for sending comments to, since comments are no longer
of any real use.

While I'm at it, fix some misformatting that was apparently introduced
when converting it to XHTML.

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

22 years agoGet the perchild MPM starting different child processes with different
Ryan Bloom [Sun, 30 Jun 2002 21:59:50 +0000 (21:59 +0000)]
Get the perchild MPM starting different child processes with different
users and groups.  It doesn't pass requests between child processes yet.

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

22 years agoReplaced APR_USEC_PER_SEC division with apr_time_sec macro
Brian Pane [Sun, 30 Jun 2002 18:20:13 +0000 (18:20 +0000)]
Replaced APR_USEC_PER_SEC division with apr_time_sec macro

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95917 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 04:30:41 +0000 (04:30 +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@95916 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: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