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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 years agomaxrequestsperchild should default to 0 on windows.
Bill Stoddard [Fri, 19 Oct 2001 20:30:16 +0000 (20:30 +0000)]
maxrequestsperchild should default to 0 on windows.

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

22 years agoHey, we tagged 2.0.26. =)
Justin Erenkrantz [Fri, 19 Oct 2001 06:11:52 +0000 (06:11 +0000)]
Hey, we tagged 2.0.26.  =)
We're now waiting for it to be discarded or we need to bump the tag on
server/core.c.  And, we need to fix the proc_wait thing to someone's
satisfaction.

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

22 years agoKing of Love seems to be playing on my xmms right now...
Justin Erenkrantz [Fri, 19 Oct 2001 06:08:05 +0000 (06:08 +0000)]
King of Love seems to be playing on my xmms right now...

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

22 years agoRemove all references to the Port directive and replace it with
Justin Erenkrantz [Fri, 19 Oct 2001 06:05:39 +0000 (06:05 +0000)]
Remove all references to the Port directive and replace it with
appropriate links to the Listen directive.

If I had known that so many files had the Port directive in it, I would
have bundled this up as one big commit.  *sigh*  I just kept looking
and finding new files, fixing, and committing.  So, this should be the
rest of them for now.

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

22 years agoJust browsing...
Justin Erenkrantz [Fri, 19 Oct 2001 06:00:52 +0000 (06:00 +0000)]
Just browsing...

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

22 years agoRemove the reference to Port directive and replace it with Listen.
Justin Erenkrantz [Fri, 19 Oct 2001 05:57:47 +0000 (05:57 +0000)]
Remove the reference to Port directive and replace it with Listen.

Who knows if the rest of this file is still valid?

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

22 years agoRemove Port references
Justin Erenkrantz [Fri, 19 Oct 2001 05:53:53 +0000 (05:53 +0000)]
Remove Port references

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

22 years agoRemove references to Port directive.
Justin Erenkrantz [Fri, 19 Oct 2001 05:52:07 +0000 (05:52 +0000)]
Remove references to Port directive.

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

22 years agoRemove note about Port in the Listen manual citation
Justin Erenkrantz [Fri, 19 Oct 2001 05:49:49 +0000 (05:49 +0000)]
Remove note about Port in the Listen manual citation

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

22 years agoRemove references to Port
Justin Erenkrantz [Fri, 19 Oct 2001 05:47:07 +0000 (05:47 +0000)]
Remove references to Port
Clean up formatting that may have been caused by htmltidy?

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

22 years agoBring this page up-to-date
Justin Erenkrantz [Fri, 19 Oct 2001 05:35:43 +0000 (05:35 +0000)]
Bring this page up-to-date

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

22 years agoUpdate the vhost docs to not refer to Port anymore.
Justin Erenkrantz [Fri, 19 Oct 2001 05:24:33 +0000 (05:24 +0000)]
Update the vhost docs to not refer to Port anymore.

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

22 years ago And where, praytell, should mod_proxy.c find ap_send_http_options
William A. Rowe Jr [Fri, 19 Oct 2001 05:01:13 +0000 (05:01 +0000)]
  And where, praytell, should mod_proxy.c find ap_send_http_options
  and ap_send_http_trace?

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

22 years ago Listen to my own advise. Fortunately, the new apr_pool_readonly code
William A. Rowe Jr [Fri, 19 Oct 2001 02:08:44 +0000 (02:08 +0000)]
  Listen to my own advise.  Fortunately, the new apr_pool_readonly code
  catches these in no time ;)

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

22 years ago Guys... please be _careful_ when you pcalloc -> palloc!!!
William A. Rowe Jr [Fri, 19 Oct 2001 02:05:48 +0000 (02:05 +0000)]
  Guys... please be _careful_ when you pcalloc -> palloc!!!

  Resolves GAmes' segfault observations

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

22 years agoTeach me to copy and paste.
Ryan Bloom [Thu, 18 Oct 2001 20:56:49 +0000 (20:56 +0000)]
Teach me to copy and paste.

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

22 years agoMake sure we install the proxy header file.
Ryan Bloom [Thu, 18 Oct 2001 19:59:00 +0000 (19:59 +0000)]
Make sure we install the proxy header file.

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

22 years agoThe proxy does not actually need this header.
Ryan Bloom [Thu, 18 Oct 2001 19:51:49 +0000 (19:51 +0000)]
The proxy does not actually need this header.

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

22 years agoThese files were already defined in EXPORT_FILES, so reuse them.
Aaron Bannert [Thu, 18 Oct 2001 18:35:18 +0000 (18:35 +0000)]
These files were already defined in EXPORT_FILES, so reuse them.

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

22 years ago Gotta love it
William A. Rowe Jr [Thu, 18 Oct 2001 15:41:48 +0000 (15:41 +0000)]
  Gotta love it

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

22 years agoCleanup. Win32 Apache only supports a single child process so get rid of all the
Bill Stoddard [Thu, 18 Oct 2001 15:39:41 +0000 (15:39 +0000)]
Cleanup. Win32 Apache only supports a single child process so get rid of all the
cruft that assumes otherwise.

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

22 years ago As GStein points out... comment here would be helpful
William A. Rowe Jr [Thu, 18 Oct 2001 13:12:32 +0000 (13:12 +0000)]
  As GStein points out... comment here would be helpful

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

22 years agoOS specific header for NetWare
Bradley Nicholes [Wed, 17 Oct 2001 22:50:22 +0000 (22:50 +0000)]
OS specific header for NetWare

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

22 years agoTemporarily removed the cgi module from the built in modules list until we
Bradley Nicholes [Wed, 17 Oct 2001 22:49:39 +0000 (22:49 +0000)]
Temporarily removed the cgi module from the built in modules list until we
can figure out how to handle it.

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

22 years agoBrought the conf file up to date with the latest source
Bradley Nicholes [Wed, 17 Oct 2001 22:48:14 +0000 (22:48 +0000)]
Brought the conf file up to date with the latest source

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

22 years agoGets VPATH builds working again. The problem was that apr.h is generated
Aaron Bannert [Wed, 17 Oct 2001 21:34:29 +0000 (21:34 +0000)]
Gets VPATH builds working again. The problem was that apr.h is generated
by autoconf and then placed in the builddir, not the srcdir (which we
didn't notice until we tried to do VPATH). When cpp couldn't find apr.h
we would decide not to build mod_so, which is kinda bad.

Now we include both paths when we test for APR_HAS_DSO and everyone is happy.

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

22 years agoget rid of a reference to access.conf
Greg Ames [Wed, 17 Oct 2001 17:55:07 +0000 (17:55 +0000)]
get rid of a reference to access.conf

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

22 years agoFully convert worker's fdqueue to the new APR lock API:
Aaron Bannert [Wed, 17 Oct 2001 16:29:37 +0000 (16:29 +0000)]
Fully convert worker's fdqueue to the new APR lock API:
- Mutexes and Condition Variables from APR are now used instead of
  direct (non-portable) calls to pthread.

Still need to fully APRize these routines, particularly the return
values. In many cases a failed lock or cond var call will simply return
FD_QUEUE_FAILURE. This should obviously instead return the appropriate
APR error code.

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

22 years agoI certainly see the advantage of having SSL split out into another file.
Joshua Slive [Wed, 17 Oct 2001 15:57:04 +0000 (15:57 +0000)]
I certainly see the advantage of having SSL split out into another file.
And indeed, that is the way that I would do it for my own server.  But
the default config file is really there for beginners, not for advanced
users.  Having multiple config files is bad for beginners because it
makes it difficult to answer questions like "where do I put this config
directive?"  It also makes it more difficult to move a specific configuration
from one server to another.  Finally, it is just overall more intimidating
to be faced with a bunch of files to edit, rather than one file that
controls everything.

Having said that, it does look like the overall feeling is that at least
SSL should be split out, and I won't object (strongly).

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

22 years agoWin32: Deprecate ap_start_shutdown/ap_start_restart in favor of ap_signal_parent...
Bill Stoddard [Wed, 17 Oct 2001 15:51:22 +0000 (15:51 +0000)]
Win32: Deprecate ap_start_shutdown/ap_start_restart in favor of ap_signal_parent(enum).
This simplifies the code a bit for some more MPM cleanup work forthcoming.

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

22 years ago Whoops ... invalid <Directory /> blocks for the new 'manual' tree location
William A. Rowe Jr [Wed, 17 Oct 2001 15:37:19 +0000 (15:37 +0000)]
  Whoops ... invalid <Directory /> blocks for the new 'manual' tree location

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

22 years agoNot sure if the number of directives in a normal proxy setup would
Jim Jagielski [Wed, 17 Oct 2001 15:32:22 +0000 (15:32 +0000)]
Not sure if the number of directives in a normal proxy setup would
warrant needing a whole separate config file. I see such break outs
as pretty much dependent on the number of lines it adds to
httpd.conf... with SSL it makes sense. With proxy, well, I'm not
sure. To be honest, though, breaking out both won't trouble me
a bit, but this is my pref.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agorecognize filename subrequests without requiring a null URI. This fixes
Greg Ames [Wed, 17 Oct 2001 15:12:13 +0000 (15:12 +0000)]
recognize filename subrequests without requiring a null URI.  This fixes
a problem with infinite recursion of dirent subrequests.

Submitted by:  Bill Rowe

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

22 years ago The argument that this is a reversion to the httpd/access/srm
Ken Coar [Wed, 17 Oct 2001 14:50:48 +0000 (14:50 +0000)]
The argument that this is a reversion to the httpd/access/srm
multifile scenario is bogus, IMHO; the problem with those
was that their purposes were not clear, nor were the orders
of invocation.  Putting massive (or tiny but uncommon) chunks
of easily self-contained special-function directives into
separate files simplifies the basic configuration and doesn't
revert to either of the trinity-file complaints, since these
would need to be explicitly invoked with an Include directive.

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

22 years ago Some type correctness fixes for LARGEFILES platforms.
William A. Rowe Jr [Wed, 17 Oct 2001 13:42:22 +0000 (13:42 +0000)]
  Some type correctness fixes for LARGEFILES platforms.

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