]> granicus.if.org Git - apache/log
apache
23 years agoRemove the ldap config file. This is now part of the ldap sub-project.
Ryan Bloom [Tue, 16 Oct 2001 22:29:20 +0000 (22:29 +0000)]
Remove the ldap config file.  This is now part of the ldap sub-project.

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

23 years ago A bit of declaration would help get this loading on Win32
William A. Rowe Jr [Tue, 16 Oct 2001 22:01:14 +0000 (22:01 +0000)]
  A bit of declaration would help get this loading on Win32

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

23 years agoMissed this one when I removed the other ldap files.
Ryan Bloom [Tue, 16 Oct 2001 21:37:33 +0000 (21:37 +0000)]
Missed this one when I removed the other ldap files.

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

23 years agoRemove all of the ldap modules. These have been moved to their own
Ryan Bloom [Tue, 16 Oct 2001 21:32:41 +0000 (21:32 +0000)]
Remove all of the ldap modules.  These have been moved to their own
repository, httpd-ldap, and they now form their own sub-project of the
httpd project.

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

23 years agoInitial revision
Ryan Bloom [Tue, 16 Oct 2001 21:29:07 +0000 (21:29 +0000)]
Initial revision

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

23 years agoThe SSL config is huge, and has a lot of comments. The proxy config is
Ryan Bloom [Tue, 16 Oct 2001 20:15:10 +0000 (20:15 +0000)]
The SSL config is huge, and has a lot of comments.  The proxy config is
tiny, and very self-contained.

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

23 years agoIMHO, ssl and proxy are advanced operations. Placing them into the default
Aaron Bannert [Tue, 16 Oct 2001 19:36:57 +0000 (19:36 +0000)]
IMHO, ssl and proxy are advanced operations. Placing them into the default
httpd.conf will just confuse people who just want a barebones webserver.

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

23 years ago One more party
William A. Rowe Jr [Tue, 16 Oct 2001 19:04:59 +0000 (19:04 +0000)]
  One more party

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

23 years ago LoadFile(s) required by modules before they loaded weren't executed until
William A. Rowe Jr [Tue, 16 Oct 2001 19:04:02 +0000 (19:04 +0000)]
  LoadFile(s) required by modules before they loaded weren't executed until
  server initialization.  This patch assures all such loaded files occur as
  they are parsed.

Submitted by: John Sterling <sterling@covalent.net>

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

23 years ago The right place to choose this... hard to read some opinions
William A. Rowe Jr [Tue, 16 Oct 2001 18:47:04 +0000 (18:47 +0000)]
  The right place to choose this... hard to read some opinions

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

23 years agoExit when we can't listen on any of the configured ports. This
Jeff Trawick [Tue, 16 Oct 2001 18:45:16 +0000 (18:45 +0000)]
Exit when we can't listen on any of the configured ports.  This
is the same behavior as 1.3, and it avoids having the MPMs to
deal with bogus ap_listen_rec structures.

This also backs out some circumventions I and Greg Ames had added
to prefork; these are no longer necessary because of this change.

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

23 years agoIn one target we weren't always creating the $libexecdir
Aaron Bannert [Tue, 16 Oct 2001 17:51:11 +0000 (17:51 +0000)]
In one target we weren't always creating the $libexecdir
($prefix/modules) directory, and in another we were assuming that the
directory existed. Now we always create it in the first target, and we
check that it exists in the second.

This fixes a bug where httpd.exp would be installed as a _file_ called
$prefix/modules.

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

23 years ago Ok... for now ssl-std.conf and proxy-std.conf stand, so here's the patch
William A. Rowe Jr [Tue, 16 Oct 2001 15:49:38 +0000 (15:49 +0000)]
  Ok... for now ssl-std.conf and proxy-std.conf stand, so here's the patch
  for the win32 build.

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

23 years ago Just feels wrong... but need to continue building
William A. Rowe Jr [Tue, 16 Oct 2001 15:36:13 +0000 (15:36 +0000)]
  Just feels wrong... but need to continue building

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

23 years ago Hmmm... mismatched namespaces :-?
William A. Rowe Jr [Tue, 16 Oct 2001 14:45:56 +0000 (14:45 +0000)]
  Hmmm... mismatched namespaces :-?

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

23 years agodon't lose the retcode in core_create_proxy_req()
Jeff Trawick [Tue, 16 Oct 2001 11:54:06 +0000 (11:54 +0000)]
don't lose the retcode in core_create_proxy_req()

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

23 years agoCleanup the proxy code that creates a request to the origin
Ryan Bloom [Tue, 16 Oct 2001 05:18:39 +0000 (05:18 +0000)]
Cleanup the proxy code that creates a request to the origin
server.  This change adds an optional hook, which allows modules
to gain control while the request is created if the proxy module
is loaded.  The purpose of this hook is to allow modules to add
input and/or output filters to the request to the origin.  While
I was at it, I made the core use this hook, so that proxy request
creation uses some of the code from the core.  This can still be
greatly improved, but this is a good start.

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

23 years agoBump after the 2.0.26 tag.
Ryan Bloom [Tue, 16 Oct 2001 05:06:25 +0000 (05:06 +0000)]
Bump after the 2.0.26 tag.

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

23 years agoBump the versions for the 2.0.26 tag.
Ryan Bloom [Tue, 16 Oct 2001 05:02:56 +0000 (05:02 +0000)]
Bump the versions for the 2.0.26 tag.

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

23 years agoPort the MaxClients changes from the worker MPM to the threaded
Ryan Bloom [Tue, 16 Oct 2001 04:02:28 +0000 (04:02 +0000)]
Port the MaxClients changes from the worker MPM to the threaded
MPM.

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

23 years ago Fix the little bits o' breakage I introduced with the last two
William A. Rowe Jr [Tue, 16 Oct 2001 02:23:42 +0000 (02:23 +0000)]
  Fix the little bits o' breakage I introduced with the last two
  'theoretical' corrections.

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

23 years ago directory_walk trounced existing path_info declarations. I suspect _this_
William A. Rowe Jr [Tue, 16 Oct 2001 02:19:42 +0000 (02:19 +0000)]
  directory_walk trounced existing path_info declarations.  I suspect _this_
  was Greg Ames bug...

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

23 years ago Streamline this function, and append the trailing slash for any directories
William A. Rowe Jr [Tue, 16 Oct 2001 02:15:45 +0000 (02:15 +0000)]
  Streamline this function, and append the trailing slash for any directories
  that are resolved.  Needs to be more tightly coupled to the dir_walk
  optimized cache.

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

23 years ago This will probably fix recent breakage to mod_negotation and httpd.test,
William A. Rowe Jr [Tue, 16 Oct 2001 01:57:45 +0000 (01:57 +0000)]
  This will probably fix recent breakage to mod_negotation and httpd.test,
  as well as the /manual/ returning docroot/index.  Need to look for another
  solution.  I'm suspecting path_info is possibly broken.

  Reverts 1.68, as suggested by Brian Havard.

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

23 years agoCautiously avoiding the scoping issue that was discussed on the list,
Aaron Bannert [Tue, 16 Oct 2001 01:04:08 +0000 (01:04 +0000)]
Cautiously avoiding the scoping issue that was discussed on the list,
I thought these other changes needed to go in; Namely that we don't
need to check if the brigade is empty twice in the loop, just once.
Added a comment for good measure.

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

23 years agodisabling mod_example ap_hook_{http_method,default_port}
Doug MacEachern [Mon, 15 Oct 2001 23:14:11 +0000 (23:14 +0000)]
disabling mod_example ap_hook_{http_method,default_port}
breaks things such as httpd-test when http_method is "foo"
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoRemoved outdated apache.exports references
Victor J. Orlikowski [Mon, 15 Oct 2001 21:58:04 +0000 (21:58 +0000)]
Removed outdated apache.exports references
Submitted by: Aaron Bannert <aaron@clove.org>

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

23 years agoFix a typo in the configure script. This get AIX building cleanly.
Ryan Bloom [Mon, 15 Oct 2001 17:28:01 +0000 (17:28 +0000)]
Fix a typo in the configure script.  This get AIX building cleanly.

Submitted by: Jens-Uwe Mager <jum@helios.de>
Reviewed by: Aaron Bannert <aaron@clove.org> and Ryan Bloom

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

23 years agoinsure that a '*' in <VirtualHost *> or NameVirtualHost * matches all ports.
Greg Ames [Mon, 15 Oct 2001 15:32:14 +0000 (15:32 +0000)]
insure that a '*' in <VirtualHost *> or NameVirtualHost * matches all ports.

The recent change to eliminate the Port directive exposed this problem.

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

23 years ago My badness (well, I tried)
William A. Rowe Jr [Mon, 15 Oct 2001 15:29:03 +0000 (15:29 +0000)]
  My badness (well, I tried)

  Mladen Turk's <mturk@mappingsoft.com> corrections for recent cleanups

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

23 years ago rotatelogs will be apr-ized at some point, make this simple.
William A. Rowe Jr [Mon, 15 Oct 2001 03:02:48 +0000 (03:02 +0000)]
  rotatelogs will be apr-ized at some point, make this simple.

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

23 years ago Forgot the directive's note change for "Any"
William A. Rowe Jr [Mon, 15 Oct 2001 02:39:37 +0000 (02:39 +0000)]
  Forgot the directive's note change for "Any"

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

23 years ago That's Any, not All
William A. Rowe Jr [Mon, 15 Oct 2001 02:22:34 +0000 (02:22 +0000)]
  That's Any, not All

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

23 years ago Clarify the new MultiviewsMatch directive. I wanted this down on 'paper',
William A. Rowe Jr [Mon, 15 Oct 2001 02:19:00 +0000 (02:19 +0000)]
  Clarify the new MultiviewsMatch directive.  I wanted this down on 'paper',
  even if it isn't proofread - please feel free to touch up.

  BTW - the new 'cleaned' formatting really stinks for hand-editing,
  the indentation really needs works.  Our per-directive meta-info is
  the ugliest aspect.  Would be good if the cleanup code could be customized
  to make the html not only clean, but legible ;)

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

23 years agoFix the first bucket not getting chunked properly. The reason was that
Justin Erenkrantz [Sun, 14 Oct 2001 20:41:00 +0000 (20:41 +0000)]
Fix the first bucket not getting chunked properly.  The reason was that
we left the TE header in the output headers, so ap_set_keepalive didn't
set r->chunked to 1.  So, ap_http_header_filter wouldn't insert CHUNK
filter appropriately.  I have no clue how it chunked anything at all
before this patch, but hey, it looks right now.

Tested with Yahoo, Apple, apache.org, and /.
/. is interesting in that it sends both Conn: Close and TE: chunked.

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

23 years agoEnsure that ap_http_filter can not be coersced into reading more than we
Justin Erenkrantz [Sun, 14 Oct 2001 20:38:04 +0000 (20:38 +0000)]
Ensure that ap_http_filter can not be coersced into reading more than we
think is currently available.

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

23 years agoFix broken links
Martin Kraemer [Sun, 14 Oct 2001 15:35:04 +0000 (15:35 +0000)]
Fix broken links

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

23 years agohtmltidy made a little mess of the <pre> environment.
Joshua Slive [Sat, 13 Oct 2001 17:46:49 +0000 (17:46 +0000)]
htmltidy made a little mess of the <pre> environment.

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

23 years agox_handler() was not checking r->handler, leaving it to handle every request
Doug MacEachern [Sat, 13 Oct 2001 01:53:46 +0000 (01:53 +0000)]
x_handler() was not checking r->handler, leaving it to handle every request

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

23 years agoRemove unused hard-coded definition of a SHELL_PATH.
Cliff Woolley [Fri, 12 Oct 2001 21:39:40 +0000 (21:39 +0000)]
Remove unused hard-coded definition of a SHELL_PATH.

Submitted by: Hiten Pandya <hpandya@lycos.co.uk>

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

23 years agoMake sure we install apxs.
Ryan Bloom [Fri, 12 Oct 2001 18:23:19 +0000 (18:23 +0000)]
Make sure we install apxs.

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

23 years agoWell, now I know what the bio_is_renegotiating call was for.
Justin Erenkrantz [Fri, 12 Oct 2001 06:27:04 +0000 (06:27 +0000)]
Well, now I know what the bio_is_renegotiating call was for.

Place a big-ass comment there so that whomever comes next isn't stuck
at a cryptic call that they don't understand with a dinky comment.
Hopefully, this makes sense.  Someone more familiar with OpenSSL should
verify the comment.

This fix also requires the normalize call to be performed before
churn_input so that we don't enter churn_input with a 0-length ctx->b
brigade.

All httpd-test tests (except for the module/negotiation test) pass now.

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

23 years agoIf we passed the bucket to ap_pass_brigade (because it was EOS or FLUSH),
Justin Erenkrantz [Fri, 12 Oct 2001 04:59:19 +0000 (04:59 +0000)]
If we passed the bucket to ap_pass_brigade (because it was EOS or FLUSH),
we shouldn't delete it.

Thanks to Doug for pointing out that something broke.

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

23 years agoLose the magic number and use the central #define AP_IOBUFSIZE.
Justin Erenkrantz [Fri, 12 Oct 2001 02:00:41 +0000 (02:00 +0000)]
Lose the magic number and use the central #define AP_IOBUFSIZE.

Hey, I've never seen it in actual use anywhere, so I didn't know.

Thanks to Roy for pointing it out.

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

23 years agoAnother one bites the dust.
Justin Erenkrantz [Thu, 11 Oct 2001 20:04:16 +0000 (20:04 +0000)]
Another one bites the dust.

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

23 years agoTeach mod_proxy to live with the new filtering scheme.
Justin Erenkrantz [Thu, 11 Oct 2001 20:03:26 +0000 (20:03 +0000)]
Teach mod_proxy to live with the new filtering scheme.

Tested with www.yahoo.com (Conn: Close), www.apache.org (CL), and
www.apple.com (TE: Chunked).

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

23 years agofix a *printf() format
Jeff Trawick [Thu, 11 Oct 2001 19:53:36 +0000 (19:53 +0000)]
fix a *printf() format

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

23 years agoRemove deprecated ap_dechunk_filter from header.
Justin Erenkrantz [Thu, 11 Oct 2001 19:44:51 +0000 (19:44 +0000)]
Remove deprecated ap_dechunk_filter from header.

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

23 years agofix another seg fault.
Greg Ames [Thu, 11 Oct 2001 16:28:23 +0000 (16:28 +0000)]
fix another seg fault.

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

23 years agoEventually I'll get this right.
Joshua Slive [Thu, 11 Oct 2001 15:23:07 +0000 (15:23 +0000)]
Eventually I'll get this right.

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

23 years agoSqueeze the example down to fit on one line.
Joshua Slive [Thu, 11 Oct 2001 14:18:28 +0000 (14:18 +0000)]
Squeeze the example down to fit on one line.

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

23 years ago Aye, it's bogus. Something very odd about short terniary results on
William A. Rowe Jr [Thu, 11 Oct 2001 14:04:11 +0000 (14:04 +0000)]
  Aye, it's bogus.  Something very odd about short terniary results on
  this C[++] compiler here, wants to promote to the conditition's type :-/

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

23 years ago Outch... fixed warning
William A. Rowe Jr [Thu, 11 Oct 2001 14:02:38 +0000 (14:02 +0000)]
  Outch... fixed warning

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

23 years agoConvert to html.
Joshua Slive [Thu, 11 Oct 2001 14:00:24 +0000 (14:00 +0000)]
Convert to html.

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

23 years agoTransferLog is (sort of) deprecated, and people never seem to realize
Joshua Slive [Thu, 11 Oct 2001 13:56:52 +0000 (13:56 +0000)]
TransferLog is (sort of) deprecated, and people never seem to realize
that you can use this with CustomLog.

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

23 years ago Ok, this formats a whole lot cleaner, and (I believe) makes a bit more
William A. Rowe Jr [Thu, 11 Oct 2001 13:42:58 +0000 (13:42 +0000)]
  Ok, this formats a whole lot cleaner, and (I believe) makes a bit more
  sense.  Also provides a rundown of C89 common date format strings, for
  those users who don't have man strftime [It still points out that add'l
  format options may b available, see strftime.]

  Also, I believe _most_ installations require the TransferLog "|bin/
  path to rotatelogs, no?  Other question - how to reformat to html?
  Which utility does so?

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

23 years ago Close the mod_mime file extension matching issue by (as Ken Coar suggests)
William A. Rowe Jr [Thu, 11 Oct 2001 13:27:05 +0000 (13:27 +0000)]
  Close the mod_mime file extension matching issue by (as Ken Coar suggests)
  allowing users to continue to rely on the old 1.3 behavior of matching Any
  extensions, the strict behavior of matching NegotiatedOnly arguments, or
  including Handlers and Filters with the MultiviewsMatch directive for
  mod_negotiation control.  Unfortunately, the component matching occurs
  in mod_mime, so that's where this option must reside.

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

23 years agoFix a typo in the configure script. The argument is --enable-mods-shared,
Ryan Bloom [Thu, 11 Oct 2001 04:50:57 +0000 (04:50 +0000)]
Fix a typo in the configure script.  The argument is --enable-mods-shared,
but we documented it as --enable-mod-shared.

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

23 years agoRemove some warnings from the code. The buckets take a different
Ryan Bloom [Thu, 11 Oct 2001 04:40:14 +0000 (04:40 +0000)]
Remove some warnings from the code.  The buckets take a different
type for the length than the brigade functions do.  This moves the
len_read variable into the correct scope for the two times that it
is used, and defines it correctly for each scope.

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

23 years agoFixed the configure script to add a LoadModule directive to
Ryan Bloom [Thu, 11 Oct 2001 03:42:53 +0000 (03:42 +0000)]
Fixed the configure script to add a LoadModule directive to
the default httpd.conf for any module that was compiled
as a DSO.

Submitted by: Aaron Bannert <aaron@clove.org>

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

23 years agoThis is the mod_ssl input filtering rewrite. Lots of stuff here. I also
Justin Erenkrantz [Thu, 11 Oct 2001 01:49:21 +0000 (01:49 +0000)]
This is the mod_ssl input filtering rewrite.  Lots of stuff here.  I also
changed some of the style issues within the filtering code to conform to
the rest of the server.

Various incarnations of this patch have been posted to dev@httpd without
feedback.  Now that it passes all of the httpd-test cases (with the
exception of module/negotiation test which fails without mod_ssl anyway),
it is time to check it in.

Please review and test.  We are under C-T-R rules, so I'm going to take
advantage of that and commit it now.  I have tested this about as much
as I can and it seems to work from everything I can give to it.
Considering that mod_ssl was broken before this commit, this is an
improvement.

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

23 years agoWe can't pass in &r->remaining because we change that value on output to
Justin Erenkrantz [Thu, 11 Oct 2001 01:40:32 +0000 (01:40 +0000)]
We can't pass in &r->remaining because we change that value on output to
be how many bytes we read.  This trounces on the r->remaining value, so
we must use a local variable and subtract that from r->remaining after we
read.
Reviewed by: Aaron Bannert

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

23 years agoThe problem here is that we are getting some zero-length buckets at the head
Justin Erenkrantz [Thu, 11 Oct 2001 01:38:28 +0000 (01:38 +0000)]
The problem here is that we are getting some zero-length buckets at the head
of our brigade - which are in isolation okay.  In this situation, they
must be removed by the call to APR_BRIGADE_NORMALIZE.

The way we partition the buckets means that we will never remove the
zero-length bucket from the head - causing an infinite loop.  We read only
a single bucket now - previously partition with the blocking reads would
read multiple buckets - but it forced having a defined length which we
agreed was bogus.

Therefore, if we have a zero-length bucket at the head, we would then try
to partition and split at the zero-point of the brigade.  That combination
doesn't actually remove the zero-length bucket - it is still there - causing
an infinite loop because we'll never go past the zero-length bucket.

This call was originally present in core_input_filter.  I think it might
be better to fix partition/split/etc to eliminate a zero-length bucket
and skip it.  But, I'm not 100% sure that needs to happen.

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

23 years agoWe also need to increment *readbytes when we find a match in the middle of
Justin Erenkrantz [Wed, 10 Oct 2001 22:14:10 +0000 (22:14 +0000)]
We also need to increment *readbytes when we find a match in the middle of
a bucket.

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

23 years agoMake the error messages from apachectl refer to the actual name of the
Ryan Bloom [Wed, 10 Oct 2001 21:17:05 +0000 (21:17 +0000)]
Make the error messages from apachectl refer to the actual name of the
executable, not "httpd".

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

23 years ago Finish the switch to huge file support
William A. Rowe Jr [Wed, 10 Oct 2001 20:05:13 +0000 (20:05 +0000)]
  Finish the switch to huge file support

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

23 years ago Support huge files from mod_asis
William A. Rowe Jr [Wed, 10 Oct 2001 20:02:40 +0000 (20:02 +0000)]
  Support huge files from mod_asis

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

23 years ago Negotiation once allowed any file, of any filename extension, to be
William A. Rowe Jr [Wed, 10 Oct 2001 19:43:37 +0000 (19:43 +0000)]
  Negotiation once allowed any file, of any filename extension, to be
  served.  The original patch to mod_negotation eliminated all extensions
  that did not reflect filename extensions associated with negotiation
  variables, unless the user expressly specified the file name with those
  filename extensions.

  This patch [attributed to me] was vetoed at its inception, it was provided
  as an alternative for those who had to have the current behavior.

  There is now another alternative patch that would introduce the
  MultiviewsMatch directive to mod_mime, for consideration and discussion.

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

23 years agoYeah, let's just return this segment to how it was a few hours ago.
Justin Erenkrantz [Wed, 10 Oct 2001 19:19:16 +0000 (19:19 +0000)]
Yeah, let's just return this segment to how it was a few hours ago.

If the status code is anything other than SUCCESS for PEEK, it isn't
good.  Just return the value.

(I thought it should be this, but I wasn't 100% sure.  Peer review == good.)

Submitted by: Will Rowe

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

23 years agoFor some reason, I was thinking PEEK should read infinitely. Not.
Justin Erenkrantz [Wed, 10 Oct 2001 18:45:22 +0000 (18:45 +0000)]
For some reason, I was thinking PEEK should read infinitely.  Not.
Return with APR_EOF if we get EAGAIN.

(Whomever is calling this with PEEK should really be able to handle EOS
 bucket rather than relying on error codes.)

Thanks to Greg Ames for pointing out this fubar.

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

23 years ago Catch up to Martin's work for 2.0
William A. Rowe Jr [Wed, 10 Oct 2001 18:43:15 +0000 (18:43 +0000)]
  Catch up to Martin's work for 2.0

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

23 years ago Short of removing the headers filter, this is the best asis can do.
William A. Rowe Jr [Wed, 10 Oct 2001 18:37:35 +0000 (18:37 +0000)]
  Short of removing the headers filter, this is the best asis can do.
  Note that all body replies were entirely broken (thanks for helping
  me notice this, Greg :)

  Asis still needs patching for huge files.

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

23 years agoAllow the bucket reading code in the core to handle EAGAIN properly.
Justin Erenkrantz [Wed, 10 Oct 2001 15:34:35 +0000 (15:34 +0000)]
Allow the bucket reading code in the core to handle EAGAIN properly.

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

23 years agoprefork: Don't segfault when we are able to listen on some but
Jeff Trawick [Wed, 10 Oct 2001 15:12:12 +0000 (15:12 +0000)]
prefork: Don't segfault when we are able to listen on some but
not all of the configured ports.

Other points to ponder:

  why no log message for the segfault?

  similar change would seem to be needed in other MPMs...  we
  may be adding bogus entries to the poll set

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

23 years ago Too many args is a bad thing too, some days
William A. Rowe Jr [Wed, 10 Oct 2001 13:02:22 +0000 (13:02 +0000)]
  Too many args is a bad thing too, some days

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

23 years ago Rewrite of rotatelogs as an apr-ized app.
William A. Rowe Jr [Wed, 10 Oct 2001 12:48:09 +0000 (12:48 +0000)]
  Rewrite of rotatelogs as an apr-ized app.

  Mladen Turk <mturk@mappingsoft.com>, William Rowe

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

23 years ago Correct dependency for apr-ization of rotatelogs
William A. Rowe Jr [Wed, 10 Oct 2001 12:39:40 +0000 (12:39 +0000)]
  Correct dependency for apr-ization of rotatelogs

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

23 years agoFoo != Bar.
Justin Erenkrantz [Wed, 10 Oct 2001 05:08:06 +0000 (05:08 +0000)]
Foo != Bar.

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

23 years agoRemove ^M character. Someone thinks they are in DOS land.
Justin Erenkrantz [Wed, 10 Oct 2001 05:06:04 +0000 (05:06 +0000)]
Remove ^M character.  Someone thinks they are in DOS land.

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

23 years agoAllow mod_so to be enabled by default even if no shared libraries from the
Justin Erenkrantz [Wed, 10 Oct 2001 05:04:40 +0000 (05:04 +0000)]
Allow mod_so to be enabled by default even if no shared libraries from the
core are requested.

If you want to disable shared library support, pass --disable-so to
configure (as always).  This will enforce that your httpd can NOT use
shared libraries - which may be a good thing for you to do.

Justin added the APR_HAS_DSO check per discussion on-list between Aaron,
Ryan, Greg, and the rest of the peanut gallery.  This should allow us
to not build mod_so when it isn't supported.  However, the rest of the
configure scripts need to know that shared objects aren't supported and
complain accordingly.  (sharedobjs = yes, error out?)

Submitted by: Aaron Bannert <aaron@clove.org>
Reviewed by: Justin Erenkrantz

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

23 years agoSunny but chilly in Raleigh
Greg Ames [Tue, 9 Oct 2001 19:29:19 +0000 (19:29 +0000)]
Sunny but chilly in Raleigh

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

23 years agofixes heml to html to make example work
Joshua Slive [Tue, 9 Oct 2001 14:52:47 +0000 (14:52 +0000)]
fixes heml to html to make example work

Submitted by: Hartmut Obendorf <obendorf@informatik.uni-hamburg.de>

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

23 years ago Always helps to add the member
William A. Rowe Jr [Tue, 9 Oct 2001 03:15:05 +0000 (03:15 +0000)]
  Always helps to add the member

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

23 years ago Bring many things up-to-date. FirstBill, wasn't the child logging
William A. Rowe Jr [Tue, 9 Oct 2001 03:11:08 +0000 (03:11 +0000)]
  Bring many things up-to-date.  FirstBill, wasn't the child logging
  process stuff already fixed?

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

23 years ago Speed it up. While this optimization wasn't obvious for the two-pass
William A. Rowe Jr [Tue, 9 Oct 2001 02:41:47 +0000 (02:41 +0000)]
  Speed it up.  While this optimization wasn't obvious for the two-pass
  location_walk, it is significant for all subreq/redirects reusing the
  cached walk values.

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

23 years ago Uhmm... time for a note about this.
William A. Rowe Jr [Tue, 9 Oct 2001 02:40:56 +0000 (02:40 +0000)]
  Uhmm... time for a note about this.

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

23 years agoallow file extentions specified by AddHandler, AddInputFilter, and
Greg Ames [Tue, 9 Oct 2001 01:45:20 +0000 (01:45 +0000)]
allow file extentions specified by AddHandler, AddInputFilter, and
AddOutputFilter to be ignored when matching the URI.

Submitted by: Bill Rowe

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

23 years agoprevent near infinite subrequest recursion with mod_negotiation enabled.
Greg Ames [Tue, 9 Oct 2001 01:33:48 +0000 (01:33 +0000)]
prevent near infinite subrequest recursion with mod_negotiation enabled.
This can happen if there is a partial match between a bad URI and a
file with a variant extention.

ap_sub_req_lookup_dirent has apparently been generating bogus subrequest
URIs for ages, but they used to be ignored.  Once we started calling
ap_process_request_internal for all subrequests, they started causing
problems.  Make it explicit that rnew->uri is to be ignored for this type
of subrequest.

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

23 years agoGet rid of some byterange handling code; it doesn't apply in Apache 2.0.
Greg Stein [Tue, 9 Oct 2001 00:48:51 +0000 (00:48 +0000)]
Get rid of some byterange handling code; it doesn't apply in Apache 2.0.

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

23 years agoClean up the string passed to the error log hook. This removes the date,
Ryan Bloom [Mon, 8 Oct 2001 23:28:57 +0000 (23:28 +0000)]
Clean up the string passed to the error log hook. This removes the date,
time, error level, etc strings.  The only information in the string is
the actual error.
Submitted by: Jon Travis <jtravis@covalent.net>

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

23 years agoDon't set r->status_line. Apache uses that in preference to any other status
Greg Stein [Mon, 8 Oct 2001 23:10:37 +0000 (23:10 +0000)]
Don't set r->status_line. Apache uses that in preference to any other status
line, thinking we've set a custom status. Of course, it says "200 OK" no
matter what error we happen to return(!).

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

23 years agoget symlinks working again
Greg Ames [Mon, 8 Oct 2001 22:07:32 +0000 (22:07 +0000)]
get symlinks working again

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

23 years agodechunking filter removed.
Ian Holsman [Mon, 8 Oct 2001 21:49:17 +0000 (21:49 +0000)]
dechunking filter removed.
add HTTP_IN filter after the headers have been parsed.
so that the HTTP_IN can check them ;-)
Still not 100% if this works properly, but I don't get
the chunking numbers displayed on my browser,
so it's better than what was there.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoat least *this* cast keeps gcc happy (and should keep
Jeff Trawick [Mon, 8 Oct 2001 21:13:51 +0000 (21:13 +0000)]
at least *this* cast keeps gcc happy (and should keep
everything else happy as well)

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

23 years agoHTTP_IN was attempting to process the PEEK mode. This threw off
Greg Stein [Mon, 8 Oct 2001 20:12:50 +0000 (20:12 +0000)]
HTTP_IN was attempting to process the PEEK mode. This threw off
check_pipeline_flush(), making it think another request was available (when
it wasn't). Apache would avoid flushing the prior request and block on
reading the next request. (of course, the client wasn't sending the next
one, cuz it was still waiting for the results of the first one)

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

23 years agoinitial port of new Request-mode HTTP_IN filter to proxy.
Ian Holsman [Mon, 8 Oct 2001 19:25:35 +0000 (19:25 +0000)]
initial port of new Request-mode HTTP_IN filter to proxy.
Status: It serves a reverse-proxy page.. but SLOWLY.
VERY SLOWLY.
still looking at why, but now it serves pages instead of dumping core.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years ago Revamped ap_directory_walk logic, without a path_info helper is now
William A. Rowe Jr [Mon, 8 Oct 2001 17:38:52 +0000 (17:38 +0000)]
  Revamped ap_directory_walk logic, without a path_info helper is now
  activated.  It may be bumpy for a few days, and we have more optimizations
  to put in place, but it's time to get this in the developer's test code.

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

23 years ago This is nothing but const bogosity. We have our very own manipulation,
William A. Rowe Jr [Mon, 8 Oct 2001 17:35:41 +0000 (17:35 +0000)]
  This is nothing but const bogosity.  We have our very own manipulation,
  we are allowed to touch the char *'s, even if we have a const contract.

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

23 years agoCorrect Verbage in comments.
Ian Holsman [Mon, 8 Oct 2001 16:44:04 +0000 (16:44 +0000)]
Correct Verbage in comments.

Submitted by: Aarron Bannert <aaron@clove.org>
Reviewed by: Ian Holsman <IanH@apache.org>

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

23 years agoRename ssl-std.conf to match Makefile.in's installation action
Martin Kraemer [Mon, 8 Oct 2001 10:15:37 +0000 (10:15 +0000)]
Rename ssl-std.conf to match Makefile.in's installation action

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