]>
granicus.if.org Git - apache/log
André Malo [Mon, 28 Jul 2003 14:53:32 +0000 (14:53 +0000)]
exit(1) should never occur in any module. Stay away from it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100814
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 28 Jul 2003 14:18:45 +0000 (14:18 +0000)]
a long time ago ...
REWRITELOCK_MODE wasn't used anymore for ages. In the meantime it defined
the mode of the rewritelog (sic!) file. So fix the misnaming and
use constants for mode and open flags.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100813
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Mon, 28 Jul 2003 14:16:00 +0000 (14:16 +0000)]
Add some documentation on upgrading from one minor version to the next.
Reviewed by: Mads Toftum, Erik Abele, Michael Schroepl
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100811
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 28 Jul 2003 13:02:37 +0000 (13:02 +0000)]
cleanup current_logtime function.
use sizeof where sizeof should be used.
don't compute strlen again and again (use the supplied value
from apr_strftime instead).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100810
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 28 Jul 2003 12:30:42 +0000 (12:30 +0000)]
add the ability to change the maximum txt:map line length at
compile time without patching the code
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100809
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Mon, 28 Jul 2003 02:09:27 +0000 (02:09 +0000)]
Sync changes with backported patches.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100807
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 27 Jul 2003 22:12:49 +0000 (22:12 +0000)]
Get a rid of the oversized cache.
The new map-cache consists of a simple two-tiered apr_hash structure.
cachep->maps contains entries for each map, which point to a hash with
the actual values (map->entries).
Each map->entries hash lives in a subpool of cachep->pool.
The mtime is stored per map and if the map expires, we just clear
map->pool and create a fresh map->entries hash structure.
This removes a big chunk of code from mod_rewrite, improves readability and
even the memory footprint of the cache.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100801
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 27 Jul 2003 19:18:27 +0000 (19:18 +0000)]
cleanup the select_random_value_part function.
improve efficiency and readabilty.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100800
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 27 Jul 2003 16:53:27 +0000 (16:53 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100799
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 27 Jul 2003 14:40:52 +0000 (14:40 +0000)]
cleanup lookup_map_dbmfile function.
improve efficiency and readablity.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100798
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 27 Jul 2003 13:49:15 +0000 (13:49 +0000)]
cleanup lookup_map_txtfile function.
- improve efficiency
- make it better readable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100797
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 27 Jul 2003 11:56:06 +0000 (11:56 +0000)]
avoid unnecessary memory operations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100796
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 27 Jul 2003 00:08:21 +0000 (00:08 +0000)]
cleanup lookup_map function.
- use switch instead of if-else chain
- collapse txt/rnd code, which is essentially the same
- make it better readable at all.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100795
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sat, 26 Jul 2003 23:04:18 +0000 (23:04 +0000)]
rewritemaps are identified by name. Store 'em in a hash rather than
an array. This is more naturally, efficient (mostly) and better
readable.
Leave deep indentations for now (better diff).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100794
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sat, 26 Jul 2003 20:47:03 +0000 (20:47 +0000)]
re-add missing headers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100793
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sat, 26 Jul 2003 20:32:24 +0000 (20:32 +0000)]
oof. Strip all non-public stuff from mod_rewrite.h and
reorder the code in mod_rewrite.c in order to get a rid of
the forward declaration. Cleaned up the comments as well.
No real code change, but a quite big diff ...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100792
13f79535 -47bb-0310-9956-
ffa450edef68
Astrid Malo [Fri, 25 Jul 2003 22:46:38 +0000 (22:46 +0000)]
- remove to occurences of 'instead' without reference centre
- some markup improvement
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100790
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Fri, 25 Jul 2003 20:07:29 +0000 (20:07 +0000)]
remove outdated and more confusing than helping comment.
no code change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100789
13f79535 -47bb-0310-9956-
ffa450edef68
Erik Abele [Fri, 25 Jul 2003 18:31:25 +0000 (18:31 +0000)]
Enhance some bits of the suEXEC docco to be a bit more precise
in regard to suEXEC's docroot handling and it's preconditions;
see PR#21873 and #21874.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100787
13f79535 -47bb-0310-9956-
ffa450edef68
Mads Toftum [Fri, 25 Jul 2003 10:54:59 +0000 (10:54 +0000)]
Add votes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100786
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 23:25:31 +0000 (23:25 +0000)]
avoid unnecessary memory operation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100784
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 23:10:29 +0000 (23:10 +0000)]
remove more unnecessary strlen() operations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100783
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 22:48:17 +0000 (22:48 +0000)]
remove another fixed buffer from the stack
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100782
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 22:24:40 +0000 (22:24 +0000)]
indentation. no code change
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100780
13f79535 -47bb-0310-9956-
ffa450edef68
Astrid Malo [Thu, 24 Jul 2003 21:50:15 +0000 (21:50 +0000)]
vote and extend to do list
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100779
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 20:50:50 +0000 (20:50 +0000)]
remove useless post increment.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100776
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 20:29:19 +0000 (20:29 +0000)]
remove more variables from the stack and
increase readability.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100775
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 19:50:45 +0000 (19:50 +0000)]
minor optimization.
this avoids a variable on stack and some internal
pointer operations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100774
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 19:39:11 +0000 (19:39 +0000)]
remove outdated comments about different regex libs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100773
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 19:06:33 +0000 (19:06 +0000)]
optimization/cleanup.
The generic flagparser (read: lexer) for RewriteRules and RewriteConds
does the same except for one function call.
Collapse these to functions to one and make the result more
readable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100772
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 24 Jul 2003 15:35:05 +0000 (15:35 +0000)]
Prevent the OpenSSL id_callback from pointing at a mod_ssl
function after mod_ssl is unloaded.
* ssl_util.c (ssl_util_thread_cleanup): Clear the id_callback.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100767
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 24 Jul 2003 15:29:21 +0000 (15:29 +0000)]
Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100765
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 15:26:56 +0000 (15:26 +0000)]
that loop was totally bogus.
r->content_type contains no more than one c-t
use ap_field_noparam to strip the decoration and
just a single condition to check the validity of r->content_type
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100763
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 24 Jul 2003 14:36:54 +0000 (14:36 +0000)]
don't reverse the filter order in AddOutputFilterByType
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100760
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 24 Jul 2003 14:34:00 +0000 (14:34 +0000)]
Refresh parts of the proxy docs, with special attention to clarifying the
security issues in forward and reverse proxy situations.
- Remove the historical narrative in the top section and simply state
the facts.
- Remove the table of contents, since we already generate one for the sidebar.
- Rewrite the forward vs reverse section to be clear on the purpose of
the two types of proxy.
- Add some basic examples of each type of proxy to replace the example removed
from the default config file.
- Add a note to the access control section on forward versus reverse proxys,
and also add a reference to mod_access that got removed at some point.
- Add a warning to the ProxyPass docs that ProxyRequests should be off.
- Shorten some section titles.
I did not add the
ProxyBlock :25
because I don't have a proxy server to test it on at the moment.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100759
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Thu, 24 Jul 2003 10:40:54 +0000 (10:40 +0000)]
'omit' has one 'm'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100758
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Thu, 24 Jul 2003 10:29:01 +0000 (10:29 +0000)]
Without this hint, users often do not know how to use the proxy in an intranet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100757
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Thu, 24 Jul 2003 10:18:03 +0000 (10:18 +0000)]
Fix long-standing typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100756
13f79535 -47bb-0310-9956-
ffa450edef68
Erik Abele [Wed, 23 Jul 2003 23:54:23 +0000 (23:54 +0000)]
More votes.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100755
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Wed, 23 Jul 2003 22:39:24 +0000 (22:39 +0000)]
- In 2.0 it is possible for LanguagePriority to have an effect, even for
a properly configured HTTP/1.1 client.
- Reference MultiViewsMatch.
PR: 21726, 21830
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100753
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 23 Jul 2003 21:58:11 +0000 (21:58 +0000)]
sync
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100752
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 23 Jul 2003 20:32:06 +0000 (20:32 +0000)]
sync
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100750
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Wed, 23 Jul 2003 19:36:36 +0000 (19:36 +0000)]
Hit a couple files that hadn't been adapted to account
for the move from <Directory proxy:> to <proxy>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100748
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 23 Jul 2003 13:32:14 +0000 (13:32 +0000)]
don't compute the strlen of dconf->directory three times
Submitted by: Justin
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100744
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 23 Jul 2003 13:01:01 +0000 (13:01 +0000)]
remove duped section
Submitted by: Justin
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100743
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 22 Jul 2003 20:01:43 +0000 (20:01 +0000)]
fix mod_status compilation on Win32 (stolen from mod_dav).
We should consider a rename of AP_*_HOOK_* to CORE_*_HOOK_* ;-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100737
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Tue, 22 Jul 2003 05:36:54 +0000 (05:36 +0000)]
Don't attempt to hold all of the response until we're done. We'll pass data on
when the zlib buffer becomes full and we need to reset the buffer anyway.
Also, tidy up a similar semantic when we see the EOS by returning an error
if ap_pass_brigade gets an error (we'd lose it otherwise).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100730
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 21 Jul 2003 23:47:33 +0000 (23:47 +0000)]
Fixed a trio of mod include bugs. The first two were
reported and investigated by Ron Park on dev@httpd in msgid
<
161E04AB9955D54E826FD86360578554D27087 @169.32.17.10.nat.cnet.com>;
the third was reported by Kevin Varley in PR 21095.
Bug 1: An incorrect parameter to bndm() was causing start sequences
that spanned buckets to drop characters.
Bug 2: Failed conditional text spanning brigades would cause portions
of the text that should have been removed to be present anyway.
Bug 3: Dropped characters when the end sequence spanned an
8000-byte boundary with MMAP off.
PR: 21095
Submitted by: Ron Park <ronald.park@cnet.com>, Andr� Malo, Cliff Woolley
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100728
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 21 Jul 2003 15:39:04 +0000 (15:39 +0000)]
further cleanup, and add esperanto code
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100725
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 21 Jul 2003 14:48:02 +0000 (14:48 +0000)]
Add optional hook to extend mod_status output.
* configure.in: Add modules/generators to include path.
* Makefile.in: Install mod_status.h.
* modules/generators/mod_status.h: New file.
* modules/generators/mod_status.c: Implement ap_run_status_hook.
(status_handler): Run status hooks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100724
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 21 Jul 2003 12:42:52 +0000 (12:42 +0000)]
cleanup addlanguage/comments and languagepriority
PR: 21743
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100722
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 21 Jul 2003 12:05:09 +0000 (12:05 +0000)]
vote & note
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100721
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 21 Jul 2003 12:02:40 +0000 (12:02 +0000)]
Prevent segfaults after SSL renegotiation failures.
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Set aborted flag
after renegotiation failure.
* modules/ssl/ssl_engine_io.c (ssl_filter_write, ssl_io_filter_output):
Don't dereference BIOs in filter_ctx when filter_ctx->pssl is NULL.
(ssl_filter_io_shutdown): Set aborted flag on abortive shutdown.
PR: 21370
Submitted by: Hartmut Keil <Hartmut.Keil@adnovum.ch>
Cleaned up by: Jeff Trawick, Joe Orton
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100720
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 21 Jul 2003 11:41:01 +0000 (11:41 +0000)]
reject overlong credentials from the commandline
Acked by: Cliff Woolley
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100718
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Fri, 18 Jul 2003 18:33:06 +0000 (18:33 +0000)]
Vote; note something missing in sections.html, and decrease the priority
of the var/ issue.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100692
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Fri, 18 Jul 2003 00:38:44 +0000 (00:38 +0000)]
when prefixing document root, use the core translator instead
of baking our own. The core function is much better maintained
and probably more safe.
Additionally this removes just another fixed buffer :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100681
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 17 Jul 2003 22:26:55 +0000 (22:26 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100680
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 17 Jul 2003 21:22:50 +0000 (21:22 +0000)]
step two: get a rid of the old do_expand function.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100676
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 17 Jul 2003 21:18:02 +0000 (21:18 +0000)]
optimization; rewrite the do_expand function in order to:
+ give it a better interface
+ get a rid of most of the fixed stack buffers and then
+ no longer limit rewritten uris, expanded variables etc to
2k
+ make it better readable and understandable at all.
This is a two-tiered commit for better diffs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100675
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 17 Jul 2003 16:17:04 +0000 (16:17 +0000)]
Speed up ap_md5digest() a little.
* util_md5.c (ap_md5digest): Use a larger buffer; ensure size is a
multiple of 64 to prevent buffering in MD5 code. Remove redundant
'length' variable. Reset read size in case of short reads.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100672
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jul 2003 19:33:09 +0000 (19:33 +0000)]
Oops. Replace * with *:80 in the <VirtualHost> example also.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100657
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jul 2003 19:29:32 +0000 (19:29 +0000)]
Replace NameVirtualHost * with NameVirtualHost *:80 in the example
config.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100654
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 16 Jul 2003 19:01:05 +0000 (19:01 +0000)]
add some linebreaks and reorder case alphabetically for better
readability. No code changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100652
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 16 Jul 2003 18:23:37 +0000 (18:23 +0000)]
optimization: no need to use the pool here. This is
obviously a static value.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100651
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 16 Jul 2003 17:27:26 +0000 (17:27 +0000)]
optimization:
- add comment about what subst_prefix_path function does
- reduce the use of fixed buffers
- get a rid of unnecessary memory operations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100650
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Wed, 16 Jul 2003 17:07:05 +0000 (17:07 +0000)]
Just fixing some improperly formatted entries.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100649
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Wed, 16 Jul 2003 06:31:53 +0000 (06:31 +0000)]
Switch ap_filter_flush() to ap_pass_brigade(). This removes a layer of
function calls, provides type safety for the ap_filter_t*, and
clarifies what is really going on (i.e. we aren't sending a FLUSH
bucket of any kind).
* mod_dav.c (dav_send_multistatus, dav_method_propfind): change the
ap_filter_flush call to ap_pass_brigade; flip the params to match
the prototype.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100647
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Wed, 16 Jul 2003 06:24:07 +0000 (06:24 +0000)]
* util_filter.h (ap_filter_flush): clarify that this function has
nothing to do with FLUSH buckets. It is simply a cover function
for ap_pass_brigade for use with the apr_brigade_* writing
functions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100646
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 16 Jul 2003 01:04:23 +0000 (01:04 +0000)]
optimization: speed up ruleflag parsing.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100645
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 15 Jul 2003 23:30:40 +0000 (23:30 +0000)]
optimization: no need to search linear for headers.
apr_table_get should be more efficient nearly always.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100644
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 15 Jul 2003 22:29:38 +0000 (22:29 +0000)]
optimization: rewrite reduce_uri function:
get a rid of static buffers and unnecessary memory operations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100643
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Tue, 15 Jul 2003 21:41:23 +0000 (21:41 +0000)]
Update the header token parsing code to allow LWS between the
token word and the ':' seperator. [PR 16520]
[submitted: Kris Verbeeck <kris.verbeeck@advalvas.be> and
Nicel KM <mnicel@yahoo.com>]
[Reviewed: <coad@measurement-factory.com> and
Paul J. Reder]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100642
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Tue, 15 Jul 2003 21:03:09 +0000 (21:03 +0000)]
Eliminate creation of a temporary table in ap_get_mime_headers_core()
Submitted by: Joe Schaefer <joe+gmane@sunstarsys.com>
Reviewed by: Brian Pane
Backported by: Paul J. Reder
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100638
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 15 Jul 2003 20:38:04 +0000 (20:38 +0000)]
minor optimization. No need to use a function overhead here.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100637
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Tue, 15 Jul 2003 18:43:41 +0000 (18:43 +0000)]
Namespace protected the table label.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100634
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 15 Jul 2003 17:49:03 +0000 (17:49 +0000)]
Ignore RewriteRules in .htaccess files if the directory
containing the .htaccess file is requested without a trailing slash.
PR: 20195
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100632
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 15 Jul 2003 13:22:03 +0000 (13:22 +0000)]
If a directory contains a file listed in the
DirectoryIndex directive, the folder icon is no longer replaced
by the icon of that file.
PR: 9587
Submitted by: David Shane Holden <dpejesh@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100628
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Tue, 15 Jul 2003 08:29:45 +0000 (08:29 +0000)]
Reverse the URL change in previous commit. Also fix the name of link.
Thanks Andre for catching this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100624
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 14 Jul 2003 23:23:00 +0000 (23:23 +0000)]
strip trailing spaces of groupnames.
PR: 12863
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100620
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Mon, 14 Jul 2003 19:30:14 +0000 (19:30 +0000)]
Remove some extraneous code committed as part of the fix for 13946 pointed
out by Andre Malo. [Paul J. Reder]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100615
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 14 Jul 2003 18:12:36 +0000 (18:12 +0000)]
mention the new capability for input filters
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100610
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Mon, 14 Jul 2003 18:07:33 +0000 (18:07 +0000)]
remove my in-line comments
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100607
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 14 Jul 2003 17:28:14 +0000 (17:28 +0000)]
mod_ssl: Fix a problem setting variables that represent the
client certificate chain.
PR: 21371
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100605
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 14 Jul 2003 17:24:38 +0000 (17:24 +0000)]
Remember an authenticated user during internal redirects if the
redirection target is not access protected and pass it
to scripts using the REDIRECT_REMOTE_USER environment variable.
PR: 10678, 11602.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100604
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 14 Jul 2003 17:16:47 +0000 (17:16 +0000)]
not valid to modify string pointed to by szCryptoDevice... it points to a
static string or something parsed from the config
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100603
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Mon, 14 Jul 2003 16:45:05 +0000 (16:45 +0000)]
Ooops, forgot the PR number for my recent mod_rewrite commit (PR #13946)...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100601
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Mon, 14 Jul 2003 16:40:13 +0000 (16:40 +0000)]
mod_rewrite: fix a problem in the proxy support of mod_rewrite. The broken
code was inserting multiple "proxy:" fields in the rewritten URIs.
[Submitted by: Eider Oliveira <eider@bol.com.br>]
[Updated and reviewed by: Paul J. Reder]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100600
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 14 Jul 2003 16:11:07 +0000 (16:11 +0000)]
document handler passing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100599
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 14 Jul 2003 16:04:47 +0000 (16:04 +0000)]
Propagate the handler name to the action script via
the REDIRECT_HANDLER environment variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100598
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 14 Jul 2003 15:08:07 +0000 (15:08 +0000)]
mod_ext_filter: Set additional environment variables for use by
the external filter.
PR: 20944
The missing code was identified by Andrew Ho, coded/tested by Jeff
Trawick, and verified yet again by Neil Fraser.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100595
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 14 Jul 2003 14:48:40 +0000 (14:48 +0000)]
no need to open error log for reading
Submitted by: Bjoern A. Zeeb
Reviewed by: Jeff Trawick, who added the same change to another path
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100594
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Mon, 14 Jul 2003 13:26:14 +0000 (13:26 +0000)]
When the top-level directory section for / was added for the sake
of performance and to allow automount symlinks to be followed, we
mistakenly opened access to the entire directory system by default.
I noticed this because all of the /~user directories are available
by default without any restrictions, which is a bad idea for anything
other than one server within a department of shared users. However,
it also makes it easier to serve files anywhere on disk by mistake,
and makes other URI-handling bugs more severe than they would be
otherwise. Therefore, this patch reinstates access control to deny
access to all files other than under DocumentRoot, icons, and manual,
until additional directory/locations are explicitly allowed by the admin.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100593
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 14 Jul 2003 12:47:18 +0000 (12:47 +0000)]
oops... add missing <br />s
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100592
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 14 Jul 2003 12:37:56 +0000 (12:37 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100591
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 14 Jul 2003 12:37:25 +0000 (12:37 +0000)]
document new Action modifier
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100590
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 14 Jul 2003 12:36:20 +0000 (12:36 +0000)]
Introduce the "virtual" modifier to the Action directive,
which allows the use of handlers for virtual locations.
PR: 8431
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100589
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Mon, 14 Jul 2003 07:54:25 +0000 (07:54 +0000)]
Update transformation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100588
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Mon, 14 Jul 2003 07:50:49 +0000 (07:50 +0000)]
Update Japanese translation.
Submitted by: Hiroaki KAWAI <hawk@bcl.t.u-tokyo.ac.jp>
Reviewed by: Yoshiki Hayashi
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100587
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Mon, 14 Jul 2003 07:07:34 +0000 (07:07 +0000)]
Update Japanese translation.
Submitted by: Hiroaki KAWAI <hawk@bcl.t.u-tokyo.ac.jp>, Yoshiki Hayashi
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100586
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Mon, 14 Jul 2003 06:37:50 +0000 (06:37 +0000)]
Update Japanese translation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100585
13f79535 -47bb-0310-9956-
ffa450edef68