]> granicus.if.org Git - apache/log
apache
23 years agoI only suggested a scheme. Ryan did the work.
Greg Stein [Fri, 12 Jan 2001 10:22:52 +0000 (10:22 +0000)]
I only suggested a scheme. Ryan did the work.

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

23 years agoNot the best explanation, but at least the start of one
Jim Jagielski [Fri, 12 Jan 2001 04:44:47 +0000 (04:44 +0000)]
Not the best explanation, but at least the start of one

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

23 years agoDocument the changes in how
Jim Jagielski [Fri, 12 Jan 2001 04:16:37 +0000 (04:16 +0000)]
Document the changes in how
hints.m4 works and the additional of NOTEST_*

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

23 years agoGet some sleep. sh != C
Jim Jagielski [Fri, 12 Jan 2001 04:10:02 +0000 (04:10 +0000)]
Get some sleep. sh != C

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

23 years agoAvoid confusion at times when someone may
Jim Jagielski [Fri, 12 Jan 2001 04:08:51 +0000 (04:08 +0000)]
Avoid confusion at times when someone may
expect it to be reapplied, but it isn't

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

23 years ago Build was broken on some pure unixish awks, this fixes.
William A. Rowe Jr [Fri, 12 Jan 2001 03:38:28 +0000 (03:38 +0000)]
  Build was broken on some pure unixish awks, this fixes.

Obtained from: new-httpd
Submitted by: Roman Neuhauser

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

23 years agoRemove a couple more NULL handler specifications.
Ryan Bloom [Fri, 12 Jan 2001 01:08:22 +0000 (01:08 +0000)]
Remove a couple more NULL handler specifications.

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

23 years agoStop using environment variables to set ONE_PROCESS and NO_DETACH. Now
Ryan Bloom [Fri, 12 Jan 2001 00:56:13 +0000 (00:56 +0000)]
Stop using environment variables to set ONE_PROCESS and NO_DETACH.  Now
we use the -D command line argument to Apache to configure these
options.
Submitted by: Greg Stein

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

23 years agoPer suggestion, tuck NOTEST_* in config_vars.mk. Yep, I changed
Jim Jagielski [Fri, 12 Jan 2001 00:24:40 +0000 (00:24 +0000)]
Per suggestion, tuck NOTEST_* in config_vars.mk. Yep, I changed
the name. NONAC_* causes autoconf to complain loud and long.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agonote that rewrite map expansions work in rewriteconds
Tony Finch [Thu, 11 Jan 2001 23:29:16 +0000 (23:29 +0000)]
note that rewrite map expansions work in rewriteconds

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

23 years agoget rid of an unused variable
Jeff Trawick [Thu, 11 Jan 2001 20:14:04 +0000 (20:14 +0000)]
get rid of an unused variable

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

23 years agoMy bad... don't need the quotes here
Jim Jagielski [Thu, 11 Jan 2001 19:48:38 +0000 (19:48 +0000)]
My bad... don't need the quotes here

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

23 years agoFold into all Makefiles
Jim Jagielski [Thu, 11 Jan 2001 19:44:48 +0000 (19:44 +0000)]
Fold into all Makefiles

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

23 years agoBegining stub of NONAC_LDFLAGS and NONAC_CFLAGS stuff.
Jim Jagielski [Thu, 11 Jan 2001 19:25:29 +0000 (19:25 +0000)]
Begining stub of NONAC_LDFLAGS and NONAC_CFLAGS stuff.
First of all, avoid re-adding values to the various hints
each time called (not a problem now, but could be later).
Then build up CFLAGS/LDFLAGS during Makefile generation.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoIt is not sufficient to reset the file pointer before each call to ap_send_fd. A...
Bill Stoddard [Thu, 11 Jan 2001 18:50:09 +0000 (18:50 +0000)]
It is not sufficient to reset the file pointer before each call to ap_send_fd.  A better solution
is to make certain that only apr_sendfile() will be used to send content with a cached file handle.
This assumes that apr_sendfile() should not rely on the position of the file pointer. I suspect that
sendfile implementations that rely on the position of the file pointer are broken and we should not
use sendfile on those platforms.

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

23 years agoChange some INFO messages to DEBUG messages. Cleanup some message wording.
Bill Stoddard [Thu, 11 Jan 2001 15:10:10 +0000 (15:10 +0000)]
Change some INFO messages to DEBUG messages. Cleanup some message wording.

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

23 years agoFix typo in anchor name.
Yoshiki Hayashi [Thu, 11 Jan 2001 06:17:00 +0000 (06:17 +0000)]
Fix typo in anchor name.

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

23 years agoFix typo in anchor. Link to mod_so.html#loadmodule instead of mod_so.html
Yoshiki Hayashi [Thu, 11 Jan 2001 06:12:55 +0000 (06:12 +0000)]
Fix typo in anchor.  Link to mod_so.html#loadmodule instead of mod_so.html
for LoadModule directive.

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

23 years agoAdd a quick note about external modules.
Ryan Bloom [Thu, 11 Jan 2001 06:10:50 +0000 (06:10 +0000)]
Add a quick note about external modules.

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

23 years agoback out the previous change, which broke FreeBSD 3.4, OS/390, Tru64,
Jeff Trawick [Thu, 11 Jan 2001 00:58:00 +0000 (00:58 +0000)]
back out the previous change, which broke FreeBSD 3.4, OS/390, Tru64,
BeOS, and perhaps other platforms

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

23 years agoFix a typo in an example and make a slight clarification in the
Joshua Slive [Wed, 10 Jan 2001 21:38:36 +0000 (21:38 +0000)]
Fix a typo in an example and make a slight clarification in the
TransferLog docs.

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

23 years ago"Well, hello! Gay now!"
Greg Stein [Wed, 10 Jan 2001 20:33:02 +0000 (20:33 +0000)]
"Well, hello! Gay now!"
           -- Willow, from Buffy the Vampire Slayer

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

23 years agoupdate some references to the old prefix/libexec directory
Jeff Trawick [Wed, 10 Jan 2001 19:48:08 +0000 (19:48 +0000)]
update some references to the old prefix/libexec directory

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

23 years agoonly handle the request if server-info is the handler
Jeff Trawick [Wed, 10 Jan 2001 19:23:25 +0000 (19:23 +0000)]
only handle the request if server-info is the handler
Submitted by: Greg Stein

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

23 years agoTidy up the beos mpm a little.
David Reid [Wed, 10 Jan 2001 18:36:08 +0000 (18:36 +0000)]
Tidy up the beos mpm a little.

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

23 years agoget mod_info working again (mostly)
Jeff Trawick [Wed, 10 Jan 2001 17:31:04 +0000 (17:31 +0000)]
get mod_info working again (mostly)

(I guess I should simply zap the code to list the handlers
for each module?)

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

23 years agoLibtool takes care of the lib prefix so get rid of our own workaround.
Brian Havard [Wed, 10 Jan 2001 01:04:53 +0000 (01:04 +0000)]
Libtool takes care of the lib prefix so get rid of our own workaround.

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

23 years ago This sets an example for this type of module, so let's make sure
Ken Coar [Tue, 9 Jan 2001 22:55:13 +0000 (22:55 +0000)]
This sets an example for this type of module, so let's make sure
it uses our own guidelines.

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

23 years ago Minor typo fix.
Ken Coar [Tue, 9 Jan 2001 22:53:05 +0000 (22:53 +0000)]
Minor typo fix.

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

23 years agouse AP_HOOK_LAST for this module. This may or may not be the final
Allan K. Edwards [Tue, 9 Jan 2001 21:38:35 +0000 (21:38 +0000)]
use AP_HOOK_LAST for this module. This may or may not be the final
solution but it is at least more correct.

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

23 years agoFix a compile break with the new APR libtool setup. Basically, we are
Ryan Bloom [Tue, 9 Jan 2001 19:28:33 +0000 (19:28 +0000)]
Fix a compile break with the new APR libtool setup.  Basically, we are
using a libtool library from MM, but it isn't getting linked into the
Apache executable, so we fail the link stage.  This makes APR
publicize the libtool libraries that it uses, so that Apache can link
them in.

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

23 years agoFix a compile break related to the apr libtool change.
Ryan Bloom [Tue, 9 Jan 2001 16:35:08 +0000 (16:35 +0000)]
Fix a compile break related to the apr libtool change.

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

23 years agoa couple tweaks to get Apache building with the new libtool-ized APR
Greg Stein [Tue, 9 Jan 2001 11:35:51 +0000 (11:35 +0000)]
a couple tweaks to get Apache building with the new libtool-ized APR

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

23 years agoget rid of some invalid errno references; use the apr_status_t instead
Jeff Trawick [Tue, 9 Jan 2001 05:12:40 +0000 (05:12 +0000)]
get rid of some invalid errno references; use the apr_status_t instead

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

23 years agouse the apr_status_t instead of errno
Jeff Trawick [Tue, 9 Jan 2001 05:03:42 +0000 (05:03 +0000)]
use the apr_status_t instead of errno

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

23 years agoget rid of a non-portable use of errno
Jeff Trawick [Tue, 9 Jan 2001 04:48:18 +0000 (04:48 +0000)]
get rid of a non-portable use of errno

don't return errno as an error flag after an APR function fails; return
something guaranteed to be non-zero on all platforms

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

23 years agoget rid of some bogus uses of perror()
Jeff Trawick [Tue, 9 Jan 2001 04:40:22 +0000 (04:40 +0000)]
get rid of some bogus uses of perror()

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

23 years agofix some handler brokenness
Jeff Trawick [Tue, 9 Jan 2001 04:36:39 +0000 (04:36 +0000)]
fix some handler brokenness

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

23 years agofix some handler brokenness so that dexter doesn't segfault at startup
Jeff Trawick [Tue, 9 Jan 2001 04:20:56 +0000 (04:20 +0000)]
fix some handler brokenness so that dexter doesn't segfault at startup

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

23 years agoget rid of a bogus use of perror()
Jeff Trawick [Tue, 9 Jan 2001 04:09:43 +0000 (04:09 +0000)]
get rid of a bogus use of perror()

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

23 years agoReference to the docs project.
Joshua Slive [Tue, 9 Jan 2001 03:26:21 +0000 (03:26 +0000)]
Reference to the docs project.

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

23 years agoThis is the second in a series of clean-ups of the
Joshua Slive [Tue, 9 Jan 2001 03:24:50 +0000 (03:24 +0000)]
This is the second in a series of clean-ups of the
environment variable docs.  Here is what I have done:

1. Removed some obsolete CERN references and done a tiny
bit of cleanup of mod_env.html.

2. Included references from mod_env.html and mod_setenvif.html
to env.html.

3. Prettied-up env.html a little bit by including sub-headings.

4. Added some "caveats" to env.html:
- No overriding basic CGI variables
- suexec restrictions
- no non-alphanumeric characters in env variable names

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

23 years agoget rid of some bogus uses of perror()
Jeff Trawick [Tue, 9 Jan 2001 00:27:03 +0000 (00:27 +0000)]
get rid of some bogus uses of perror()

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

23 years agouse ap_strcmp_match and fix pattern typo
Doug MacEachern [Tue, 9 Jan 2001 00:08:13 +0000 (00:08 +0000)]
use ap_strcmp_match and fix pattern typo

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

23 years agoadjust remaining modules to use the new handler hook method (Alan Edwards)
Doug MacEachern [Mon, 8 Jan 2001 23:55:12 +0000 (23:55 +0000)]
adjust remaining modules to use the new handler hook method (Alan Edwards)

bring back the old handler prototype by reusing r->handler (dougm)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agofix handlers->hooks compile breakage
Greg Ames [Mon, 8 Jan 2001 23:07:04 +0000 (23:07 +0000)]
fix handlers->hooks compile breakage

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

23 years agoSet MKDIR for APR's RUN_SUBDIR_CONFIG_NOW macro.
Sascha Schumann [Mon, 8 Jan 2001 23:01:47 +0000 (23:01 +0000)]
Set MKDIR for APR's RUN_SUBDIR_CONFIG_NOW macro.

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

23 years agoHandlers now use hooks, remove handlers entry from module data.
Brian Havard [Mon, 8 Jan 2001 13:32:16 +0000 (13:32 +0000)]
Handlers now use hooks, remove handlers entry from module data.

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

23 years agoFix message when the error log file can't be opened.
Brian Havard [Mon, 8 Jan 2001 13:25:02 +0000 (13:25 +0000)]
Fix message when the error log file can't be opened.

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

23 years agoseems nobody is using sethostent()
Greg Stein [Mon, 8 Jan 2001 08:23:13 +0000 (08:23 +0000)]
seems nobody is using sethostent()

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

23 years agoKeep Greg happy.
Ben Laurie [Sun, 7 Jan 2001 23:04:15 +0000 (23:04 +0000)]
Keep Greg happy.

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

23 years agoStrip trailing stuff from mime types.
Ben Laurie [Sun, 7 Jan 2001 22:45:26 +0000 (22:45 +0000)]
Strip trailing stuff from mime types.

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

23 years agoNote hooks->handlers change.
Ben Laurie [Sun, 7 Jan 2001 20:54:39 +0000 (20:54 +0000)]
Note hooks->handlers change.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoMake handlers use hooks.
Ben Laurie [Sun, 7 Jan 2001 19:55:59 +0000 (19:55 +0000)]
Make handlers use hooks.

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

23 years agoFor some reason the chartables.c target requires a full path.
Ben Laurie [Sun, 7 Jan 2001 16:37:12 +0000 (16:37 +0000)]
For some reason the chartables.c target requires a full path.

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

23 years agoStop leaking sockets. This is a minimal leak, but it was there.
Ryan Bloom [Sun, 7 Jan 2001 05:51:23 +0000 (05:51 +0000)]
Stop leaking sockets.  This is a minimal leak, but it was there.
Basically, we were creating a socket_t, but never assigning a port or
IP address to it.  We then re-read the config file, and search the
list of allocated sockets for the socket that we have already allocated
for this port, but we never find the port and address, because we never
stored them in the socket_t.  This was keeping the Listen directive from
working properly.

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

23 years ago- add some missing distclean targets
dgaudet [Sat, 6 Jan 2001 21:47:49 +0000 (21:47 +0000)]
- add some missing distclean targets
- use DISTCLEAN_TARGETS and CLEAN_TARGETS everywhere (to be consistent
with other macros and with APR)
- warn that aclocal.m4 is a generated file

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

23 years agoMove ap_generic_hook from the Apache include directory to the apr-util
Ryan Bloom [Sat, 6 Jan 2001 20:10:55 +0000 (20:10 +0000)]
Move ap_generic_hook from the Apache include directory to the apr-util
include directory.  The hooks themselves are implemented by apr-util,
instead of Apache.  This removes a few warnings when compiled in
maintainer-mode that have been bothering me.

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

23 years agoThis file needs to be renamed from config.m4 to config5.m4 to allow
David Reid [Sat, 6 Jan 2001 14:23:14 +0000 (14:23 +0000)]
This file needs to be renamed from config.m4 to config5.m4 to allow
the ordering to work correctly otherwise it breaks the build. It didn't
seem possible to move the file in CVS so I've added a new copy and
deleted the original.  It's such a simple file if we don't have the history
it's not an issue!

Submitted by: Ryan Bloom <rbb@covalent.net>

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

23 years agoadd pool parameter to ap_is_directory and ap_is_rdirectory
Allan K. Edwards [Fri, 5 Jan 2001 20:44:44 +0000 (20:44 +0000)]
add pool parameter to ap_is_directory and ap_is_rdirectory

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

23 years agoStop copying file names that we get from apr_file_t's and apr_dir_t's.
Ryan Bloom [Fri, 5 Jan 2001 19:40:05 +0000 (19:40 +0000)]
Stop copying file names that we get from apr_file_t's and apr_dir_t's.
We copy the data when we store it in the structures, we can just return
a pointer from there, and use const data.  This puts the onus back on
Apache to copy the data if it needs to modify it.

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

23 years agoAdd a needed header file. This is another of the patches I've had for
David Reid [Fri, 5 Jan 2001 16:38:24 +0000 (16:38 +0000)]
Add a needed header file.  This is another of the patches I've had for
a while but forgot to commit... Doh!

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

23 years agoAs we now use pools in the logging of the failure to get a hostname,
David Reid [Fri, 5 Jan 2001 14:32:31 +0000 (14:32 +0000)]
As we now use pools in the logging of the failure to get a hostname,
use ap_log_perror() as per Brians suggestion.

Submitted by: Brian Havard <brianh@kheldar.apana.org.au>

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

23 years agoeliminate entries from libhttpd.def that are also in libaprutil.def
Allan K. Edwards [Thu, 4 Jan 2001 22:37:27 +0000 (22:37 +0000)]
eliminate entries from libhttpd.def that are also in libaprutil.def

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

23 years agoThis stops a segfault on my machine where I haven't got a hostname for
David Reid [Thu, 4 Jan 2001 21:53:27 +0000 (21:53 +0000)]
This stops a segfault on my machine where I haven't got a hostname for
the function to find.

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

23 years agoFix typo that messed up dependencies and broke the build
Allan K. Edwards [Thu, 4 Jan 2001 20:55:40 +0000 (20:55 +0000)]
Fix typo that messed up dependencies and broke the build

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

23 years agoGet rid of some warnings on Tru64 and OS/390. void * isn't compatible
Jeff Trawick [Thu, 4 Jan 2001 20:45:06 +0000 (20:45 +0000)]
Get rid of some warnings on Tru64 and OS/390.  void * isn't compatible
with function pointers.

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

23 years agoSet up stderr logging explictly early in initialization so that a pool is
Jeff Trawick [Thu, 4 Jan 2001 18:22:50 +0000 (18:22 +0000)]
Set up stderr logging explictly early in initialization so that a pool is
available for creating the APR representation of stderr.

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

23 years agofix spelling
Eric Cholet [Thu, 4 Jan 2001 12:02:39 +0000 (12:02 +0000)]
fix spelling
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agomake Windows build aware of export variable name change :
Allan K. Edwards [Wed, 3 Jan 2001 21:35:02 +0000 (21:35 +0000)]
make Windows build aware of export variable name change :
ap_debug_module_name to ap_current_hooking_module

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

23 years agomod_cgi: Fix some problems where the wrong error value was being traced
Jeff Trawick [Wed, 3 Jan 2001 20:03:48 +0000 (20:03 +0000)]
mod_cgi: Fix some problems where the wrong error value was being traced
(errno instead of apr_status).

mod_cgid: Keep some of the code in synch with the version in mod_cgi.

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

23 years agotypo.
Joshua Slive [Wed, 3 Jan 2001 18:23:09 +0000 (18:23 +0000)]
typo.
PR: 7020
Submitted by: Peter Brodersen <apache_p@ter.dk>

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

23 years agoPass a valid pool to apr_create_lock().
Jeff Trawick [Wed, 3 Jan 2001 16:47:02 +0000 (16:47 +0000)]
Pass a valid pool to apr_create_lock().

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

23 years agoMake a brief note about recent EBCDIC fixes.
Jeff Trawick [Wed, 3 Jan 2001 16:36:03 +0000 (16:36 +0000)]
Make a brief note about recent EBCDIC fixes.

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

23 years agoEBCDIC: Fix some byterange protocol data translation.
Jeff Trawick [Tue, 2 Jan 2001 19:22:09 +0000 (19:22 +0000)]
EBCDIC: Fix some byterange protocol data translation.

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

23 years agoGet mod_so to build again by including apr_general.h, which is where
Jeff Trawick [Tue, 2 Jan 2001 18:32:49 +0000 (18:32 +0000)]
Get mod_so to build again by including apr_general.h, which is where
the APR_GET_POOL() macro is defined.

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

23 years agoChange a bunch of mallocs in mod_cgid to apr_palloc. These were never
Ryan Bloom [Tue, 2 Jan 2001 17:57:42 +0000 (17:57 +0000)]
Change a bunch of mallocs in mod_cgid to apr_palloc.  These were never
getting freed, and using malloc.  This was safe, because we were in
the CGID process, but pools are just safer here.

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

23 years agoGeneric hooks (and a demo content filter module).
Ben Laurie [Tue, 2 Jan 2001 17:41:38 +0000 (17:41 +0000)]
Generic hooks (and a demo content filter module).

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

23 years agoSimplify the lingering close logic a bit. Doesn't actually change
Ryan Bloom [Tue, 2 Jan 2001 17:12:09 +0000 (17:12 +0000)]
Simplify the lingering close logic a bit.  Doesn't actually change
anything, this just removes a duplicate call to ap_flush_conn.

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

23 years agoadd dump_{bucket,brigade} macros
Doug MacEachern [Tue, 2 Jan 2001 05:02:33 +0000 (05:02 +0000)]
add dump_{bucket,brigade} macros

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

23 years agoModify a couple of calls to ap_log_error with a NULL server to use
Ryan Bloom [Tue, 2 Jan 2001 01:34:05 +0000 (01:34 +0000)]
Modify a couple of calls to ap_log_error with a NULL server to use
ap_log_perror, and pass a pool.  The keeps us from seg faulting if the
error log hasn't been opened yet.

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

23 years agoRemove AP_USE_MMAP_FILES, it doesn't really control anything anymore. Now
Ryan Bloom [Mon, 1 Jan 2001 00:36:46 +0000 (00:36 +0000)]
Remove AP_USE_MMAP_FILES, it doesn't really control anything anymore.  Now
we just use APR_HAS_MMAP directly, just like APR-util does.

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

23 years agoWe never use MMAP_SEGMENT_SIZE, and we are better off determining if we
Ryan Bloom [Mon, 1 Jan 2001 00:34:25 +0000 (00:34 +0000)]
We never use MMAP_SEGMENT_SIZE, and we are better off determining if we
have MMAP, by just checking with APR, instead of using an Apache
definition which doesn't really control anything anymore.

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

23 years agoWhen we are starting the server, we have a pool that can be used to open
Ryan Bloom [Mon, 1 Jan 2001 00:13:41 +0000 (00:13 +0000)]
When we are starting the server, we have a pool that can be used to open
the error log.  Rather than try to log a regular error, log an error with
the pool that we have, so that we can open stderr successfully.

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

23 years agoWe have a pool in this function, and log_error_core needs a pool in order
Ryan Bloom [Sun, 31 Dec 2000 23:41:07 +0000 (23:41 +0000)]
We have a pool in this function, and log_error_core needs a pool in order
to open stderr successfully.  By using ap_log_perror, we can pass a valid
pool down to log_error_core

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

23 years agoUse a real pool to dup the error log file descriptor.
Ryan Bloom [Sun, 31 Dec 2000 19:19:07 +0000 (19:19 +0000)]
Use a real pool to dup the error log file descriptor.

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

23 years agoRM was not defined. Just use rm instead.
Ben Laurie [Sun, 31 Dec 2000 11:35:50 +0000 (11:35 +0000)]
RM was not defined. Just use rm instead.

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

23 years agofix the path
Greg Stein [Sun, 31 Dec 2000 10:34:04 +0000 (10:34 +0000)]
fix the path

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

23 years ago*) simplify config file list construction (especially the second sed
Greg Stein [Sun, 31 Dec 2000 08:10:19 +0000 (08:10 +0000)]
*) simplify config file list construction (especially the second sed
   expression).
*) comment extensively.
*) process into lines which are always guaranteed to sort properly -- don't
   rely on sort switches or whether "" sorts (numerically) less than "1".

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

23 years agoAdd BeOS to hints.m4. This explains why I've been having to set the
David Reid [Sat, 30 Dec 2000 20:05:40 +0000 (20:05 +0000)]
Add BeOS to hints.m4.  This explains why I've been having to set the
MPM via configure...

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

23 years agoFind all config.m4 files when building generated_lists. Also, convert
Ryan Bloom [Sat, 30 Dec 2000 18:20:03 +0000 (18:20 +0000)]
Find all config.m4 files when building generated_lists.  Also, convert
the sort to use 'sort -n -b'.  These arguments are specified by single
unix, so they should be portable.  This restores the ability to order
the config.m4 files.
Submitted by: Dale Ghent <daleg@elemental.org>

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

23 years agoGet rid of the "-g" on sort.
Jeff Trawick [Sat, 30 Dec 2000 14:39:15 +0000 (14:39 +0000)]
Get rid of the "-g" on sort.

With GNU sort 2.0 (which ships with Mandrake 7.2), the -g makes
a difference in the sinclude order (which I assume is an intended
difference which I have just broken).

With GNU sort 1.2 (which ships with RedHat 6.0), the -g is accepted
but is not documented and makes no difference in the result.  Thus
systems with GNU sort 1.2 were broken before and are still broken
with respect to the order of the sinclude statements.

With OS/390, Tru64, Solaris, and now I think AIX, -g was not accepted
at all by sort so the output of this was broken and Apache would not
build.

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

23 years agoFix a segfault caused by mod_ext_filter when the external filter
Jeff Trawick [Fri, 29 Dec 2000 14:11:12 +0000 (14:11 +0000)]
Fix a segfault caused by mod_ext_filter when the external filter
program does not exist.

I wish I understood why I didn't hit this problem in the normal
case :(

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

23 years agonote some recent tweaks to bucket/brigade processing, as well as the
Jeff Trawick [Fri, 29 Dec 2000 14:08:20 +0000 (14:08 +0000)]
note some recent tweaks to bucket/brigade processing, as well as the
problem they fix

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

23 years agoap_content_length_filter(): if ap_save_brigade() fails, tell the caller
Jeff Trawick [Fri, 29 Dec 2000 13:59:19 +0000 (13:59 +0000)]
ap_content_length_filter(): if ap_save_brigade() fails, tell the caller

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

23 years agoap_save_brigade() can fail, so report what happened via an apr_status_t
Jeff Trawick [Fri, 29 Dec 2000 13:56:30 +0000 (13:56 +0000)]
ap_save_brigade() can fail, so report what happened via an apr_status_t
return code.

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

23 years agoRecognize a downstream error as such (instead of saying simply "returning error").
Jeff Trawick [Fri, 29 Dec 2000 13:51:38 +0000 (13:51 +0000)]
Recognize a downstream error as such (instead of saying simply "returning error").

Trace the apr_status_t whenever helpful.

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

23 years agoBecause we can't get APR_EAGAIN from sendfile if we have a timeout, we
Ryan Bloom [Thu, 28 Dec 2000 23:27:20 +0000 (23:27 +0000)]
Because we can't get APR_EAGAIN from sendfile if we have a timeout, we
can simplify this test now.

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

23 years agoOn EBCDIC machines, fix up the charset of the header terminator.
Jeff Trawick [Thu, 28 Dec 2000 22:23:34 +0000 (22:23 +0000)]
On EBCDIC machines, fix up the charset of the header terminator.

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

23 years agoWe don't want to install CVS files, but the -P option to cp means something
Ryan Bloom [Thu, 28 Dec 2000 06:08:30 +0000 (06:08 +0000)]
We don't want to install CVS files, but the -P option to cp means something
different on FreeBSD than it means on Linux.  This puts the recursive
copy back in, and just has us delete the CVS directories after they are
copied into place.

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