]>
granicus.if.org Git - apache/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Martin Kraemer [Thu, 23 Aug 2001 15:17:02 +0000 (15:17 +0000)]
My first try at relocating the manual tree outside of the htdocs/ directory.
It will now reside in the ServerRoot, alongside with .../man/ and .../icons/
and .../htdocs/
-
Please review the config.layout entries for the vendor specific entries,
I supplied sensible defaults but you may disagree.
Reviewed by: William A. Rowe, Jr., Joshua Slive, Rich Bowen
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90551
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Thu, 23 Aug 2001 14:56:42 +0000 (14:56 +0000)]
Fix using uninitialized variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90550
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Thu, 23 Aug 2001 14:15:00 +0000 (14:15 +0000)]
Experimental cache based on Graham Leggett's layered cache design. mod_cache
implements a quick handler, and three filters. The filters are
CACHE_IN for loading the cache, CACHE_OUT for serving content out of the cache
and CACHE_CONDITIONAL, which handles stale entries in the cache.
mod_cache implements code that makes RFC compliant caching decisions. It
interfaces with the actual storage mechanism via calls to functions defined in
cache_storage.c. This commit includes a simple in memory (malloc'ed memory)
cache implementation that demonstrates autoloading and serving files
keyed on URL.
This is not even close to production ready. You have been warned :-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90549
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Aug 2001 13:08:48 +0000 (13:08 +0000)]
It doesn't get any simpler than this
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90547
13f79535 -47bb-0310-9956-
ffa450edef68
Lars Eilebrecht [Thu, 23 Aug 2001 12:59:17 +0000 (12:59 +0000)]
remove company name
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90546
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 23 Aug 2001 12:20:27 +0000 (12:20 +0000)]
me too
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90545
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 23 Aug 2001 04:15:37 +0000 (04:15 +0000)]
fix part of PR #7528
"UnsetEnv does not work from main body of httpd.conf"
PR also complains:
"also does not unsetenv()", but this fix does not address that
(i doubt unsetenv is portable or threadsafe)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90542
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Thu, 23 Aug 2001 02:46:23 +0000 (02:46 +0000)]
register ssl_var_lookup() as an optional function
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90537
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Thu, 23 Aug 2001 02:32:26 +0000 (02:32 +0000)]
performance: change an O(n) while loop to an equivalent O(1) brigade macro
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90536
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Thu, 23 Aug 2001 02:23:43 +0000 (02:23 +0000)]
Another step in improving legibility by factoring out some redundant code
(how many times can you test the same condition in one function? :-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90535
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Aug 2001 00:51:03 +0000 (00:51 +0000)]
Revert these from my last commit ... I had no intention of changing
them in the first place :(
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90533
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Aug 2001 00:39:50 +0000 (00:39 +0000)]
Whoops, we would like a whole lot more files, such as images and include
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90532
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Thu, 23 Aug 2001 00:23:54 +0000 (00:23 +0000)]
Nit: the lack of brackets was driving me crazy
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90531
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Thu, 23 Aug 2001 00:21:40 +0000 (00:21 +0000)]
Simplify the apr_read_type_e vs. ap_input_mode_t silliness. The two
are compatible (due to our early abort when PEEK mode is requested),
so we don't have to go to so much effort to convert from one to the other.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90530
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 23 Aug 2001 00:15:37 +0000 (00:15 +0000)]
This probably falls under the category: if you can't figure it out yourself,
you shouldn't be doing it. But we might as well remove obsolete stuff.
PR: 4685
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90527
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Aug 2001 00:06:27 +0000 (00:06 +0000)]
Complete the rename of the ssl_scache_status_register and
ssl_ext_proxy_register (which has yet to be renamed for it's
future location, since I'm not going further at the moment
with implementing it's functionallity, all my focus is on
the ssl_var_register arm.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90524
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Wed, 22 Aug 2001 23:28:35 +0000 (23:28 +0000)]
Oops.. removed the more accurate of the two. =-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90523
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Wed, 22 Aug 2001 23:24:17 +0000 (23:24 +0000)]
remove conflict crud
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90522
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Wed, 22 Aug 2001 23:13:10 +0000 (23:13 +0000)]
Add a note about includesnoexec.
PR: 5075
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90520
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Wed, 22 Aug 2001 23:12:24 +0000 (23:12 +0000)]
get rid of nuisance log messages due to subrequests failing with EPIPE
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90519
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 22 Aug 2001 22:58:07 +0000 (22:58 +0000)]
Remove a ton o' cruft. Moves the mod_log_config 'var' extensions to
ssl_engine_vars.c.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90517
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Wed, 22 Aug 2001 22:56:05 +0000 (22:56 +0000)]
Update mailing list and add myself to another list.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90516
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Wed, 22 Aug 2001 22:34:50 +0000 (22:34 +0000)]
Add a couple windows notes.
PR: 6289, 5786
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90514
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Wed, 22 Aug 2001 22:25:14 +0000 (22:25 +0000)]
There's only one way for bb to be non-NULL, so these two
cases can be combined.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90513
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 22 Aug 2001 22:03:01 +0000 (22:03 +0000)]
reverting to sterlings original segv fix when extension_mappings is NULL
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90512
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 22 Aug 2001 21:37:15 +0000 (21:37 +0000)]
remove #if 0-ed ssl_hook_NewConnection code; was only left for reference,
no longer needed
remove #if 0-ed ssl_hook_TimeoutConnection code; ssl no longer talks directly
to the socket
PR:
Obtained from:
Submitted by: madhu
Reviewed by: dougm
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90511
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 22 Aug 2001 20:43:30 +0000 (20:43 +0000)]
v2 of sterlings segv fix
always initialize the extension_info hash rather than checking that it is
!= NULL
PR:
Obtained from:
Submitted by: John Sterling <sterling@covalent.net>
Reviewed by: dougm
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90510
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 22 Aug 2001 20:41:23 +0000 (20:41 +0000)]
another update from madhu
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90509
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Wed, 22 Aug 2001 20:34:40 +0000 (20:34 +0000)]
We always need to include the openssl specific directory in the INCLUDES
variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90508
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Wed, 22 Aug 2001 20:25:24 +0000 (20:25 +0000)]
Follow the leader...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90507
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 22 Aug 2001 20:03:47 +0000 (20:03 +0000)]
fix segv in mod_mime if no AddTypes are configured
PR:
Obtained from:
Submitted by: John Sterling <sterling@covalent.net>
Reviewed by: dougm
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90506
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 22 Aug 2001 19:49:23 +0000 (19:49 +0000)]
client auth is enabled
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90505
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 22 Aug 2001 19:40:07 +0000 (19:40 +0000)]
move some code duplication into ssl_abort() function
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90504
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 22 Aug 2001 19:37:03 +0000 (19:37 +0000)]
Enable ssl client authentication at SSL_accept time
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@90503
13f79535 -47bb-0310-9956-
ffa450edef68