]> granicus.if.org Git - apache/log
apache
14 years agoUpdate CHANGES.
Rainer Jung [Sun, 25 Jul 2010 21:11:06 +0000 (21:11 +0000)]
Update CHANGES.

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

14 years agoAdding sub second timestamps and request end time to mod_log_config.
Rainer Jung [Sun, 25 Jul 2010 21:08:15 +0000 (21:08 +0000)]
Adding sub second timestamps and request end time to mod_log_config.

Add special format tokens to %{...}t. The extended syntax allows the
form: "WHICH:WHAT".

WHICH is either:
- "begin": use the time when the request started
- "end": take "now" as the time
You can omit WHICH, default is "begin".
If you omit WHICH, the separating column is not allowed.

WHAT is either:
- "sec": timestamp in Unix seconds
- "msec": timestamp in Unix milliseconds
- "msec_frac": millisecond fraction of the Unix timestamp,
               3 digits, 0-padded
- "usec": timestamp in Unix microseconds
- "usec_frac": microsecond fraction of the Unix timestamp
               6 digits, 0-padded
- anything different from those tokens: use strftime()
You can omit WHAT, default is the formatted timestamp as
used by the Common Log Format.

The implementation uses a new request_config for mod_log_config
to pass the request end time around between different calls to
log formatters, but the end time is only generated if needed.

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

14 years agoUpdates.
Lucien Gentis [Sun, 25 Jul 2010 12:07:58 +0000 (12:07 +0000)]
Updates.

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

14 years agoFix typo in CHANGES.
Rainer Jung [Sun, 25 Jul 2010 10:32:26 +0000 (10:32 +0000)]
Fix typo in CHANGES.

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

14 years agoremove CHANGES entry of change reverted as part of r964156
Stefan Fritsch [Sat, 24 Jul 2010 21:20:04 +0000 (21:20 +0000)]
remove CHANGES entry of change reverted as part of r964156

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

14 years agoMerge mod_dir fixups to avoid possible ordering issues noted by trawick
Nick Kew [Sat, 24 Jul 2010 17:12:02 +0000 (17:12 +0000)]
Merge mod_dir fixups to avoid possible ordering issues noted by trawick

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

14 years agoexpose subprocess_env on lua request object
Brian McCallister [Fri, 23 Jul 2010 15:52:37 +0000 (15:52 +0000)]
expose subprocess_env on lua request object

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

14 years agor966869 required mmn bump
Nick Kew [Fri, 23 Jul 2010 07:31:27 +0000 (07:31 +0000)]
r966869 required mmn bump

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

14 years agoRemoved obsolete include paths from NetWare makefiles.
Guenter Knauf [Thu, 22 Jul 2010 23:38:58 +0000 (23:38 +0000)]
Removed obsolete include paths from NetWare makefiles.

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

14 years agoUse temp_pool not pool for a string that's a temp
Nick Kew [Thu, 22 Jul 2010 23:02:12 +0000 (23:02 +0000)]
Use temp_pool not pool for a string that's a temp

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

14 years agoUpdate documentation for AddOutputFilterByType move
Nick Kew [Thu, 22 Jul 2010 22:50:12 +0000 (22:50 +0000)]
Update documentation for AddOutputFilterByType move

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

14 years agoSupport multiple names in reimplemented AddOutputFilterByType
Nick Kew [Thu, 22 Jul 2010 22:27:42 +0000 (22:27 +0000)]
Support multiple names in reimplemented AddOutputFilterByType

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

14 years agoMove AddOutputFilterByType implementation from core to mod_filter.
Nick Kew [Thu, 22 Jul 2010 21:54:39 +0000 (21:54 +0000)]
Move AddOutputFilterByType implementation from core to mod_filter.

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

14 years agoRemoved compiler switch -relax_pointers since no longer needed.
Guenter Knauf [Thu, 22 Jul 2010 19:10:56 +0000 (19:10 +0000)]
Removed compiler switch -relax_pointers since no longer needed.

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

14 years agoCVE-2010-1452: Fix handling of missing path segments in the parsed URI structure.
Paul Querna [Wed, 21 Jul 2010 18:25:01 +0000 (18:25 +0000)]
CVE-2010-1452: Fix handling of missing path segments in the parsed URI structure.

If a specially crafted request was sent, it is possible to crash mod_dav,
mod_cache or mod_session, as they accessed a field that is set to NULL
by the URI parser, assuming that it always put in a valid string.

PR: 49246
Submitted by: Mark Drayton
Patch by: Jeff Trawick

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

14 years agoRebuild new example.
Rich Bowen [Wed, 21 Jul 2010 18:24:52 +0000 (18:24 +0000)]
Rebuild new example.

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

14 years agoFixes a non-working example in the int RewriteMap section.
Rich Bowen [Wed, 21 Jul 2010 18:24:12 +0000 (18:24 +0000)]
Fixes a non-working example in the int RewriteMap section.

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

14 years agoUpdate SSL cipher suite and add example for SSLHonorCipherOrder.
Rainer Jung [Wed, 21 Jul 2010 09:54:59 +0000 (09:54 +0000)]
Update SSL cipher suite and add example for SSLHonorCipherOrder.

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

14 years agoFix omission in r894036 noted by rpluem.
Nick Kew [Wed, 21 Jul 2010 00:20:43 +0000 (00:20 +0000)]
Fix omission in r894036 noted by rpluem.

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

14 years agoFix up some SSL configuration, per issue #49484. IE6 had a hotfix released
Greg Stein [Tue, 20 Jul 2010 23:33:18 +0000 (23:33 +0000)]
Fix up some SSL configuration, per issue #49484. IE6 had a hotfix released
for this problem quite a while back (see kb 921090), so restrict the
modified behavior to the old/unsupported browsers.

* docs/conf/extra/http-ssl.conf.in:
  (): tighten up the regex to only select old MSIE browsers for the
    downgrade in http behavior. this allows IE6 to run much faster.

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

14 years agoFix processing of long chunk extensions
Nick Kew [Tue, 20 Jul 2010 12:21:47 +0000 (12:21 +0000)]
Fix processing of long chunk extensions
PR 49474

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

14 years agoReplace "back-slash" with "backslash" in docs.
Rainer Jung [Tue, 20 Jul 2010 10:48:02 +0000 (10:48 +0000)]
Replace "back-slash" with "backslash" in docs.

I kept "back slash" when explicitely used in
comparison with "forward slash".

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

14 years agoTrivial spelling fix so I can close
Nick Kew [Tue, 20 Jul 2010 01:55:18 +0000 (01:55 +0000)]
Trivial spelling fix so I can close
PR 44195

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

14 years agoDon't risk segfault in authz if r->user is not set
Nick Kew [Tue, 20 Jul 2010 01:34:39 +0000 (01:34 +0000)]
Don't risk segfault in authz if r->user is not set
PR 42995

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

14 years agoEnable SetEnv to set PATH
Nick Kew [Mon, 19 Jul 2010 23:40:25 +0000 (23:40 +0000)]
Enable SetEnv to set PATH
PR 43906

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

14 years agomod_include: recognise "text/html; parameters" as text/html
Nick Kew [Mon, 19 Jul 2010 18:49:32 +0000 (18:49 +0000)]
mod_include: recognise "text/html; parameters" as text/html
PR 49616
diagnosed by Andrey Chernov

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

14 years agoAdd ap_find_module_short_name() to quickly get the module short name
Stefan Fritsch [Mon, 19 Jul 2010 10:06:15 +0000 (10:06 +0000)]
Add ap_find_module_short_name() to quickly get the module short name
(i.e. symbol name with trailing "_module" removed) from the module_index.
To be used for logging.

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

14 years agoAdded mod_authn_socache to NetWare build.
Guenter Knauf [Mon, 19 Jul 2010 00:03:53 +0000 (00:03 +0000)]
Added mod_authn_socache to NetWare build.

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

14 years agoAdded http_config.h to make APLOG_USE_MODULE macro visible.
Guenter Knauf [Sun, 18 Jul 2010 23:37:54 +0000 (23:37 +0000)]
Added http_config.h to make APLOG_USE_MODULE macro visible.

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

14 years agoAdded casts to make strict compilers happy.
Guenter Knauf [Sun, 18 Jul 2010 23:02:29 +0000 (23:02 +0000)]
Added casts to make strict compilers happy.

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

14 years agofixed const for d2i_ASN1_type_bytes() usage.
Guenter Knauf [Sun, 18 Jul 2010 22:49:59 +0000 (22:49 +0000)]
fixed const for d2i_ASN1_type_bytes() usage.
Not sure if 0.9.8 is correct, but checked that 0.9.7m doesnt have const.

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

14 years agonote some work in progress
Stefan Fritsch [Sun, 18 Jul 2010 14:57:13 +0000 (14:57 +0000)]
note some work in progress

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

14 years agoUpdates.
Lucien Gentis [Sat, 17 Jul 2010 15:47:19 +0000 (15:47 +0000)]
Updates.

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

14 years agonote prelim plan
Jim Jagielski [Thu, 15 Jul 2010 12:55:25 +0000 (12:55 +0000)]
note prelim plan

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

14 years agoAdd CHANGES entry for r964156
Stefan Fritsch [Wed, 14 Jul 2010 20:19:07 +0000 (20:19 +0000)]
Add CHANGES entry for r964156

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

14 years agoAdd some open issues
Stefan Fritsch [Wed, 14 Jul 2010 20:15:41 +0000 (20:15 +0000)]
Add some open issues

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

14 years agofix log messages
Stefan Fritsch [Wed, 14 Jul 2010 20:03:42 +0000 (20:03 +0000)]
fix log messages

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

14 years agoThe approach for allowing authorization by user or IP introduced in r956387,
Stefan Fritsch [Wed, 14 Jul 2010 19:59:31 +0000 (19:59 +0000)]
The approach for allowing authorization by user or IP introduced in r956387,
etc. causes problems because the authentication module calls
note_*_auth_failure if authentication fails. This is inappropriate if access is
later allowed because of the IP.

So, instead of calling the auth_checker hook even if authentication failed, we
introduce a new access_checker_ex hook that runs between the access_checker and
the check_user_id hooks. If an access_checker_ex functions returns OK, the
request will be allowed without authentication.

To make use of this, change mod_authz_core to walk the require blocks in the
access_checker_ex phase and deny/allow the request if the authz result does not
depend on an authenticated user. To distinguish a real AUTHZ_DENIED from an
authz provider from an authz provider needing an authenticated user, the latter
must return the new AUTHZ_DENIED_NO_USER code.

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

14 years agoAllow for modules to keep track of worker slot
Jim Jagielski [Wed, 14 Jul 2010 16:03:19 +0000 (16:03 +0000)]
Allow for modules to keep track of worker slot
numbers themselves if they want, by allowing for
worker create/alloc functions to take a slot number id.
Done via _wid() variants of 3 proxy funcs.

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

14 years ago- add some trace logging
Stefan Fritsch [Tue, 13 Jul 2010 20:57:13 +0000 (20:57 +0000)]
- add some trace logging
- move comment to correct location
- redirect temporarily instead of permanently to avoid potential problems
  with browser caches

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

14 years agowhitespace only
Eric Covener [Sun, 11 Jul 2010 14:50:13 +0000 (14:50 +0000)]
whitespace only

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

14 years agoImprove trace logging of sent response:
Stefan Fritsch [Sun, 11 Jul 2010 12:07:51 +0000 (12:07 +0000)]
Improve trace logging of sent response:
- log response status
- log Date and Server headers

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

14 years agofollow up to r930125
Jeff Trawick [Sun, 11 Jul 2010 02:54:30 +0000 (02:54 +0000)]
follow up to r930125

change log message when forcing worker into error state:
* APLOG_ERR instead of unsuppressible APLOG_NOTICE
* follow formatting of existing proxy messages more closely

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

14 years agogenerated docs
Jeff Trawick [Sun, 11 Jul 2010 00:43:35 +0000 (00:43 +0000)]
generated docs

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

14 years agofix broken stylesheet path
Jeff Trawick [Sun, 11 Jul 2010 00:34:30 +0000 (00:34 +0000)]
fix broken stylesheet path

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

14 years agoFix segfault
Stefan Fritsch [Tue, 6 Jul 2010 20:11:30 +0000 (20:11 +0000)]
Fix segfault

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

14 years agoAdd a note about problem noted in PR 48652
Nick Kew [Mon, 5 Jul 2010 03:38:01 +0000 (03:38 +0000)]
Add a note about problem noted in PR 48652

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

14 years agoIntroduce note_auth_failure hook to allow modules to add support
Stefan Fritsch [Sun, 4 Jul 2010 21:16:53 +0000 (21:16 +0000)]
Introduce note_auth_failure hook to allow modules to add support
for additional auth types. This makes ap_note_auth_failure() work with
mod_auth_digest again.

PR: 48807

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

14 years agoRemove superfluous EOL from mod_rewrite logging.
Rainer Jung [Sat, 3 Jul 2010 17:01:23 +0000 (17:01 +0000)]
Remove superfluous EOL from mod_rewrite logging.

It's no longer needed, since mod_rewrite now uses
our usual error log. The superfluous EOL was logged
as '\n'.

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

14 years agoAllow to set environment variables using mod_rewrite without
Rainer Jung [Sat, 3 Jul 2010 16:21:58 +0000 (16:21 +0000)]
Allow to set environment variables using mod_rewrite without
explicitely giving a value.

Most modules only check presence of a variable, not the
value, so it makes sense to make the VAL argument in
the mod_rewrite ENV flag optional.

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

14 years agoFix documented syntax for env var setting in mod_rewrite.
Rainer Jung [Sat, 3 Jul 2010 14:27:43 +0000 (14:27 +0000)]
Fix documented syntax for env var setting in mod_rewrite.

Main page is fine, only the flags guide was wrong.

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

14 years agoClean iterator call syntax
William A. Rowe Jr [Fri, 2 Jul 2010 18:02:51 +0000 (18:02 +0000)]
Clean iterator call syntax

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

14 years agoFix nasty dbm bug that wasn't expiring records; time() doesn't return apr_time_t
William A. Rowe Jr [Fri, 2 Jul 2010 18:02:27 +0000 (18:02 +0000)]
Fix nasty dbm bug that wasn't expiring records; time() doesn't return apr_time_t

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

14 years agoClean shmcb iterator call syntax and return value
William A. Rowe Jr [Fri, 2 Jul 2010 18:00:26 +0000 (18:00 +0000)]
Clean shmcb iterator call syntax and return value

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

14 years agoactually update the MMN and not only the comment
Stefan Fritsch [Thu, 1 Jul 2010 06:36:10 +0000 (06:36 +0000)]
actually update the MMN and not only the comment

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

14 years agore-order many struct members for better alignment on 64bit
Stefan Fritsch [Wed, 30 Jun 2010 22:34:05 +0000 (22:34 +0000)]
re-order many struct members for better alignment on 64bit

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

14 years agoauthn_socache: if loaded but not configured to do anything,
Nick Kew [Wed, 30 Jun 2010 22:21:38 +0000 (22:21 +0000)]
authn_socache: if loaded but not configured to do anything,
don't go to the trouble of setting up the cache and mutex.

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

14 years agoExtra robustness check: don't segfault if no socache provider selected
Nick Kew [Wed, 30 Jun 2010 22:02:41 +0000 (22:02 +0000)]
Extra robustness check: don't segfault if no socache provider selected
and there's no compile-time default.

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

14 years agoTo save memory, make module_levels a vector of chars instead of ints.
Stefan Fritsch [Wed, 30 Jun 2010 18:09:06 +0000 (18:09 +0000)]
To save memory, make module_levels a vector of chars instead of ints.

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

14 years agoMove new_api_2_4 doc to developer docs where it belongs
Nick Kew [Tue, 29 Jun 2010 23:04:27 +0000 (23:04 +0000)]
Move new_api_2_4 doc to developer docs where it belongs

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

14 years agospelling fix for a comment
Jeff Trawick [Tue, 29 Jun 2010 17:00:23 +0000 (17:00 +0000)]
spelling fix for a comment

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

14 years agoAdd cacheing to authn_dbd docs
Nick Kew [Mon, 28 Jun 2010 21:23:19 +0000 (21:23 +0000)]
Add cacheing to authn_dbd docs

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

14 years agoAdd note on cacheing to auth howto
Nick Kew [Mon, 28 Jun 2010 21:09:44 +0000 (21:09 +0000)]
Add note on cacheing to auth howto

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

14 years agoLink to mod_authn_socache in relevant module docs
Nick Kew [Mon, 28 Jun 2010 20:57:18 +0000 (20:57 +0000)]
Link to mod_authn_socache in relevant module docs

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

14 years agoBah. Fix usage example in r958720
Nick Kew [Mon, 28 Jun 2010 20:51:25 +0000 (20:51 +0000)]
Bah.  Fix usage example in r958720

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

14 years agoAdd usage example in docs
Nick Kew [Mon, 28 Jun 2010 20:49:53 +0000 (20:49 +0000)]
Add usage example in docs

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

14 years agoSave some memory by allocating only the required length for conf_vectors.
Stefan Fritsch [Sat, 26 Jun 2010 21:28:36 +0000 (21:28 +0000)]
Save some memory by allocating only the required length for conf_vectors.

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

14 years agoFix syntax error
Stefan Fritsch [Sat, 26 Jun 2010 18:56:09 +0000 (18:56 +0000)]
Fix syntax error

PR: 49502
Submitted by: n verger txcx com

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

14 years agoStop compressing if we are doing a HEAD request and the content-length filter
Stefan Fritsch [Sat, 26 Jun 2010 17:41:01 +0000 (17:41 +0000)]
Stop compressing if we are doing a HEAD request and the content-length filter
can't determine the content-length anyway.

Submitted by: Ruediger Pluem

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

14 years agoMissed the MINOR reset
William A. Rowe Jr [Sat, 26 Jun 2010 00:30:34 +0000 (00:30 +0000)]
Missed the MINOR reset

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

14 years agoIntroduce an socache iterator 'userctx' for the user to track the
William A. Rowe Jr [Sat, 26 Jun 2010 00:26:01 +0000 (00:26 +0000)]
Introduce an socache iterator 'userctx' for the user to track the
context of their own callback.

Breaks API, but we probably wanted an mmn reset between .6 and .7
betas for unintentional/unnoticed ABI breaks.

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

14 years agoFurther normalize initalization stanzas
William A. Rowe Jr [Fri, 25 Jun 2010 20:13:38 +0000 (20:13 +0000)]
Further normalize initalization stanzas

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

14 years agoC99 is not a requirement, fix style violation niq refuses(?) to correct.
William A. Rowe Jr [Fri, 25 Jun 2010 19:27:24 +0000 (19:27 +0000)]
C99 is not a requirement, fix style violation niq refuses(?) to correct.

Ensures the two initialization stanzas follow the same pattern, which
is goodness, IMHO.

Reviewed by: trawick, wrowe
Submitted by: Norm <normw gknw.net>

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

14 years agoIterator implementations welcome, although mod_socache_memcache will
William A. Rowe Jr [Fri, 25 Jun 2010 19:22:48 +0000 (19:22 +0000)]
Iterator implementations welcome, although mod_socache_memcache will
never gain one, per documentation in the memcached FAQ.

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

14 years agoTally replacements seperately from new-stores. Of course the actual
William A. Rowe Jr [Fri, 25 Jun 2010 19:21:30 +0000 (19:21 +0000)]
Tally replacements seperately from new-stores.  Of course the actual
replacement logic doesn't work terribly well right now, as discussed
on list.

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

14 years agoMake a start on documenting mod_authn_socache
Nick Kew [Fri, 25 Jun 2010 14:12:16 +0000 (14:12 +0000)]
Make a start on documenting mod_authn_socache

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

14 years agoDisallow setting cache context in .htaccess, lest it be abused for cross-site
Nick Kew [Fri, 25 Jun 2010 12:33:34 +0000 (12:33 +0000)]
Disallow setting cache context in .htaccess, lest it be abused for cross-site
or cross-application authn attacks.

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

14 years agofix svn props (hopefully)!
Nick Kew [Fri, 25 Jun 2010 09:50:24 +0000 (09:50 +0000)]
fix svn props (hopefully)!

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

14 years agoFix return values from socache modules when a key is not found in cache
Nick Kew [Wed, 23 Jun 2010 15:04:57 +0000 (15:04 +0000)]
Fix return values from socache modules when a key is not found in cache

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

14 years agoexpiry is a time, not an interval
Nick Kew [Wed, 23 Jun 2010 13:15:43 +0000 (13:15 +0000)]
expiry is a time, not an interval

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

14 years agoName change: fix incompleteness of r957089
Nick Kew [Wed, 23 Jun 2010 07:35:03 +0000 (07:35 +0000)]
Name change: fix incompleteness of r957089

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

14 years agoName change: calling it mod_authn_cache could get confusing, and the
Nick Kew [Wed, 23 Jun 2010 00:24:59 +0000 (00:24 +0000)]
Name change: calling it mod_authn_cache could get confusing, and the
sourceforge module has a prior claim to the name.

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

14 years agoEnable authn_cache in the main easy-to-do authn provider modules
Nick Kew [Tue, 22 Jun 2010 23:03:11 +0000 (23:03 +0000)]
Enable authn_cache in the main easy-to-do authn provider modules

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

14 years agoNew module: mod_authn_cache
Nick Kew [Tue, 22 Jun 2010 18:16:16 +0000 (18:16 +0000)]
New module: mod_authn_cache

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

14 years agoSupport AP_DECLARE_MODULE declaration syntax in apxs
Nick Kew [Tue, 22 Jun 2010 17:12:44 +0000 (17:12 +0000)]
Support AP_DECLARE_MODULE declaration syntax in apxs

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

14 years agoOS/2: Add support for ThreadStackSize.
Brian Havard [Tue, 22 Jun 2010 12:49:59 +0000 (12:49 +0000)]
OS/2: Add support for ThreadStackSize.

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

14 years agoOS/2 build fix:
Brian Havard [Tue, 22 Jun 2010 12:23:13 +0000 (12:23 +0000)]
OS/2 build fix:
Remove use of non-portable apr_get_os_error() and just return APR_ENOMEM if
apr_pcalloc() returns NULL.

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

14 years agoOS/2: Provide a definition of AP_PLATFORM_REWRITE_ARGS_HOOK.
Brian Havard [Tue, 22 Jun 2010 12:04:03 +0000 (12:04 +0000)]
OS/2: Provide a definition of AP_PLATFORM_REWRITE_ARGS_HOOK.
NULL for now as ap_mpm_rewrite_args()'s -k function doesn't currently work on
OS/2.

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

14 years agoOS/2: Fix building of more modules that depend on symbols from other modules.
Brian Havard [Tue, 22 Jun 2010 11:57:51 +0000 (11:57 +0000)]
OS/2: Fix building of more modules that depend on symbols from other modules.
Affected modules are: mod_heartbeat, mod_session_cookie, mod_session_crypto,
mod_session_dbd and mod_disk_cache.

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

14 years agoRemove definition of ap_pid_fname from OS/2 MPM. It's now in mpm_common.c.
Brian Havard [Tue, 22 Jun 2010 08:48:29 +0000 (08:48 +0000)]
Remove definition of ap_pid_fname from OS/2 MPM. It's now in mpm_common.c.

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

14 years agoupdated notes on ap_hook_check_* wrappers and AP_AUTH_INTERNAL_* flags
Chris Darroch [Mon, 21 Jun 2010 23:19:43 +0000 (23:19 +0000)]
updated notes on ap_hook_check_* wrappers and AP_AUTH_INTERNAL_* flags

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

14 years agoUpdate Debian layout to what is actually used
Stefan Fritsch [Mon, 21 Jun 2010 20:38:16 +0000 (20:38 +0000)]
Update Debian layout to what is actually used

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

14 years agoadd -X to usage message
Stefan Fritsch [Mon, 21 Jun 2010 20:34:44 +0000 (20:34 +0000)]
add -X to usage message

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

14 years agoNote auth_checker hook change
Stefan Fritsch [Mon, 21 Jun 2010 18:59:16 +0000 (18:59 +0000)]
Note auth_checker hook change

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

14 years agoRemove comment about removal of OS/2 support
Rainer Jung [Mon, 21 Jun 2010 10:01:06 +0000 (10:01 +0000)]
Remove comment about removal of OS/2 support
from CHANGES and docs.

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

14 years agoap_note_auth_failure seems to be broken in 2.2.x, too. So this is hardly
Stefan Fritsch [Sun, 20 Jun 2010 20:39:00 +0000 (20:39 +0000)]
ap_note_auth_failure seems to be broken in 2.2.x, too. So this is hardly
a blocker for 2.4.

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

14 years agoUpdate transformations
Stefan Fritsch [Sun, 20 Jun 2010 20:26:02 +0000 (20:26 +0000)]
Update transformations

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

14 years agoFix XML validation issue
Stefan Fritsch [Sun, 20 Jun 2010 20:21:08 +0000 (20:21 +0000)]
Fix XML validation issue

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

14 years agoDon't apr_pstrdup in ap_auth_type(). It returns const char *, anyway.
Stefan Fritsch [Sun, 20 Jun 2010 20:18:55 +0000 (20:18 +0000)]
Don't apr_pstrdup in ap_auth_type(). It returns const char *, anyway.

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

14 years agoFirst pass at documentation for upgrading to 2.4.
Daniel Earl Poirier [Sun, 20 Jun 2010 19:48:13 +0000 (19:48 +0000)]
First pass at documentation for upgrading to 2.4.
Went through CHANGES and tried to pick out things that would
require a 2.2 user to make changes for 2.4.

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