]> granicus.if.org Git - apache/log
apache
13 years agoRewriteLog is no more. This doc could probably do with a major overhaul,
Rich Bowen [Sat, 25 Sep 2010 15:26:51 +0000 (15:26 +0000)]
RewriteLog is no more. This doc could probably do with a major overhaul,
in light of the new changes to logging.

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

13 years agoin 'ip' authz provider, parse subnets only once on startup instead of once per
Stefan Fritsch [Sat, 25 Sep 2010 15:16:16 +0000 (15:16 +0000)]
in 'ip' authz provider, parse subnets only once on startup instead of once per
request

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

13 years agoMake a note about RewriteLog for folks that are looking for it. Probably
Rich Bowen [Sat, 25 Sep 2010 15:07:49 +0000 (15:07 +0000)]
Make a note about RewriteLog for folks that are looking for it. Probably
should leave this here for a couple years until folks get used to the
new stuff.

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

13 years agoAdd 'local' authz provider that matches connections originating
Stefan Fritsch [Sat, 25 Sep 2010 13:17:49 +0000 (13:17 +0000)]
Add 'local' authz provider that matches connections originating
on the local host.  PR 19938.

Also remove some cruft from mod_authz_host (we don't need a per-dir config)

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

13 years agoExpand authz provider entry
Stefan Fritsch [Sat, 25 Sep 2010 12:18:55 +0000 (12:18 +0000)]
Expand authz provider entry

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

13 years agoUpdate transformations
Stefan Fritsch [Sat, 25 Sep 2010 12:01:59 +0000 (12:01 +0000)]
Update transformations

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

13 years agoMove all, env, and method authz providers from mod_authz_host to mod_authz_core
Stefan Fritsch [Sat, 25 Sep 2010 12:01:14 +0000 (12:01 +0000)]
Move all, env, and method authz providers from mod_authz_host to mod_authz_core

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

13 years agoclarify wording about regexp
Stefan Fritsch [Sat, 25 Sep 2010 11:15:51 +0000 (11:15 +0000)]
clarify wording about regexp

Submitted by: Arvind Srinivasan

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

13 years agoupdate transformations
Stefan Fritsch [Sat, 25 Sep 2010 11:14:13 +0000 (11:14 +0000)]
update transformations

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

13 years agoAdd some more items
Stefan Fritsch [Sat, 25 Sep 2010 11:12:44 +0000 (11:12 +0000)]
Add some more items
Add section about how to handle logging changes

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

13 years agoFix crash accessing pollset on worker thread when child process is exiting.
Jeff Trawick [Fri, 24 Sep 2010 11:25:25 +0000 (11:25 +0000)]
Fix crash accessing pollset on worker thread when child process is exiting.

The timeout mutex and pollset were allocated from the listener thread
pool.  During child process shutdown, the listener thread exits first
while any outstanding requests finish.  These objects need to be allocated
from pchild since the lifetime extends until the last worker thread has
finished.

Switch to pchild, and move init of these objects to the same place as
other thread-independent objects.

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

13 years agoAdded util_regex.c to NetWare makefile.
Guenter Knauf [Fri, 24 Sep 2010 08:58:21 +0000 (08:58 +0000)]
Added util_regex.c to NetWare makefile.
Reported by normw At gknw.net.

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

13 years agoFixed NetWare import/export list for cache modules.
Guenter Knauf [Fri, 24 Sep 2010 08:49:49 +0000 (08:49 +0000)]
Fixed NetWare import/export list for cache modules.
Reported by normw AT gknw.net.

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

13 years agoAnother user identifiable change, new behavior feature.
William A. Rowe Jr [Thu, 23 Sep 2010 19:56:45 +0000 (19:56 +0000)]
Another user identifiable change, new behavior feature.

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

13 years agoTag a user identifiable change. Thanks to rbowen for docs help.
William A. Rowe Jr [Thu, 23 Sep 2010 19:53:20 +0000 (19:53 +0000)]
Tag a user identifiable change.  Thanks to rbowen for docs help.

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

13 years agoBecause PATH and the library path are closely interrelated, and the cause
William A. Rowe Jr [Thu, 23 Sep 2010 19:50:14 +0000 (19:50 +0000)]
Because PATH and the library path are closely interrelated, and the cause
of most confusion over cgi or fcgid failures, or even starting rotatelogs,
etc, when the server binaries have been relocated, pass the library path
as paired with the system PATH.

Of course, PATH and platform-specific library path(s) may be modified as
needed with mod_env, so there is no loss of functionality with this change.

The days of monolithic binaries are long gone, even on 1970's architectures,
and PATH should not be decoupled from the library path.

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

13 years agofix Sun Studio type mismatch warnings
Jeff Trawick [Thu, 23 Sep 2010 19:21:43 +0000 (19:21 +0000)]
fix Sun Studio type mismatch warnings

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

13 years agogenerated files only
Jeff Trawick [Thu, 23 Sep 2010 14:01:50 +0000 (14:01 +0000)]
generated files only

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

13 years agofollow up r956069 and r1000130 with additional corrections
Jeff Trawick [Thu, 23 Sep 2010 14:01:02 +0000 (14:01 +0000)]
follow up r956069 and r1000130 with additional corrections
and clarifications

Deemphasize and re-document min and smax, which are only to be
used in special circumstances.

Stop using the terms "Hard maximum" and "Soft maximum" since they
imply incorrectly that max and smax are closely related parameters
which should be considered in tandem.  That may be true from the
apr_reslist perspective, but not from that of the httpd admin.

Thanks, Rüdiger (but of course all bugs are mine)

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

13 years agoRemove a relic from the original error code, and fix segfaults in the
Graham Leggett [Thu, 23 Sep 2010 10:17:07 +0000 (10:17 +0000)]
Remove a relic from the original error code, and fix segfaults in the
process.

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

13 years agoBump the MMN to take into account changes to the mod_cache API.
Graham Leggett [Wed, 22 Sep 2010 22:02:33 +0000 (22:02 +0000)]
Bump the MMN to take into account changes to the mod_cache API.

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

13 years agoMove mod_cache-private includes and defines from the public mod_cache.h
Graham Leggett [Wed, 22 Sep 2010 21:55:27 +0000 (21:55 +0000)]
Move mod_cache-private includes and defines from the public mod_cache.h
interface into the private cache_util.h interface.

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

13 years agoMake cache_provider_list and cache_request_rec private by moving them
Graham Leggett [Wed, 22 Sep 2010 21:35:38 +0000 (21:35 +0000)]
Make cache_provider_list and cache_request_rec private by moving them
out of mod_cache.h.

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

13 years agoMake cache_server_conf, cache_enable and cache_disable private. Remove
Graham Leggett [Wed, 22 Sep 2010 20:44:50 +0000 (20:44 +0000)]
Make cache_server_conf, cache_enable and cache_disable private. Remove
public prefixes from ap_cache_accept_headers, ap_cache_try_lock and
ap_cache_get_providers.

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

13 years agoMake ap_cache_accept_headers, ap_cache_accept_headers, ap_cache_try_lock and
Graham Leggett [Wed, 22 Sep 2010 20:28:11 +0000 (20:28 +0000)]
Make ap_cache_accept_headers, ap_cache_accept_headers, ap_cache_try_lock and
ap_cache_check_freshness private.

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

13 years agoTrim legacy structure from removed mod_mem_cache.
Graham Leggett [Wed, 22 Sep 2010 19:56:06 +0000 (19:56 +0000)]
Trim legacy structure from removed mod_mem_cache.

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

13 years agoRemove deprecated ap_cache_cacheable_hdrs_out.
Graham Leggett [Wed, 22 Sep 2010 19:52:25 +0000 (19:52 +0000)]
Remove deprecated ap_cache_cacheable_hdrs_out.

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

13 years agoRemove the MOD_CACHE_REQUEST_REC hack, and pass the cache_request_rec
Graham Leggett [Wed, 22 Sep 2010 19:35:26 +0000 (19:35 +0000)]
Remove the MOD_CACHE_REQUEST_REC hack, and pass the cache_request_rec
structure through mod_cache's function parameters in the usual way.

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

13 years ago- add blocker for GA: review example config
Stefan Fritsch [Wed, 22 Sep 2010 19:04:48 +0000 (19:04 +0000)]
- add blocker for GA: review example config
- remove old votes:
  * "what to do if parent dies" went nowhere after many years
  * we now have event MPM as default

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

13 years agogenerated files only
Jeff Trawick [Wed, 22 Sep 2010 18:38:44 +0000 (18:38 +0000)]
generated files only

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

13 years agofollow up r956069 with additional clarifications
Jeff Trawick [Wed, 22 Sep 2010 18:37:16 +0000 (18:37 +0000)]
follow up r956069 with additional clarifications
about the connection pool and related parameters
(yes, and fix part of those earlier "clarifications")

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

13 years agoOne more linguistic nit
William A. Rowe Jr [Wed, 22 Sep 2010 18:29:08 +0000 (18:29 +0000)]
One more linguistic nit

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

13 years agoRemove duplicated word.
Rich Bowen [Wed, 22 Sep 2010 18:25:57 +0000 (18:25 +0000)]
Remove duplicated word.

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

13 years agoRevert breakage in 2.2.4 introduced in r450055, by offering a CacheStoreExpired
William A. Rowe Jr [Wed, 22 Sep 2010 17:54:39 +0000 (17:54 +0000)]
Revert breakage in 2.2.4 introduced in r450055, by offering a CacheStoreExpired
directive to allow the user to override this questionable change.

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

13 years agoAdd ap_rxplus to new_api docs
Nick Kew [Wed, 22 Sep 2010 12:38:42 +0000 (12:38 +0000)]
Add ap_rxplus to new_api docs

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

13 years agoFakeBasicAuth, not FakeBasic
Mads Toftum [Wed, 22 Sep 2010 09:35:03 +0000 (09:35 +0000)]
FakeBasicAuth, not FakeBasic

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

13 years agoaxe an unnecessary call to sscanf() when parsing the response line
Jeff Trawick [Wed, 22 Sep 2010 00:07:52 +0000 (00:07 +0000)]
axe an unnecessary call to sscanf() when parsing the response line
from the origin server

apr_date_checkmask() already verified the expected text and digit
positions; all that is needed is to cheaply find which digits

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

13 years agoMove private cache_* declarations out of the public mod_cache.h file.
Graham Leggett [Tue, 21 Sep 2010 22:55:22 +0000 (22:55 +0000)]
Move private cache_* declarations out of the public mod_cache.h file.

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

13 years agoUpdate mod_disk_cache to comply with the new create_entity() interface.
Graham Leggett [Tue, 21 Sep 2010 22:47:14 +0000 (22:47 +0000)]
Update mod_disk_cache to comply with the new create_entity() interface.

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

13 years agoAdd an MMN bump for create_entity in mod_cache.h.
Graham Leggett [Tue, 21 Sep 2010 20:51:05 +0000 (20:51 +0000)]
Add an MMN bump for create_entity in mod_cache.h.

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

13 years agomod_cache: Give the cache provider the opportunity to choose to cache
Graham Leggett [Tue, 21 Sep 2010 20:43:44 +0000 (20:43 +0000)]
mod_cache: Give the cache provider the opportunity to choose to cache
or not cache based on the buckets present in the brigade, such as the
presence of a FILE bucket.

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

13 years agoMinor MMN bump for ap_rxplus API
Nick Kew [Tue, 21 Sep 2010 20:31:31 +0000 (20:31 +0000)]
Minor MMN bump for ap_rxplus API

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

13 years agoRemove cruft that accidentally got into r999533
Nick Kew [Tue, 21 Sep 2010 18:52:03 +0000 (18:52 +0000)]
Remove cruft that accidentally got into r999533

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

13 years agoIntroduce ap_rxplus class: higher-level regexps supporting perl-style
Nick Kew [Tue, 21 Sep 2010 18:42:20 +0000 (18:42 +0000)]
Introduce ap_rxplus class: higher-level regexps supporting perl-style
regexp operations.

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

13 years agoReformat these <pre> tables as actual HTML tables
Rich Bowen [Tue, 21 Sep 2010 13:49:25 +0000 (13:49 +0000)]
Reformat these <pre> tables as actual HTML tables

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

13 years agoRemoves the completely unecessary .* on several examples where it only
Rich Bowen [Tue, 21 Sep 2010 13:28:01 +0000 (13:28 +0000)]
Removes the completely unecessary .* on several examples where it only
serves to slow down the match process.

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

13 years agoAdds the -le, -lt, -eq, -ge, and -gt test flags added by wrowe.
Rich Bowen [Tue, 21 Sep 2010 13:23:57 +0000 (13:23 +0000)]
Adds the -le, -lt, -eq, -ge, and -gt test flags added by wrowe.

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

13 years agoAdd descriptions of the new RewriteCond test flags, -L, -h, and the new
Rich Bowen [Tue, 21 Sep 2010 13:02:02 +0000 (13:02 +0000)]
Add descriptions of the new RewriteCond test flags, -L, -h, and the new
>= and <= syntax, added by wrowe in r997553.

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

13 years ago* LimitRequestBody does not affect Proxy requests (Should it?).
Ruediger Pluem [Tue, 21 Sep 2010 09:23:39 +0000 (09:23 +0000)]
* LimitRequestBody does not affect Proxy requests (Should it?).
  Let it take effect if we decide to store the body in a
  temporary file on disk.

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

13 years agoRemoving ``FAQs'' which are *really* out of date.
Igor Galić [Tue, 21 Sep 2010 07:38:17 +0000 (07:38 +0000)]
Removing ``FAQs'' which are *really* out of date.
Updating others to remotely match current pratice (i.e.: current Ciphers used, 1024 -> 2048 bits, etc)

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

13 years agoFold in possible use of FNV if desired
Jim Jagielski [Mon, 20 Sep 2010 14:51:19 +0000 (14:51 +0000)]
Fold in possible use of FNV if desired

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

13 years agosimplify walking through array of returned apr_pollfd_t
Jeff Trawick [Sun, 19 Sep 2010 20:54:34 +0000 (20:54 +0000)]
simplify walking through array of returned apr_pollfd_t

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

13 years agofix one error message, eliminate another that will never
Jeff Trawick [Sun, 19 Sep 2010 20:47:38 +0000 (20:47 +0000)]
fix one error message, eliminate another that will never
be issued (since !n occurs when status != APR_SUCCESS)

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

13 years agoUpdate transformations
Stefan Fritsch [Sun, 19 Sep 2010 18:28:53 +0000 (18:28 +0000)]
Update transformations

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

13 years agoFix typos
Stefan Fritsch [Sun, 19 Sep 2010 18:27:10 +0000 (18:27 +0000)]
Fix typos

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

13 years agoFix lots of cut'n'paste errors and an xml validation error in French
Stefan Fritsch [Sun, 19 Sep 2010 18:24:03 +0000 (18:24 +0000)]
Fix lots of cut'n'paste errors and an xml validation error in French
translation. It would be nice if you could run './build.sh validate-xml'
before commiting.

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

13 years agoAdd method authz provider as potential Limit/LimitExcept replacement.
Stefan Fritsch [Sun, 19 Sep 2010 18:09:18 +0000 (18:09 +0000)]
Add method authz provider as potential Limit/LimitExcept replacement.

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

13 years agoAllow authz providers to check args while reading the config and allow
Stefan Fritsch [Sun, 19 Sep 2010 17:55:47 +0000 (17:55 +0000)]
Allow authz providers to check args while reading the config and allow
them to cache parsed args.

Use this to check that argument to 'all' provider is 'granted' or 'denied'.

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

13 years agoShorten the changes entries.
Graham Leggett [Sun, 19 Sep 2010 17:17:12 +0000 (17:17 +0000)]
Shorten the changes entries.

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

13 years agomod_include: Move the request_rec within mod_include to be
Graham Leggett [Sun, 19 Sep 2010 17:11:45 +0000 (17:11 +0000)]
mod_include: Move the request_rec within mod_include to be
exposed within include_ctx_t.

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

13 years agoUpdates.
Lucien Gentis [Sun, 19 Sep 2010 13:56:08 +0000 (13:56 +0000)]
Updates.

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

13 years agoUpdate transformations.
Graham Leggett [Sun, 19 Sep 2010 13:04:44 +0000 (13:04 +0000)]
Update transformations.

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

13 years agomod_include: Reinstate support for UTF-8 character sets by allowing a
Graham Leggett [Sun, 19 Sep 2010 13:02:54 +0000 (13:02 +0000)]
mod_include: Reinstate support for UTF-8 character sets by allowing a
variable being echoed or set to be decoded and then encoded as separate
steps. PR47686

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

13 years agoExplanation on how to prioritize mime-types on the serverside with AddType.
Igor Galić [Sat, 18 Sep 2010 21:41:04 +0000 (21:41 +0000)]
Explanation on how to prioritize mime-types on the serverside with AddType.

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

13 years agoAdding svn:ignores for rewrite
Igor Galić [Sat, 18 Sep 2010 11:06:58 +0000 (11:06 +0000)]
Adding svn:ignores for rewrite

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

13 years agoRemoving &trade; from mod_privileges, because it breaks the LaTeX build, and because...
Igor Galić [Sat, 18 Sep 2010 11:06:23 +0000 (11:06 +0000)]
Removing &trade; from mod_privileges, because it breaks the LaTeX build, and because nowhere else is Unix written with &trade;

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

13 years agoIntroduce integer comparison support in RewriteCond
William A. Rowe Jr [Thu, 16 Sep 2010 18:57:23 +0000 (18:57 +0000)]
Introduce integer comparison support in RewriteCond

The operators -gt, -ge, -eq, -le, -lt and -ne follow the bash test' semantics
for comparing the integer values of the lhs and rhs expressions, as opposed
to the string evaluations performed by > >= = <= and <.

Note that -lt and -le overlap the existing -l test, and could be confused in
expresions such as -ltestfile - to avoid this conflict use -L or -h in place
of the legacy -l file symlink test operator.

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

13 years agoReduce complexity and fix a regex.t based on observation by rpluem;
William A. Rowe Jr [Thu, 16 Sep 2010 18:14:32 +0000 (18:14 +0000)]
Reduce complexity and fix a regex.t based on observation by rpluem;

 - follow the same logic of '=' for >[=] and <[=], skipping p->type chars
   for the resulting p->pattern

 - introduce pskip logic to greatly simplify logging, track negation '!', '=',
   and new comparators ">/<[=]", backspacing only for the purpose of logging.
   It's trivial to expand this to the -X operators in the future.

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

13 years agoNo need to call the cleanup in the forked-child case.
Graham Leggett [Thu, 16 Sep 2010 10:08:18 +0000 (10:08 +0000)]
No need to call the cleanup in the forked-child case.

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

13 years agoEnsure the return value is initialised.
Graham Leggett [Thu, 16 Sep 2010 09:56:38 +0000 (09:56 +0000)]
Ensure the return value is initialised.

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

13 years agoFix to apidoc comments in ap_regex
Nick Kew [Thu, 16 Sep 2010 01:44:09 +0000 (01:44 +0000)]
Fix to apidoc comments in ap_regex

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

13 years ago*) Accept modern bash test conventions of -h or -L for testing symlinks
William A. Rowe Jr [Thu, 16 Sep 2010 00:54:58 +0000 (00:54 +0000)]
*) Accept modern bash test conventions of -h or -L for testing symlinks
   (for another patch against -l yet-to-come)

*) Introduce >= and <= syntax for greater-or-equal, or less-or-equal
   string comparisons

*) Respect [NC] conventions for >[=]/<[=] string comparison, which is
   horribly sensitive to the current charset.

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

13 years agomod_cache: Add a discrete commit_entity() provider function within the
Graham Leggett [Thu, 16 Sep 2010 00:05:14 +0000 (00:05 +0000)]
mod_cache: Add a discrete commit_entity() provider function within the
mod_cache provider interface which is called to indicate to the
provider that caching is complete, giving the provider the opportunity
to commit temporary files permanently to the cache in an atomic
fashion. Move all "rename" functionality of temporary files to permanent
files within mod_disk_cache from ad hoc locations in the code to the
commit_entity() function. Instead of reusing the same variables for
temporary file handling in mod_disk_cache, introduce separate discrete
structures for each of the three cache file types, the headers file,
vary file and data file, so that the atomic rename of all three file
types within commit_entity() becomes possible. Replace the inconsistent
use of error cleanups with a formal set of pool cleanups attached to
a subpool, which is destroyed on error.

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

13 years agoHandle the case where a brigade might have buckets following the eos
Graham Leggett [Mon, 13 Sep 2010 22:35:51 +0000 (22:35 +0000)]
Handle the case where a brigade might have buckets following the eos
bucket. In this case the cache provider passes all buckets through as
is once the cached entry is marked as done.

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

13 years agoUpdate transformations.
Graham Leggett [Sun, 12 Sep 2010 23:18:26 +0000 (23:18 +0000)]
Update transformations.

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

13 years agomod_cache: Change the signature of the store_body() provider function
Graham Leggett [Sun, 12 Sep 2010 23:16:49 +0000 (23:16 +0000)]
mod_cache: Change the signature of the store_body() provider function
within the mod_cache provider interface to support an "in" brigade
and an "out" brigade instead of just a single input brigade. This
gives a cache provider the option to consume only part of the brigade
passed to it, rather than the whole brigade as was required before.
This fixes an out of memory and a request timeout condition that would
occur when the original document was a large file. Update the
mod_disk_cache provider implementation to take into account the new API.
Introduce CacheReadSize and CacheReadTime directives to mod_disk_cache
to control the amount of data to attempt to cache before sending the
data on to the client in the "out" brigade.

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

13 years agoMinor bump for ap_cache_check_allowed().
Graham Leggett [Sun, 12 Sep 2010 13:45:16 +0000 (13:45 +0000)]
Minor bump for ap_cache_check_allowed().

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

13 years agoadd errorlog formats for request notes and env vars
Stefan Fritsch [Sun, 12 Sep 2010 12:59:10 +0000 (12:59 +0000)]
add errorlog formats for request notes and env vars

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

13 years agoadd comment about (not) using pools in error log format handlers
Stefan Fritsch [Sun, 12 Sep 2010 12:52:48 +0000 (12:52 +0000)]
add comment about (not) using pools in error log format handlers

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

13 years agoreadability fix, as suggested by Ruediger Pluem
Stefan Fritsch [Fri, 10 Sep 2010 17:00:08 +0000 (17:00 +0000)]
readability fix, as suggested by Ruediger Pluem

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

13 years agoFurther clarification of SuppressHTMLPreamble + ReadmeName behavior.
Rich Bowen [Fri, 10 Sep 2010 15:55:47 +0000 (15:55 +0000)]
Further clarification of SuppressHTMLPreamble + ReadmeName behavior.

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

13 years agoClarify that SuppressHTMLPreamble also suppresses the </body></html> on
Rich Bowen [Fri, 10 Sep 2010 15:53:05 +0000 (15:53 +0000)]
Clarify that SuppressHTMLPreamble also suppresses the </body></html> on
the output. (Thanks to "Alumin" on #httpd freenode IRC)

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

13 years ago- Add another check during ErrorLogFormat parsing
Stefan Fritsch [Mon, 6 Sep 2010 18:53:38 +0000 (18:53 +0000)]
- Add another check during ErrorLogFormat parsing
- Simplify code (including Ruediger's suggestions)

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

13 years agoupdate transformations
Stefan Fritsch [Sun, 5 Sep 2010 16:01:15 +0000 (16:01 +0000)]
update transformations

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

13 years agoremove unused variables
Stefan Fritsch [Sun, 5 Sep 2010 15:56:10 +0000 (15:56 +0000)]
remove unused variables

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

13 years agoAdd ErrorLogFormat directive for configuring the error log format, including
Stefan Fritsch [Sun, 5 Sep 2010 15:44:19 +0000 (15:44 +0000)]
Add ErrorLogFormat directive for configuring the error log format, including
additional information that is logged once per connection or request.

Add error log IDs for connections and request to allow correlating error log
lines and the corresponding access log entry.

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

13 years agoDisable sendfile by default, as discussed at
Stefan Fritsch [Sat, 4 Sep 2010 21:53:06 +0000 (21:53 +0000)]
Disable sendfile by default, as discussed at
http://mail-archives.apache.org/mod_mbox/httpd-dev/201007.mbox/<4C4355EE.2060605@rowe-clan.net>

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

13 years agomod_cache: Check the request to determine whether we are allowed
Graham Leggett [Sat, 4 Sep 2010 15:20:30 +0000 (15:20 +0000)]
mod_cache: Check the request to determine whether we are allowed
to return cached content at all, and respect a "Cache-Control:
no-cache" header from a client. Previously, "no-cache" would
behave like "max-age=0".

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

13 years agomod_cache: Use a proper filter context to hold filter data instead
Graham Leggett [Sat, 4 Sep 2010 14:42:30 +0000 (14:42 +0000)]
mod_cache: Use a proper filter context to hold filter data instead
of misusing the per-request configuration. Fixes a segfault on trunk
when the normal handler is used.

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

13 years agoFix a spelling mistake.
Graham Leggett [Sat, 4 Sep 2010 14:20:17 +0000 (14:20 +0000)]
Fix a spelling mistake.

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

13 years agoAdd a TODO.
Graham Leggett [Sat, 4 Sep 2010 14:09:47 +0000 (14:09 +0000)]
Add a TODO.

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

13 years agomod_cgid: Log a warning if the ScriptSock path is truncated because
Stefan Fritsch [Sat, 4 Sep 2010 11:24:49 +0000 (11:24 +0000)]
mod_cgid: Log a warning if the ScriptSock path is truncated because
it is too long.

PR 49388

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

13 years agoChanged comments to C stye.
Guenter Knauf [Wed, 1 Sep 2010 18:14:11 +0000 (18:14 +0000)]
Changed comments to C stye.

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

13 years agoFixed wrong comment.
Guenter Knauf [Wed, 1 Sep 2010 16:27:14 +0000 (16:27 +0000)]
Fixed wrong comment.

ap_body_to_table() was dropped with r953203, not ap_args_to_table().

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

13 years agoAdded require prototypes conditionally to CFLAGS for NETWare;
Guenter Knauf [Wed, 1 Sep 2010 16:17:23 +0000 (16:17 +0000)]
Added require prototypes conditionally to CFLAGS for NETWare;
added header includes for getting protos.

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

13 years agoset default pattern type using the enum value instead of
Jeff Trawick [Wed, 1 Sep 2010 12:43:03 +0000 (12:43 +0000)]
set default pattern type using the enum value instead of
integer literal (Intel C compiler groans about this)

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

13 years agoc isn't used after being set (Fortify)
Jeff Trawick [Wed, 1 Sep 2010 12:41:19 +0000 (12:41 +0000)]
c isn't used after being set (Fortify)

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

13 years agorunning_gen was only set to an interesting value on a path
Jeff Trawick [Wed, 1 Sep 2010 12:10:11 +0000 (12:10 +0000)]
running_gen was only set to an interesting value on a path
where it wasn't used before returning from the function; axe it

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

13 years agoIn the upgrading document, mention the messages for virtual
Daniel Earl Poirier [Mon, 30 Aug 2010 17:39:26 +0000 (17:39 +0000)]
In the upgrading document, mention the messages for virtual
hosts that can now cause startup failure.

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

13 years agoFail startup for vhost configuration problems, rather than
Daniel Earl Poirier [Mon, 30 Aug 2010 16:09:50 +0000 (16:09 +0000)]
Fail startup for vhost configuration problems, rather than
running with a configuration with undefined behavior.

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