]> granicus.if.org Git - apache/log
apache
24 years ago Fix a few colliding modules
William A. Rowe Jr [Tue, 3 Oct 2000 06:55:06 +0000 (06:55 +0000)]
  Fix a few colliding modules

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

24 years ago Ok... I've been waiting to find out what happens when we commit to two
William A. Rowe Jr [Tue, 3 Oct 2000 06:08:36 +0000 (06:08 +0000)]
  Ok... I've been waiting to find out what happens when we commit to two
  trees at once.  To that end, this is the caching and rather stable 2.0
  mod_isapi, with the docs brought over from 1.3 and freshened a bit.

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

24 years agoReplace ap_get_data_from_filter and ap_save_data_to_filter with
Ryan Bloom [Tue, 3 Oct 2000 00:44:00 +0000 (00:44 +0000)]
Replace ap_get_data_from_filter and ap_save_data_to_filter with
ap_save_brigade.  This function does not try to save the actual brigade to
a specific location.  If just traverses the brigade, calls setaside if
it is available and concatenates it with a previously setaside brigade.

The resulting brigade is returned to the caller for them to save it to
the appropriate location.

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

24 years ago Whoops... that there was a handle I left hanging (and growing).
William A. Rowe Jr [Mon, 2 Oct 2000 22:52:20 +0000 (22:52 +0000)]
  Whoops... that there was a handle I left hanging (and growing).

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

24 years ago Downgrade warnings, stop changing errors from something meaningless to
William A. Rowe Jr [Mon, 2 Oct 2000 22:34:07 +0000 (22:34 +0000)]
  Downgrade warnings, stop changing errors from something meaningless to
  something unrelated, and solve a bug in arg passing.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Choices. Choose -X, -DONE_PROCESS or set ONE_PROCESS=token for the
William A. Rowe Jr [Mon, 2 Oct 2000 22:32:57 +0000 (22:32 +0000)]
  Choices.  Choose -X, -DONE_PROCESS or set ONE_PROCESS=token for the
  diagnostic behavior.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago _not_ up to 100%, but some structural changes to make the rest easier.
William A. Rowe Jr [Mon, 2 Oct 2000 22:29:18 +0000 (22:29 +0000)]
  _not_ up to 100%, but some structural changes to make the rest easier.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoFix two problems. First we are setting aside the wrong bucket brigade. Second, we...
Bill Stoddard [Mon, 2 Oct 2000 22:00:59 +0000 (22:00 +0000)]
Fix two problems. First we are setting aside the wrong bucket brigade. Second, we need to
check that a setaside routine is defined for the bucket before attempting to call it.  Not sure
at all if we even want to keep this routine as it does not allow using filter->ctx for other
purposes.

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

24 years agoMove where the CORE_IN filter is added to the server. We used to do this
Ryan Bloom [Mon, 2 Oct 2000 19:52:37 +0000 (19:52 +0000)]
Move where the CORE_IN filter is added to the server.  We used to do this
in ap_new_connection, but that is bogus, because then other modules can't
put their own filter in.  Now, we do this in a new pre-connection hook
function.  Later, we will want to add some checking to make sure that this
is really an HTTP request that we are adding the filter for.

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

24 years ago Cleaned out empty symbols... preparing for some real order, al la
William A. Rowe Jr [Mon, 2 Oct 2000 19:17:06 +0000 (19:17 +0000)]
  Cleaned out empty symbols... preparing for some real order, al la
  FirstBill's efforts on aprlib.def

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoClean up some const-ness warnings in getsfunc_STRING().
Jeff Trawick [Mon, 2 Oct 2000 18:40:25 +0000 (18:40 +0000)]
Clean up some const-ness warnings in getsfunc_STRING().

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

24 years ago Just Typos.
William A. Rowe Jr [Mon, 2 Oct 2000 15:49:41 +0000 (15:49 +0000)]
  Just Typos.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Forward port 1.3 overhaul of isapi to 2.0.
William A. Rowe Jr [Mon, 2 Oct 2000 15:38:59 +0000 (15:38 +0000)]
  Forward port 1.3 overhaul of isapi to 2.0.

  Yes - it's blatently obvious that this should be 'bucketized', but the
  sequence I will follow is:

    *) compatibility of sources
    *) extension to async + transmitfile emulated support
    *) localization of ISAPI* directives to Directory, File blocks
    *) addition of ISAPI caching
    *) recode for buckets.

  I'm actually looking forward to the mod_cgi bucketization as a model.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoImplement input filtering. This is definately not completely correct, but
Ryan Bloom [Mon, 2 Oct 2000 00:47:28 +0000 (00:47 +0000)]
Implement input filtering.  This is definately not completely correct, but
it is a good first step.  It is possible to add filters when reading from
the client with this change.

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

24 years agoFix the default logformat and CLF description.
Joshua Slive [Sat, 30 Sep 2000 18:51:07 +0000 (18:51 +0000)]
Fix the default logformat and CLF description.
PR: 6556
Submitted by: Mike Abbott <mja@sgi.com>
Reviewed by: Joshua Slive

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

24 years agoFix link to RemoveHandler in the directives list.
Jeff Trawick [Fri, 29 Sep 2000 20:21:24 +0000 (20:21 +0000)]
Fix link to RemoveHandler in the directives list.

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

24 years agoDeprecate "Order Mutual-failure".
Joshua Slive [Fri, 29 Sep 2000 18:31:37 +0000 (18:31 +0000)]
Deprecate "Order Mutual-failure".

Submitted by:  lbayuk@mindspring.com (ljb) (via usenet)
Reviewed by: Joshua Slive

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

24 years agoFirst cut at a filter to buffer/coalesce multiple small buckets into a single large...
Bill Stoddard [Fri, 29 Sep 2000 18:12:14 +0000 (18:12 +0000)]
First cut at a filter to buffer/coalesce multiple small buckets into a single large bucket.
This implementation is limited to coalescing a single string of small (< MIN_BUCKET_SIZE)
buckets into one large bucket.  If a brigade contains a string of small buckets followed by a
large bucket followed by another string of small buckets, only the first string will be coalesced.

This implementation works very well with the output generated by mod_autoindex though.
The number of iovecs handled by http_core is reduced to three from over a thousand for my
test case.

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

24 years agoRemove compatibility info from index.
Joshua Slive [Thu, 28 Sep 2000 23:04:41 +0000 (23:04 +0000)]
Remove compatibility info from index.

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

24 years agoFix the lifetime of the autodata buffer used for the chunk header.
Jeff Trawick [Thu, 28 Sep 2000 22:57:17 +0000 (22:57 +0000)]
Fix the lifetime of the autodata buffer used for the chunk header.
Submitted by: Bill Stoddard
Reviewed by: Jeff Trawick

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

24 years agoLast of the module style changes (I hope).
Joshua Slive [Thu, 28 Sep 2000 22:43:31 +0000 (22:43 +0000)]
Last of the module style changes (I hope).

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

24 years agoStyle updates.
Joshua Slive [Thu, 28 Sep 2000 17:05:36 +0000 (17:05 +0000)]
Style updates.

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

24 years agoStyle update.
Joshua Slive [Thu, 28 Sep 2000 16:55:53 +0000 (16:55 +0000)]
Style update.

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

24 years agoA couple more tutorials.
Joshua Slive [Wed, 27 Sep 2000 23:22:27 +0000 (23:22 +0000)]
A couple more tutorials.

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

24 years agoStyle changes.
Joshua Slive [Wed, 27 Sep 2000 18:36:46 +0000 (18:36 +0000)]
Style changes.

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

24 years agoStyle update.
Joshua Slive [Wed, 27 Sep 2000 03:08:24 +0000 (03:08 +0000)]
Style update.

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

24 years agoCreate a helper function "get_canned_error_string" for use by
Greg Ames [Tue, 26 Sep 2000 23:01:55 +0000 (23:01 +0000)]
Create a helper function "get_canned_error_string" for use by
ap_send_error_response.  The new function simply returns the error response
string corresponding to given HTTP error core.  This makes it easier to
change the mechanism for sending these strings, because we no longer have
r[v]puts calls spread throughout the error string generation code.

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

24 years agoDebug messages in mod_charset_lite are now controlled by
Jeff Trawick [Tue, 26 Sep 2000 19:38:41 +0000 (19:38 +0000)]
Debug messages in mod_charset_lite are now controlled by
CharsetOptions DebugLevel=n instead of CharsetDebug on/off.  Use the debug
level to decide which debug messages to issue (if any).  Use ap_log_rerror()
instead of ap_log_error() when appropriate.
Describe CharsetOptions in the doc.

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

24 years agoStyle fixes. I've stopped removing 1.3 references.
Joshua Slive [Tue, 26 Sep 2000 19:21:09 +0000 (19:21 +0000)]
Style fixes.  I've stopped removing 1.3 references.
This will need to be done later.

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

24 years agoSanity-check the use of multiple instances of XLATEOUT in a
Jeff Trawick [Tue, 26 Sep 2000 15:08:26 +0000 (15:08 +0000)]
Sanity-check the use of multiple instances of XLATEOUT in a
filter chain.  If the translation performed by an instance
being run for the first time clashes with an instance already
in place, disable the new instance.

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

24 years agoSet BSD_MAKEFILE in configure.in. The macro APACHE_GEN_MAKEFILES is
Sascha Schumann [Tue, 26 Sep 2000 11:26:45 +0000 (11:26 +0000)]
Set BSD_MAKEFILE in configure.in. The macro APACHE_GEN_MAKEFILES is
executed in the context of config.status with variable substitution
already performed, so the check in the macro itself did not work.

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

24 years agoRedirect stderr to /dev/null to suppress error messages.
Sascha Schumann [Tue, 26 Sep 2000 11:24:56 +0000 (11:24 +0000)]
Redirect stderr to /dev/null to suppress error messages.

Submitted by: Ralf Engelschall <rse@engelschall.com>

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

24 years agoStyle updates.
Joshua Slive [Mon, 25 Sep 2000 23:59:28 +0000 (23:59 +0000)]
Style updates.

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

24 years agoStyle updates.
Joshua Slive [Mon, 25 Sep 2000 21:50:07 +0000 (21:50 +0000)]
Style updates.

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

24 years ago Cleaner feature tests and new -d -m -s -p options for crypt, MD5, SHA1
William A. Rowe Jr [Mon, 25 Sep 2000 19:06:40 +0000 (19:06 +0000)]
  Cleaner feature tests and new -d -m -s -p options for crypt, MD5, SHA1
  and plaintext password cyphers.  Not certain what the $^O tag for
  NETWARE really is, so this may need to be fixed.

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

24 years agoUpdate mod_actions.
Joshua Slive [Mon, 25 Sep 2000 19:04:46 +0000 (19:04 +0000)]
Update mod_actions.

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

24 years agoFix compile break. It should be apr_pstrcat.
Bill Stoddard [Mon, 25 Sep 2000 16:42:49 +0000 (16:42 +0000)]
Fix compile break. It should be apr_pstrcat.

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

24 years agomod_charset_lite no longer ignores subrequests. (Some logic in
Jeff Trawick [Mon, 25 Sep 2000 11:31:14 +0000 (11:31 +0000)]
mod_charset_lite no longer ignores subrequests.  (Some logic in
mod_charset_lite to avoid problems with subrequests is forthcoming.)

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

24 years ago Return a decent message, in keeping with conf parsing semantics.
William A. Rowe Jr [Sun, 24 Sep 2000 20:13:42 +0000 (20:13 +0000)]
  Return a decent message, in keeping with conf parsing semantics.

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

24 years agoClean up a few warnings in core_filter().
Jeff Trawick [Sun, 24 Sep 2000 13:04:31 +0000 (13:04 +0000)]
Clean up a few warnings in core_filter().

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

24 years agoWe don't have config.guess until later in the build cycle, so change the
David Reid [Sun, 24 Sep 2000 12:40:05 +0000 (12:40 +0000)]
We don't have config.guess until later in the build cycle, so change the
test to use uname.  with this change a clean CVS copy will build using
./buildconf;./configure;make exactly like it should.

Thanks Sascha.

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

24 years agoThe new core post_read_request hook needs to return something
Jeff Trawick [Sat, 23 Sep 2000 22:09:30 +0000 (22:09 +0000)]
The new core post_read_request hook needs to return something
(DECLINED).  This allows Apache to serve pages again (other than
the 500 Internal Server Error page, that is).

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

24 years agoConversion of mod_access.html to new format. Note that this includes
Joshua Slive [Sat, 23 Sep 2000 20:14:32 +0000 (20:14 +0000)]
Conversion of mod_access.html to new format.  Note that this includes
removal of all the "introduced in 1.x.x" stuff.

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

24 years agoCombine the calls to add the core_filter to one place. Basically, it is
Ryan Bloom [Sat, 23 Sep 2000 18:39:30 +0000 (18:39 +0000)]
Combine the calls to add the core_filter to one place.  Basically, it is
safe to add the core_filter during the post_read_request, and it means
that we only have to add the filter once in the code.  This should make
it easier to add an SSL module in the future.

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

24 years agoWorkaround for systems like BSD/OS without mktemp.
Sascha Schumann [Sat, 23 Sep 2000 13:55:37 +0000 (13:55 +0000)]
Workaround for systems like BSD/OS without mktemp.

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

24 years agoPedant of bsd_makefile. Reverses the include directives to SysV-style.
Sascha Schumann [Sat, 23 Sep 2000 08:39:34 +0000 (08:39 +0000)]
Pedant of bsd_makefile. Reverses the include directives to SysV-style.

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

24 years agoDon't use $0 for creating tmpfile as it will contain "/".
Sascha Schumann [Sat, 23 Sep 2000 08:37:23 +0000 (08:37 +0000)]
Don't use $0 for creating tmpfile as it will contain "/".

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

24 years agoFix a security problem that affects certain configurations of mod_rewrite.
Tony Finch [Sat, 23 Sep 2000 00:05:45 +0000 (00:05 +0000)]
Fix a security problem that affects certain configurations of mod_rewrite.
If the result of a RewriteRule is a filename that contains expansion
specifiers, especially regexp backreferences $0..$9 and %0..%9, then it
may be possible for an attacker to access any file on the web server.
The fix replaces a multi-pass string expander with a one-pass expander,
and includes the code quality improvements that were committed separately
to 1.3.

Message-Id: <E13OQB5-0004Xs-00@hand.dotat.at>

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

24 years agoMake the core_filter use apr_sendv and apr_sendfile as appropriate. This is still...
Bill Stoddard [Fri, 22 Sep 2000 20:36:20 +0000 (20:36 +0000)]
Make the core_filter use apr_sendv and apr_sendfile as appropriate. This is still a bit crufty
but it is an improvement over the previous implementation.

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

24 years agoDescription of terms used to describe modules in the new (not yet
Joshua Slive [Fri, 22 Sep 2000 19:58:17 +0000 (19:58 +0000)]
Description of terms used to describe modules in the new (not yet
implemented) format.

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

24 years agoAdd Convert-to-BSD-Makefiles-On-The-Fly system
Sascha Schumann [Fri, 22 Sep 2000 17:07:47 +0000 (17:07 +0000)]
Add Convert-to-BSD-Makefiles-On-The-Fly system

Note 1: Only needed for BSD/OS.
Note 2: Invent better heuristic (timestamp checks for build/*.mk).
Note 3: Conversion is currently one-way
Note 4: Don't package on BSD/OS.

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

24 years agomod_include now tweaks the subrequest output filter chain so that
Jeff Trawick [Fri, 22 Sep 2000 14:57:08 +0000 (14:57 +0000)]
mod_include now tweaks the subrequest output filter chain so that
only *subsequent* filters from the original request are inherited.
Previously, *all* filters from the original request were inherited.

Currently, any filter which runs a subrequest should do the same
thing (though a cleaner interface may be appropriate.)

With this change, subrequests are properly filtered much more often.

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

24 years agoProvide a socklen_t to the user of APR as a portability aid. Some
Jeff Trawick [Fri, 22 Sep 2000 11:37:05 +0000 (11:37 +0000)]
Provide a socklen_t to the user of APR as a portability aid.  Some
systems have unsigned sockaddr len parameters; others have signed.
When passing the length by address (as to accept()) a warning is
generated if the sign is not correct.

This patch assumes that, if no native socklen_t is provided,
apr_socklen_t is always signed; that can be easily tweaked for
certain platforms later.

Inside APR, apr_socklen_t is only used currently in the Unix
implementation.
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>
Reviewed by: Jeff Trawick

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

24 years agoFix error in setting bytes_sent. Need more time to think about the other problem
Bill Stoddard [Thu, 21 Sep 2000 22:44:51 +0000 (22:44 +0000)]
Fix error in setting bytes_sent. Need more time to think about the other problem
noted in this commit. Thanks Jeff!

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

24 years agoSyntax docs. (Yes, I am essentially just documenting the shell
Joshua Slive [Thu, 21 Sep 2000 21:27:00 +0000 (21:27 +0000)]
Syntax docs.  (Yes, I am essentially just documenting the shell
syntax.  Oh well.)

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

24 years agoGet the call to find_string() out of a loop. find_string() loops
Jeff Trawick [Thu, 21 Sep 2000 16:32:48 +0000 (16:32 +0000)]
Get the call to find_string() out of a loop.  find_string() loops
across the buckets internally.  This gets rid of a compile warning
but doesn't change the behavior.
Inspired by: "Victor J. Orlikowski" <v.j.orlikowski@gte.net>

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

24 years agoFirst cut at a file bucket. Modify the core_filter to handle use
Bill Stoddard [Thu, 21 Sep 2000 16:22:13 +0000 (16:22 +0000)]
First cut at a file bucket. Modify the core_filter to handle use
of apr_sendfile(). Modify ap_send_fd() to use the new file bucket.

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

24 years agoFix the prior fix to the usage of ap_brigade_split()... The caller of
Jeff Trawick [Wed, 20 Sep 2000 21:50:50 +0000 (21:50 +0000)]
Fix the prior fix to the usage of ap_brigade_split()...  The caller of
send_parsed_content() needs to see the new brigade representing the
rest of the content.

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

24 years ago Overhaul of dbmmanage to allow a groups arg (as in Apache 1.2)
William A. Rowe Jr [Wed, 20 Sep 2000 20:09:59 +0000 (20:09 +0000)]
 Overhaul of dbmmanage to allow a groups arg (as in Apache 1.2)
     as well as a comment arg to the add, adduser and update cmds.
     update allows the user to clear or preserve pw/groups/comment.
     Fixed a bug in dbmmanage that prevented the check option from
     parsing a password followed by :group... text.  Corrected the
     seed calcualation for Win32 systems, and added -lsdbm support.
     PR: 3810, 5527

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

24 years agoFix mixup in call to ap_brigade_split().
Jeff Trawick [Wed, 20 Sep 2000 18:36:05 +0000 (18:36 +0000)]
Fix mixup in call to ap_brigade_split().

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

24 years agoAvoid a segfault when parsing .htaccess files. An
Jeff Trawick [Wed, 20 Sep 2000 17:35:59 +0000 (17:35 +0000)]
Avoid a segfault when parsing .htaccess files.  An
uninitialized tree pointer was passed to ap_build_config().

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

24 years ago Correct dbmmanage pwfile check behavior to ignore [:grp...] contents.
William A. Rowe Jr [Wed, 20 Sep 2000 17:12:42 +0000 (17:12 +0000)]
  Correct dbmmanage pwfile check behavior to ignore [:grp...] contents.
  Also add SDBM_File for -lsdbm.

PR:             4695
Submitted by: arnez@raleigh.ibm.com
Reviewed by: wrowe

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

24 years ago Never carried forward from 1.3.13
William A. Rowe Jr [Wed, 20 Sep 2000 15:53:00 +0000 (15:53 +0000)]
  Never carried forward from 1.3.13

PR:             4973
Submitted by: Andrew McRae <andrew@liquid.com>
Reviewed by: Ralf S. Engelschall

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

24 years ago could be bad - no dav here yet
William A. Rowe Jr [Wed, 20 Sep 2000 15:02:24 +0000 (15:02 +0000)]
  could be bad - no dav here yet

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoFix parameter list to ap_pcfg_openfile().
Jeff Trawick [Wed, 20 Sep 2000 14:11:22 +0000 (14:11 +0000)]
Fix parameter list to ap_pcfg_openfile().

(No, this doesn't get mod_info to compile...  No, I'm not working
on mod_info...  I happened to notice the bad call so I fixed it.)

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

24 years ago Transposed return values between conditions, oops.
William A. Rowe Jr [Wed, 20 Sep 2000 05:01:55 +0000 (05:01 +0000)]
  Transposed return values between conditions, oops.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Get mod_auth_dbm building using Apache's sdbmlib under WinNT.
William A. Rowe Jr [Wed, 20 Sep 2000 04:54:06 +0000 (04:54 +0000)]
  Get mod_auth_dbm building using Apache's sdbmlib under WinNT.

  Bad conditional... need a better test to determine if we are using sdbm.

  Also - consistify linkage for expat-lite/sdmb to the same model as all
  the modules (no more nasty "conflicting linkage, use /nodefaultlib" msg.)

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoGet internal redirects working by initializing the output_filters
Jeff Trawick [Tue, 19 Sep 2000 23:50:36 +0000 (23:50 +0000)]
Get internal redirects working by initializing the output_filters
list.  We start over with only core_filter just like a fresh request.
Processing of the new URI will determine what filters (if any) are
appropriate.

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

24 years agoFix filter registration so that the appropriate list of
Jeff Trawick [Tue, 19 Sep 2000 23:28:55 +0000 (23:28 +0000)]
Fix filter registration so that the appropriate list of
registrations is actually modified.  This allows Apache to server
pages again.  (Before this, every ap_add_filter() silently failed
and so output content went to the bit bucket.)

Also, repair some comments and un-namespace-protect a now-static
function.

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

24 years agoGet rid of unused variable.
Jeff Trawick [Tue, 19 Sep 2000 23:02:26 +0000 (23:02 +0000)]
Get rid of unused variable.

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

24 years agoFix a bug where errors that happen during early request parsing (like 400
Greg Ames [Tue, 19 Sep 2000 21:11:01 +0000 (21:11 +0000)]
Fix a bug where errors that happen during early request parsing (like 400
HTTP_BAD_REQUEST) don't send any error message content to the browser.
The core_filter wasn't present this early in request parsing, so the output
went into the bit bucket via r[v]puts->ap_pass_brigade.

The chunking filter takes care of itself nicely, because it is added in
ap_send_http_header if it's needed.

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

24 years agoCleanup the brigade split in mod_include. It turns out that we have had
Ryan Bloom [Tue, 19 Sep 2000 20:57:19 +0000 (20:57 +0000)]
Cleanup the brigade split in mod_include.  It turns out that we have had
a brigade split function for quite some time.

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

24 years agotart getting things setup for input filtering. All this basically does
Ryan Bloom [Tue, 19 Sep 2000 20:56:09 +0000 (20:56 +0000)]
tart getting things setup for input filtering.  All this basically does
is add part of the infrastructure.  Namely:

1) filter list in the conn_rec, which is where the input filter list
   must live

2) Split the register_filter into multiple functions, one to register
   input filters the other to register output filters.

3) Modify existing modules so they still work.

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

24 years agoChange the registered filter name to XLATEOUT (from XLATE).
Jeff Trawick [Tue, 19 Sep 2000 17:46:28 +0000 (17:46 +0000)]
Change the registered filter name to XLATEOUT (from XLATE).

Set up the context in the filter in case the filter was inserted via
AddOutputFilter.

Provide a temporary hack to avoid having the module and core both
insert the output translation filter.  For now, code
"CharsetOptions NoImplicitAdd" in a container with "AddOutputFilter."

Make a few cosmetic changes (e.g., rename the mis-named
xlate_register_filter routine).

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

24 years agoFix the calling convention on Windows for ap_bucket_printf() and
Jeff Trawick [Mon, 18 Sep 2000 19:30:23 +0000 (19:30 +0000)]
Fix the calling convention on Windows for ap_bucket_printf() and
ap_method_list_do().

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

24 years agoFix some problems with the recent port of RemoveEncoding and
Jeff Trawick [Mon, 18 Sep 2000 12:17:29 +0000 (12:17 +0000)]
Fix some problems with the recent port of RemoveEncoding and
RemoveType to 2.0.  (--with-maintainer-mode works wonders!)

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

24 years agoPR: 6451
Joshua Slive [Mon, 18 Sep 2000 01:55:48 +0000 (01:55 +0000)]
PR: 6451

Clarification / grammar fix.

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

24 years agoChange r->filters to r->output_filters. This sets things up for us to
Ryan Bloom [Mon, 18 Sep 2000 01:24:55 +0000 (01:24 +0000)]
Change r->filters to r->output_filters.  This sets things up for us to
put input filters into Apache.

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

24 years agoAdd some more .cvsignore files for BeOS and add a CHANGES entry.
David Reid [Sun, 17 Sep 2000 21:55:30 +0000 (21:55 +0000)]
Add some more .cvsignore files for BeOS and add a CHANGES entry.

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

24 years agoIf a bucket is split at the first or last character, then we should get
Ryan Bloom [Sun, 17 Sep 2000 18:52:48 +0000 (18:52 +0000)]
If a bucket is split at the first or last character, then we should get
a zero length bucket and a bucket containing the original text.  Later
filters will either throw away the zero length bucket, or they will just
ignore it.  The problem is that if we return an error in those conditions,
then all filters need special logic whenever they are going to split a
bucket.  By always splitting, only a few selected buckets need the special
logic to deal with zero-length buckets.  This also fixes mod_include to not
have the special logic around it's split call.

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

24 years agoPort the RemoveEncodings/RemoveTypes code from 1.3 to 2.0. This includes
Ryan Bloom [Sun, 17 Sep 2000 01:12:46 +0000 (01:12 +0000)]
Port the RemoveEncodings/RemoveTypes code from 1.3 to 2.0.  This includes
the bug fix that was recently committed to the 2.0 tree.

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

24 years agoHandle a tag that appears at the start of a bucket.
Jeff Trawick [Fri, 15 Sep 2000 21:23:46 +0000 (21:23 +0000)]
Handle a tag that appears at the start of a bucket.

Get rid of an endless loop (waiting for dptr2 to become NULL instead of
AP_BRIGADE_SENTINEL()).

Add to a to-do comment.

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

24 years agoPR: 4976
Joshua Slive [Fri, 15 Sep 2000 19:59:53 +0000 (19:59 +0000)]
PR: 4976
Obtained from: Claus "F�rber" <claus@faerber.muc.de>

Fix Compatibility statement.

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

24 years agoPR: 5040
Joshua Slive [Fri, 15 Sep 2000 19:54:16 +0000 (19:54 +0000)]
PR: 5040

Fix an AddHandler example.

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

24 years agoPR: 5289
Joshua Slive [Fri, 15 Sep 2000 19:45:27 +0000 (19:45 +0000)]
PR: 5289

Be a little less negative about the slowness of SSI.

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

24 years agoPR: 5596
Joshua Slive [Fri, 15 Sep 2000 19:33:53 +0000 (19:33 +0000)]
PR: 5596

Clean up confusion over which directives can go in <VirtualHost>

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

24 years agoPR: 5961
Joshua Slive [Fri, 15 Sep 2000 19:13:42 +0000 (19:13 +0000)]
PR: 5961

Make the NameVirtualHost docs a little more accurate.

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

24 years agoFix a bug parsing configuration file containers. With a sequence
Jeff Trawick [Fri, 15 Sep 2000 16:50:39 +0000 (16:50 +0000)]
Fix a bug parsing configuration file containers.  With a sequence
like this in the config file

       <IfModule mod_kilroy.c>
       any stuff
       </IfModule>
       <IfModule mod_lovejoy.c>
       (blank line)
       any stuff
       </IfModule>

the second container would be terminated at the blank line due to
sediment in the buffer from reading the prior </IfModule> and an
error message would be generated for the real </IfModule> for the
second container.  Also due to this problem, any two characters
could be used for "</" in the close of a container.

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

24 years agoGet rid of some unused variables introduced in recent method work.
Jeff Trawick [Thu, 14 Sep 2000 20:43:14 +0000 (20:43 +0000)]
Get rid of some unused variables introduced in recent method work.

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

24 years agoFix the types of the variables passed as the len parm to bucket->read()
Jeff Trawick [Thu, 14 Sep 2000 18:42:58 +0000 (18:42 +0000)]
Fix the types of the variables passed as the len parm to bucket->read()
(in various places).
In ab, change the declaration of argv so that it can be passed into
apr_initopt() without warning.
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>
Reviewed and modified slightly by: Jeff Trawick

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

24 years agoIn find_string(), handle eos and end-of-pipe conditions.
Jeff Trawick [Thu, 14 Sep 2000 17:59:16 +0000 (17:59 +0000)]
In find_string(), handle eos and end-of-pipe conditions.

In get_tag(), add an XXX comment pointing out a discrepancy in the
behavior pre- and post-bucketization.

In include_cmd(), don't destroy a brigade just handed off to the next
filter.  Subsequent filters will take care of that soon enough.

Fix some compile warnings (mostly removing unused variables).

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

24 years agoChange AddFilter name to AddOutputFilter
Ryan Bloom [Thu, 14 Sep 2000 15:37:17 +0000 (15:37 +0000)]
Change AddFilter name to AddOutputFilter

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

24 years agoeos_bucket->read() no longer returns AP_END_OF_BRIGADE, so check for
Jeff Trawick [Thu, 14 Sep 2000 15:31:58 +0000 (15:31 +0000)]
eos_bucket->read() no longer returns AP_END_OF_BRIGADE, so check for
eos in a different manner.

Catch bad retcodes from bucket->read().

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

24 years agoput ctx back in ap_add_filter()
Doug MacEachern [Thu, 14 Sep 2000 05:08:42 +0000 (05:08 +0000)]
put ctx back in ap_add_filter()

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

24 years agoImprove the way the chunking filter handles zero-length buckets,
Tony Finch [Thu, 14 Sep 2000 02:16:07 +0000 (02:16 +0000)]
Improve the way the chunking filter handles zero-length buckets,
and fix the comment explaining how to reduce the incidence of tiny chunks.
Submitted by: Jeff Trawick
Reviewed by: Tony Finch

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

24 years agoAdd a pointer to the filter_rec_t from the filter_t. This allows modules
Ryan Bloom [Thu, 14 Sep 2000 00:34:15 +0000 (00:34 +0000)]
Add a pointer to the filter_rec_t from the filter_t.  This allows modules
to get to the filter name from the filter itself.  This is useful for
modules like mod_perl, which have one filter function that does different
things based on the name used when the filter was inserted.

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

24 years agoAdd the AddFilter directive. This directive takes a list of filter names
Ryan Bloom [Wed, 13 Sep 2000 23:13:20 +0000 (23:13 +0000)]
Add the AddFilter directive.  This directive takes a list of filter names
that have been previously registered with the server.  Currently the
directive is only valid inside the config file, but once the Options
directive is tweaked a bit, I would feel more comfortable exposing this
directive to htaccess files.

As a part of making adding this filter, I removed the ctx pointer from the
ap_add_filter prototype.  The problem is that the core is the thing that
is actually inserting the filter into the filter stack, but the core doesn't
know how to allocate memory for each filter.  The solution is to have the
filters themselves be responsible for allocating the ctx memory whenever
it is required.

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

24 years agoFix another seg fault with allow_methods and sub requests
Ryan Bloom [Wed, 13 Sep 2000 22:24:46 +0000 (22:24 +0000)]
Fix another seg fault with allow_methods and sub requests

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

24 years agoFix a seg fault with sub requests. We must allocate space for the
Ryan Bloom [Wed, 13 Sep 2000 21:45:21 +0000 (21:45 +0000)]
Fix a seg fault with sub requests.  We must allocate space for the
sub-requests allowed_methods array before we try to copy into it.

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

24 years agoFix a stupid typo. I wanted to register the filter, but I didn't want to
Ryan Bloom [Wed, 13 Sep 2000 19:10:33 +0000 (19:10 +0000)]
Fix a stupid typo.  I wanted to register the filter, but I didn't want to
add it.  I accidentally deleted the wrong line before I committed last
night.

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