]> granicus.if.org Git - apache/log
apache
23 years agoAdded NetWare to a Win32 #ifdef
Bradley Nicholes [Fri, 7 Sep 2001 14:43:01 +0000 (14:43 +0000)]
Added NetWare to a Win32 #ifdef

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

23 years agoWe finally got APR working well enough to support buffered reading
Jeff Trawick [Fri, 7 Sep 2001 14:01:26 +0000 (14:01 +0000)]
We finally got APR working well enough to support buffered reading
of .var files, so the .var file issue is gone.

The brokenness of the threaded MPM on FreeBSD is a FreeBSD issue, not
an Apache issue, as far as anyone can tell.  I don't think this should
be in the STATUS file at all, unless somebody thinks we should issue a
big honking warning from configure if somebody tries to enable threaded.

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

23 years agoattempt to fix some issues in mod_cache found by gcc
Jeff Trawick [Fri, 7 Sep 2001 13:54:25 +0000 (13:54 +0000)]
attempt to fix some issues in mod_cache found by gcc
(use of rv and date before setting them)

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

23 years ago Add a couple of items from discussion.
Ken Coar [Fri, 7 Sep 2001 13:53:13 +0000 (13:53 +0000)]
Add a couple of items from discussion.

Submitted by: Charles Randall <crandall@matchlogic.com>

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

23 years agoFix error in Netware-specific code.
Justin Erenkrantz [Fri, 7 Sep 2001 05:52:29 +0000 (05:52 +0000)]
Fix error in Netware-specific code.

(This really should be an APR function - if it isn't already...)

Now I know why my editor was thinking this file was completed wacked
w.r.t. braces.

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

23 years agoServer configuration goes in httpd.conf not in access.conf
Rich Bowen [Fri, 7 Sep 2001 02:56:30 +0000 (02:56 +0000)]
Server configuration goes in httpd.conf not in access.conf

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

23 years agoPass headers on read/write header calls. Update mod_mem_cache to cache headers.
Bill Stoddard [Fri, 7 Sep 2001 02:56:11 +0000 (02:56 +0000)]
Pass headers on read/write header calls.  Update mod_mem_cache to cache headers.
So much to do so little time ...

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

23 years agoSpell checking.
Rich Bowen [Fri, 7 Sep 2001 02:38:21 +0000 (02:38 +0000)]
Spell checking.

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

23 years agotidy -mi -asxhtml (w3c tidy)
Rich Bowen [Fri, 7 Sep 2001 02:35:03 +0000 (02:35 +0000)]
tidy -mi -asxhtml (w3c tidy)

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

23 years agoUpdate the mod_ssl porting status
Cliff Woolley [Fri, 7 Sep 2001 02:34:56 +0000 (02:34 +0000)]
Update the mod_ssl porting status

Submitted by: Madhu Mathihalli

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

23 years agoTypos
Rich Bowen [Fri, 7 Sep 2001 01:53:02 +0000 (01:53 +0000)]
Typos

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

23 years agoRan w3c tidy with the -asxhtml flag.
Rich Bowen [Fri, 7 Sep 2001 01:49:03 +0000 (01:49 +0000)]
Ran w3c tidy with the -asxhtml flag.

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

23 years agoI forgot to commit this earlier with the new welcome page.
Joshua Slive [Fri, 7 Sep 2001 00:12:06 +0000 (00:12 +0000)]
I forgot to commit this earlier with the new welcome page.

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

23 years agoMake find_start_sequence use the BNDM search algorithm. We handle
Justin Erenkrantz [Thu, 6 Sep 2001 23:58:29 +0000 (23:58 +0000)]
Make find_start_sequence use the BNDM search algorithm.  We handle
edge cases via the old slow mechanism.

Previously, find_start_sequence would be responsible for ~25% of the
usr CPU time in tests (as performed by Ian).  No more.

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

23 years agoAdd Norwegian Nynorsk translation of welcome page.
Joshua Slive [Thu, 6 Sep 2001 18:27:56 +0000 (18:27 +0000)]
Add Norwegian Nynorsk translation of welcome page.

Submitted by: Roy-Magne Mo <rmo@sunnmore.net>
Reviewed by: Ragnar Wisl�ff <ragnar@wisloff.no>, Tor Hildrum <torhildr@mac.com>

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

23 years agowork around an AIX "issue" in the construction of config_vars.mk by
Jeff Trawick [Thu, 6 Sep 2001 18:22:46 +0000 (18:22 +0000)]
work around an AIX "issue" in the construction of config_vars.mk by
modifying the sed expression just a bit;

note that before and after this change manualdir isn't being handled
properly; using the default Apache layout we get

  manualdir = $datadir/manual

instead of

  manualdir = $(datadir)/manual

Submitted by: Victor Orlikowski, after I narrowed down the issue

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

23 years agoFix a seg fault in mod_include. When we are generating an
Ryan Bloom [Thu, 6 Sep 2001 17:58:28 +0000 (17:58 +0000)]
Fix a seg fault in mod_include.  When we are generating an
internal redirect, we must set r->uri to "", not a bogus
string, and not NULL.  [Ryan Bloom]

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

23 years ago Rambling on
William A. Rowe Jr [Thu, 6 Sep 2001 16:52:14 +0000 (16:52 +0000)]
  Rambling on

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

23 years ago Optimize location_walk. We build an array of incremental matches, and
William A. Rowe Jr [Thu, 6 Sep 2001 16:48:15 +0000 (16:48 +0000)]
  Optimize location_walk.  We build an array of incremental matches, and
  on attempting a subreq/redirect or simply a second pass, and for each
  match in series, if the section is a match,  we reuse the merge result
  for that section.

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

23 years agostrip parens from config_vars.mk values
Doug MacEachern [Thu, 6 Sep 2001 15:31:09 +0000 (15:31 +0000)]
strip parens from config_vars.mk values

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

23 years agoI am veto'ing this, for now at least. I will support making mod_gz
Ryan Bloom [Thu, 6 Sep 2001 15:04:01 +0000 (15:04 +0000)]
I am veto'ing this, for now at least.  I will support making mod_gz
a separate sub-project of httpd, and possibly rolling it into a later
release of 2.0, but now is not the time to do this.

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

23 years agoI think it's a bit premature to make such
Jim Jagielski [Thu, 6 Sep 2001 13:20:42 +0000 (13:20 +0000)]
I think it's a bit premature to make such
a decision right now

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

23 years agosimpler, more secure, easier to release, less conflict, more convival
Ben Hyde [Thu, 6 Sep 2001 12:46:23 +0000 (12:46 +0000)]
simpler, more secure, easier to release, less conflict, more convival

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

23 years agoMy +1 is also contingent upon the code style nits that have already
Cliff Woolley [Thu, 6 Sep 2001 04:27:45 +0000 (04:27 +0000)]
My +1 is also contingent upon the code style nits that have already
been discussed.  In particular, the hungarian notation needs to go away. :)

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

23 years agoI started the flame war, so I'm +1 on mod_gz as well.
Justin Erenkrantz [Thu, 6 Sep 2001 04:23:38 +0000 (04:23 +0000)]
I started the flame war, so I'm +1 on mod_gz as well.

(My +1 is contingent on the style and minor nitpicks getting resolved.
I don't see this as blocking a +1...)

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

23 years agoI didn't crawl the list looking for the complete set of votes, but here we
Greg Stein [Thu, 6 Sep 2001 04:08:55 +0000 (04:08 +0000)]
I didn't crawl the list looking for the complete set of votes, but here we
go. Nominally, this issue would be under "lazy approval" since no changes
are made to APIs, directives, or significant size changes in the runtime.
However, the nature of the discussions effectively calls for "consensus
approval" -- three binding +1 votes and no vetoes.

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

23 years agoW3C tidy. Lowercased tags. Various indentation and HTML prettification.
Rich Bowen [Thu, 6 Sep 2001 03:52:58 +0000 (03:52 +0000)]
W3C tidy. Lowercased tags. Various indentation and HTML prettification.

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

23 years agoW3C tidy. Lowecased HTML tags. Various other indentation and
Rich Bowen [Thu, 6 Sep 2001 03:48:59 +0000 (03:48 +0000)]
W3C tidy. Lowecased HTML tags. Various other indentation and
prettification of the HTML.

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

23 years agoW3C tidy. Convert uppercase tags -> lowercase. Various other indentation
Rich Bowen [Thu, 6 Sep 2001 03:37:30 +0000 (03:37 +0000)]
W3C tidy. Convert uppercase tags -> lowercase. Various other indentation
and general beautification.

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

23 years agoLink to Ken's .htaccess docs.
Joshua Slive [Thu, 6 Sep 2001 01:47:27 +0000 (01:47 +0000)]
Link to Ken's .htaccess docs.

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

23 years agoon AIX we need to pass in --disable-shared to apr and apr-util
Jeff Trawick [Wed, 5 Sep 2001 16:40:35 +0000 (16:40 +0000)]
on AIX we need to pass in --disable-shared to apr and apr-util
configurations; otherwise we get goofy executable files

obviously libtool isn't doing the right thing, but I don't know
what that is

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

23 years agofix a module reference so that it doesn't look like two files
Jeff Trawick [Wed, 5 Sep 2001 13:33:42 +0000 (13:33 +0000)]
fix a module reference so that it doesn't look like two files
are trying to declare it

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

23 years agomod_access is also important...
Cliff Woolley [Wed, 5 Sep 2001 03:07:49 +0000 (03:07 +0000)]
mod_access is also important...

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

23 years agotypo
Rich Bowen [Wed, 5 Sep 2001 02:33:10 +0000 (02:33 +0000)]
typo

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

23 years agoFirst cut at authentication tutorial. Need to add section about
Rich Bowen [Wed, 5 Sep 2001 01:40:17 +0000 (01:40 +0000)]
First cut at authentication tutorial. Need to add section about
alternate authentication modules such as mod_auth_db, but this is a
decent start.

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

23 years agoThere's no particular reason to advertise ApacheToday and/or
Rich Bowen [Wed, 5 Sep 2001 01:26:24 +0000 (01:26 +0000)]
There's no particular reason to advertise ApacheToday and/or
Internet.com

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

23 years agoIf the user doesn't specify a layout, then just use the Apache
Ryan Bloom [Tue, 4 Sep 2001 22:32:56 +0000 (22:32 +0000)]
If the user doesn't specify a layout, then just use the Apache
layout.  This means that we don't have to re-specify options that are
already in config.layout.

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

23 years agoJeff pointed out that the character array must be constant.
Justin Erenkrantz [Tue, 4 Sep 2001 16:28:45 +0000 (16:28 +0000)]
Jeff pointed out that the character array must be constant.
Well, it's not, so make it allocated from the correct pool rather than
the heap.

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

23 years agoFix breakage from Brian Pane's util_filter switch to hash tables.
Justin Erenkrantz [Tue, 4 Sep 2001 07:59:55 +0000 (07:59 +0000)]
Fix breakage from Brian Pane's util_filter switch to hash tables.

There were some places that were expecting what you put into frec
would be what frec->name would be.  Not true anymore.

There are enough other places that were already doing the strcasecmp
that it makes more sense to just make it all strcasecmp across the
board rather than changing the UPPERCASE to lowercase.

(None of these with the exception of old_filter look to be in the
critical path anyway...)

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

23 years ago**NO CODE CHANGES**
Justin Erenkrantz [Tue, 4 Sep 2001 06:57:58 +0000 (06:57 +0000)]
**NO CODE CHANGES**
This is a reformat commit *ONLY*
Please drive on through.

(One spelling tpyo fixed...)

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

23 years agoThe ap_add_input_filter/ap_add_output_filter functions do an O(n) scan
Justin Erenkrantz [Tue, 4 Sep 2001 06:50:52 +0000 (06:50 +0000)]
The ap_add_input_filter/ap_add_output_filter functions do an O(n) scan
through the list of registered filters.  This patch replaces the linear
list with a hash table for better performance.
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz

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

23 years agosilence compiler warnings (these weren't really bugs)
Cliff Woolley [Tue, 4 Sep 2001 02:13:58 +0000 (02:13 +0000)]
silence compiler warnings (these weren't really bugs)

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

23 years agoBack out the 1.45 change to util_script.c. This change made
Ryan Bloom [Tue, 4 Sep 2001 01:38:01 +0000 (01:38 +0000)]
Back out the 1.45 change to util_script.c.  This change made
us set the environment variable REQUEST_URI to the redirected
URI, instead of the originally requested URI.

PR: 7580
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>

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

23 years agoFix uninitialized variable warning. (This was a bug.)
Justin Erenkrantz [Mon, 3 Sep 2001 22:09:15 +0000 (22:09 +0000)]
Fix uninitialized variable warning.  (This was a bug.)
Submitted by: Cliff's compiler (warning) and Brian Pane (fix)
Reviewed by: Justin Erenkrantz

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

23 years ago This one has a sharper 16x16 image committed some time ago to apache-1.3
William A. Rowe Jr [Mon, 3 Sep 2001 16:43:10 +0000 (16:43 +0000)]
  This one has a sharper 16x16 image committed some time ago to apache-1.3

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

23 years agoUpdate the DSO docs for Apache 2.0
Ryan Bloom [Mon, 3 Sep 2001 16:31:27 +0000 (16:31 +0000)]
Update the DSO docs for Apache 2.0

PR: 6879

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

23 years agoAdded a little more detail to the docs based on some comments from Bill
Rich Bowen [Mon, 3 Sep 2001 03:45:27 +0000 (03:45 +0000)]
Added a little more detail to the docs based on some comments from Bill
Rowe. More to come, but this clarified a point that I had to track
down earlier, and may save someone some time.

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

23 years agoMake Apache 2.0 install all files in the same location as Apache 1.3
Ryan Bloom [Mon, 3 Sep 2001 03:27:48 +0000 (03:27 +0000)]
Make Apache 2.0 install all files in the same location as Apache 1.3
did.
PR: 7626

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

23 years agoFix the interaction between --prefix and --with-layout. We were
Ryan Bloom [Mon, 3 Sep 2001 03:07:42 +0000 (03:07 +0000)]
Fix the interaction between --prefix and --with-layout.  We were
over-writing the specified prefix during --with-layout processing.  By
keeping a copy of the specified prefix, and resetting it after the
layout processing, this is fixed.
PR: 7755

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

23 years agoMake sure that installbuilddir is always defined.
Ryan Bloom [Mon, 3 Sep 2001 03:06:12 +0000 (03:06 +0000)]
Make sure that installbuilddir is always defined.

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

23 years ago**NO CODE CHANGES**
Justin Erenkrantz [Sun, 2 Sep 2001 17:44:39 +0000 (17:44 +0000)]
**NO CODE CHANGES**
This is a reformat commit *ONLY*
Please drive on through.

(If I have to work with this file any more, I want it in our style...)

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

23 years ago- Remove extra include_module line - dunno how that got there.
Justin Erenkrantz [Sun, 2 Sep 2001 17:12:55 +0000 (17:12 +0000)]
- Remove extra include_module line - dunno how that got there.
- make lazy_eval_sentinel a const
- create #define for &lazy_eval_sentinel (LAZY_VALUE)
- create get_include_var function (get, check, get real value if lazy)
- cleanup the printenv call to be a bit more streamlined (can't use
  get_include_var here since it is iterating through the table here -
  well, you could do that, but I won't...)

Submitted by: Greg Stein (concept)
Reviewed by: Justin Erenkrantz

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

23 years agoMake mod_include do lazy evaluation of potentially expensive to
Justin Erenkrantz [Sun, 2 Sep 2001 08:43:23 +0000 (08:43 +0000)]
Make mod_include do lazy evaluation of potentially expensive to
compute variables.

Tested with httpd-test's printenv.shtml.

(Justin threw in one or two unrelated formatting nits)
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz

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

23 years agoWe should be copying the filters as well when we perform the extension merge
Justin Erenkrantz [Sun, 2 Sep 2001 08:34:45 +0000 (08:34 +0000)]
We should be copying the filters as well when we perform the extension merge
(which seems to use a ; syntax).

Try:
AddOutputFilter GZ html  (server-level)
AddOutputFilter Includes html  (directory-level)

Oops.

Without this, when you use mod_gz and go to /foobarnotthere/, the error
page isn't handled by mod_include.  Oooops.

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

23 years agoFix logging of bytes sent for HEAD requests. %b and %B should
Ryan Bloom [Sun, 2 Sep 2001 03:21:47 +0000 (03:21 +0000)]
Fix logging of bytes sent for HEAD requests.  %b and %B should
log either - or 0, before this patch, they were both logging
the file size.

PR: 8021
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>

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

23 years agoMake mod_include check for BYTE_COUNT_THRESHOLD on a per-bucket basis
Justin Erenkrantz [Sun, 2 Sep 2001 01:09:02 +0000 (01:09 +0000)]
Make mod_include check for BYTE_COUNT_THRESHOLD on a per-bucket basis
rather than on a per-character basis.  A significant amount of time
was spent checking the limit.  A better place to check for the threshold
is when we read the bucket in not as we read each character in the bucket.

If a bucket manages to be 200MB, it is not this code's problem as it
is a mere filter.

I ran this with the mod_include stuff in httpd-test and it looks good
from here.

Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz, Ryan Bloom, Greg Stein, Cliff Woolley,
Paul Reder, etc, etc, etc...

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

23 years ago After some consideration - Location walk is always required (before and
William A. Rowe Jr [Sat, 1 Sep 2001 05:21:16 +0000 (05:21 +0000)]
  After some consideration - Location walk is always required (before and
  after any other map_to_storage operations.)  Therefore, initialize any
  NULL r->per_dir_config at this phase (the earliest necessary point.)

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

23 years ago Finish a thought. I'm hoping this drops the number of obnoxous requests
William A. Rowe Jr [Sat, 1 Sep 2001 04:07:39 +0000 (04:07 +0000)]
  Finish a thought.  I'm hoping this drops the number of obnoxous requests
  to bugs for mime.types changes back down to mostly valid requests.

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

23 years ago I love it when a plan comes together.
William A. Rowe Jr [Sat, 1 Sep 2001 02:38:18 +0000 (02:38 +0000)]
  I love it when a plan comes together.

  We hadn't prepared for this possibility that someone didn't set up the
  r->per_dir_config (which the subreq's didn't).  Since we are first in
  line, we will handle it if need be.

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

23 years ago Move ForceType/SetHandler from mod_mime to core, copy the Set*Filter
William A. Rowe Jr [Sat, 1 Sep 2001 02:25:22 +0000 (02:25 +0000)]
  Move ForceType/SetHandler from mod_mime to core, copy the Set*Filter
  description for Add*Filter in mod_mime, and cross reference them.

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

23 years ago Ahhh, a const headache. Here's a flag that is writeable.
William A. Rowe Jr [Fri, 31 Aug 2001 22:33:24 +0000 (22:33 +0000)]
  Ahhh, a const headache.  Here's a flag that is writeable.

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

23 years ago Since we can preserve and further canonicalize the subreq_file name onto
William A. Rowe Jr [Fri, 31 Aug 2001 22:29:28 +0000 (22:29 +0000)]
  Since we can preserve and further canonicalize the subreq_file name onto
  a canonical r->filename, let's do so.

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

23 years ago Add some notes of things I noticed while proofing. We still need a
William A. Rowe Jr [Fri, 31 Aug 2001 22:07:05 +0000 (22:07 +0000)]
  Add some notes of things I noticed while proofing.  We still need a
  resolution to rnew->chunked = r->chunked in subrequests!

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

23 years ago These no longer work, and even though most of this whole
William A. Rowe Jr [Fri, 31 Aug 2001 21:43:53 +0000 (21:43 +0000)]
  These no longer work, and even though most of this whole
  <IfModule mod_proxy.c> section doesn't work today, at least
  get the syntax right for <Proxy > blocks.

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

23 years agoLet's see if I can commit from win2000 using plink.
Joshua Slive [Fri, 31 Aug 2001 19:54:07 +0000 (19:54 +0000)]
Let's see if I can commit from win2000 using plink.

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

23 years agoAllow us to build APR before APR-util, but clean APR-util before
Ryan Bloom [Fri, 31 Aug 2001 17:02:23 +0000 (17:02 +0000)]
Allow us to build APR before APR-util, but clean APR-util before
APR.  This should fix the build for BeOS.

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

23 years agoInstall the mod_core.h file. Mod_proxy relies on it.
Ryan Bloom [Fri, 31 Aug 2001 15:32:31 +0000 (15:32 +0000)]
Install the mod_core.h file.  Mod_proxy relies on it.
Submitted by: Ian Holsman <ianh@cnet.com>

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

23 years ago Can it be this simple? No, probably not, but this fast-hack will get
William A. Rowe Jr [Fri, 31 Aug 2001 13:45:16 +0000 (13:45 +0000)]
  Can it be this simple?  No, probably not, but this fast-hack will get
  us going again for a while.

  We are currently rejecting some internal file_sub_req()'s in the
  translate phase.  I don't like this hack because of risks it potentially
  exposes, but for today, if we have a filename - and we are a subrequest,
  then let it fly without further mapping.  This allows us to serve up
  the default "/" request (run through mod_dir->mod_negotiation->mod_mime)
  without a 400 error.  The right solution is to set up some traps and
  escapes for the subreq mechanism, possibly with a subreq translate hook,
  and drop the URI entirely for these cases.

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

23 years agoresolve_symlink() is only used if REPLACE_PATH_INFO_METHOD is
Jeff Trawick [Fri, 31 Aug 2001 10:58:47 +0000 (10:58 +0000)]
resolve_symlink() is only used if REPLACE_PATH_INFO_METHOD is
defined

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

23 years agoWith my normal sense of missing the boat :)
David Reid [Fri, 31 Aug 2001 09:47:53 +0000 (09:47 +0000)]
With my normal sense of missing the boat :)

This gets the build working on BeOS again :)  Apologies for the delay :(

Jeff changed the order of apr-util and apr to solve a "cleaning" issue but
that makes me uncomfortable as apr-util is dependant on apr, so if we clean
apr-util we shouldn't be altering anything in apr.  If I decide to rebuild
apr-util then apr should still be buildable.  Sorry Jeff but I think we need
a different solution :(

Submitted by: Peter Schultz <pete@beforever.com>

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

23 years agoUse the full path for libraries. (This has been in my tree for ages...)
David Reid [Fri, 31 Aug 2001 09:12:10 +0000 (09:12 +0000)]
Use the full path for libraries.  (This has been in my tree for ages...)

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

23 years agoAs I understand it, this test is supposed to read like so:
Cliff Woolley [Fri, 31 Aug 2001 05:05:58 +0000 (05:05 +0000)]
As I understand it, this test is supposed to read like so:

----------------------------------------------------
if the base paths are the same
    if (strncmp(rnew->filename, fdir, fdirlen) == 0

and there's more stuff in the new filename than just the base path
        && rnew->filename[fdirlen]

and that stuff contains no slashes
        && ap_strchr_c(rnew->filename + fdirlen, '/') == NULL)
----------------------------------------------------

Assuming that's a correct translation, which I believe to be the case
(and which also seems to jive with the previous version of the test),
then that first part darned well better check == 0, as opposed to != 0.
strncmp returns 0 when they match.  =-)

And voila,
"All tests successful, 1 test skipped."
is the result from httpd-test

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

23 years agoRyan apparently bumped this back DOWN from 2.0.25 to 2.0.25-dev after the
Cliff Woolley [Fri, 31 Aug 2001 04:01:19 +0000 (04:01 +0000)]
Ryan apparently bumped this back DOWN from 2.0.25 to 2.0.25-dev after the
last tag, rather than UP to 2.0.26-dev.  =-)

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

23 years ago Now that stinks, sorry. In moving code - I didn't notice my code
William A. Rowe Jr [Fri, 31 Aug 2001 03:49:42 +0000 (03:49 +0000)]
  Now that stinks, sorry.  In moving code - I didn't notice my code
  now served out (r) info instead of the (rnew) info.  Made for nasty
  cyclic loops in mod_dir :(

  It looks like this works once again.  I'll post completed deltas to
  the list ASAP.

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

23 years ago Much better - sorry - I missed one case of forcing pipeline flush when
William A. Rowe Jr [Fri, 31 Aug 2001 02:46:29 +0000 (02:46 +0000)]
  Much better - sorry - I missed one case of forcing pipeline flush when
  the handler returned a non-OK result.  ergo, 304's weren't sent.

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

23 years ago Invoking the handler must occur at the caller's discression, in order
William A. Rowe Jr [Fri, 31 Aug 2001 02:31:08 +0000 (02:31 +0000)]
  Invoking the handler must occur at the caller's discression, in order
  for the sub_req mechanism to share this code.

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

23 years ago After calling ap_process_request_internal(), the caller must invoke
William A. Rowe Jr [Fri, 31 Aug 2001 02:29:48 +0000 (02:29 +0000)]
  After calling ap_process_request_internal(), the caller must invoke
  the handler themselves.

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

23 years ago Move the ap_run_insert_filters to consistently occur in
William A. Rowe Jr [Fri, 31 Aug 2001 02:23:25 +0000 (02:23 +0000)]
  Move the ap_run_insert_filters to consistently occur in
  ap_process_request_internal.  This allows the sub_req handler
  to alter the filters before the subreq is actually run.

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

23 years ago Normalize all paths to run the same, common code for pre-request setup
William A. Rowe Jr [Fri, 31 Aug 2001 01:50:15 +0000 (01:50 +0000)]
Normalize all paths to run the same, common code for pre-request setup
    from the primary request, redirects and sub-requests.

    This will significantly reduce opporunities for inconsistancy (such
    as Ian observed, and as I repaired only a month ago.)

    This promotes process_request_internal to an ap_ namespace protected
    entity in server/request.c (from it's old home in http/http_request.c)
    since this fn has no http specifics.

Reviewed (in concept): Cliff Woolley, Ian Holsman

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

23 years ago Normalize all paths to run the same, common code for pre-request setup
William A. Rowe Jr [Fri, 31 Aug 2001 01:38:06 +0000 (01:38 +0000)]
  Normalize all paths to run the same, common code for pre-request setup
  from the primary request, redirects and sub-requests.

  This will significantly reduce opporunities for inconsistancy (such
  as Ian observed, and as I repaired only a month ago.)

  This promotes process_request_internal to an ap_ namespace protected
  entity in server/request.c (from it's old home in http/http_request.c)
  since this fn has no http specifics.

Reviewed (in concept): Cliff Woolley, Ian Holsman

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

23 years ago The add-in/strip-off temporary trailing slash logic was really hosed
William A. Rowe Jr [Thu, 30 Aug 2001 23:58:23 +0000 (23:58 +0000)]
  The add-in/strip-off temporary trailing slash logic was really hosed
  in the new (not yet enabled) code path.  Now it's slightly hosed.

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

23 years agogather all of the cflags for compiling with apxs
Doug MacEachern [Thu, 30 Aug 2001 23:18:39 +0000 (23:18 +0000)]
gather all of the cflags for compiling with apxs

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

23 years agoFix a segfault with mod_include when r->path_info is not set
Justin Erenkrantz [Thu, 30 Aug 2001 21:29:15 +0000 (21:29 +0000)]
Fix a segfault with mod_include when r->path_info is not set
(which is the case with mod_proxy).

My only question about this is whether we should place some value
(such as <UNKNOWN>) when path_info isn't set.

Submitted by: Ian Holsman <ianh@cnet.com>
Reviewed by: Justin Erenkrantz

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

23 years agoAdd -X functionality back to httpd.
Justin Erenkrantz [Thu, 30 Aug 2001 20:50:06 +0000 (20:50 +0000)]
Add -X functionality back to httpd.

- Updates upgrading.html
- Reverts Aaron's earlier docco patch (sorry...)
- Adds -X to all mpms in the tree

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

23 years ago Fix the new code (not currently enabled) for directory_walk
William A. Rowe Jr [Thu, 30 Aug 2001 20:48:06 +0000 (20:48 +0000)]
  Fix the new code (not currently enabled) for directory_walk

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

23 years agoAs suggested by Ryan and OtherBill, change the way that
Jeff Trawick [Thu, 30 Aug 2001 20:27:05 +0000 (20:27 +0000)]
As suggested by Ryan and OtherBill, change the way that
mod_charset_lite checks to see if its filter will be
added by another module.  Now, we run our insert-filter
hook really last and look at the actual filter chain.

(Note that http runs even later but it doesn't currently
do anything which would interfere.)

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

23 years ago Undo another int type'ed port (and format a little structure for legibility).
William A. Rowe Jr [Thu, 30 Aug 2001 19:48:02 +0000 (19:48 +0000)]
  Undo another int type'ed port (and format a little structure for legibility).

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

23 years ago Fix a broken declaration (supress type conversion warning on win32).
William A. Rowe Jr [Thu, 30 Aug 2001 19:43:03 +0000 (19:43 +0000)]
  Fix a broken declaration (supress type conversion warning on win32).

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

23 years agowhen we bail out due to a fatal error in apr_shm_init(), be sure
Jeff Trawick [Thu, 30 Aug 2001 15:44:13 +0000 (15:44 +0000)]
when we bail out due to a fatal error in apr_shm_init(), be sure
to print the apr_status_t in numeric form

the old message

lt-httpd: could not open(create) scoreboard: Unknown resolver error

wasn't so useful, but the new, improved message

lt-httpd: could not open(create) scoreboard: (22528)Unknown resolver error

makes it look like a syscall is returning ENOSPC and that apr shmem
is returning (APR_OS_START_SYSERR + errno) instead of simply errno.

off to APR land...

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

23 years ago Same as Jeff Trawick's patch [thank you!] only a tad faster, and error
William A. Rowe Jr [Thu, 30 Aug 2001 14:54:50 +0000 (14:54 +0000)]
  Same as Jeff Trawick's patch [thank you!] only a tad faster, and error
  out on the old Set{Input|Output}Filter onefilter twofilter syntax
  (prior to this patch, only the last filter in a space seperated list
  would be configured.)

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

23 years agoAfter committing Brian Havard's fix to Unix file_io yesterday,
Jeff Trawick [Thu, 30 Aug 2001 13:37:16 +0000 (13:37 +0000)]
After committing Brian Havard's fix to Unix file_io yesterday,
we seem to be reading/seeking .var files fine on Unix even with
buffering turned on.

wrowe reports that they're working on Win32 also.

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

23 years agosince the core now stores the input and output filter lists in a
Jeff Trawick [Thu, 30 Aug 2001 12:29:37 +0000 (12:29 +0000)]
since the core now stores the input and output filter lists in a
different format, mod_charset_lite needs different logic to walk
through it

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

23 years agofix an endless loop (well, until you run out of storage from
Jeff Trawick [Thu, 30 Aug 2001 11:42:59 +0000 (11:42 +0000)]
fix an endless loop (well, until you run out of storage from
tiny apr_pstrdup() calls and your machine crashes) when you
have a filter chain

  ap_getword() returns an empty string, not a NULL string,
  when there are no more words

fix a segfault when you don't have a filter chain

  ap_getword() does not check for a NULL string to search

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

23 years ago Thank you again for the proxy autobuild reports ;)
William A. Rowe Jr [Thu, 30 Aug 2001 08:26:08 +0000 (08:26 +0000)]
  Thank you again for the proxy autobuild reports ;)

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

23 years agoUse the correct macros in unix.h
Ryan Bloom [Thu, 30 Aug 2001 06:36:41 +0000 (06:36 +0000)]
Use the correct macros in unix.h

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

23 years ago * configure.in: added Cygwin specific APR_SETVARs.
William A. Rowe Jr [Thu, 30 Aug 2001 05:52:25 +0000 (05:52 +0000)]
  * configure.in: added Cygwin specific APR_SETVARs.

  * os/config.m4: added Cygwin specific values for $OS and $OS_DIR.
    $OS_DIR will change to "cygwin" as soon as I get the DSO/DLL things
    clean as with 1.3.20.

  * support/logresolve.c: added OS specific #ifdef statement to define
    h_errno as extern __declspec(dllimport); it's imported from the
    cygwin1.dll itself.

Submitted by: Stipe Tolj <tolj@wapme-systems.de>

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

23 years agodont block when handling non-ssl request
Doug MacEachern [Thu, 30 Aug 2001 05:33:57 +0000 (05:33 +0000)]
dont block when handling non-ssl request

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

23 years agofix ap_remove_output_filter; the recent change to use remove_any_filter made
Doug MacEachern [Thu, 30 Aug 2001 05:25:31 +0000 (05:25 +0000)]
fix ap_remove_output_filter; the recent change to use remove_any_filter made
it possible to wipe out the entire filter chain.  and then when
ap_finalize_request_protocol was called, r->output_filters was NULL,
preventing data from being flushed to the client.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years ago No <sys/ipc.h> under cygwin.
William A. Rowe Jr [Thu, 30 Aug 2001 05:11:42 +0000 (05:11 +0000)]
  No <sys/ipc.h> under cygwin.

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

23 years ago Changed syntax of Set{Input|Output}Filter. The list of filters
William A. Rowe Jr [Thu, 30 Aug 2001 05:10:54 +0000 (05:10 +0000)]
 Changed syntax of Set{Input|Output}Filter.  The list of filters
     must be semicolon delimited (if more than one filter is given.)
     The Set{Input|Output}Filter directive now overrides a parent
     container's directive (e.g. SetInputFilter in <Directory /web/foo>
     will override any SetInputFilter directive in <Directory /web>.)
     This new syntax is more consistent with Add{Input|Output}Filter
     directives defined in mod_mime.  Also cures a bug in prior releases
     where the Set{Input|Output}Filter directive would corrupt the
     global configuration if the multiple directives were nested.
     [William Rowe]

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