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

23 years agoIgnore CRLF (or LF) when PEEK'ing at data on the socket. The general
Ryan Bloom [Thu, 28 Dec 2000 01:14:22 +0000 (01:14 +0000)]
Ignore CRLF (or LF) when PEEK'ing at data on the socket.  The general
problem is that some browsers send an extra line at the end of a POST
request.  We use the PEEK method to determine if there is any data left
on the socket, if there is then we delay sending the response until we
have enough data to make it worthwhile.  If the browser sends an extra
blank line, we don't want to delay the response at all.  The only time
we use the PEEK method is to check for a second request, so this is safe
to do.

This also solves Joe Orton's problem of specifying a Content- Length
of 1 for a blank line, and having the server wait to send back a response.
The problem is that Linux (all Unix really) sends two characters \r\n for
a blank line, so specifying a C-L of 1 means that the server still sees
a \n when it PEEKs that the socket data.  That \n can be safely ignored
however.

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

23 years agoLast change to get SuEXEC working again, and respecting configuration
Ryan Bloom [Wed, 27 Dec 2000 23:41:16 +0000 (23:41 +0000)]
Last change to get SuEXEC working again, and respecting configuration
changes made using autoconf setup.

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

23 years agoGet SuEXEC building properly.
Ryan Bloom [Wed, 27 Dec 2000 23:30:37 +0000 (23:30 +0000)]
Get SuEXEC building properly.

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

23 years agoOn Unix, we do not want to use an absolute path for CGI scripts. SuEXEC
Ryan Bloom [Wed, 27 Dec 2000 23:30:07 +0000 (23:30 +0000)]
On Unix, we do not want to use an absolute path for CGI scripts.  SuEXEC
will not let us use one, and when not using SuEXEC, we chdir() into the
correct directory.

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

23 years agoWe cannot set the SUEXEC_BIN directory from autoconf, because all of the
Ryan Bloom [Wed, 27 Dec 2000 23:24:53 +0000 (23:24 +0000)]
We cannot set the SUEXEC_BIN directory from autoconf, because all of the
instructions say that in order to modify this variable, you have to modify
httpd.h

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

23 years agoFix a small typo that was causing big problems.
Ryan Bloom [Wed, 27 Dec 2000 05:00:26 +0000 (05:00 +0000)]
Fix a small typo that was causing big problems.

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

23 years agoMake it possible to build suexec from the top-level Makefiles, and make it
Ryan Bloom [Wed, 27 Dec 2000 02:34:16 +0000 (02:34 +0000)]
Make it possible to build suexec from the top-level Makefiles, and make it
install when using make install

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

23 years agoGet suexec compiling again.
Ryan Bloom [Wed, 27 Dec 2000 02:01:47 +0000 (02:01 +0000)]
Get suexec compiling again.

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

23 years agoWe don't want to install the CVS directory when we use make install
Ryan Bloom [Wed, 27 Dec 2000 01:25:18 +0000 (01:25 +0000)]
We don't want to install the CVS directory when we use make install

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

23 years agoFinish up the config.m4 file overhaul, so that we can load config.m4 files
Ryan Bloom [Tue, 26 Dec 2000 22:48:49 +0000 (22:48 +0000)]
Finish up the config.m4 file overhaul, so that we can load config.m4 files
in order.

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

23 years agoMove the config.m4 file to config5.m4 in the generators directory so that
Ryan Bloom [Tue, 26 Dec 2000 22:46:09 +0000 (22:46 +0000)]
Move the config.m4 file to config5.m4 in the generators directory so that
we can actually make the cgi module decision based on MPM.

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

23 years agoAllow buildconf to find the config.m4 files in the correct order. This
Ryan Bloom [Tue, 26 Dec 2000 21:39:35 +0000 (21:39 +0000)]
Allow buildconf to find the config.m4 files in the correct order.  This
allows the decisions made in one config.m4 file to be based on decisions
made in previous config.m4 files.  For example, the config.m4 in the
generators config.m4 can choose the correc cgi module based on which MPM
is chosen.

To do this, we find all filenames config*.m4, and then we re-order the
filename so that it looks like:  *config.m4/path/to/file.  Once all files
are in this format, we sort the files, and then re-arrange the file names
again to put them in the correct order.  There may be better ways to do
this, but I couldn't find a portable way to call sort so that this would
work.

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

23 years agoTime for bed soon. :-)
Ryan Bloom [Sat, 23 Dec 2000 07:15:43 +0000 (07:15 +0000)]
Time for bed soon.  :-)

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

23 years agoGet mod_cgid to use apr calls for creating the actual CGI process.
Ryan Bloom [Sat, 23 Dec 2000 07:09:01 +0000 (07:09 +0000)]
Get mod_cgid to use apr calls for creating the actual CGI process.
This also allows mod_cgid to use ap_os_create_priviledged_process,
thus allowing for SuExec execution from mod_cgid.  Currently, we do
not support everything that standard SuExec supports, but at least
it works minimally now.

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

23 years agoAllow SuExec to be configured from the ./configure command line
Ryan Bloom [Sat, 23 Dec 2000 03:15:16 +0000 (03:15 +0000)]
Allow SuExec to be configured from the ./configure command line

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

23 years agoget the layout from the right directory
Greg Stein [Sat, 23 Dec 2000 02:52:08 +0000 (02:52 +0000)]
get the layout from the right directory

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

23 years agoand some background for why --disable-shared was added and what needs to be
Greg Stein [Sat, 23 Dec 2000 02:11:10 +0000 (02:11 +0000)]
and some background for why --disable-shared was added and what needs to be
done to get it back out of there.

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

23 years agoUpdate the Readme and Install docs to reflect 2.0 a bit better.
Ryan Bloom [Sat, 23 Dec 2000 01:46:42 +0000 (01:46 +0000)]
Update the Readme and Install docs to reflect 2.0 a bit better.

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

23 years agoIf we get EAGAIN returned from apr_sendfile, then we need to loop back and
Ryan Bloom [Fri, 22 Dec 2000 23:43:16 +0000 (23:43 +0000)]
If we get EAGAIN returned from apr_sendfile, then we need to loop back and
call it again.  This change allows us to serve large files (such as
apache_2.0a9.tar.gz) using Apache 2.0 on FreeBSD.

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

23 years agoBinbuild.sh works again, so remove the STATUS item.
Ryan Bloom [Fri, 22 Dec 2000 23:42:02 +0000 (23:42 +0000)]
Binbuild.sh works again, so remove the STATUS item.

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

23 years agoBack out the .libs thing from the aprutil linking. Add --disable-shared (for
Greg Stein [Fri, 22 Dec 2000 22:44:45 +0000 (22:44 +0000)]
Back out the .libs thing from the aprutil linking. Add --disable-shared (for
now) to the subdir config to ensure that we only get a static library for
aprutil (which allows for linking all of its functions into the executable).
[ APR will need something similar if/when it gets libtool-ized ]

Mark a note in STATUS indicating we should eventually toss the
--disable-shared flag.

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

23 years agoAllow the auth modules to load into the server.
Ryan Bloom [Fri, 22 Dec 2000 21:34:09 +0000 (21:34 +0000)]
Allow the auth modules to load into the server.

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

23 years agobe gone, fool!
Greg Stein [Fri, 22 Dec 2000 12:02:43 +0000 (12:02 +0000)]
be gone, fool!

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

23 years agominor correction to libexecdir for the standard Apache layout
Greg Stein [Fri, 22 Dec 2000 11:58:55 +0000 (11:58 +0000)]
minor correction to libexecdir for the standard Apache layout

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

23 years agoCleanups so that the support programs build cleanly. The Win32 values
Ryan Bloom [Fri, 22 Dec 2000 00:02:52 +0000 (00:02 +0000)]
Cleanups so that the support programs build cleanly.  The Win32 values
need to be sanity checked.
Submitted by: Cliff Woolley <cliffwoolley@yahoo.com>
Reviewed by: Ryan Bloom

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

23 years agoPlace a note in some of the files that contain obsolete information.
Joshua Slive [Thu, 21 Dec 2000 22:36:03 +0000 (22:36 +0000)]
Place a note in some of the files that contain obsolete information.

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

23 years ago OPTIONS request crashed server, this fixes it
William A. Rowe Jr [Thu, 21 Dec 2000 21:09:56 +0000 (21:09 +0000)]
  OPTIONS request crashed server, this fixes it

Submitted by: Joe Orton
Reviewed by: W Rowe

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

23 years ago Last of the Win32 goodness I've noticed
William A. Rowe Jr [Thu, 21 Dec 2000 21:07:18 +0000 (21:07 +0000)]
  Last of the Win32 goodness I've noticed

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

23 years ago Simplify and order the dependencies as well as possible.
William A. Rowe Jr [Thu, 21 Dec 2000 21:02:20 +0000 (21:02 +0000)]
  Simplify and order the dependencies as well as possible.

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

23 years ago All the supports now build on APR (+APRUTIL), no reliance on httpd.
William A. Rowe Jr [Thu, 21 Dec 2000 21:00:45 +0000 (21:00 +0000)]
  All the supports now build on APR (+APRUTIL), no reliance on httpd.

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

23 years ago This should build entirely with APR support.
William A. Rowe Jr [Thu, 21 Dec 2000 20:33:50 +0000 (20:33 +0000)]
  This should build entirely with APR support.

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

23 years ago This should build entirely with apr/aprutil support
William A. Rowe Jr [Thu, 21 Dec 2000 20:32:33 +0000 (20:32 +0000)]
  This should build entirely with apr/aprutil support

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

23 years ago This program should run entirely without ap_config support from
William A. Rowe Jr [Thu, 21 Dec 2000 20:29:26 +0000 (20:29 +0000)]
  This program should run entirely without ap_config support from
  Apache, given that it is apr'ized

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

23 years ago More Win32 Goodness
William A. Rowe Jr [Thu, 21 Dec 2000 19:51:06 +0000 (19:51 +0000)]
  More Win32 Goodness

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

23 years ago Win32 Goodness
William A. Rowe Jr [Thu, 21 Dec 2000 19:47:51 +0000 (19:47 +0000)]
  Win32 Goodness

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

23 years ago Allow the server to run in the bin/ subdirectory, and back up over the
William A. Rowe Jr [Thu, 21 Dec 2000 16:25:44 +0000 (16:25 +0000)]
  Allow the server to run in the bin/ subdirectory, and back up over the
  bin/ directory when determining the Win32 ServerRoot.

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

23 years agoFill out some docs for the MPMs. The content is there, but the formatting
Ryan Bloom [Thu, 21 Dec 2000 15:41:16 +0000 (15:41 +0000)]
Fill out some docs for the MPMs.  The content is there, but the formatting
could probably use some work.

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

23 years agoforgot to axe this line a couple commits ago, when I added the NOTE about
Greg Stein [Thu, 21 Dec 2000 12:04:02 +0000 (12:04 +0000)]
forgot to axe this line a couple commits ago, when I added the NOTE about
buildconf.

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

23 years agono content change. just reflow.
Greg Stein [Thu, 21 Dec 2000 12:02:18 +0000 (12:02 +0000)]
no content change. just reflow.

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

23 years agobunch of random updates... this file still had a lot of 1.3'isms, and also
Greg Stein [Thu, 21 Dec 2000 11:41:23 +0000 (11:41 +0000)]
bunch of random updates... this file still had a lot of 1.3'isms, and also
needed a goodly number of changes for current layouts, web locations, etc.

added mod_dav, mod_dav_fs, and removed the obsolete loggers.

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

23 years ago Given the delay, it's time to put the binaries where they belong, in bin\
William A. Rowe Jr [Thu, 21 Dec 2000 07:13:18 +0000 (07:13 +0000)]
  Given the delay, it's time to put the binaries where they belong, in bin\
  for win32

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

23 years agoSmall update to add reference to developer docs
Joshua Slive [Thu, 21 Dec 2000 05:43:36 +0000 (05:43 +0000)]
Small update to add reference to developer docs
and correct graceful restart signal.

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

23 years agoA few small changes to bring this up to 2.0.
Joshua Slive [Thu, 21 Dec 2000 05:38:28 +0000 (05:38 +0000)]
A few small changes to bring this up to 2.0.
This doc could use a major rewrite.

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

23 years agoBring the vhost directory into the current century.
Joshua Slive [Thu, 21 Dec 2000 05:16:17 +0000 (05:16 +0000)]
Bring the vhost directory into the current century.

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

23 years agoUpdate the release schedule.
Ryan Bloom [Thu, 21 Dec 2000 02:52:00 +0000 (02:52 +0000)]
Update the release schedule.

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

23 years ago Document the Win32 .so change. Time to rest the brain.
William A. Rowe Jr [Thu, 21 Dec 2000 02:26:56 +0000 (02:26 +0000)]
  Document the Win32 .so change.  Time to rest the brain.

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

23 years ago Warnings for users, start filling this up before we roll.
William A. Rowe Jr [Thu, 21 Dec 2000 02:07:38 +0000 (02:07 +0000)]
  Warnings for users, start filling this up before we roll.

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

23 years ago Add known bugs to Announcement in preparation for release.
William A. Rowe Jr [Thu, 21 Dec 2000 02:02:43 +0000 (02:02 +0000)]
  Add known bugs to Announcement in preparation for release.

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

23 years agoFix a 1.3 to 2.0.
Ryan Bloom [Thu, 21 Dec 2000 01:54:59 +0000 (01:54 +0000)]
Fix a 1.3 to 2.0.

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

23 years agoFix two references to the wrong files in binbuild.sh
Ryan Bloom [Thu, 21 Dec 2000 01:50:44 +0000 (01:50 +0000)]
Fix two references to the wrong files in binbuild.sh

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

23 years ago Out of the sandbox and into prime time. Note... these should always and
William A. Rowe Jr [Thu, 21 Dec 2000 01:46:22 +0000 (01:46 +0000)]
  Out of the sandbox and into prime time.  Note... these should always and
  only be regenerated immediately prior to the tag and roll.  Do not assume
  they are current with the sources in the development tree.  They should
  be generated as vc5 make files, since only vc5 makefiles are readable by
  both vc5 and vc6.

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

23 years agoprevent crash when connection closed before complete request received
Allan K. Edwards [Thu, 21 Dec 2000 01:44:28 +0000 (01:44 +0000)]
prevent crash when connection closed before complete request received

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

23 years ago Back out the target path change from serverroot\bin back to serverroot
William A. Rowe Jr [Thu, 21 Dec 2000 01:32:43 +0000 (01:32 +0000)]
  Back out the target path change from serverroot\bin back to serverroot
  for Apache.exe and it's associated lib*.dll files until after beta one.
  Change the make projects as well... and a commit of the actual .mak files
  will be coming in a moment.

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

23 years agoActually link apr-util's .a file, instead of relying on libtool. We may
Ryan Bloom [Thu, 21 Dec 2000 01:27:46 +0000 (01:27 +0000)]
Actually link apr-util's .a file, instead of relying on libtool.  We may
want to change this later, but right now, we want a single binary that
has every function it requires.

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

23 years ago Correction, commited the vc5. Need vc6 in the tree. Humble appologies.
William A. Rowe Jr [Thu, 21 Dec 2000 01:25:10 +0000 (01:25 +0000)]
  Correction, commited the vc5.  Need vc6 in the tree.  Humble appologies.

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