]> granicus.if.org Git - apache/log
apache
23 years agoprevent loops & seg faults when GETs have chunked bodies.
Greg Ames [Fri, 2 Nov 2001 20:21:44 +0000 (20:21 +0000)]
prevent loops & seg faults when GETs have chunked bodies.

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

23 years agofix eval of vars incase string has quotes
Doug MacEachern [Fri, 2 Nov 2001 20:09:20 +0000 (20:09 +0000)]
fix eval of vars incase string has quotes
example: CFLAGS = -DSUEXEC_BIN='"bin/suexec"
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoDon't change the type of the new resource. The provider will update it
Greg Stein [Fri, 2 Nov 2001 19:25:50 +0000 (19:25 +0000)]
Don't change the type of the new resource. The provider will update it
when the copy/move takes place.

Specifically, the new location might imply a different type from the
original, so updating the type is bad mojo. In the observed case, a
resource was copied into a working collection; the type of the new
resource is supposed to be WORKING. Copying the type would be wrong if
the source was REGULAR.

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

23 years agoAdded the secondary command line hander for manipulating a running
Bradley Nicholes [Fri, 2 Nov 2001 18:07:17 +0000 (18:07 +0000)]
Added the secondary command line hander for manipulating a running
instance of Apache from the console.

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

23 years agoAdded the .xdc data file for building an MP enabled version of Apache on
Bradley Nicholes [Fri, 2 Nov 2001 18:03:38 +0000 (18:03 +0000)]
Added the .xdc data file for building an MP enabled version of Apache on
NetWare

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

23 years agoAdded the .def files for building the external modules for NetWare. Also
Bradley Nicholes [Fri, 2 Nov 2001 17:59:58 +0000 (17:59 +0000)]
Added the .def files for building the external modules for NetWare.  Also
added the NLM startup code for NLMs that require Winsock support.

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

23 years agoConsolidated the APR imports to a single import file
Bradley Nicholes [Fri, 2 Nov 2001 17:56:14 +0000 (17:56 +0000)]
Consolidated the APR imports to a single import file

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

23 years agoAdded build targets for the external modules
Bradley Nicholes [Fri, 2 Nov 2001 17:53:44 +0000 (17:53 +0000)]
Added build targets for the external modules

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

23 years agoinsure that we die quickly without looping etc. if somebody messes up
Greg Ames [Fri, 2 Nov 2001 15:17:06 +0000 (15:17 +0000)]
insure that we die quickly without looping etc. if somebody messes up
*readbytes again.

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

23 years agoMore style-stuff. A lot of this doesn't qualify as 'readable' even so.. :-(
Ken Coar [Thu, 1 Nov 2001 20:14:16 +0000 (20:14 +0000)]
More style-stuff.  A lot of this doesn't qualify as 'readable' even so.. :-(

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

23 years agoSome style-guide fixes (nothing functional)
Ken Coar [Thu, 1 Nov 2001 16:06:21 +0000 (16:06 +0000)]
Some style-guide fixes (nothing functional)

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

23 years ago Fix a typo and URL. [Gotta get this keyboard cleaned.]
William A. Rowe Jr [Thu, 1 Nov 2001 05:12:46 +0000 (05:12 +0000)]
  Fix a typo and URL.  [Gotta get this keyboard cleaned.]

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

23 years ago Make this a bit more formal, as in httpd.conf. Also should cite the
William A. Rowe Jr [Thu, 1 Nov 2001 04:56:59 +0000 (04:56 +0000)]
  Make this a bit more formal, as in httpd.conf.  Also should cite the
  contributor, but only Ralf knows who all should be the primary citation,
  if not simply "the modssl project".  I don't know if this conf is all
  new material, significantly created by the modssl project, or if much
  of it goes all the way back to ApacheSSL.  Rather that miss-attribute,
  I'm leaving line one for someone else [Ralf?] to add, vis-a-vie the
  citation in httpd-std.conf line 2.

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

23 years agoSince we are in a file that is only included with mod_ssl.c and
Roy T. Fielding [Thu, 1 Nov 2001 00:05:58 +0000 (00:05 +0000)]
Since we are in a file that is only included with mod_ssl.c and
there is no point in any of it if SSL is not defined, just wrap
the whole thing in one IfDefine.

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

23 years agowhoops! can't use the return code to pass the length up the filter chain.
Greg Ames [Wed, 31 Oct 2001 22:55:43 +0000 (22:55 +0000)]
whoops! can't use the return code to pass the length up the filter chain.

with this and a request line that goes on forever, I now get:

[Wed Oct 31 17:45:45 2001] [error] [client 127.0.0.1] request failed:
URI too long

...in the error log, and a 414 in the access log.

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

23 years agochange ap_getline to return the size of the buffer when there's no apparent end
Greg Ames [Wed, 31 Oct 2001 21:14:23 +0000 (21:14 +0000)]
change ap_getline to return the size of the buffer when there's no apparent end
to an input line.  This is more like the 1.3 behavior which should help the
callers recognize this condition.

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

23 years agoreturn the actual number of bytes read when we're in "read a line" mode and it
Greg Ames [Wed, 31 Oct 2001 20:18:56 +0000 (20:18 +0000)]
return the actual number of bytes read when we're in "read a line" mode and it
looks like the line may never end.

This lets ap_getline determine whether there's excessive bytes or not,
depending on the size of its caller's buffers.  If the buffer can accomodate
more bytes, ap_getline will continue to read.

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

23 years agoOne down...
Aaron Bannert [Wed, 31 Oct 2001 18:31:50 +0000 (18:31 +0000)]
One down...

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

23 years agoFix a big memory leak bug related to arbitrarily large header lines.
Aaron Bannert [Wed, 31 Oct 2001 18:21:53 +0000 (18:21 +0000)]
Fix a big memory leak bug related to arbitrarily large header lines.
The core input filter would happily consume all the data you gave it
in a header line, looking for that one LF. This patch limits that
"getline" functionality to HUGE_STRING_LEN (8192 bytes).

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

23 years agoadd my public key
Greg Ames [Wed, 31 Oct 2001 18:18:34 +0000 (18:18 +0000)]
add my public key

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

23 years ago Introduce an Apache mod_ssl initial configuration template
William A. Rowe Jr [Wed, 31 Oct 2001 15:50:53 +0000 (15:50 +0000)]
  Introduce an Apache mod_ssl initial configuration template
  (ssl.conf, generated from ssl-std.conf).  [Ralf S. Engelschall]

  Revised Cliff's intro paragraph to point folks at docs until
  docs are provided.  [Will Rowe]

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

23 years agoBad link.
Joshua Slive [Wed, 31 Oct 2001 15:35:34 +0000 (15:35 +0000)]
Bad link.

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

23 years agoTypo fix.
Joshua Slive [Wed, 31 Oct 2001 15:11:05 +0000 (15:11 +0000)]
Typo fix.
PR: 8556

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

23 years ago2.0.27 has been tagged.
Justin Erenkrantz [Wed, 31 Oct 2001 07:18:47 +0000 (07:18 +0000)]
2.0.27 has been tagged.
2.0.26 has been discarded.

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

23 years agoStick a comment into this file so it's clear that it's a placeholder
Cliff Woolley [Wed, 31 Oct 2001 05:37:06 +0000 (05:37 +0000)]
Stick a comment into this file so it's clear that it's a placeholder
and not just a zero-byte thingy.  :)

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

23 years agobumping release number to 2.0.28-dev after tag
Greg Ames [Wed, 31 Oct 2001 03:43:25 +0000 (03:43 +0000)]
bumping release number to 2.0.28-dev after tag

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

23 years agobump release number to 2.0.27
Greg Ames [Wed, 31 Oct 2001 03:25:03 +0000 (03:25 +0000)]
bump release number to 2.0.27

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

23 years agoAdd key.
Graham Leggett [Tue, 30 Oct 2001 22:35:04 +0000 (22:35 +0000)]
Add key.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agomake sure that the HTTP_IN filter is in place across internal redirects.
Greg Ames [Tue, 30 Oct 2001 19:21:41 +0000 (19:21 +0000)]
make sure that the HTTP_IN filter is in place across internal redirects.

Without this, we see an extra socket read + timeout on POSTs.  If the client
sends in another request, we loop consuming memory.

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

23 years agoFix typos...
Aaron Bannert [Tue, 30 Oct 2001 17:38:03 +0000 (17:38 +0000)]
Fix typos...

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

23 years agoUpdated NetWare project file
Bradley Nicholes [Mon, 29 Oct 2001 23:06:22 +0000 (23:06 +0000)]
Updated NetWare project file

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

23 years agoNetWare MPM cleanup
Bradley Nicholes [Mon, 29 Oct 2001 23:01:46 +0000 (23:01 +0000)]
NetWare MPM cleanup

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

23 years agoAdded NETWARE to the #ifdef list
Bradley Nicholes [Mon, 29 Oct 2001 22:56:42 +0000 (22:56 +0000)]
Added NETWARE to the #ifdef list

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

23 years agoFix up exit() to make sure that things are cleaned up properly on error
Bradley Nicholes [Mon, 29 Oct 2001 22:55:13 +0000 (22:55 +0000)]
Fix up exit() to make sure that things are cleaned up properly on error
conditions

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

23 years agoConf file cleanup
Bradley Nicholes [Mon, 29 Oct 2001 22:52:53 +0000 (22:52 +0000)]
Conf file cleanup

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

23 years agoMixed tabs and spaces within many nexted {}-less if-else expressions
Aaron Bannert [Mon, 29 Oct 2001 19:25:08 +0000 (19:25 +0000)]
Mixed tabs and spaces within many nexted {}-less if-else expressions
can be very difficult to read. No logic was changed.

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

23 years ago Bring it up-to-date while I'm a'fixin
William A. Rowe Jr [Mon, 29 Oct 2001 18:26:59 +0000 (18:26 +0000)]
  Bring it up-to-date while I'm a'fixin

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

23 years agoVia: header truncation bugfix.
Aaron Bannert [Mon, 29 Oct 2001 15:45:53 +0000 (15:45 +0000)]
Via: header truncation bugfix.

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

23 years agoFix a truncation bug in how we print the port on the Via: header.
Aaron Bannert [Mon, 29 Oct 2001 15:44:03 +0000 (15:44 +0000)]
Fix a truncation bug in how we print the port on the Via: header.
The routine that prints the Via: header now takes a length for
the port string.

Submitted by: Zvi Har'El <rl@math.technion.ac.il>

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

23 years ago Use the _setn flavor which will avoid strdup'ing these strings, and
William A. Rowe Jr [Mon, 29 Oct 2001 15:19:03 +0000 (15:19 +0000)]
Use the _setn flavor which will avoid strdup'ing these strings, and
    skip the cleanups we don't need.

Submitted by: Brian Pane <bpane@pacbell.net>

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

23 years agoget proto for atoi()
Jeff Trawick [Mon, 29 Oct 2001 01:07:31 +0000 (01:07 +0000)]
get proto for atoi()

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

23 years agoFix some broken links, change to the simplest possible example, and add a
Joshua Slive [Sat, 27 Oct 2001 22:22:00 +0000 (22:22 +0000)]
Fix some broken links, change to the simplest possible example, and add a
couple notes to give hints to people running servers behind port-forwarding
firewalls.

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

23 years agomake shared libraries executable so they work on HP-UX
Jeff Trawick [Sat, 27 Oct 2001 14:01:13 +0000 (14:01 +0000)]
make shared libraries executable so they work on HP-UX
(I'm not sure that this logic for copying DSOs will survive
in the libtool scheme; I'm putting this 1.3 fix in just in
case.)

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

23 years agoSome syntax errors in mod_mime_magic's magic file can result
Jeff Trawick [Sat, 27 Oct 2001 13:36:57 +0000 (13:36 +0000)]
Some syntax errors in mod_mime_magic's magic file can result
in a 500 error.  Log the error so that it isn't so darn
mysterious.

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

23 years agoignore checkgid
Jeff Trawick [Sat, 27 Oct 2001 13:00:55 +0000 (13:00 +0000)]
ignore checkgid

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

23 years agoFix RedirectMatch handling to properly handle URLs with host portions.
Justin Erenkrantz [Fri, 26 Oct 2001 19:39:51 +0000 (19:39 +0000)]
Fix RedirectMatch handling to properly handle URLs with host portions.
Previously, we would segfault if no path is specified (case 1 below).
We would also ignore any host and scheme portion of the URL (which is
how we specify it on daedalus), so restore that capability.

The query strings will still not be escaped (standards cops can
determine if this is correct behavior).

The following directives now work as expected:
RedirectMatch /jakarta1(.*) http://jakarta.apache.org$1
RedirectMatch /jakarta2(.*) http://jakarta.apache.org/dist$1
RedirectMatch /jakarta3(.*) http://jakarta.apache.org/dist$1?bar=foo
RedirectMatch /jakarta4(.*) http://jakarta.apache.org/dist$1?bar=foo#spaz

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

23 years agoDocument the addition of checkgid to 2.0
Ken Coar [Fri, 26 Oct 2001 18:33:22 +0000 (18:33 +0000)]
Document the addition of checkgid to 2.0

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

23 years ago Bring forward checkgid helper from 1.3; checks runtime
Ken Coar [Fri, 26 Oct 2001 18:30:57 +0000 (18:30 +0000)]
Bring forward checkgid helper from 1.3; checks runtime
validity of httpd Group directive-style group identifiers.

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

23 years agoprevent seg faults in mod_status trying to access vhost structures from
Greg Ames [Fri, 26 Oct 2001 15:40:04 +0000 (15:40 +0000)]
prevent seg faults in mod_status trying to access vhost structures from
the former generation, after a restart.  It happens mostly when the MPM has
threads.

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

23 years agoupdate my entry
Ralf S. Engelschall [Fri, 26 Oct 2001 07:45:35 +0000 (07:45 +0000)]
update my entry

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

23 years agoNo such thing as APACI anymore. :)
Cliff Woolley [Fri, 26 Oct 2001 02:59:26 +0000 (02:59 +0000)]
No such thing as APACI anymore.  :)

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

23 years agoStyle-guide fixes, no functional changes.
Ken Coar [Thu, 25 Oct 2001 20:36:10 +0000 (20:36 +0000)]
Style-guide fixes, no functional changes.

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

23 years agoMore cleanup on the pre-build script
Bradley Nicholes [Thu, 25 Oct 2001 15:37:53 +0000 (15:37 +0000)]
More cleanup on the pre-build script

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

23 years agoTwo more mod_so configure-time fixes:
Aaron Bannert [Wed, 24 Oct 2001 17:20:44 +0000 (17:20 +0000)]
Two more mod_so configure-time fixes:
 - Treat --enable-so=yes as "static" (this includes --enable-so, etc).
 - An explicit --enable-so=shared issues an error.

Put in a note about the last condition that I'm not as sure how to fix:
If the user doesn't explicitly request mod_so, but instead gives a
mass-enable parameter like --enable-modules=most or
--enable-mods-shared=most then it is still possible to enable a bunch
of modules while mod_so itself is not buildable (ie no APR_HAS_DSO or
other build dependency failure).

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

23 years agoI guess this does deserve a CHANGES entry since the problem spanned
Cliff Woolley [Wed, 24 Oct 2001 15:33:16 +0000 (15:33 +0000)]
I guess this does deserve a CHANGES entry since the problem spanned
versions...

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

23 years agoGet rid of an old .cvsignore file so this directory will get pruned
Cliff Woolley [Tue, 23 Oct 2001 23:49:59 +0000 (23:49 +0000)]
Get rid of an old .cvsignore file so this directory will get pruned

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

23 years agoUpdated to the new locking API's
Bradley Nicholes [Tue, 23 Oct 2001 23:33:46 +0000 (23:33 +0000)]
Updated to the new locking API's

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

23 years agoFixed to import the aprlib module and export the httpd api's
Bradley Nicholes [Tue, 23 Oct 2001 23:32:07 +0000 (23:32 +0000)]
Fixed to import the aprlib module and export the httpd api's

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

23 years agoModified to correctly extract the export lists
Bradley Nicholes [Tue, 23 Oct 2001 23:29:50 +0000 (23:29 +0000)]
Modified to correctly extract the export lists

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

23 years agoIf the user explicitly requests --enable-so, --enable-so=yes,
Aaron Bannert [Tue, 23 Oct 2001 23:13:27 +0000 (23:13 +0000)]
If the user explicitly requests --enable-so, --enable-so=yes,
--enable-so=static, or --enable-so=shared but APR_HAS_DSO is
not defined on their system, then it is a fatal error.

Tested on Solaris, but I think it should work everywhere else.

Feel free to change the error message to something
better/more descriptive/etc.

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

23 years agoJust some style peeves. Tabs and spaces and whatnot.
Aaron Bannert [Tue, 23 Oct 2001 21:02:03 +0000 (21:02 +0000)]
Just some style peeves. Tabs and spaces and whatnot.

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

23 years agoset the c->aborted flag when we get EPIPE
Jeff Trawick [Tue, 23 Oct 2001 20:46:02 +0000 (20:46 +0000)]
set the c->aborted flag when we get EPIPE

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

23 years agodon't lose the return code from ap_fwrite() when called from buffer_output()
Jeff Trawick [Tue, 23 Oct 2001 20:43:57 +0000 (20:43 +0000)]
don't lose the return code from ap_fwrite() when called from buffer_output()

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

23 years agoFix the reporting for child processes that die. This removes
Ryan Bloom [Tue, 23 Oct 2001 17:30:07 +0000 (17:30 +0000)]
Fix the reporting for child processes that die.  This removes
all of the non-portable W* macros from Apache.

Submitted by: Jeff Trawick and Ryan Bloom

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

23 years agoadjust for the change to SuExec's default install directory
Greg Ames [Tue, 23 Oct 2001 17:26:57 +0000 (17:26 +0000)]
adjust for the change to SuExec's default install directory

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

23 years agoWin32: Track and display "Parent Server Generation:" in
Bill Stoddard [Tue, 23 Oct 2001 17:13:26 +0000 (17:13 +0000)]
Win32: Track and display "Parent Server Generation:" in
mod_status output. The generation will be bumped at
server graceful restart, when the child process exits
by hitting MaxRequestsPerChild or if the child
process exits abnormally. [Bill Stoddard]

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

23 years agoFix a segfault seen on daedalus earlier this evening. All that was happening
Cliff Woolley [Tue, 23 Oct 2001 09:41:54 +0000 (09:41 +0000)]
Fix a segfault seen on daedalus earlier this evening.  All that was happening
was that we forgot to check whether ctx->bb was empty, so when we pulled the
first bucket, it would be the sentinel, and we'd segfault trying to apr_bucket_read
the sentinel.

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

23 years agoRefresh of the name-vhosting docs.
Joshua Slive [Mon, 22 Oct 2001 20:17:34 +0000 (20:17 +0000)]
Refresh of the name-vhosting docs.

Reviewed by: Allan Liska

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

23 years agoScripts for setting up the build environment and generating the import lists
Bradley Nicholes [Mon, 22 Oct 2001 18:29:45 +0000 (18:29 +0000)]
Scripts for setting up the build environment and generating the import lists

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

23 years agoWin32: Fix server-status 'requests currently being processed' and 'idle workers'
Bill Stoddard [Mon, 22 Oct 2001 17:57:26 +0000 (17:57 +0000)]
Win32: Fix server-status 'requests currently being processed' and 'idle workers'
displays.

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

23 years agoCode Warrior project file for building the httpd server for NetWare
Bradley Nicholes [Mon, 22 Oct 2001 17:39:24 +0000 (17:39 +0000)]
Code Warrior project file for building the httpd server for NetWare

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

23 years agoWin32: Running out of threads should be a warning, not an error.
Bill Stoddard [Mon, 22 Oct 2001 16:08:37 +0000 (16:08 +0000)]
Win32: Running out of threads should be a warning, not an error.

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

23 years agoNetWare doesn't have processes so no need to detach something that
Bradley Nicholes [Mon, 22 Oct 2001 15:20:22 +0000 (15:20 +0000)]
NetWare doesn't have processes so no need to detach something that
doesn't exist

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

23 years agoFix some bungling of the remote port in rfc1413.c so that
Jeff Trawick [Mon, 22 Oct 2001 13:04:12 +0000 (13:04 +0000)]
Fix some bungling of the remote port in rfc1413.c so that
IdentityCheck retrieves the proper user id instead of failing
and thus always returning "nobody."

Submitted by:    Dick Streefland <Dick.Streefland@xs4all.nl>
Reviewed by:     Jeff Trawick

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

23 years ago Remerge proxy configuration. Tally: of 9 votes;
William A. Rowe Jr [Mon, 22 Oct 2001 12:46:29 +0000 (12:46 +0000)]
  Remerge proxy configuration.  Tally: of 9 votes;

  Majority for segregating mod_ssl
  Minority for segregating mod_proxy

  Also remove a lingering bit of ldap config from httpd-std.conf

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

23 years ago Fix two typos in the last patch... compiles/tests clean... Greg, please
William A. Rowe Jr [Mon, 22 Oct 2001 04:36:46 +0000 (04:36 +0000)]
  Fix two typos in the last patch... compiles/tests clean... Greg, please
  run this against Apache.org until the first core and post the results.

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

23 years ago Perhaps fix the segfault... my earlier patch didn't since we already
William A. Rowe Jr [Mon, 22 Oct 2001 04:25:27 +0000 (04:25 +0000)]
  Perhaps fix the segfault... my earlier patch didn't since we already
  memcpy'ed the base into the merged per-dir config.

  This certainly cleans up that function though, and I hope increases
  it's legibility.

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

23 years ago Reading commit log messages can be very helpful for noting inconsistent
William A. Rowe Jr [Sun, 21 Oct 2001 17:56:36 +0000 (17:56 +0000)]
  Reading commit log messages can be very helpful for noting inconsistent
  comments... no code is hurt in this commit

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

23 years ago The test of filename[0] == '/' is very evil ;)
William A. Rowe Jr [Sun, 21 Oct 2001 17:48:21 +0000 (17:48 +0000)]
  The test of filename[0] == '/' is very evil ;)

  More patches required to;

    1. use apr_filepath_merge rather than apr_pstrcat for creating proper
       and canonical paths.

    2. untangle the proxy: fooness that no longer works in directory_walk.

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

23 years agoStyle-guide compliance changes only, no functional differences.
Ken Coar [Sun, 21 Oct 2001 15:57:59 +0000 (15:57 +0000)]
Style-guide compliance changes only, no functional differences.

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

23 years ago Grab this pointer, before it goes NULL
William A. Rowe Jr [Sun, 21 Oct 2001 06:37:25 +0000 (06:37 +0000)]
  Grab this pointer, before it goes NULL

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

23 years ago For Win32 cgi %1 arguments, use backslashes. For $1, use posix slashes.
William A. Rowe Jr [Sun, 21 Oct 2001 06:32:47 +0000 (06:32 +0000)]
  For Win32 cgi %1 arguments, use backslashes.  For $1, use posix slashes.

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

23 years ago On second thought, we like our dot, alot.
William A. Rowe Jr [Sun, 21 Oct 2001 05:59:10 +0000 (05:59 +0000)]
  On second thought, we like our dot, alot.

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

23 years ago Round out const'ness
William A. Rowe Jr [Sun, 21 Oct 2001 04:18:15 +0000 (04:18 +0000)]
  Round out const'ness

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

23 years ago First Patch! [Well, my own typo.]
William A. Rowe Jr [Sun, 21 Oct 2001 04:17:42 +0000 (04:17 +0000)]
  First Patch!  [Well, my own typo.]

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

23 years ago Reimplement Win32 registry-based and shebang-extended scripting.
William A. Rowe Jr [Sun, 21 Oct 2001 04:14:24 +0000 (04:14 +0000)]
  Reimplement Win32 registry-based and shebang-extended scripting.

  Accepts arguments of $* and %* for 'positioned' cgi envvars, provided they
  stand alone (aren't part of another arg.)

  Accepts %1 $1 syntax, quoted or not, but makes no attempt at palacating
  older programs with short paths, just yet.

  About as stable and robust as my first rewrite of dir_walk, so watch out!

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

23 years ago Thread saftey lock for mod_rewrite's cache... I'm sure others will have
William A. Rowe Jr [Sun, 21 Oct 2001 01:24:35 +0000 (01:24 +0000)]
  Thread saftey lock for mod_rewrite's cache... I'm sure others will have
  some 'better ideas' but this will work for now.

Submitted by: Brian Pane <bpane@pacbell.net>

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

23 years ago Simplified mod_env's directives to behave as most directives are
William A. Rowe Jr [Sun, 21 Oct 2001 01:17:11 +0000 (01:17 +0000)]
  Simplified mod_env's directives to behave as most directives are
  expected, in that UnsetEnv will not unset a SetEnv and PassEnv
  directive following that UnsetEnv within the same container.
  Also provides a runtime startup warning if a PassEnv configured
  environment value is undefined.

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

23 years ago Fix a nasty GP fault... stop testing buckets after they are passed!!!
William A. Rowe Jr [Sat, 20 Oct 2001 20:43:37 +0000 (20:43 +0000)]
  Fix a nasty GP fault... stop testing buckets after they are passed!!!

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

23 years ago Restrict by content type and encoding before we go and try to drag in some
William A. Rowe Jr [Sat, 20 Oct 2001 18:54:54 +0000 (18:54 +0000)]
  Restrict by content type and encoding before we go and try to drag in some
  text to merge as headers and footers to autoindex pages.  This will escape
  index.gif from a bold attempt to use IndexHeader index ;)

  Also pass in the args to the subrequest, for anyone trying to decode what
  the user is looking at.  A great example of this coming up.

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

23 years ago Canonicalize all absolute <Directory > sections, not simply those that
William A. Rowe Jr [Sat, 20 Oct 2001 18:29:09 +0000 (18:29 +0000)]
  Canonicalize all absolute <Directory > sections, not simply those that
  fail to end in a '/'.  Slash test is afterwords, once we've canonicalized
  any '\' and other aliases to '/'.

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

23 years agoOh, don't you love buffer overflows?
Justin Erenkrantz [Sat, 20 Oct 2001 18:27:15 +0000 (18:27 +0000)]
Oh, don't you love buffer overflows?
We need to allocate storage space for the terminating NULL AND the extra /
we may tack on to the string at some point.

How in the hell the stars were aligned for this to corrupt newv via the
strcat at line 580 is unknown.

Resolves segfault seen on daedalus.

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

23 years ago ap_run_child_init is not an optional function ;)
William A. Rowe Jr [Sat, 20 Oct 2001 17:16:51 +0000 (17:16 +0000)]
  ap_run_child_init is not an optional function ;)

  Consistify a variable name with the rest of httpd

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

23 years agoWin32: A bit more MaxRequestsPerChild cleanup. Now it should work on
Bill Stoddard [Sat, 20 Oct 2001 14:56:03 +0000 (14:56 +0000)]
Win32: A bit more MaxRequestsPerChild cleanup. Now it should work on
Win 9x as well.

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

23 years agoMissed some error messages in the switch to the new lock system. Added
Aaron Bannert [Fri, 19 Oct 2001 23:45:39 +0000 (23:45 +0000)]
Missed some error messages in the switch to the new lock system. Added
the proc_mutex header for the sake of consistency.

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

23 years agoUgh, at least this got me away from the AIX build system for awhile...
Aaron Bannert [Fri, 19 Oct 2001 23:38:01 +0000 (23:38 +0000)]
Ugh, at least this got me away from the AIX build system for awhile...

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

23 years agoThe worker MPM is now completely ported to APR's new lock API. It
Aaron Bannert [Fri, 19 Oct 2001 23:36:55 +0000 (23:36 +0000)]
The worker MPM is now completely ported to APR's new lock API. It
uses native APR types for thread mutexes, cross-process mutexes,
and condition variables. Who's next?

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

23 years agoUse the APR's new OS-specific proc mutex accessors -- they are used
Aaron Bannert [Fri, 19 Oct 2001 23:32:43 +0000 (23:32 +0000)]
Use the APR's new OS-specific proc mutex accessors -- they are used
here to set permissions on SysV Semaphores. MPMs will be modified to
call this new function as they are ported to the new APR lock API.

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

23 years agoWin32: ap_max_requests_per_child should not be a local static in mpm_winnt.c.
Bill Stoddard [Fri, 19 Oct 2001 21:11:03 +0000 (21:11 +0000)]
Win32: ap_max_requests_per_child should not be a local static in mpm_winnt.c.
This was preventing the MaxRequestsPerChild config directive from working
properly.

Handle MaxRequestsPerChild a bit more sanely.  When MaxRequestsPerChild is hit,
the child signals an event that causes the main child thread to signal the parent
to restart.

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

23 years ago More missing .h goodies
William A. Rowe Jr [Fri, 19 Oct 2001 21:08:43 +0000 (21:08 +0000)]
  More missing .h goodies

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