]> granicus.if.org Git - apache/log
apache
22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 years ago Great badness - not a good idea to return OK when you don't modify the
William A. Rowe Jr [Sun, 7 Oct 2001 04:54:53 +0000 (04:54 +0000)]
  Great badness - not a good idea to return OK when you don't modify the
  resulting value, even if it's NULL.

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

22 years ago Hmmm... continue's not so good an idea here :)
William A. Rowe Jr [Sat, 6 Oct 2001 22:47:20 +0000 (22:47 +0000)]
  Hmmm... continue's not so good an idea here :)

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

22 years ago Time to give up for the day, and grab a beer
William A. Rowe Jr [Sat, 6 Oct 2001 22:36:27 +0000 (22:36 +0000)]
  Time to give up for the day, and grab a beer

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

22 years ago Aaargh! Unwinding part of my patch before I committed the prior version,
William A. Rowe Jr [Sat, 6 Oct 2001 22:16:11 +0000 (22:16 +0000)]
  Aaargh!  Unwinding part of my patch before I committed the prior version,
  I ended up blasting these (intentional) changes as well :(

  This finishes up the changes for the new, replacement ap_directory_walk
  for testing.  This code isn't active yet.

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

22 years ago A major overhaul to the -replacement- ap_directory_walk logic. This still
William A. Rowe Jr [Sat, 6 Oct 2001 21:52:29 +0000 (21:52 +0000)]
  A major overhaul to the -replacement- ap_directory_walk logic.  This still
  doesn't activate that code, I will do so probably by Monday, after more
  thorough testing.

  Introduces the ap_directory_walk::cache so we can stop wasting tons of
  effort in mod_autoindex and other subreq/redirect requests.

  This isn't thoroughly tested, I've only stepped through a half dozen
  common cases.  If you want to play, define REPLACE_PATH_INFO_METHOD.

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

22 years ago Good to note
William A. Rowe Jr [Sat, 6 Oct 2001 18:59:58 +0000 (18:59 +0000)]
  Good to note

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

22 years ago Allow ApacheBench to connect to and control Apache on other WinNT/2K
William A. Rowe Jr [Sat, 6 Oct 2001 18:59:07 +0000 (18:59 +0000)]
  Allow ApacheBench to connect to and control Apache on other WinNT/2K
  machines.

Submitted by: Mladen Turk <mturk@mappingsoft.com>

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

22 years ago Fix a borked entry that I introduced. Now mime_magic should build.
William A. Rowe Jr [Sat, 6 Oct 2001 18:24:58 +0000 (18:24 +0000)]
  Fix a borked entry that I introduced.  Now mime_magic should build.

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

22 years agoDon't attempt to call apr_xml_parser_done() twice -- just exit when we have
Greg Stein [Sat, 6 Oct 2001 17:02:59 +0000 (17:02 +0000)]
Don't attempt to call apr_xml_parser_done() twice -- just exit when we have
a problem terminating the parser. _geterror() cannot be called either.

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

22 years ago I don't know if these are correct, just my best alien guess.
William A. Rowe Jr [Sat, 6 Oct 2001 05:09:08 +0000 (05:09 +0000)]
  I don't know if these are correct, just my best alien guess.

  I also don't suspect we want to add test/ to the modules/ makefile,
  since test won't be distributed with the tarball.

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

22 years ago Some other modules here are argueably tests ... but these are nothing
William A. Rowe Jr [Sat, 6 Oct 2001 05:07:03 +0000 (05:07 +0000)]
  Some other modules here are argueably tests ... but these are nothing
  but tests.  No end user would ever be interested in 'experimenting'
  with them :)

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

22 years ago Legibility counts for something, so does eliminating bogus ssize_t
William A. Rowe Jr [Sat, 6 Oct 2001 04:41:37 +0000 (04:41 +0000)]
  Legibility counts for something, so does eliminating bogus ssize_t
  products from pointer subtraction ;)

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

22 years agoIt's a good time to update STATUS.
Justin Erenkrantz [Sat, 6 Oct 2001 00:48:03 +0000 (00:48 +0000)]
It's a good time to update STATUS.

Be back Monday night...off to a wedding on the east coast now...

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

22 years agoWe should only be doing one socket read under any circumstances
Justin Erenkrantz [Sat, 6 Oct 2001 00:47:06 +0000 (00:47 +0000)]
We should only be doing one socket read under any circumstances
(blocking or not).

apr_brigade_partition would do reading multiple times and that's
not really what we want (so I think).

This may speed up POST requests that were waiting for all of the
data to arrive before returning anything in blocking mode.

Reviewed by: Greg Stein, Ryan Bloom

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

22 years agoBring forward some 1.3 changes, mostly from
Joshua Slive [Fri, 5 Oct 2001 21:26:00 +0000 (21:26 +0000)]
Bring forward some 1.3 changes, mostly from
Allan Liska

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

22 years agoAllow the core input filter to handle AP_NONBLOCK_READ request for a
Justin Erenkrantz [Fri, 5 Oct 2001 08:54:19 +0000 (08:54 +0000)]
Allow the core input filter to handle AP_NONBLOCK_READ request for a
finite number of bytes (i.e. *readbytes > 0).

ap_brigade_partition does a blocking read.  So, what we should do is
apr_bucket_read on the socket for non-blocking.  If we get less than
what they asked for, that's okay and we should just return that amount.
If they were non-blocking, we should always be non-blocking.

Ryan, Greg, and others can figure out if ap_brigade_partition should
be tweaked to handle AP_NONBLOCK_READ natively.  I'm of a mixed mind,
but this addresses the short term need.

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

22 years agoI believe it is a kosher for a filter to return EOS, but return APR_SUCCESS
Justin Erenkrantz [Fri, 5 Oct 2001 08:51:43 +0000 (08:51 +0000)]
I believe it is a kosher for a filter to return EOS, but return APR_SUCCESS
via ap_get_brigade.  So, we should treat this as end-of-input.

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

22 years ago And thank you once again, Justin
William A. Rowe Jr [Fri, 5 Oct 2001 03:41:15 +0000 (03:41 +0000)]
  And thank you once again, Justin

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

22 years ago These now exist with their -std names, thanks for the suggest, Justin.
William A. Rowe Jr [Fri, 5 Oct 2001 03:40:27 +0000 (03:40 +0000)]
  These now exist with their -std names, thanks for the suggest, Justin.

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

22 years agoInclude paths must be relative to ServerRoot directive.
Justin Erenkrantz [Fri, 5 Oct 2001 03:32:42 +0000 (03:32 +0000)]
Include paths must be relative to ServerRoot directive.

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

22 years agoMake sure we run the new conf files through sed.
Justin Erenkrantz [Fri, 5 Oct 2001 03:27:56 +0000 (03:27 +0000)]
Make sure we run the new conf files through sed.
Now, the question is whether it might make more sense to have them
as ssl-std.conf, ldap-std.conf, and proxy-std.conf.

(I'm also not sure if this is even shell portable or not.)

I'll leave that up to OtherBill since he added these files.

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

22 years agoget rid of an unused variable
Jeff Trawick [Fri, 5 Oct 2001 02:27:48 +0000 (02:27 +0000)]
get rid of an unused variable

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

22 years ago Split the significant modules into segregated module configs.
William A. Rowe Jr [Thu, 4 Oct 2001 20:40:37 +0000 (20:40 +0000)]
  Split the significant modules into segregated module configs.

  Probably should do the same with negotation/autoindex, since those
  are _so_ huge, but not this afternoon on my schedule.

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

22 years ago Cleanup the config (somewhat) so that win32 -could- actually run from
William A. Rowe Jr [Thu, 4 Oct 2001 20:28:34 +0000 (20:28 +0000)]
  Cleanup the config (somewhat) so that win32 -could- actually run from
  the httpd-std.conf - but there are still some discrepancies to take
  back to the conference committee :)

  LDAP was voted some time ago into it's own httpd-ldap repository, and
  never built on Win32; No ldap config directives are present, so I've
  pulled it from both .conf files.

  It would be really nice if the proxy team would come in and clean out
  the deprecated/unsupported directives here.

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