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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 years agoFirst pass at converting worker MPM to APR's new lock API. This converts
Aaron Bannert [Wed, 17 Oct 2001 00:59:18 +0000 (00:59 +0000)]
First pass at converting worker MPM to APR's new lock API. This converts
the APR_INTRAPROCESS locks into lightweight, non-nested apr_thread_mutex_t
locks.

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

23 years agoSSL config is large, complex & many users never need to see it at all.
Brian Havard [Wed, 17 Oct 2001 00:58:32 +0000 (00:58 +0000)]
SSL config is large, complex & many users never need to see it at all.

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

23 years ago It is absolutely invalid practice to test 'prot' bits to determine if a
William A. Rowe Jr [Wed, 17 Oct 2001 00:03:22 +0000 (00:03 +0000)]
  It is absolutely invalid practice to test 'prot' bits to determine if a
  file is readable.  The only acceptable means of testing readability is to
  open it for reading, due to discrepancies between permissions, DACLs and
  SACLS.  Even Linux hackers are gonna need to learn that lesson if they
  plan to do any DOD or Gov work once DACL-enhanced Linux is adopted.

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

23 years ago Already committed in similar form to Apache 1.3.22-dev, this patch allows
William A. Rowe Jr [Tue, 16 Oct 2001 23:49:25 +0000 (23:49 +0000)]
  Already committed in similar form to Apache 1.3.22-dev, this patch allows
  Win32/OS2/Netware paths to work with mod_vhost_alias.

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

23 years agoFirst cut at the MPM for NetWare
Bradley Nicholes [Tue, 16 Oct 2001 23:27:04 +0000 (23:27 +0000)]
First cut at the MPM for NetWare

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

23 years agoOS specific file for NetWare
Bradley Nicholes [Tue, 16 Oct 2001 23:25:46 +0000 (23:25 +0000)]
OS specific file for NetWare

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  Reverts 1.68, as suggested by Brian Havard.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Thanks to Doug for pointing out that something broke.

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

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

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

Thanks to Roy for pointing it out.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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