]> granicus.if.org Git - apache/log
apache
22 years ago Joy, joy. Relax the rules, just a wee bit, and prepare to move the fatal
William A. Rowe Jr [Mon, 24 Sep 2001 21:07:06 +0000 (21:07 +0000)]
  Joy, joy.  Relax the rules, just a wee bit, and prepare to move the fatal
  ending to this filename-less request a bit later in the request cycle, to
  give older, ported modules more time to cope without implementing
  the map_to_storage hook.

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

22 years agoModify the standard config file to match to new semantics of MaxClients
Ryan Bloom [Mon, 24 Sep 2001 06:44:39 +0000 (06:44 +0000)]
Modify the standard config file to match to new semantics of MaxClients
for the Worker MPM
Submitted by:  Aaron Bannert <aaron@clove.org>

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

22 years agoFix MaxClients in the Worker MPM, so that it specifies the maximum
Ryan Bloom [Mon, 24 Sep 2001 06:42:12 +0000 (06:42 +0000)]
Fix MaxClients in the Worker MPM, so that it specifies the maximum
number of clients that can connect at the same time, instead of
specifying the maximum number of child processes.
Submitted by: Aaron Bannert <aaron@clove.org>

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

22 years agoPR:
brian [Mon, 24 Sep 2001 01:38:57 +0000 (01:38 +0000)]
PR:

Updated links.

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

22 years agoWe need to use the APR-generated libtool for building modules.
Justin Erenkrantz [Sun, 23 Sep 2001 18:01:15 +0000 (18:01 +0000)]
We need to use the APR-generated libtool for building modules.

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

22 years agorevert buckets sms phase 1 patch. the group wants to get rid of SMS, so
Cliff Woolley [Sat, 22 Sep 2001 22:37:04 +0000 (22:37 +0000)]
revert buckets sms phase 1 patch. the group wants to get rid of SMS, so
the buckets can't use it.  I'll implement a free-list scheme private
to the buckets next.  in the meanwhile we're back to using malloc/free
directly instead of via the std sms.

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

22 years agow3c tidy to convert to xhtml
Rich Bowen [Sat, 22 Sep 2001 19:39:26 +0000 (19:39 +0000)]
w3c tidy to convert to xhtml

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

22 years agow3c tidy to convert to xhtml. Please verify that foreign language files
Rich Bowen [Sat, 22 Sep 2001 19:18:26 +0000 (19:18 +0000)]
w3c tidy to convert to xhtml. Please verify that foreign language files
in here have not been screwed up.

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

22 years agoRan w3c tidy to convert to xhtml
Rich Bowen [Sat, 22 Sep 2001 19:14:10 +0000 (19:14 +0000)]
Ran w3c tidy to convert to xhtml

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

22 years agoRan tidy to convert to xhtml
Rich Bowen [Sat, 22 Sep 2001 19:12:40 +0000 (19:12 +0000)]
Ran tidy to convert to xhtml

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

22 years agoRan w3c tidy on these as 'tidy -mi -asxml' to get xhtml. Please verify,
Rich Bowen [Sat, 22 Sep 2001 18:53:20 +0000 (18:53 +0000)]
Ran w3c tidy on these as 'tidy -mi -asxml' to get xhtml. Please verify,
in particular, the non-english files, to make sure I did not screw
anything up. They look fine to me.

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

22 years ago By popular demand, the beginnings of an explanation of how the request
William A. Rowe Jr [Sat, 22 Sep 2001 16:48:01 +0000 (16:48 +0000)]
  By popular demand, the beginnings of an explanation of how the request
  phase runs in 2.0 (compared with 1.3.)

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

22 years ago Header abuse.
William A. Rowe Jr [Sat, 22 Sep 2001 16:39:22 +0000 (16:39 +0000)]
  Header abuse.

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

22 years ago Someone isn't coding enough html lately (me)
William A. Rowe Jr [Sat, 22 Sep 2001 16:37:29 +0000 (16:37 +0000)]
  Someone isn't coding enough html lately (me)

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

22 years ago Move API.html over to manual/developer, begin some cleanup.
William A. Rowe Jr [Sat, 22 Sep 2001 15:45:22 +0000 (15:45 +0000)]
  Move API.html over to manual/developer, begin some cleanup.

  Could a DoxyGen'er please update the guidlines in documenting.html?

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

22 years agokill -l requires the short version of the signal (without SIG prefix).
Justin Erenkrantz [Fri, 21 Sep 2001 14:57:43 +0000 (14:57 +0000)]
kill -l requires the short version of the signal (without SIG prefix).
(apachectl graceful was broken.)

The best way to do this is to change configure to internally represent
the signal without the SIG prefix and prepend SIG before substitution
(and export a version without the SIG prefix for apachectl).

This highlights why we want to move apachectl's core functionality into
httpd.

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

22 years agoSwitch proc_pthread to pthread for the AcceptMutex directive.
Justin Erenkrantz [Fri, 21 Sep 2001 14:29:33 +0000 (14:29 +0000)]
Switch proc_pthread to pthread for the AcceptMutex directive.

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

22 years ago AFAICT, we have never created server configs of _all_ modules for _all_
William A. Rowe Jr [Fri, 21 Sep 2001 06:23:29 +0000 (06:23 +0000)]
  AFAICT, we have never created server configs of _all_ modules for _all_
  contexts, only when they come up (e.g., a directive of that particular
  module is provided) with the except that vhost containers complete the
  initialization of all modules.  I haven't stepped this, but it appears
  to be correct.

  This patch assures we can merge two incomplete directory sections
  together.  They will (obviously) need to be merged with a LHS default,
  e.g. a vhost's or main server's default dir config.  That's fine, this
  just allows either the LHS or RHS value to be null, and for merging to
  still succeed.

Reported by:  Sander Striker <striker@apache.org>
Additional Analysis:  Doug MacEachern

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

22 years ago Additional enlightenment for users trying to understand win32 .bat scripts.
William A. Rowe Jr [Thu, 20 Sep 2001 20:50:15 +0000 (20:50 +0000)]
  Additional enlightenment for users trying to understand win32 .bat scripts.

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

22 years agoCurrently, when the map-to-storage handler for TRACE returns DONE, the
Jeff Trawick [Thu, 20 Sep 2001 17:54:51 +0000 (17:54 +0000)]
Currently, when the map-to-storage handler for TRACE returns DONE, the
caller -- ap_process_request_internal() -- catches that and returns
OK to its caller -- ap_process_request().  But ap_process_request(),
seeing OK, tries to run a handler.  It needs to skip that if the
request was completed in ap_process_request_internal().

Reviewed by: William A. Rowe, Jr.

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

22 years agoClean up a compile warning on AIX.
Victor J. Orlikowski [Thu, 20 Sep 2001 14:23:06 +0000 (14:23 +0000)]
Clean up a compile warning on AIX.

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

22 years agoAdd an extra parameter to all apr_proc_wait() calls for the new "exitcode"
Greg Stein [Thu, 20 Sep 2001 09:03:24 +0000 (09:03 +0000)]
Add an extra parameter to all apr_proc_wait() calls for the new "exitcode"
parameter. Pass NULL because we aren't interested in the value.

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

22 years agoAdded New Option 'HTTPProxyOverrideReturnedErrors' which lets the server override
Ian Holsman [Thu, 20 Sep 2001 05:34:50 +0000 (05:34 +0000)]
Added New Option 'HTTPProxyOverrideReturnedErrors' which lets the server override
the error pages returned from the proxied server and replace them with the standard
server error handling on the main server.

Reviewed by: Graham, Chuck

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

22 years agoUpdate doc for the SIGUSR1 change - we no longer use SIGWINCH except on
Justin Erenkrantz [Thu, 20 Sep 2001 03:05:32 +0000 (03:05 +0000)]
Update doc for the SIGUSR1 change - we no longer use SIGWINCH except on
Linux 2.0/glibc 2.0 which doesn't allow SIGUSR1 to be used by programs.

Feel free to change the wording.  I don't care.

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

22 years ago Accomodate the new server/util_time.c module on win32
William A. Rowe Jr [Wed, 19 Sep 2001 20:22:13 +0000 (20:22 +0000)]
  Accomodate the new server/util_time.c module on win32

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

22 years agoif we're gonna trash the connection due to a queue overflow, at the
Jeff Trawick [Wed, 19 Sep 2001 18:47:31 +0000 (18:47 +0000)]
if we're gonna trash the connection due to a queue overflow, at the
very least we should close the socket and write a log message (mostly
to aid debugging, as this is a showstopper problem)

this is no fix; there is a design issue to consider; hopefully this
will

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

22 years agoThere is still some stuff I'd like to do here, but I'll commit what
Joshua Slive [Wed, 19 Sep 2001 15:27:17 +0000 (15:27 +0000)]
There is still some stuff I'd like to do here, but I'll commit what
I have for the moment.  I've done three things:
1. Emphasize that auth does not need to be in .htaccess.
2. Add detailed discussion of each of the auth directives (does this
belong here?)
3. Remove the AuthGroupFile /dev/null which shouldn't be necessary.

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

22 years agoCouple small updates to dso.html
Joshua Slive [Wed, 19 Sep 2001 15:18:16 +0000 (15:18 +0000)]
Couple small updates to dso.html

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

22 years agoFinish some cleanup that Ryan started on dso.html:
Joshua Slive [Wed, 19 Sep 2001 14:49:34 +0000 (14:49 +0000)]
Finish some cleanup that Ryan started on dso.html:
- Add a sumary, index, ext
- put the most important stuff at the top
- remove some obsolete stuff

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

22 years agoThe call to apr_explode_localtime() in mod_log_config is one of the more
Justin Erenkrantz [Wed, 19 Sep 2001 06:53:26 +0000 (06:53 +0000)]
The call to apr_explode_localtime() in mod_log_config is one of the more
expensive operations in the httpd.  This patch attempts to reduce the
overhead by caching the result for 15 seconds.

Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Cliff Woolley, Ryan Bloom, Dean Gaudet, Justin Erenkrantz

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

22 years agoI was kinda hoping those (void)some_function() and (request_rec *)NULL
Cliff Woolley [Wed, 19 Sep 2001 06:34:11 +0000 (06:34 +0000)]
I was kinda hoping those (void)some_function() and (request_rec *)NULL
casts would go away before this committed, but alas I didn't say anything.
:-)  This gets rid of them and a few others just like them that I also
found in worker.c.

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

22 years agoOftentimes, I make no sense whatsoever.
Justin Erenkrantz [Wed, 19 Sep 2001 06:25:07 +0000 (06:25 +0000)]
Oftentimes, I make no sense whatsoever.
(Clean up comment, really...)

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

22 years agoFix case where an included file may change but the shtml file has not -
Justin Erenkrantz [Wed, 19 Sep 2001 06:20:32 +0000 (06:20 +0000)]
Fix case where an included file may change but the shtml file has not -
since we returned Last-Modified/ETag headers, we said that it was possibly
cacheable.  Wrong.

See RFC 2616 13.3.4 for more details (these are SHOULD/MAY clauses, so I
think we can discard them when we are dealing with dynamic data).

(Justin cleaned up the comment to cite RFC 2616.)

Submitted by: Ian Holsman <ianh@cnet.com>
Reviewed by: Justin Erenkrantz, Aaron Bannert, Brian Pane

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

22 years agoThis patch fixes a nasty bug in the worker MPM where the
Justin Erenkrantz [Wed, 19 Sep 2001 05:58:09 +0000 (05:58 +0000)]
This patch fixes a nasty bug in the worker MPM where the
state of the worker threads was not being reported back to the
scoreboard, and eventually all the threads running in the children
would be reported as being in the "C -- closing connection" state.
This would wreak havoc on the idle_server_maintenance() routine. Since
these threads would never be counted as idle, the server would
spawn children as fast as possible.

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

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

22 years agoThis patch eliminates the wasteful run-time conversion of method names from
Justin Erenkrantz [Wed, 19 Sep 2001 05:52:42 +0000 (05:52 +0000)]
This patch eliminates the wasteful run-time conversion of method names from
strings to numbers in places where the methods are known at compile
time.

(Justin fixed the va_end() call to be correct.)

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

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

22 years agoTurn the worker MPM's queue into a LIFO. This may
Ryan Bloom [Tue, 18 Sep 2001 23:09:12 +0000 (23:09 +0000)]
Turn the worker MPM's queue into a LIFO.  This may
improve cache-hit performance under some conditions.

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

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

22 years agoSwitch back to SIGUSR1 for graceful restarts on all platforms that
Justin Erenkrantz [Tue, 18 Sep 2001 22:13:59 +0000 (22:13 +0000)]
Switch back to SIGUSR1 for graceful restarts on all platforms that
support it.  This defines a symbol called AP_SIG_GRACEFUL in
ap_config_auto.h which will have the appropriate signal value.  All
direct references to SIGWINCH have been replaced with AP_SIG_GRACEFUL.

On Linux 2.0, use SIGWINCH instead since SIGUSR1 is used by glibc
2.0's user-space threading library to control threads.  All later
versions of Linux/glibc don't have this problem.  (Not to mention the
security holes in older Linux versions which make it unsuitable for
use as a web server.)  If your platform doesn't have SIGUSR1, use the
appropriate mojo in configure to define what your graceful restart
signal should be.

In theory, a configure switch could be added to allow the admin to
specify the appropriate signal that should be used.  This is left
as an exercise to the reader for now.

The docs need to be updated.  Since the signal is now configurable,
just saying SIGUSR1 for graceful restart isn't completely true.  Also,
the apachectl functionality needs to be moved into httpd - this is
what Win32 does and it makes us consistent across platforms.

Roy issued a veto against use of SIGWINCH by default, so this should
resolve that veto.

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

22 years agoCleanup the worker MPM. We no longer re-use transaction
Ryan Bloom [Tue, 18 Sep 2001 21:14:18 +0000 (21:14 +0000)]
Cleanup the worker MPM.  We no longer re-use transaction
pools.  This incurs less overhead than shuffling the pools
around so that they can be re-used.  Remove one of the
queue's condition variables.  We just redefined the API to
state that you can't try to add more stuff than you allocated
segments for.

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

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

22 years agoAllow VPATH builds for SSL.
Ryan Bloom [Tue, 18 Sep 2001 20:31:37 +0000 (20:31 +0000)]
Allow VPATH builds for SSL.
Submitted by:  Cody Sherr <csherr@covalent.net>

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

22 years agoIf we are going to have an optional function, we have to install that
Ryan Bloom [Tue, 18 Sep 2001 15:02:19 +0000 (15:02 +0000)]
If we are going to have an optional function, we have to install that
header file, so that people can use it.

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

22 years agoI always forget this file...
Greg Stein [Tue, 18 Sep 2001 09:06:33 +0000 (09:06 +0000)]
I always forget this file...

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

22 years agoSimplify dav_propdb_define_namespaces(); since we're putting the value in
Greg Stein [Tue, 18 Sep 2001 08:40:25 +0000 (08:40 +0000)]
Simplify dav_propdb_define_namespaces(); since we're putting the value in
the pool (now), forget the stack-based buffer altogether.

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

22 years agoRevamp the API that mod_dav uses to talk to back end deadprop (propdb)
Greg Stein [Tue, 18 Sep 2001 04:09:19 +0000 (04:09 +0000)]
Revamp the API that mod_dav uses to talk to back end deadprop (propdb)
providers. The old API was really based on how the FS stored properties, but
sucked for other types of providers (SQL databases, Subversion, etc). This
new code is overall much cleaner as it moves from a DBM style API to one
tuned for actual mod_dav operation; it also more flexible/clearer for future
improvements (e.g. dropping props directly to the wire rather than buffering
in memory).

This new API allows the provider to better define namespace handling during
the output of the values, how values are serialized and stored, the mapping
between elements' namespaces and the internalized namespace storage, a
clearer mechanism for naming properties (dav_prop_name), and an explicit
rollback mechanism to deal with PROPPATCH atomicity.

Updated the FS provider (fs/dbm.c) to the new API, mostly by moving code
from main/props.c. Of course, with the new semantics, some big changes in
the namespace mapping were made.

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

22 years agoNow that we have apr_datum_t, convert some uses of dav_datum over to
Greg Stein [Tue, 18 Sep 2001 03:55:41 +0000 (03:55 +0000)]
Now that we have apr_datum_t, convert some uses of dav_datum over to
apr_datum_t (the two are equivalent).

Expose some of the DAVFS' internal DBM cover functions and have the locking
code use them directly, rather than thru the vtable. That vtable will be
changing shortly, so this shift is needed.

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

22 years agoNeed to store the pool into the xmlns structure.
Greg Stein [Tue, 18 Sep 2001 03:46:13 +0000 (03:46 +0000)]
Need to store the pool into the xmlns structure.

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

22 years agoFix constness problem reported by gcc:
Cliff Woolley [Tue, 18 Sep 2001 03:33:30 +0000 (03:33 +0000)]
Fix constness problem reported by gcc:

mod_cgi.c: In function `include_cmd':
mod_cgi.c:812: warning: passing arg 1 of pointer to function from incompatible
pointer type

Reported by: Ian's autobuild

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

22 years agoDoxygenize this
Cliff Woolley [Tue, 18 Sep 2001 03:21:29 +0000 (03:21 +0000)]
Doxygenize this

Submitted by: Ian Holsman

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

22 years ago Here's the declaration for all to share. Don't expect many to use it.
William A. Rowe Jr [Mon, 17 Sep 2001 22:12:49 +0000 (22:12 +0000)]
  Here's the declaration for all to share.  Don't expect many to use it.

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

22 years ago Remove the Win32 script-processing exception from mod_cgi, and
William A. Rowe Jr [Mon, 17 Sep 2001 21:07:36 +0000 (21:07 +0000)]
   Remove the Win32 script-processing exception from mod_cgi, and
   roll build_command_line/build_argv_list into a unified, overrideable
   ap_cgi_build_command optional function.

   Eliminates a ton of Win32 cruft from core.c for registry parsing.
   Win32 (through the default handler, and newest changes to the
   apr_proc_create fn) continues to serve .bat/.exe files.  This is in
   preparation for adding modules/arch/win32/mod_win32 for scripts.

   Please review the mod_cgi.c behavior very carefully.

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

22 years agoAdd another improvement idea
Ken Coar [Mon, 17 Sep 2001 18:32:45 +0000 (18:32 +0000)]
Add another improvement idea

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

22 years agoImprove readibility (indenting)
Martin Kraemer [Mon, 17 Sep 2001 14:34:39 +0000 (14:34 +0000)]
Improve readibility (indenting)

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

22 years agoTemporary hack to ensure that the split results are within a brigade
Greg Stein [Mon, 17 Sep 2001 13:12:37 +0000 (13:12 +0000)]
Temporary hack to ensure that the split results are within a brigade
attached to the proper pool. Otherwise, ctx->b would end up associated with
the request pool, and the SOCKET bucket from the CORE_IN filter would get
cleared at request end (thus the next request would go to CORE_IN for more
data and get APR_EOF, and figured there were no more requests).

This section of code was only triggered when a request had a body. The
symptom was closing the connection (even though it should have been a
keepalive) after the response was sent.

For more info, see Message-ID on dev@: <20010917061613.B466@lyra.org>

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

22 years agoFound the persistent connection problem I've been observing. Nasty result of
Greg Stein [Mon, 17 Sep 2001 11:22:52 +0000 (11:22 +0000)]
Found the persistent connection problem I've been observing. Nasty result of
the problems in the input filter stack. Time to rejigger, per the
discussions we've had.

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

22 years agoChange the type to be consistent with wrowe's changes.
Justin Erenkrantz [Mon, 17 Sep 2001 02:53:01 +0000 (02:53 +0000)]
Change the type to be consistent with wrowe's changes.

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

22 years ago Nothing complains when I change these ints for consistency to apr_size_t.
William A. Rowe Jr [Mon, 17 Sep 2001 02:42:01 +0000 (02:42 +0000)]
  Nothing complains when I change these ints for consistency to apr_size_t.

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

22 years ago Time to kill mod_auth_db? More thoughts on using apr-util with auth_dbm.
William A. Rowe Jr [Mon, 17 Sep 2001 02:33:40 +0000 (02:33 +0000)]
  Time to kill mod_auth_db?  More thoughts on using apr-util with auth_dbm.

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

22 years ago Eliminate mod_tls references.
William A. Rowe Jr [Mon, 17 Sep 2001 01:28:39 +0000 (01:28 +0000)]
  Eliminate mod_tls references.

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

22 years agoMaxClients was incorrectly discussed as "MaxServers"
Rich Bowen [Sun, 16 Sep 2001 20:38:07 +0000 (20:38 +0000)]
MaxClients was incorrectly discussed as "MaxServers"

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

22 years agoAdded links to related directives, related modules.
Rich Bowen [Sun, 16 Sep 2001 20:12:16 +0000 (20:12 +0000)]
Added links to related directives, related modules.

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

22 years agoTypo in URL
Rich Bowen [Sun, 16 Sep 2001 19:57:04 +0000 (19:57 +0000)]
Typo in URL

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

22 years agoClose the same directive we open
Chuck Murcko [Sun, 16 Sep 2001 19:15:59 +0000 (19:15 +0000)]
Close the same directive we open

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

22 years agoComment about using a type-map file, rather than using MultiViews
Rich Bowen [Sun, 16 Sep 2001 03:39:15 +0000 (03:39 +0000)]
Comment about using a type-map file, rather than using MultiViews

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

22 years agoA chilly day in Charlottesville...
Cliff Woolley [Sat, 15 Sep 2001 19:18:59 +0000 (19:18 +0000)]
A chilly day in Charlottesville...

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

22 years agoFix test for ltconfig, m4 processing removes the square brackets.
Brian Havard [Sat, 15 Sep 2001 11:44:55 +0000 (11:44 +0000)]
Fix test for ltconfig, m4 processing removes the square brackets.
(I just happened to notice "-f: not found" while running configure)

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

22 years agoAdded the conf file template for NetWare
Bradley Nicholes [Fri, 14 Sep 2001 23:33:28 +0000 (23:33 +0000)]
Added the conf file template for NetWare

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

22 years agoAdded the HTTPD_ROOT path for NetWare
Bradley Nicholes [Fri, 14 Sep 2001 23:30:41 +0000 (23:30 +0000)]
Added the HTTPD_ROOT path for NetWare

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

22 years agoAdded NetWare to the #ifdef list
Bradley Nicholes [Fri, 14 Sep 2001 23:28:41 +0000 (23:28 +0000)]
Added NetWare to the #ifdef list

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

22 years agoAdded NetWare to the Win32 ifdef list
Bradley Nicholes [Fri, 14 Sep 2001 23:26:27 +0000 (23:26 +0000)]
Added NetWare to the Win32 ifdef list

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

22 years agorules.mk is found in the build directory, not the src dir.
Ryan Bloom [Fri, 14 Sep 2001 17:43:03 +0000 (17:43 +0000)]
rules.mk is found in the build directory, not the src dir.

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

22 years agoAllow make install to work when built with VPATH.
Ryan Bloom [Thu, 13 Sep 2001 22:19:13 +0000 (22:19 +0000)]
Allow make install to work when built with VPATH.

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

22 years agorules.mk is found in the builddir now.
Ryan Bloom [Thu, 13 Sep 2001 20:54:33 +0000 (20:54 +0000)]
rules.mk is found in the builddir now.

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

22 years agoAdded AP_DECLARE_DATA to unixd_config, so that it makes it into the exp file.
Victor J. Orlikowski [Thu, 13 Sep 2001 20:41:15 +0000 (20:41 +0000)]
Added AP_DECLARE_DATA to unixd_config, so that it makes it into the exp file.
Submitted by: Mark Nesbitt <mnesbitt@us.ibm.com>

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

22 years agoThis broke the build. Looking for a clean solution now.
Ryan Bloom [Thu, 13 Sep 2001 16:58:20 +0000 (16:58 +0000)]
This broke the build.  Looking for a clean solution now.

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

22 years agoGotta find rules.mk in the build directory, not the source.
Ryan Bloom [Thu, 13 Sep 2001 15:57:03 +0000 (15:57 +0000)]
Gotta find rules.mk in the build directory, not the source.

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

22 years agoRemove mod_tls from the Windows project file.
Ryan Bloom [Thu, 13 Sep 2001 15:22:31 +0000 (15:22 +0000)]
Remove mod_tls from the Windows project file.

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

22 years agorules.mk is stored in $(top_blddir). Without this change, VPATH builds
Ryan Bloom [Thu, 13 Sep 2001 06:49:09 +0000 (06:49 +0000)]
rules.mk is stored in $(top_blddir).  Without this change, VPATH builds
stop working.

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

22 years agoMention of logrotate as an alternative to HostnameLookups
Rich Bowen [Thu, 13 Sep 2001 04:37:20 +0000 (04:37 +0000)]
Mention of logrotate as an alternative to HostnameLookups

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

22 years agoRemove mod_tls. All of the filters in mod_tls can now be found in
Ryan Bloom [Wed, 12 Sep 2001 19:50:56 +0000 (19:50 +0000)]
Remove mod_tls.  All of the filters in mod_tls can now be found in
mod_ssl.  Also, mod_ssl is being kept up to date, while mod_tls is not,
so that if you use mod_tls, there are a lot of bugs, both security related,
and otherwise.

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

22 years agoRemove an error during configure. Libtool 1.4 doesn't have ltconfig.
Ryan Bloom [Wed, 12 Sep 2001 19:31:12 +0000 (19:31 +0000)]
Remove an error during configure.  Libtool 1.4 doesn't have ltconfig.

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

22 years agoA very small optimization to the OLD_WRITE logic. This just makes us store
Ryan Bloom [Tue, 11 Sep 2001 18:38:21 +0000 (18:38 +0000)]
A very small optimization to the OLD_WRITE logic.  This just makes us store
a pointer to the OLD_WRITE frec, and instead of using strcmp or strcasecmp,
we can just do a simple pointer comparison.  This optimization is also
available to other modules.

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

22 years agoMaintain info structure in mod_mem_cache. This fixes bug where the content
Bill Stoddard [Tue, 11 Sep 2001 17:41:05 +0000 (17:41 +0000)]
Maintain info structure in mod_mem_cache. This fixes bug where the content
type was lost when content was put in the cache.

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

22 years agoAdd an opaque datatype for managing a set of XML namespace declarations.
Greg Stein [Tue, 11 Sep 2001 12:29:28 +0000 (12:29 +0000)]
Add an opaque datatype for managing a set of XML namespace declarations.
Part of an upcoming propdb API improvement.

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

22 years agoadd a note about an uninitialized variable
Jeff Trawick [Tue, 11 Sep 2001 11:25:28 +0000 (11:25 +0000)]
add a note about an uninitialized variable

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

22 years agofix a typo which prevented mod_mem_cache from compiling with
Jeff Trawick [Tue, 11 Sep 2001 11:19:23 +0000 (11:19 +0000)]
fix a typo which prevented mod_mem_cache from compiling with
AP_DEBUG_ASSERT() enabled

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

23 years agoIntroduce the notion of a multi part cache object. Part of the cache_object
Bill Stoddard [Mon, 10 Sep 2001 18:09:56 +0000 (18:09 +0000)]
Introduce the notion of a multi part cache object. Part of the cache_object
is common across any cache implementation, the other part is private to
the particular implementation (eg, mem_cache_object_t/mod_mem_cache).
Use a cache_handle_t allocated out of the request pool to hold references
to the callback functions and common cache object.

The cache_handle_t contains implementation specific callback functions and
a reference to a common cache_object_t.  The cache_object_t contains
a reference to an implementation specific cache object extension (mem_cache_object_t
for example).

All this simplifies managing the callback function pointers (don't want to
save them in each cache entry) and collections of cache_object_t keyed
to a single url.

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

23 years ago Everything on my mind at the moment (about 2.0 stability).
William A. Rowe Jr [Mon, 10 Sep 2001 15:18:01 +0000 (15:18 +0000)]
  Everything on my mind at the moment (about 2.0 stability).

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

23 years agoDon't try to mkdir drive letters should they be included in a full path.
Brian Havard [Mon, 10 Sep 2001 14:30:53 +0000 (14:30 +0000)]
Don't try to mkdir drive letters should they be included in a full path.

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

23 years agoIt is completely bogus that I feel I have to do this. I remain -1 for
Ryan Bloom [Mon, 10 Sep 2001 13:45:12 +0000 (13:45 +0000)]
It is completely bogus that I feel I have to do this.  I remain -1 for
doing this, but I won't veto it.  I am 100% with JimJ on this.  We are
making this decision at the wrong time, and for the wrong reasons.  I
do not believe that this module ever belongs in the core, and I haven't
heard a single valid reason for using it.  Even the SSL reason has been
removed in my mind, due to the fact that we are now thinking of
removing mod_gz if the correct cipher is used, because the correct cipher
will compress for us.

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

23 years agoneed some rain
Jeff Trawick [Mon, 10 Sep 2001 11:19:52 +0000 (11:19 +0000)]
need some rain

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

23 years agoExperimental, yes; anywhere else, no. No rush, but 2.0 before GA, sez I.
Ken Coar [Mon, 10 Sep 2001 11:05:51 +0000 (11:05 +0000)]
Experimental, yes; anywhere else, no.  No rush, but 2.0 before GA, sez I.

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

23 years ago I don't seriously expect this solves the segfault ... but it does make
William A. Rowe Jr [Mon, 10 Sep 2001 04:21:40 +0000 (04:21 +0000)]
  I don't seriously expect this solves the segfault ... but it does make
  the code more legible, and protects particularly ugly unset values.

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

23 years ago apr_filepath_merge includes APR_FILEPATH_SECURE_ROOT tests that can
William A. Rowe Jr [Mon, 10 Sep 2001 03:58:26 +0000 (03:58 +0000)]
  apr_filepath_merge includes APR_FILEPATH_SECURE_ROOT tests that can
  easily (and cross-platform, safely) assure a path is within a given root.

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

23 years ago This patch is insufficient (highlights an existing problem) for OS2 and
William A. Rowe Jr [Mon, 10 Sep 2001 03:56:45 +0000 (03:56 +0000)]
  This patch is insufficient (highlights an existing problem) for OS2 and
  Netware, especially, and any other platform with odd native requirements
  for the PATH_TRANSLATED variable (where it should look like a filesystem
  entity for non-unixish cgi's.)

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

23 years ago There is no errno using apr. A quick grep reveals a dozen or so files
William A. Rowe Jr [Mon, 10 Sep 2001 03:51:28 +0000 (03:51 +0000)]
  There is no errno using apr.  A quick grep reveals a dozen or so files
  with serious errno problems, particularly in mod_dav :(

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

23 years agoAdded links to the AddInputFilter directive, which is otherwise rather
Rich Bowen [Sun, 9 Sep 2001 20:02:41 +0000 (20:02 +0000)]
Added links to the AddInputFilter directive, which is otherwise rather
hard to stumble across.

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

23 years agoAdd links to the AddOutputFilter directive, which was otherwise rather
Rich Bowen [Sun, 9 Sep 2001 18:53:05 +0000 (18:53 +0000)]
Add links to the AddOutputFilter directive, which was otherwise rather
hard to find.

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

23 years agoHot, humid but a clear autumn sky.
Ben Hyde [Sat, 8 Sep 2001 17:58:06 +0000 (17:58 +0000)]
Hot, humid but a clear autumn sky.

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

23 years ago The per_dir_merge overlay of AddInputFilter/AddOutputFilter must
William A. Rowe Jr [Sat, 8 Sep 2001 05:50:12 +0000 (05:50 +0000)]
  The per_dir_merge overlay of AddInputFilter/AddOutputFilter must
  absolutely replace a prior definition for the same file extension.
  Picture AddOutputFilter Includes .html in a directory, and needing
  to replace that behavior in a subdirectory which does not contain
  SSI html files.  This behavior must remain consistent to the other
  mime behaviors, as documented in manual/mod/mod_mime.html

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

23 years agoThe threaded MPM not working is not because of httpd or APR. Threads
Ryan Bloom [Sat, 8 Sep 2001 01:10:29 +0000 (01:10 +0000)]
The threaded MPM not working is not because of httpd or APR.  Threads
are horribly broken on FreeBSD, and there is nothing we can do to fix
them.  Unless, of course, somebody wants to contribute code to the
FreeBSD project.

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

23 years agoBright and sunny in C'ville...
Cliff Woolley [Fri, 7 Sep 2001 20:05:06 +0000 (20:05 +0000)]
Bright and sunny in C'ville...

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