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

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