]> granicus.if.org Git - apache/log
apache
23 years agoCleanup the error bucket code a bit. This uses the error bucket directly
Ryan Bloom [Sat, 27 Jan 2001 17:17:51 +0000 (17:17 +0000)]
Cleanup the error bucket code a bit.  This uses the error bucket directly
instead of using ap_bucket_read.  It also lets ap_die handle the fact that
the filter returned the error.
Submitted by: Greg Stein

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

23 years agoReapply patch for chartables.c, only this time in both places (not having it
Ben Laurie [Sat, 27 Jan 2001 16:15:25 +0000 (16:15 +0000)]
Reapply patch for chartables.c, only this time in both places (not having it
breaks FreeBSD 3.2).

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

23 years agoGreg Stein and Dale Ghent both reminded me I forgot to add this.
Ryan Bloom [Sat, 27 Jan 2001 16:05:41 +0000 (16:05 +0000)]
Greg Stein and Dale Ghent both reminded me I forgot to add this.

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

23 years ago Was there a file that wasn't updated with the error buckets patch?
William A. Rowe Jr [Sat, 27 Jan 2001 14:54:30 +0000 (14:54 +0000)]
  Was there a file that wasn't updated with the error buckets patch?
  Here's the export symbol for http_protocol's error bucket type, but
  I can't find the actual instance (which needs AP_DECLARE_DATA as well.)

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

23 years agofilters can now report an HTTP error to the server. This is done
Ryan Bloom [Sat, 27 Jan 2001 07:13:39 +0000 (07:13 +0000)]
filters can now report an HTTP error to the server.  This is done
by sending a brigade where the first bucket is an error_bucket.
This bucket is a simple bucket that stores an HTTP error and
a string.  Currently the string is not used, but it may be needed
to output an error log.  The http_header_filter will find this
bucket, and output the error text, and then return
AP_FILTER_ERROR, which informs the server that the error web page
has already been sent.

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

23 years ago Much better for win32 checkouts
William A. Rowe Jr [Sat, 27 Jan 2001 06:31:59 +0000 (06:31 +0000)]
  Much better for win32 checkouts

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

23 years ago Discovered these were horribly broken as 'text' files...
William A. Rowe Jr [Sat, 27 Jan 2001 06:31:25 +0000 (06:31 +0000)]
  Discovered these were horribly broken as 'text' files...
  Coming back tagged binary.

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

23 years agofix mangled headers due to underallocated buffer
Greg Ames [Fri, 26 Jan 2001 18:48:57 +0000 (18:48 +0000)]
fix mangled headers due to underallocated buffer

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

23 years agoTeach me to change just one more thing before committing. This fixes my
Ryan Bloom [Fri, 26 Jan 2001 17:57:55 +0000 (17:57 +0000)]
Teach me to change just one more thing before committing.  This fixes my
last commit.

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

23 years agoStop using the request filters to filter an error response. This fixes a
Ryan Bloom [Fri, 26 Jan 2001 17:54:06 +0000 (17:54 +0000)]
Stop using the request filters to filter an error response.  This fixes a
bug where we were using the byterange filter to filter an error, which
caused us to close the connection before we had sent any data.  Currently,
we only keep the three most important filters, but we may need to add more
in the future.  I am mostly thinking of the charset translation filter.

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

23 years agoProvide a way to allow get_resource and get_parent_resource to return errors
Greg Stein [Fri, 26 Jan 2001 11:44:51 +0000 (11:44 +0000)]
Provide a way to allow get_resource and get_parent_resource to return errors
that might occur during the parsing of the URI and/or the lookup of the
resource in the repository.

Specifically: return a dav_error* and move the returned dav_resource* to an
"out" parameter of the hook function.

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

23 years agoapr_put_os_file() expected the caller to have an existing file or init to
Greg Stein [Fri, 26 Jan 2001 09:05:40 +0000 (09:05 +0000)]
apr_put_os_file() expected the caller to have an existing file or init to
NULL. using an existing file doesn't normally work: where would you get a
blank file to shove an FD into? expecting the user to assign to NULL is
error-prone (mod_isapi didn't).

*) always create and return a new file from apr_put_os_file()
*) reimplement apr_open_stderr() in terms of apr_put_os_file()
   [ except for win32... some issues there ]
*) remove some (obsolete) inits to NULL

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

23 years agoFix uninitialized variable 'written' in ap_rvputs, noticed by gcc.
Brian Havard [Fri, 26 Jan 2001 02:53:50 +0000 (02:53 +0000)]
Fix uninitialized variable 'written' in ap_rvputs, noticed by gcc.

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

23 years agomy mom said not to talk to strangers. whoever is reading this is probably a
Greg Stein [Fri, 26 Jan 2001 02:27:03 +0000 (02:27 +0000)]
my mom said not to talk to strangers. whoever is reading this is probably a
stranger. I'm not going to talk to you about what I did. nyeah.

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

23 years agowe only need to worry about infinite-depth PROPFINDs if they are targeting a
Greg Stein [Fri, 26 Jan 2001 02:24:16 +0000 (02:24 +0000)]
we only need to worry about infinite-depth PROPFINDs if they are targeting a
collection. allow them on plain resources.

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

23 years agoStore the original content_type before we replace it with the byterange
Ryan Bloom [Thu, 25 Jan 2001 23:50:33 +0000 (23:50 +0000)]
Store the original content_type before we replace it with the byterange
C-T.  This allows us to report a correct content type in the boundary
header.

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

23 years agoget mod_unique_id building again...XtOffset was undefined
Greg Ames [Thu, 25 Jan 2001 22:20:28 +0000 (22:20 +0000)]
get mod_unique_id building again...XtOffset was undefined

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

23 years agoclarify the comments about FollowSymLinks (and .htaccess)
Greg Stein [Thu, 25 Jan 2001 21:38:10 +0000 (21:38 +0000)]
clarify the comments about FollowSymLinks (and .htaccess)

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

23 years agoUpdates to upgrading/new_features for some recent changes. I would
Joshua Slive [Thu, 25 Jan 2001 21:31:03 +0000 (21:31 +0000)]
Updates to upgrading/new_features for some recent changes.  I would
guess that there are still tons of things missing from these files.

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

23 years agoAdd fragment target
Martin Kraemer [Thu, 25 Jan 2001 20:46:26 +0000 (20:46 +0000)]
Add fragment target

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

23 years agothe issue is resolved.
Greg Ames [Thu, 25 Jan 2001 19:55:15 +0000 (19:55 +0000)]
the issue is resolved.

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

23 years agoremoved docs/conf/highperformance.conf (re-named to highperformance-std.conf)
Greg Ames [Thu, 25 Jan 2001 19:51:30 +0000 (19:51 +0000)]
removed docs/conf/highperformance.conf (re-named to highperformance-std.conf)

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

23 years agoadd highperformance-std.conf . The -std name allows make install to work
Greg Ames [Thu, 25 Jan 2001 18:29:35 +0000 (18:29 +0000)]
add highperformance-std.conf . The -std name allows make install to work
its magic.

Slightly changed from highperformance.conf : I added "User" and "Group" so
it works right out of the box on Linux.  Group will no doubt need editing on
other platforms.

I'll remove docs/conf/highperformance.conf from CVS once I find out the
right way to do it.  (Hints appreciated)

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

23 years agoclose the post file after reading it
Jeff Trawick [Thu, 25 Jan 2001 14:43:28 +0000 (14:43 +0000)]
close the post file after reading it

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

23 years agoAdd the coalesce filter back in. It is NOT being installed anywhere right now.
Bill Stoddard [Thu, 25 Jan 2001 02:51:30 +0000 (02:51 +0000)]
Add the coalesce filter back in. It is NOT being installed anywhere right now.

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

23 years agoAs Greg noted, set_keepalive has to happen before we check r->chunked, but
Ryan Bloom [Wed, 24 Jan 2001 23:47:42 +0000 (23:47 +0000)]
As Greg noted, set_keepalive has to happen before we check r->chunked, but
it also has to happen after ap_basic_http_header.  Otherwise, we don't
set r->connection->keepalive correctly, and it can be -1 for requests that
don't support keepalive.  This moves ap_basic_http_header to above the
call to set_keepalive (after reversing the previous patch), which should
be perfectly safe, while still fixing the original bug.
Submitted by: Greg Stein

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

23 years agoThe ap_set_keepalive call needs to be after the call to
Ryan Bloom [Wed, 24 Jan 2001 23:07:23 +0000 (23:07 +0000)]
The ap_set_keepalive call needs to be after the call to
ap_basic_http_header.  Without this, there are times that HTTP 1.0
requests will do keepalive connections.

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

23 years agoThe current hooking module is _not_ a debugging aid.
Ben Laurie [Wed, 24 Jan 2001 22:52:52 +0000 (22:52 +0000)]
The current hooking module is _not_ a debugging aid.

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

23 years agoRemove the COALESCE_FILTER. It is no longer needed since Greg committed his ap_r*
Bill Stoddard [Wed, 24 Jan 2001 22:47:57 +0000 (22:47 +0000)]
Remove the COALESCE_FILTER. It is no longer needed since Greg committed his ap_r*
buffering patch.

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

23 years agoFix typo in module identifier.
Joshua Slive [Wed, 24 Jan 2001 18:28:09 +0000 (18:28 +0000)]
Fix typo in module identifier.

PR: 7117
Submitted by: Brent Kearney

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

23 years agoAttributes should be quoted.
Joshua Slive [Wed, 24 Jan 2001 18:14:18 +0000 (18:14 +0000)]
Attributes should be quoted.

PR: 7122
Submitted by:   Kohei Watanabe

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

23 years agoget http_core to compile on systems without apr_sendfile() support
Jeff Trawick [Wed, 24 Jan 2001 16:10:02 +0000 (16:10 +0000)]
get http_core to compile on systems without apr_sendfile() support

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

23 years ago- change the prototype for apr_dbm_geterror() [and update dav/fs/dbm.c]
Greg Stein [Wed, 24 Jan 2001 10:24:03 +0000 (10:24 +0000)]
- change the prototype for apr_dbm_geterror()  [and update dav/fs/dbm.c]
- fix up some error handling in apr_dbm.c
- use "dbm" consistently for the apr_dbm_t parameter

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

23 years agoAdd apr_dbm_get_usednames() so that apr_dbm users can figure out what
Greg Stein [Wed, 24 Jan 2001 09:10:15 +0000 (09:10 +0000)]
Add apr_dbm_get_usednames() so that apr_dbm users can figure out what
filenames are actually used by the apr_dbm implementation for a given
pathname.

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

23 years agoUse a typesafe function for access objects' pools.
Greg Stein [Wed, 24 Jan 2001 08:26:19 +0000 (08:26 +0000)]
Use a typesafe function for access objects' pools.

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

23 years agoA single outermost loop is all that is needed. Simplify and add comments
Greg Stein [Wed, 24 Jan 2001 06:17:26 +0000 (06:17 +0000)]
A single outermost loop is all that is needed. Simplify and add comments
about what is going on in there. Shift some declarations to scope their
usage and (re)initialize them on each pass over the brigade.

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

23 years agoHave you had your Ovaltine today?
Greg Stein [Wed, 24 Jan 2001 02:23:18 +0000 (02:23 +0000)]
Have you had your Ovaltine today?

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

23 years agoBegin mod_core.h for CORE-private information. Ideally, AP_CORE_DECLARE
Greg Stein [Wed, 24 Jan 2001 02:14:23 +0000 (02:14 +0000)]
Begin mod_core.h for CORE-private information. Ideally, AP_CORE_DECLARE
function decl's and CORE_PRIVATE header info should all move into this
header.

Start with moving the filter function declarations.

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

23 years agofix the (error) return values for the ap_r* functions.
Greg Stein [Wed, 24 Jan 2001 01:42:41 +0000 (01:42 +0000)]
fix the (error) return values for the ap_r* functions.

Submitted by: Jeff Trawick

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

23 years agoLoop over the brigade when multiple buckets file are found, instead of
Ryan Bloom [Wed, 24 Jan 2001 01:38:31 +0000 (01:38 +0000)]
Loop over the brigade when multiple buckets file are found, instead of
breaking out of the function.
Submitted by:   Greg Stein

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

23 years agoImprove the performance of the ap_r* functions by buffering their data in
Greg Stein [Wed, 24 Jan 2001 01:31:00 +0000 (01:31 +0000)]
Improve the performance of the ap_r* functions by buffering their data in
[the context of] a new filter ("OLD_WRITE").

Further information/discussion of this patch is available on new-httpd
between Jan 16 and Jan 23, 2001.

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

23 years agoRelax the checking of Host: headers so that only character sequences that
Tony Finch [Wed, 24 Jan 2001 01:05:47 +0000 (01:05 +0000)]
Relax the checking of Host: headers so that only character sequences that
are sensitive to the filesystem are rejected, i.e. forward slashes,
backward slashes, and sequences of more than one dot. This supports iDNS
without compromising the safety of mass vhosting.

PR: 6635

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

23 years agoFix the search form to interface to the new search engine.
Joshua Slive [Tue, 23 Jan 2001 23:24:08 +0000 (23:24 +0000)]
Fix the search form to interface to the new search engine.

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

23 years agoAllow the core_output_filter to deal with multiple file buckets in the
Ryan Bloom [Tue, 23 Jan 2001 23:23:37 +0000 (23:23 +0000)]
Allow the core_output_filter to deal with multiple file buckets in the
same brigade.

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

23 years agoFix the core_output_filter. It doesn't make any sense to send less than
Ryan Bloom [Tue, 23 Jan 2001 23:05:12 +0000 (23:05 +0000)]
Fix the core_output_filter.  It doesn't make any sense to send less than
8K of a file using sendfile, it is easier to just read strings from the
file and use those strings directly.

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

23 years agoFix the core to take the new file bucket type into account.
Ryan Bloom [Tue, 23 Jan 2001 07:31:09 +0000 (07:31 +0000)]
Fix the core to take the new file bucket type into account.

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

23 years agoFix the byterange filter for the case where the bucket can't be
Ryan Bloom [Tue, 23 Jan 2001 07:30:11 +0000 (07:30 +0000)]
Fix the byterange filter for the case where the bucket can't be
copied natively.  This will only ever happen if a bucket can be split
but not copied, because we read the bucket in apr_brigade_partition if
we can't split it.  Regardless, this is much safer.  This should also fix
all of the problems with the byterange filter.

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

23 years ago Time to refresh this version (thought we should rename it I suppose.
William A. Rowe Jr [Tue, 23 Jan 2001 06:12:37 +0000 (06:12 +0000)]
  Time to refresh this version (thought we should rename it I suppose.
  Not yet revamped for buckets, we won't want to keep them in sync if
  we get to the stage of eliminating the ap_rputs mechanics from the
  live module.  This remains the classic 'old-style' module for general
  performance testing.

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

23 years agoCleanup the byterange filter to use the apr_brigade_partition
Ryan Bloom [Tue, 23 Jan 2001 05:57:32 +0000 (05:57 +0000)]
Cleanup the byterange filter to use the apr_brigade_partition
and apr_bucket_copy functions.  This removes a lot of very messy
code, and hopefully makes this filter more stable.

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

23 years ago Accomodate the change to the apr_read_dir() arguments, and change all
William A. Rowe Jr [Tue, 23 Jan 2001 04:14:24 +0000 (04:14 +0000)]
  Accomodate the change to the apr_read_dir() arguments, and change all
  apr_dirfoo() and apr_foodir() commands to apr_dir_foo() to match the
  earlier-renamed apr_dir_open().

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

23 years agoWe only want to define ap_send_mmap if APR_HAS_MMAP is true. Without
Ryan Bloom [Mon, 22 Jan 2001 23:07:23 +0000 (23:07 +0000)]
We only want to define ap_send_mmap if APR_HAS_MMAP is true.  Without
this, we don't build successfully.

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

23 years agoAP_REQUEST_DONE is bogus and a bad idea. This had the http_header filter
Ryan Bloom [Mon, 22 Jan 2001 21:57:57 +0000 (21:57 +0000)]
AP_REQUEST_DONE is bogus and a bad idea.  This had the http_header filter
return -3 for every HEAD request, which in turn made us call ap_die.  Of
course, if we didn't have a 200 status (say we had a 206), then we would
seg fault, because we would end up sending down a second EOS bucket, which
would in turn make us call the byterange filter again, but at this point,
we hadn't cleaned up the byterange ctx structure, because it was never
supposed to be called again.

This was biting us on apache.org, where we had a HEAD request for
bytes=100- for a file.  This was a major seg fault.  We are better off
just returning OK is much safer.

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

23 years agos/LAST/MIDDLE/
Doug MacEachern [Mon, 22 Jan 2001 01:57:51 +0000 (01:57 +0000)]
s/LAST/MIDDLE/

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

23 years agoadjust to ap_hook_handler changes
Doug MacEachern [Mon, 22 Jan 2001 01:11:01 +0000 (01:11 +0000)]
adjust to ap_hook_handler changes

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

23 years agoRemove AddModule and ClearModuleList. Neither directive really makes
Ryan Bloom [Sun, 21 Jan 2001 22:14:16 +0000 (22:14 +0000)]
Remove AddModule and ClearModuleList.  Neither directive really makes
much sense anymore, since we use the hooks to order modules correctly.
This also removes the possability that one module will ever register the
same function for the same hook twice.

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

23 years agoTurn MultiViews on in the default config file. This allows people who
Ryan Bloom [Sun, 21 Jan 2001 22:11:00 +0000 (22:11 +0000)]
Turn MultiViews on in the default config file.  This allows people who
install for the first time to actually get a valid first page.

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

23 years agoadjust to namechanges
Doug MacEachern [Sun, 21 Jan 2001 19:47:39 +0000 (19:47 +0000)]
adjust to namechanges

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

23 years agoUpdate Status. Beautiful day out there. :-)
Ryan Bloom [Sun, 21 Jan 2001 17:51:08 +0000 (17:51 +0000)]
Update Status.  Beautiful day out there.  :-)

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

23 years agoFix a small bug that was making us create a directory called "-p" in the
Ryan Bloom [Sun, 21 Jan 2001 17:39:16 +0000 (17:39 +0000)]
Fix a small bug that was making us create a directory called "-p" in the
build directory.

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

23 years agoIf --enable-suexec is specified, then we need to build suexec
Ryan Bloom [Sun, 21 Jan 2001 17:22:18 +0000 (17:22 +0000)]
If --enable-suexec is specified, then we need to build suexec
automatically.  This bit me multiple times last night as I was trying to
setup apache.org.  I would make a change to the configuration, run make;
make install, and it would fail.  The problem was that suexec wasn't
getting re-compiled ever, so my changes weren't getting picked up.  This
solves that problem, by making sure that suexec gets compiled if it was
specified on the configure line.

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

23 years ago Typo fixes for httpd-2.0 man pages.
Chris Pepper [Sun, 21 Jan 2001 16:37:10 +0000 (16:37 +0000)]
Typo fixes for httpd-2.0 man pages.

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

23 years agoAdd headers needed for getpwnam & getgrnam prototypes & types.
Brian Havard [Sun, 21 Jan 2001 14:52:12 +0000 (14:52 +0000)]
Add headers needed for getpwnam & getgrnam prototypes & types.

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

23 years agoBack out the last change (the one that went in without a commit log)
Ryan Bloom [Sun, 21 Jan 2001 05:26:45 +0000 (05:26 +0000)]
Back out the last change (the one that went in without a commit log)
I thought this change was necessary to stop reporting the SERVER_VERSION
twice.  In reality, the apr_hook_deregister_all() call in
ap_clear_module_list solved that problem.

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

23 years agoPR:
Ryan Bloom [Sun, 21 Jan 2001 05:23:22 +0000 (05:23 +0000)]
PR:

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

23 years agoAdd a call to apr_hook_deregister_all() in the clear_module_list function.
Ryan Bloom [Sun, 21 Jan 2001 05:21:32 +0000 (05:21 +0000)]
Add a call to apr_hook_deregister_all() in the clear_module_list function.
The basic problem was that when we load the modules, we call the
register_hooks() function from the module, but then we clear the module
list for all active modules, and add them back in one at a time.  When we
add them back, we re-call the register_hooks() function, thus adding
each function a second time.  This was causing apache.org to log every
request twice in the access log.  By calling apr_hook_deregister_all()
when we unload the module, the second call to register the hooks is the
only call that matters.

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

23 years agoGet mod_suexec compiling on FreeBSD again
Ryan Bloom [Sun, 21 Jan 2001 00:10:15 +0000 (00:10 +0000)]
Get mod_suexec compiling on FreeBSD again

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

23 years agoUpdated Hebrew welcome page.
Joshua Slive [Sat, 20 Jan 2001 22:43:08 +0000 (22:43 +0000)]
Updated Hebrew welcome page.

PR: 7103
Submitted by: Moran Zaltsman <x86zman@bigfoot.com>

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

23 years ago Sunny in Chicago.
William A. Rowe Jr [Sat, 20 Jan 2001 21:47:31 +0000 (21:47 +0000)]
  Sunny in Chicago.

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

23 years ago The changes required for the APR_FINFO_wanted argument to
William A. Rowe Jr [Sat, 20 Jan 2001 21:42:23 +0000 (21:42 +0000)]
  The changes required for the APR_FINFO_wanted argument to
  apr_stat/lstat/getfileinfo.  These are -NOT- optimal, they
  are simply the required changes to get the server working.
  The size of the patch is a warning about how we need to
  really look at what we are trying to accomplish with all
  of these stat/lstat calls.

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

23 years agosome stylistic tweaks post- John's patch
Greg Stein [Sat, 20 Jan 2001 11:29:35 +0000 (11:29 +0000)]
some stylistic tweaks post- John's patch

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

23 years agoNo need to run an external program for checking for the existence of
Sascha Schumann [Sat, 20 Jan 2001 08:23:53 +0000 (08:23 +0000)]
No need to run an external program for checking for the existence of
C source files.  echo as a built-in function does the same job quicker.

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

23 years agoMove initgroupgs, ap_uname2id and ap_gname2id from util.c to
Ryan Bloom [Sat, 20 Jan 2001 06:05:15 +0000 (06:05 +0000)]
Move initgroupgs, ap_uname2id and ap_gname2id from util.c to
mpm_common.c.  These functions are only valid on some platforms,
so they should not be in the main-line code.

These functions are also not portable to non-unix platforms, so they don't
really belong in APR.  Since they are only used in MPMs, for right now,
I am moving them to mpm_common.c

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

23 years agoRemove ap_chdir_file. This function is not thread-safe, and nobody
Ryan Bloom [Sat, 20 Jan 2001 05:18:06 +0000 (05:18 +0000)]
Remove ap_chdir_file.  This function is not thread-safe, and nobody
is currently using it.  The proper way to do this, is to use the
apr_create_process API.

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

23 years ago- implement DeltaV OPTIONS extensions
Greg Stein [Sat, 20 Jan 2001 02:00:01 +0000 (02:00 +0000)]
- implement DeltaV OPTIONS extensions
- let live prop providers get first crack at PROPFIND
- work around MS Web Folders limit on DAV header length

Submitted by: John Vasta <jvasta@rational.com>
Reviewed by: Greg Stein

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

23 years agoFrench translations.
Joshua Slive [Sat, 20 Jan 2001 00:18:26 +0000 (00:18 +0000)]
French translations.

Submitted by: Herve Dumont <hdumont@club-internet.fr>, Benoit Garnier

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

23 years ago Thanks for reminding me the comments had to go too, Bill.
William A. Rowe Jr [Fri, 19 Jan 2001 23:00:46 +0000 (23:00 +0000)]
  Thanks for reminding me the comments had to go too, Bill.

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

23 years ago The fast fix to get FirstBill back out of the gate. It brings up an
William A. Rowe Jr [Fri, 19 Jan 2001 22:32:15 +0000 (22:32 +0000)]
  The fast fix to get FirstBill back out of the gate.  It brings up an
  issue I'll address to the list.

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

23 years ago Kill an unused variable
William A. Rowe Jr [Fri, 19 Jan 2001 22:29:11 +0000 (22:29 +0000)]
  Kill an unused variable

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

23 years agoWin32: httpd.mak is not used now.
Bill Stoddard [Fri, 19 Jan 2001 22:06:10 +0000 (22:06 +0000)]
Win32: httpd.mak is not used now.

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

23 years agowhoops. last two commits didn't deal with $(srcdir)
Greg Stein [Fri, 19 Jan 2001 22:05:37 +0000 (22:05 +0000)]
whoops. last two commits didn't deal with $(srcdir)

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

23 years agomaxdepth isn't portable, so just list the .c files (if any)
Greg Stein [Fri, 19 Jan 2001 22:01:50 +0000 (22:01 +0000)]
maxdepth isn't portable, so just list the .c files (if any)

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

23 years agoFix make depend for the whole server
Ryan Bloom [Fri, 19 Jan 2001 21:47:44 +0000 (21:47 +0000)]
Fix make depend for the whole server

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

23 years agoRemove the direct links to the Apache web site from the welcome pages
Joshua Slive [Fri, 19 Jan 2001 19:44:45 +0000 (19:44 +0000)]
Remove the direct links to the Apache web site from the welcome pages
so that all the clueless people of the world can find someone else
to complain to about their missing porn site.

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

23 years agomissed these files on my previous commit of highperformance.conf -
Greg Ames [Fri, 19 Jan 2001 19:31:02 +0000 (19:31 +0000)]
missed these files on my previous commit of highperformance.conf -
wrong commit incantation

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

23 years ago By popular review
William A. Rowe Jr [Fri, 19 Jan 2001 18:38:34 +0000 (18:38 +0000)]
  By popular review

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

23 years agoStop checking to see if this is a pipelined request if we know
Ryan Bloom [Fri, 19 Jan 2001 17:19:51 +0000 (17:19 +0000)]
Stop checking to see if this is a pipelined request if we know
for a fact that it isn't.  Basically, if r->connection->keepalive == 0.
This keeps us from making an extra read call when serving a 1.0
request.
Submitted by:   Ryan Bloom and Greg Stein

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

23 years agoRely on the APR dso_load cleanup to unload the DSO correctly. There is
Ryan Bloom [Fri, 19 Jan 2001 17:17:04 +0000 (17:17 +0000)]
Rely on the APR dso_load cleanup to unload the DSO correctly.  There is
no reason for mod_so to register a second cleanup.

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

23 years agoupdated to work with either prefork or the pthread mpms.
Greg Ames [Fri, 19 Jan 2001 16:02:54 +0000 (16:02 +0000)]
updated to work with either prefork or the pthread mpms.

I've been using specialized versions of this for ages.  Time to commit it.
If nobody objects, I'd like to rename it highperformance-std.conf, so
make install will find it and do Good Things.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years ago Align the target binary with the newer layout
William A. Rowe Jr [Fri, 19 Jan 2001 13:50:33 +0000 (13:50 +0000)]
  Align the target binary with the newer layout

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

23 years ago The only symbol dropped, not counting regcomp regerror regexec regfree
William A. Rowe Jr [Fri, 19 Jan 2001 13:43:39 +0000 (13:43 +0000)]
  The only symbol dropped, not counting regcomp regerror regexec regfree
  which aren't namespace protected in the first place.

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

23 years ago Normalize the use of AP_DECLARE_DATA
William A. Rowe Jr [Fri, 19 Jan 2001 13:22:49 +0000 (13:22 +0000)]
  Normalize the use of AP_DECLARE_DATA

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

23 years ago Clearing out the libhttpd.def from win32
William A. Rowe Jr [Fri, 19 Jan 2001 13:22:17 +0000 (13:22 +0000)]
  Clearing out the libhttpd.def from win32

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

23 years ago The big change. This is part 3 of the apr-util symbols rename, please
William A. Rowe Jr [Fri, 19 Jan 2001 07:04:36 +0000 (07:04 +0000)]
  The big change.  This is part 3 of the apr-util symbols rename, please
  see the first commit of srclib/apr-util/include (cvs apr-util/include)
  for the quick glance at symbols changed.

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

23 years agoRemove some STATUS items that are already in APR's STATUS file.
Ryan Bloom [Fri, 19 Jan 2001 03:01:14 +0000 (03:01 +0000)]
Remove some STATUS items that are already in APR's STATUS file.

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

23 years agoCleanup the STATUS file a bit.
Ryan Bloom [Fri, 19 Jan 2001 02:58:56 +0000 (02:58 +0000)]
Cleanup the STATUS file a bit.

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

23 years agoForward port OtherBill's fix from 1.3.
Yoshiki Hayashi [Fri, 19 Jan 2001 01:36:31 +0000 (01:36 +0000)]
Forward port OtherBill's fix from 1.3.

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

23 years ago When is a void fn(void) not a void fn(void)? It's a win32'ism, since
William A. Rowe Jr [Thu, 18 Jan 2001 23:54:14 +0000 (23:54 +0000)]
  When is a void fn(void) not a void fn(void)?  It's a win32'ism, since
  the APR_DECLARE (excluding _NONSTD) uses the pascal convention.  Really
  irrelevant in a function that never needs to clean up (atexit), but
  the compiler complains.  Possible workarounds, but that would break
  non-c lanaguge code from linking into apr.

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

23 years ago Some missing exports
William A. Rowe Jr [Thu, 18 Jan 2001 23:52:03 +0000 (23:52 +0000)]
  Some missing exports

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

23 years ago Fixups to build the whole shebang once again.
William A. Rowe Jr [Thu, 18 Jan 2001 23:47:16 +0000 (23:47 +0000)]
  Fixups to build the whole shebang once again.

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

23 years agoBring forward from 1.3:
Tony Finch [Thu, 18 Jan 2001 22:36:58 +0000 (22:36 +0000)]
Bring forward from 1.3:

I broke mod_rewrite by modifying strings in place when expanding them,
because variable lookups can cause subrequests which cause mod_rewrite
to do its stuff again including an expansion on the same string, which
is then syntactically invalid. So copy the lookup keys somewhere else
before using them in such a way that may cause recursion.

In addition to this, my parser could also be confused by complicated
nested rewrite map expansions like ${map1:${map2:key|dflt}|dflt} so
fix that too by keeping track of {} when looking for |.

PR:             7087

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