]> granicus.if.org Git - apache/log
apache
22 years ago Split proxy: space using <Proxy[Match] > directive blocks from
William A. Rowe Jr [Sun, 26 Aug 2001 04:39:35 +0000 (04:39 +0000)]
  Split proxy: space using <Proxy[Match] > directive blocks from
  the <Directory[Match] > and <Files[Match] > blocks.  Mod_proxy
  now bypasses the directory and files testing phase (and skips
  the http TRACE default handler on it's own, as well).  Note that
  <Location > blocks continue to be processed for proxy: requests.

  Remaining questions include canonicalization and case folding
  of proxied uri space, prior to the proxy_walk testing and the
  second <Location > walk.

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

22 years ago Change _only_ the debug build to recognize the /Zi flag (which is portable
William A. Rowe Jr [Sun, 26 Aug 2001 03:58:52 +0000 (03:58 +0000)]
  Change _only_ the debug build to recognize the /Zi flag (which is portable
  for debugging between VC 5.0/6.0/7.0) instead of the VC 6.0+ specific /ZI.

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

22 years agoWe have to initialize the error_bucket before we can destroy it.
Ryan Bloom [Sun, 26 Aug 2001 03:13:36 +0000 (03:13 +0000)]
We have to initialize the error_bucket before we can destroy it.

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

22 years agodidt pay attention to the first question; pretty sure answer is no
Doug MacEachern [Sun, 26 Aug 2001 01:24:41 +0000 (01:24 +0000)]
didt pay attention to the first question; pretty sure answer is no

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

22 years agoi think the answer to aaron's question is "a typo". otherwise there is
Doug MacEachern [Sun, 26 Aug 2001 01:17:32 +0000 (01:17 +0000)]
i think the answer to aaron's question is "a typo".  otherwise there is
actually 1 less thread available to serve requests than configured.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoFix a security problem which would allow an SSI document
Cliff Woolley [Sun, 26 Aug 2001 00:00:39 +0000 (00:00 +0000)]
Fix a security problem which would allow an SSI document
to be passed to the client unparsed.

Reported by: Brian Pane

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

22 years ago Introduce the map_to_storage hook, which allows modules to bypass
William A. Rowe Jr [Sat, 25 Aug 2001 23:43:19 +0000 (23:43 +0000)]
  Introduce the map_to_storage hook, which allows modules to bypass
  the directory_walk and file_walk for non-file requests.  TRACE
  shortcut moved to http_protocol.c as APR_HOOK_MIDDLE, and the
  directory_walk/file_walk happen as APR_HOOK_VERY_LAST in core.c.

  A seperate patch to mod_proxy is required to short circuit both the
  TRACE and directory_walk/file_walk stuff.  That patch is next.

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

22 years agoBUCKETS SMS PHASE 1
Cliff Woolley [Sat, 25 Aug 2001 22:56:22 +0000 (22:56 +0000)]
BUCKETS SMS PHASE 1

Update to match apr-util

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

22 years agoAdded documentation of RemoveCharset, RemoveLanguage to mod_mime.html.
Rich Bowen [Sat, 25 Aug 2001 18:46:16 +0000 (18:46 +0000)]
Added documentation of RemoveCharset, RemoveLanguage to mod_mime.html.
Added links to directives.html.

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

22 years ago Downgrade must occur before we attempt to TRACE, e.g., for clients with
William A. Rowe Jr [Sat, 25 Aug 2001 17:48:52 +0000 (17:48 +0000)]
  Downgrade must occur before we attempt to TRACE, e.g., for clients with
  broken chunking.

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

22 years agoAdditional details in mod_mime about what all this stuff means.
Rich Bowen [Sat, 25 Aug 2001 13:27:12 +0000 (13:27 +0000)]
Additional details in mod_mime about what all this stuff means.
Reviewed by: Joshua Slive

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

22 years agoos-inline.c is no more...
Brian Havard [Sat, 25 Aug 2001 10:19:51 +0000 (10:19 +0000)]
os-inline.c is no more...

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

22 years agoAdd the ability for mod_include to add the INCLUDES filter
Ryan Bloom [Sat, 25 Aug 2001 05:26:05 +0000 (05:26 +0000)]
Add the ability for mod_include to add the INCLUDES filter
if the file is configured for the server-parsed handler.
This makes the configuration for .shtml files much easier
to understand, and allows mod_include to honor Apache 1.3
config files.   Based on Doug MacEachern's patch to PHP
to do the same thing.

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

22 years agoforce OpenSSL to ignore process local-caching and to always
Doug MacEachern [Fri, 24 Aug 2001 23:25:14 +0000 (23:25 +0000)]
force OpenSSL to ignore process local-caching and to always
get/set/delete sessions using mod_ssl's callbacks
PR:
Obtained from:
Submitted by:   Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by:    dougm

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

22 years agothese #ifs were really confusing emacs indentation, easier for humans to parse this...
Doug MacEachern [Fri, 24 Aug 2001 23:17:22 +0000 (23:17 +0000)]
these #ifs were really confusing emacs indentation, easier for humans to parse this way too

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

22 years agolook for config.guess in apr's build dir
Greg Ames [Fri, 24 Aug 2001 21:45:28 +0000 (21:45 +0000)]
look for config.guess in apr's build dir

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

22 years agoJust a little extra commentary...
Cliff Woolley [Fri, 24 Aug 2001 20:38:27 +0000 (20:38 +0000)]
Just a little extra commentary...

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

22 years agoFix a double-free condition when byterange requests are made on brigades
Cliff Woolley [Fri, 24 Aug 2001 20:27:40 +0000 (20:27 +0000)]
Fix a double-free condition when byterange requests are made on brigades
containing any bucket that cannot be copied natively (ie, pipe or socket
buckets).

Before, we were reading that bucket to morph it to a heap bucket and then
taking the str that heap bucket points to and placing it in a second,
completely separate heap bucket.  That means we'd have two apr_bucket/
apr_bucket_heap pairs each with a refcount of 1 (rather than two apr_buckets
and a single apr_bucket_heap with a refcount of 2).  str would then be
doubly-freed when the second of those two buckets was destroyed.

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

22 years ago sec, sec, who's got a sec? This gave me a headache, but I had to clear
William A. Rowe Jr [Fri, 24 Aug 2001 18:12:02 +0000 (18:12 +0000)]
  sec, sec, who's got a sec?  This gave me a headache, but I had to clear
  out the last patch before I rearranged this to be _readable_.

  Next step for everyone's sanity, provide <Proxy > directives ;)

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

22 years agoenable i/o debugging
Doug MacEachern [Fri, 24 Aug 2001 18:06:47 +0000 (18:06 +0000)]
enable i/o debugging

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

22 years ago Commit this code before another patch becomes to difficult to follow.
William A. Rowe Jr [Fri, 24 Aug 2001 18:01:25 +0000 (18:01 +0000)]
  Commit this code before another patch becomes to difficult to follow.

  This patch does one thing, it changes the root path "/" to reflect an
  element count of Zero (0).  directory_walk will always accept the zero
  element (which sorts first, thankfully) on it's first go around.

  So, Unix will accept "/" when it's parsing it's first element "/".

  Dos/Win32 will accept "/" and "C:/" when they parse their first element,
  "C:/".  The root sorted first, so it behaves as users expect.

  The syntax "//" or "//machine" will be depreciated for now, the user
  needs to set up the extact "//machine/share/" that they want served
  on Win32.

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

22 years agoOne thing done.
Joshua Slive [Fri, 24 Aug 2001 17:27:42 +0000 (17:27 +0000)]
One thing done.

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

22 years agoFix seg fault when requesting a page that returns a 'don't cache' header.
Bill Stoddard [Fri, 24 Aug 2001 17:21:39 +0000 (17:21 +0000)]
Fix seg fault when requesting a page that returns a 'don't cache' header.

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

22 years agochurn_output should return the value of ap_pass_brigade
Doug MacEachern [Fri, 24 Aug 2001 17:17:35 +0000 (17:17 +0000)]
churn_output should return the value of ap_pass_brigade

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

22 years agoPoint to the new FAQ.
Joshua Slive [Fri, 24 Aug 2001 17:08:25 +0000 (17:08 +0000)]
Point to the new FAQ.

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

22 years agoRemove the old FAQ.
Joshua Slive [Fri, 24 Aug 2001 17:07:36 +0000 (17:07 +0000)]
Remove the old FAQ.

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

22 years agoEliminate a cache_handle leak. cache_handle is now allocated out of the
Bill Stoddard [Fri, 24 Aug 2001 17:01:21 +0000 (17:01 +0000)]
Eliminate a cache_handle leak. cache_handle is now allocated out of the
request pool.

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

22 years agoEliminate compile warning.
Bill Stoddard [Fri, 24 Aug 2001 16:57:13 +0000 (16:57 +0000)]
Eliminate compile warning.

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

22 years agoMake the worker MPM shutdown and restart cleanly. This also
Ryan Bloom [Fri, 24 Aug 2001 16:49:39 +0000 (16:49 +0000)]
Make the worker MPM shutdown and restart cleanly.  This also
cleans up some race conditions, and gets the worker using
pools more cleanly.

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

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

22 years agomod_mem_cache
Jeff Trawick [Fri, 24 Aug 2001 16:46:43 +0000 (16:46 +0000)]
mod_mem_cache

allow it to be enabled

don't segfault if we don't have/need a lock

clear up several compile warnings

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

22 years agoUninstall the filter if the caching layer declines the cache request.
Bill Stoddard [Fri, 24 Aug 2001 16:33:10 +0000 (16:33 +0000)]
Uninstall the filter if the caching layer declines the cache request.

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

22 years agoCleanup a few compile warnings...
Bill Stoddard [Fri, 24 Aug 2001 15:15:57 +0000 (15:15 +0000)]
Cleanup a few compile warnings...

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

22 years agoFix a seg fault.
Bill Stoddard [Fri, 24 Aug 2001 15:14:43 +0000 (15:14 +0000)]
Fix a seg fault.

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

22 years agoAnother style improvement.
Joshua Slive [Fri, 24 Aug 2001 13:48:53 +0000 (13:48 +0000)]
Another style improvement.

Submitted by: Rich Bowen

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

22 years agoAPR returns APR_EOF, not EOF...
Jeff Trawick [Fri, 24 Aug 2001 13:14:19 +0000 (13:14 +0000)]
APR returns APR_EOF, not EOF...

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

22 years agotemporarily back out the buffering of .var files while folks
Jeff Trawick [Fri, 24 Aug 2001 11:35:58 +0000 (11:35 +0000)]
temporarily back out the buffering of .var files while folks
have a chance to get APR ungetc working properly on buffered
files

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

22 years agoprotect const-ness of variant->file_name by using ap_strchr_c() instead
Jeff Trawick [Fri, 24 Aug 2001 10:40:04 +0000 (10:40 +0000)]
protect const-ness of variant->file_name by using ap_strchr_c() instead
of strchr()

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

22 years agossl_var_lookup() is enabled
Doug MacEachern [Fri, 24 Aug 2001 06:58:00 +0000 (06:58 +0000)]
ssl_var_lookup() is enabled
apr optional functions do not need to be unregistered
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agofix bogus include recursion error when q->uri and rr->uri are both:
Doug MacEachern [Fri, 24 Aug 2001 06:47:35 +0000 (06:47 +0000)]
fix bogus include recursion error when q->uri and rr->uri are both:
"INTERNALLY GENERATED file-relative req"

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoapr_os_thread_current() call needs #if APR_HAS_THREADS protection
Doug MacEachern [Fri, 24 Aug 2001 06:34:26 +0000 (06:34 +0000)]
apr_os_thread_current() call needs #if APR_HAS_THREADS protection
PR:
Obtained from:
Submitted by:    Justin Erenkrantz <jerenkrantz@ebuilt.com>
Reviewed by:

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

22 years agofix prototype
Doug MacEachern [Fri, 24 Aug 2001 06:22:09 +0000 (06:22 +0000)]
fix prototype

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

22 years agoimplement CRYPTO_set_id_callback
Doug MacEachern [Fri, 24 Aug 2001 06:15:39 +0000 (06:15 +0000)]
implement CRYPTO_set_id_callback
PR:
Obtained from:
Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: dougm

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

22 years agochange APR_LOCKALL to APR_INTRAPROCESS for crypto locks
Doug MacEachern [Fri, 24 Aug 2001 05:31:51 +0000 (05:31 +0000)]
change APR_LOCKALL to APR_INTRAPROCESS for crypto locks
PR:
Obtained from:
Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com>
Reviewed by:

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

22 years agoSanitize all the wacky indentation in this block prior to commiting
Cliff Woolley [Fri, 24 Aug 2001 04:50:49 +0000 (04:50 +0000)]
Sanitize all the wacky indentation in this block prior to commiting
the real fix.  No functional change.

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

22 years agoonly set the crypto locking callback if mpm is threaded
Doug MacEachern [Fri, 24 Aug 2001 04:16:57 +0000 (04:16 +0000)]
only set the crypto locking callback if mpm is threaded
get rid of some warnings introduced by the original patch
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago Add the config of the ForceLanguagePriority directive, since we seem
William A. Rowe Jr [Fri, 24 Aug 2001 04:16:29 +0000 (04:16 +0000)]
  Add the config of the ForceLanguagePriority directive, since we seem
  to agree on what it does.  My last question is where do I force this
  behavior without tons of extra filesystem/cpu consumption?

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

22 years agoImplement CRYPTO_set_locking_callback() for mod_ssl
Doug MacEachern [Fri, 24 Aug 2001 04:08:04 +0000 (04:08 +0000)]
Implement CRYPTO_set_locking_callback() for mod_ssl
PR:
Obtained from:
Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: dougm

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

22 years ago Will I ever get my str*cmp semantics right? Not at this hour...
William A. Rowe Jr [Fri, 24 Aug 2001 03:45:21 +0000 (03:45 +0000)]
  Will I ever get my str*cmp semantics right?  Not at this hour...

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

22 years ago My initial changes failed to accomodate this faux entry.
William A. Rowe Jr [Fri, 24 Aug 2001 03:40:18 +0000 (03:40 +0000)]
  My initial changes failed to accomodate this faux entry.
  If you didn't see any <Directory > blocks working right, try
  this cvs update.

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

22 years agobuffer .var maps to avoid asking the kernel for one byte at a
Jeff Trawick [Fri, 24 Aug 2001 03:04:44 +0000 (03:04 +0000)]
buffer .var maps to avoid asking the kernel for one byte at a
time

note that a system trace of .var map processing still shows an
extra read() after we hit EOF the first time; we could make
use of the EOF flag in APR to avoid the read() or play with
mod_negotiation

Suggested by: Marc Slemko

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

22 years ago This flag is no more
William A. Rowe Jr [Fri, 24 Aug 2001 03:02:57 +0000 (03:02 +0000)]
  This flag is no more

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

22 years agoSomebody please get me a copy editor.
Joshua Slive [Fri, 24 Aug 2001 02:24:54 +0000 (02:24 +0000)]
Somebody please get me a copy editor.

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

22 years ago Revert this patch. It indicates some fundamental brokenness with the
William A. Rowe Jr [Fri, 24 Aug 2001 01:41:56 +0000 (01:41 +0000)]
  Revert this patch.  It indicates some fundamental brokenness with the
  apr_filepath_root() fn, which should simply return '/' for an absolute
  path on (most) unix, and advance the path pointer to the first non-'/'
  character  [if only Win32 and others were so simple ;-]

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

22 years agoI don't know if this is the Right Way, but it certainly does make things
Cliff Woolley [Fri, 24 Aug 2001 01:26:31 +0000 (01:26 +0000)]
I don't know if this is the Right Way, but it certainly does make things
work better right now.  httpd-test is much much happier with this patch
(ie, we can serve pages again :)  I'm still seeing issues with mod_include,
but that's probably a different problem... will investigate.

Submitted by: Doug MacEachern

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

22 years ago I'm still not 100% certain on this test. Regardless, it doesn't impact
William A. Rowe Jr [Fri, 24 Aug 2001 00:59:08 +0000 (00:59 +0000)]
  I'm still not 100% certain on this test.  Regardless, it doesn't impact
  Unix, and this was the bug that Jeff's (none the less correct) fix masked.

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

22 years agofix what would seem to be a serious problem in
Jeff Trawick [Fri, 24 Aug 2001 00:47:09 +0000 (00:47 +0000)]
fix what would seem to be a serious problem in
split_and_pass_pretag_buckets(): the retcode is not
specified on one of the paths

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

22 years agosupport "SSLVerifyClient optional_no_ca"
Doug MacEachern [Fri, 24 Aug 2001 00:09:30 +0000 (00:09 +0000)]
support "SSLVerifyClient optional_no_ca"

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

22 years agofix fubar with recent commit to ap_core_translate()
Jeff Trawick [Thu, 23 Aug 2001 23:49:41 +0000 (23:49 +0000)]
fix fubar with recent commit to ap_core_translate()

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

22 years agoprevent double lookup of ssl::verify::error
Doug MacEachern [Thu, 23 Aug 2001 23:43:45 +0000 (23:43 +0000)]
prevent double lookup of ssl::verify::error

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

22 years agosc->szPassPhraseDialogPath is now constified, so we have to use
Cliff Woolley [Thu, 23 Aug 2001 22:37:00 +0000 (22:37 +0000)]
sc->szPassPhraseDialogPath is now constified, so we have to use
ap_strchr_c instead of strchr (which == ap_strchr on my system).

Submitted by: Ryan Bloom

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

22 years ago Fix my typo (I invented the silly constant, you would expect me to recall it.)
William A. Rowe Jr [Thu, 23 Aug 2001 22:19:49 +0000 (22:19 +0000)]
  Fix my typo (I invented the silly constant, you would expect me to recall it.)

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

22 years ago Increase security in core.c by testing (as we merge the path) that the
William A. Rowe Jr [Thu, 23 Aug 2001 22:17:19 +0000 (22:17 +0000)]
  Increase security in core.c by testing (as we merge the path) that the
  URI does not go above the DocumentRoot (as defined by the OS, not by
  the URI specification), and give us the true name.

  When we are done, note the name is canonical for directory_walk.

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

22 years ago Whoops. To explain, we won't dup filename unless it really didn't match
William A. Rowe Jr [Thu, 23 Aug 2001 21:58:07 +0000 (21:58 +0000)]
  Whoops.  To explain, we won't dup filename unless it really didn't match
  in the first place.  We are about to abuse test_filename, so don't try
  using that copy.

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

22 years ago Start with the presumption that canonical_filename is not likely to be set.
William A. Rowe Jr [Thu, 23 Aug 2001 21:56:36 +0000 (21:56 +0000)]
  Start with the presumption that canonical_filename is not likely to be set.
  Therefore we will canonicalize it when it doesn't match filename.

  The next optimization should take the path common to canonical_filename
  and filename, and start merging filename from there for canonicalization.

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

22 years ago Another spot we are certain of the canonical_filename
William A. Rowe Jr [Thu, 23 Aug 2001 21:21:17 +0000 (21:21 +0000)]
  Another spot we are certain of the canonical_filename

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

22 years ago We already extract e for subprocess_env, and set SECURE_SERVER_PORT
William A. Rowe Jr [Thu, 23 Aug 2001 21:17:38 +0000 (21:17 +0000)]
  We already extract e for subprocess_env, and set SECURE_SERVER_PORT
  for real.

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

22 years ago Why two ifdef blocks? This is simpler to read
William A. Rowe Jr [Thu, 23 Aug 2001 21:16:05 +0000 (21:16 +0000)]
  Why two ifdef blocks?  This is simpler to read

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

22 years agoAnother small faq change.
Joshua Slive [Thu, 23 Aug 2001 21:06:02 +0000 (21:06 +0000)]
Another small faq change.

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

22 years ago Two cases we are certain of canonical correctness
William A. Rowe Jr [Thu, 23 Aug 2001 21:05:42 +0000 (21:05 +0000)]
  Two cases we are certain of canonical correctness

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

22 years ago Add a canonical_filename value (should remain the r->filename identity)
William A. Rowe Jr [Thu, 23 Aug 2001 21:03:44 +0000 (21:03 +0000)]
  Add a canonical_filename value (should remain the r->filename identity)
  so we can tell if a 3rd party module broke the canonical form of the
  filename by not calling apr_filepath_merge().

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

22 years agowrong url
Joshua Slive [Thu, 23 Aug 2001 21:02:55 +0000 (21:02 +0000)]
wrong url

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

22 years ago Better doc of ap_server_root_relative()
William A. Rowe Jr [Thu, 23 Aug 2001 21:01:11 +0000 (21:01 +0000)]
  Better doc of ap_server_root_relative()

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

22 years agoUpdate support info.
Joshua Slive [Thu, 23 Aug 2001 21:01:02 +0000 (21:01 +0000)]
Update support info.

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

22 years agoplease no // in Apache code... it doesn't compile everywhere
Jeff Trawick [Thu, 23 Aug 2001 20:29:47 +0000 (20:29 +0000)]
please no // in Apache code... it doesn't compile everywhere

a note about why it is commented out would be appropriate too

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

22 years agomake it compile :(
Jeff Trawick [Thu, 23 Aug 2001 20:15:56 +0000 (20:15 +0000)]
make it compile :(

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

22 years agomod_cache cleanup:
Jeff Trawick [Thu, 23 Aug 2001 19:46:55 +0000 (19:46 +0000)]
mod_cache cleanup:

change the module variable from tcache_module to cache_module

clear up various gcc warnings

don't segfault when the silly user (me) configures CACHE_OUT
manually

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

22 years agoos-inline.c is no more (fix from bloom)
Doug MacEachern [Thu, 23 Aug 2001 19:45:17 +0000 (19:45 +0000)]
os-inline.c is no more (fix from bloom)

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

22 years ago Add some appropriate constness to the config
William A. Rowe Jr [Thu, 23 Aug 2001 19:42:44 +0000 (19:42 +0000)]
  Add some appropriate constness to the config

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

22 years agoat least try to compile all the parts of mod_cache when it is
Jeff Trawick [Thu, 23 Aug 2001 19:37:23 +0000 (19:37 +0000)]
at least try to compile all the parts of mod_cache when it is
requested

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

22 years ago Silly compiler, const char* is for text :)
William A. Rowe Jr [Thu, 23 Aug 2001 19:35:23 +0000 (19:35 +0000)]
  Silly compiler, const char* is for text :)

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

22 years ago I _like_ malloca(), but it needs an include
William A. Rowe Jr [Thu, 23 Aug 2001 19:29:45 +0000 (19:29 +0000)]
  I _like_ malloca(), but it needs an include

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

22 years ago Rather than continuing to canonicalize within directory_walk (very time
William A. Rowe Jr [Thu, 23 Aug 2001 19:19:52 +0000 (19:19 +0000)]
  Rather than continuing to canonicalize within directory_walk (very time
  consuming on all but *nix systems) we temporarily canonicalize to compare
  the results of the many merges, and fail on a mismatch.

  The apr_filepath_merge and ap_server_root_relative calls now merge the
  file _by canonicalizing it_.  That includes resolving all /../, /./,
  and // misnomers.

  A minor effort is required to figure out who all munges the r->filename
  in an inappropriate manner.

  The final (return to optimized state) probably involves setting an
  r->goodname argument to r->filename, every time we properly merge
  through ap_server_root_relative or apr_filepath_merge().

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

22 years ago Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
William A. Rowe Jr [Thu, 23 Aug 2001 19:15:13 +0000 (19:15 +0000)]
  Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
  changes for ap_os_is_path_absolute (moved to util.c).

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

22 years ago Overhauled ap_server_root_relative, so that it now changes any path
William A. Rowe Jr [Thu, 23 Aug 2001 19:13:53 +0000 (19:13 +0000)]
  Overhauled ap_server_root_relative, so that it now changes any path
  to canonical form through apr.  Also assures that a change to the
  ServerRoot through a -C option takes effect before locating the
  httpd.conf file.

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

22 years ago Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
William A. Rowe Jr [Thu, 23 Aug 2001 19:10:52 +0000 (19:10 +0000)]
  Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
  changes for ap_os_is_path_absolute

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

22 years ago New ap_os_is_path_absolute() semantics
William A. Rowe Jr [Thu, 23 Aug 2001 19:08:46 +0000 (19:08 +0000)]
  New ap_os_is_path_absolute() semantics

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

22 years agoNew faq for 2.0. Start with a relatively clean slate.
Joshua Slive [Thu, 23 Aug 2001 19:08:43 +0000 (19:08 +0000)]
New faq for 2.0.  Start with a relatively clean slate.
The existing faq will be deleted soon.

Discussion to follow on docs list.

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

22 years ago Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
William A. Rowe Jr [Thu, 23 Aug 2001 19:08:20 +0000 (19:08 +0000)]
  Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
  move ap_os_is_path_absolute() into util.c (now relies on apr.)

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

22 years ago Canonicalization will now occur on all sub_req_lookup_file() calls,
William A. Rowe Jr [Thu, 23 Aug 2001 19:00:07 +0000 (19:00 +0000)]
  Canonicalization will now occur on all sub_req_lookup_file() calls,
  and the ap_server_root_relative() will handle canonicalization as well.

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

22 years ago ap_server_root_relative will take care of this canonical_file call.
William A. Rowe Jr [Thu, 23 Aug 2001 18:57:08 +0000 (18:57 +0000)]
  ap_server_root_relative will take care of this canonical_file call.

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

22 years ago Performance death notices. Note that we shouldn't have EVER coded a
William A. Rowe Jr [Thu, 23 Aug 2001 18:56:13 +0000 (18:56 +0000)]
  Performance death notices.  Note that we shouldn't have EVER coded a
  module with a fixed path ... the config phase should take the proxy/
  path and ap_server_root_relative() it at startup.

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

22 years ago Optimize out what is a very expensive in-request call to
William A. Rowe Jr [Thu, 23 Aug 2001 18:53:27 +0000 (18:53 +0000)]
  Optimize out what is a very expensive in-request call to
  ap_server_root_relative (and is becoming more expensive).
  Now the call happens in the config phase where it belongs.
  Note someone can hop in and transpose the stat and open
  with an open and getfileinfo if you are a performance hound.

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

22 years ago Clear out this optimization till we are prepared for it (not now.)
William A. Rowe Jr [Thu, 23 Aug 2001 18:49:55 +0000 (18:49 +0000)]
  Clear out this optimization till we are prepared for it (not now.)

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

22 years ago Fix most-bogus ap_server_root_relative() cases. These don't include
William A. Rowe Jr [Thu, 23 Aug 2001 18:47:32 +0000 (18:47 +0000)]
  Fix most-bogus ap_server_root_relative() cases.  These don't include
  the cases where we are trying to ap_server_root_relative() a pipe cmd!

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

22 years agoReplace apr_uri_components with apr_uri_t
Bill Stoddard [Thu, 23 Aug 2001 18:27:21 +0000 (18:27 +0000)]
Replace apr_uri_components with apr_uri_t

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

22 years agoOS/2 now uses mpmt_os2 by default.
Brian Havard [Thu, 23 Aug 2001 16:55:23 +0000 (16:55 +0000)]
OS/2 now uses mpmt_os2 by default.

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

22 years ago This was copied as a test of the ap_r[put|putc|write|printf] family of
William A. Rowe Jr [Thu, 23 Aug 2001 16:45:24 +0000 (16:45 +0000)]
  This was copied as a test of the ap_r[put|putc|write|printf] family of
  functions.  Since those don't seem to be going anywhere, this test is
  redundant and a maintance headache.

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

22 years agoFix for mod_include. Ryan's patch to check error
Paul J. Reder [Thu, 23 Aug 2001 15:45:49 +0000 (15:45 +0000)]
Fix for mod_include. Ryan's patch to check error
codes put a return in the wrong place. Also, the
include handler return code wasn't being checked.
I don't like macros with returns, so I converted
SPLIT_AND_PASS_PRETAG_BUCKETS into a function.

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

22 years agowhoops! replace two post 2.0.24 fixes I accidently wiped out yesterday.
Greg Ames [Thu, 23 Aug 2001 15:35:50 +0000 (15:35 +0000)]
whoops!  replace two post 2.0.24 fixes I accidently wiped out yesterday.

Reported by: Jeff Trawick, Paul Reder

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

22 years agoWin32 project file for mod_cache.
Bill Stoddard [Thu, 23 Aug 2001 15:26:58 +0000 (15:26 +0000)]
Win32 project file for mod_cache.

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