]> granicus.if.org Git - apache/log
apache
16 years agoPatch from Takashi Sato
Tony Stevenson [Tue, 8 Apr 2008 12:41:33 +0000 (12:41 +0000)]
Patch from Takashi Sato

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

16 years agoNo var declarations in the middle of the code.
Guenter Knauf [Tue, 8 Apr 2008 12:32:50 +0000 (12:32 +0000)]
No var declarations in the middle of the code.

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

16 years agoNO var declarations in the middle of the code.
Guenter Knauf [Tue, 8 Apr 2008 12:30:05 +0000 (12:30 +0000)]
NO var declarations in the middle of the code.

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

16 years agoupdate transformation
André Malo [Tue, 8 Apr 2008 11:44:03 +0000 (11:44 +0000)]
update transformation

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

16 years agodrop wrong LastChangedRevsion
André Malo [Tue, 8 Apr 2008 11:32:58 +0000 (11:32 +0000)]
drop wrong LastChangedRevsion

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

16 years agolet subversion set the lastchangedrevision
André Malo [Tue, 8 Apr 2008 11:28:23 +0000 (11:28 +0000)]
let subversion set the lastchangedrevision

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

16 years agoSession cache interface redesign, Part 8:
Joe Orton [Tue, 8 Apr 2008 10:47:04 +0000 (10:47 +0000)]
Session cache interface redesign, Part 8:

Abstract out the mod_ssl session caching interface into a separate set
of modules, mod_socache_*.

* modules/cache/ap_socache.h: New file.

* modules/cache/config.m4: Copy CHECK_DISTCACHE from ../ssl/config.m4;
  add new socache modules.

* modules/cache/mod_socache_dbm.c: Copied from ../ssl/ssl_scache_dbm.c.
  s/ssl_scache_/socache_/; add module structure and register_hooks.

* modules/cache/mod_socache_shmcb.c: Copied from ../ssl/ssl_scache_shmcb.c.
  s/ssl_scache_/socache_/; add module structure and register_hooks.
  Add SHMCB_MAX_SIZE definition, replacing APR_SHM_MAXSIZE.

* modules/cache/mod_socache_memcache.c: Copied from
  ../ssl/ssl_scache_memcache.c.
  s/ssl_scache_/socache_/; add module structure and register_hooks.
  Enable for APR-Util 1.3.x at compile-time, omitting configure-time
  checks.

* modules/cache/mod_socache_dc.c: Copied from ../ssl/ssl_scache_dc.c.
  s/ssl_scache_/socache_/; add module structure and register_hooks.

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

16 years ago* In the case that we fail to read the response line from the backend and if
Ruediger Pluem [Tue, 8 Apr 2008 09:49:13 +0000 (09:49 +0000)]
* In the case that we fail to read the response line from the backend and if
  we are a reverse proxy request shutdown the connection WITHOUT ANY response
  to trigger a retry by the client if allowed (as for idempotent requests).
  BUT currently we should not do this if the request is the first request on
  a keepalive connection as browsers like seamonkey only display an empty page
  in this case and do not do a retry.

Related to PR 37770

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

16 years agoUse what we have. This logic belongs here anyway...
Jim Jagielski [Tue, 8 Apr 2008 09:25:57 +0000 (09:25 +0000)]
Use what we have. This logic belongs here anyway...

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

16 years agoFollow on updates from r645667
Tony Stevenson [Mon, 7 Apr 2008 20:50:11 +0000 (20:50 +0000)]
Follow on updates from r645667

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

16 years agoAdditional changes from r645667
Tony Stevenson [Mon, 7 Apr 2008 20:47:51 +0000 (20:47 +0000)]
Additional changes from r645667

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

16 years agoCommit the update meta files for r645667
Tony Stevenson [Mon, 7 Apr 2008 20:46:18 +0000 (20:46 +0000)]
Commit the update meta files for r645667

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

16 years agoTranslated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Tony Stevenson [Mon, 7 Apr 2008 20:34:51 +0000 (20:34 +0000)]
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>

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

16 years ago* modules/ssl/ssl_engine_io.c (ssl_io_filter_error): Remove "fish",
Joe Orton [Mon, 7 Apr 2008 17:26:22 +0000 (17:26 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_filter_error): Remove "fish",
left for debugging purposes.

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

16 years agoMake sure the mod_session.h public header is exported correctly to the rest of the...
Graham Leggett [Mon, 7 Apr 2008 16:32:41 +0000 (16:32 +0000)]
Make sure the mod_session.h public header is exported correctly to the rest of the server.

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

16 years agoClean up some more error handling in mod_ssl:
Joe Orton [Mon, 7 Apr 2008 16:03:49 +0000 (16:03 +0000)]
Clean up some more error handling in mod_ssl:

* modules/ssl/ssl_engine_io.c (ssl_filter_io_shutdown): Remove
  redundant return value (which was always success).
  (ssl_io_filter_handshake): Return APR_ECONNABORTED on handshake
  failure, rather than success.
  (ssl_io_filter_output): Ignore ssl_filter_io_shutdown return
  value.

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

16 years agobackported r645569
Jim Jagielski [Mon, 7 Apr 2008 15:38:19 +0000 (15:38 +0000)]
backported r645569

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

16 years agoAdd major bump for removing ap_graceful_stop_signalled
Paul Querna [Mon, 7 Apr 2008 15:06:42 +0000 (15:06 +0000)]
Add major bump for removing ap_graceful_stop_signalled

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

16 years agoClean up some error handling in mod_ssl:
Joe Orton [Mon, 7 Apr 2008 15:05:14 +0000 (15:05 +0000)]
Clean up some error handling in mod_ssl:

* modules/ssl/ssl_engine_io.c: Define new error codes in the APR status
  code range, MODSSL_ERROR_BAD_GATEWAY and MODSSL_ERROR_HTTP_ON_HTTPS;
  use these HTTP_* constants directly as apr_status_t values.
  (ssl_io_filter_error): Use new constants.
  (ssl_io_filter_handshake): Return purely an APR status value rather
  than a mixture of HTTP_* constants, OpenSSL error codes, and APR
  status values.

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

16 years ago* server/main.c: Unbreak the build.
Joe Orton [Mon, 7 Apr 2008 14:31:09 +0000 (14:31 +0000)]
* server/main.c: Unbreak the build.

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

16 years ago* modules/http/http_protocol.c (is_mpm_running): Fix warning with
Joe Orton [Mon, 7 Apr 2008 13:14:37 +0000 (13:14 +0000)]
* modules/http/http_protocol.c (is_mpm_running): Fix warning with
gcc -Wall.

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

16 years ago* include/http_request.h: Fix warning with gcc -Wall.
Joe Orton [Mon, 7 Apr 2008 12:09:02 +0000 (12:09 +0000)]
* include/http_request.h: Fix warning with gcc -Wall.

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

16 years agoRemove all references to CORE_PRIVATE.
Paul Querna [Mon, 7 Apr 2008 10:45:43 +0000 (10:45 +0000)]
Remove all references to CORE_PRIVATE.

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

16 years agoRemove ap_graceful_stop_signalled from all MPMs.
Paul Querna [Mon, 7 Apr 2008 10:00:32 +0000 (10:00 +0000)]
Remove ap_graceful_stop_signalled from all MPMs.

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

16 years agoRemove calls to ap_graceful_stop_signalled, and replace by using ap_mpm_query
Paul Querna [Mon, 7 Apr 2008 09:53:58 +0000 (09:53 +0000)]
Remove calls to ap_graceful_stop_signalled, and replace by using ap_mpm_query
to determine if the MPM is trying to stop the process.

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

16 years agoInclude http_config.h from http_core, since now without CORE_PRIVATE, you need
Paul Querna [Mon, 7 Apr 2008 09:52:18 +0000 (09:52 +0000)]
Include http_config.h from http_core, since now without CORE_PRIVATE, you need
the definition for the module type.

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

16 years agoRemove CORE_PRIVATE.
Paul Querna [Mon, 7 Apr 2008 08:44:14 +0000 (08:44 +0000)]
Remove CORE_PRIVATE.

This define serves no modern purpose, since every module in the wild, including
our own define it, for no purpose.

If you have functions which you do not want in the 'public' API, put them
in a private header, that is not installed, just like mod_ssl does.

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

16 years agoMake it compile on pre-C99 compilers (Move decls to beginning of func)
Martin Kraemer [Mon, 7 Apr 2008 06:28:50 +0000 (06:28 +0000)]
Make it compile on pre-C99 compilers (Move decls to beginning of func)

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

16 years agoTweaking code to compile on pre-C99 compilers
Martin Kraemer [Mon, 7 Apr 2008 06:14:31 +0000 (06:14 +0000)]
Tweaking code to compile on pre-C99 compilers

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

16 years agoAnother typo
Martin Kraemer [Mon, 7 Apr 2008 06:08:11 +0000 (06:08 +0000)]
Another typo

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

16 years agoTypo
Martin Kraemer [Mon, 7 Apr 2008 06:01:54 +0000 (06:01 +0000)]
Typo

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

16 years agoUpdate transformations
Vincent Bray [Sun, 6 Apr 2008 14:40:34 +0000 (14:40 +0000)]
Update transformations

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

16 years agoFix link to authnz_db_foo
Vincent Bray [Sun, 6 Apr 2008 14:39:05 +0000 (14:39 +0000)]
Fix link to authnz_db_foo

Submitted by: Takashi Sato

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

16 years agomod_session_crypto: Initialise SSL in the post config hook.
Graham Leggett [Sun, 6 Apr 2008 14:23:35 +0000 (14:23 +0000)]
mod_session_crypto: Initialise SSL in the post config hook.

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

16 years agoFix the defaults, which currently override the config instead of default the config.
Graham Leggett [Sun, 6 Apr 2008 14:05:27 +0000 (14:05 +0000)]
Fix the defaults, which currently override the config instead of default the config.
[Ruediger Pluem]

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

16 years agoIf you study all of the directive implementations, you'll note
William A. Rowe Jr [Sun, 6 Apr 2008 00:46:42 +0000 (00:46 +0000)]
If you study all of the directive implementations, you'll note
that we get less than 20% of the NOT_IN_LIMIT rules correct.

<Limit > works in about 4 directive contexts and yet, we ignore
this fact for 100's of directives.  Simply eliminate this
nonsense in anticipation of a 100% solution.

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

16 years agoIf you study all of the directive implementations, you'll note
William A. Rowe Jr [Sun, 6 Apr 2008 00:42:21 +0000 (00:42 +0000)]
If you study all of the directive implementations, you'll note
that we get less than 20% of the NOT_IN_LIMIT rules correct.

<Limit > works in about 4 directive contexts and yet, we ignore
this fact for 100's of directives.  Simply eliminate this
nonsense in anticipation of a 100% solution.

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

16 years agoOptimisation: We have no need to distiguish between a Cookie and a Cookie2 when readi...
Graham Leggett [Sat, 5 Apr 2008 23:52:38 +0000 (23:52 +0000)]
Optimisation: We have no need to distiguish between a Cookie and a Cookie2 when reading cookies, the
cookie read code reads both at once. [Ruediger Pluem]

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

16 years agoRemove an unnecessary config structure lookup during encrypt and decrypt. [Ruediger...
Graham Leggett [Sat, 5 Apr 2008 23:42:08 +0000 (23:42 +0000)]
Remove an unnecessary config structure lookup during encrypt and decrypt. [Ruediger Pluem]

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

16 years agoClarify the operation of the SessionCryptoPassphrase directive as raised by rpluem...
Graham Leggett [Sat, 5 Apr 2008 23:35:00 +0000 (23:35 +0000)]
Clarify the operation of the SessionCryptoPassphrase directive as raised by rpluem. When
SessionCryptoCertificateFile is set, asymmetrical encryption will be used, and SessionCryptoPassphrase
will be interpreted as the passphrase protecting the private key. When SessionCryptoCertificateFile
is not set, symmetrical encryption is used, and SessionCryptoPassphrase will contain the key to
use. Make sure that the engine parameter is properly passed into the crypto functions, and fix a
missing cleanup on an error case.

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

16 years agoIn hopes of replacing <Limit > with <Method > - choose another example
William A. Rowe Jr [Sat, 5 Apr 2008 19:40:22 +0000 (19:40 +0000)]
In hopes of replacing <Limit > with <Method > - choose another example
to point to for documenting these functions.

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

16 years ago"Method" in HTTP has a particular meaning, simple descriptive
William A. Rowe Jr [Sat, 5 Apr 2008 19:39:17 +0000 (19:39 +0000)]
"Method" in HTTP has a particular meaning, simple descriptive
change to avoid using that phrase in another context.

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

16 years agoUpdate manual transformation
Graham Leggett [Sat, 5 Apr 2008 19:01:22 +0000 (19:01 +0000)]
Update manual transformation

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

16 years agomod_session_dbd: Add a session implementation capable of storing
Graham Leggett [Sat, 5 Apr 2008 18:59:40 +0000 (18:59 +0000)]
mod_session_dbd: Add a session implementation capable of storing
session information in a SQL database via the dbd interface. Useful
for sites where session privacy is important.

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

16 years agoRename the ap_escape_path_segment_b function as suggested by
Graham Leggett [Sat, 5 Apr 2008 16:30:44 +0000 (16:30 +0000)]
Rename the ap_escape_path_segment_b function as suggested by
Ruediger Pluem (left off commit r645120 by accident).

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

16 years agoRename the ap_escape_path_segment_b function as suggested by
Graham Leggett [Sat, 5 Apr 2008 15:26:03 +0000 (15:26 +0000)]
Rename the ap_escape_path_segment_b function as suggested by
Ruediger Pluem, and make a corresponding minor bump.

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

16 years agoMake sure we protect ourselves against the session being NULL, which it will be
Graham Leggett [Sat, 5 Apr 2008 15:05:15 +0000 (15:05 +0000)]
Make sure we protect ourselves against the session being NULL, which it will be
if no session is configured.

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

16 years agoupdates docco xform
Jim Jagielski [Fri, 4 Apr 2008 16:30:43 +0000 (16:30 +0000)]
updates docco xform

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

16 years agoRun transformation on new documentation
Graham Leggett [Fri, 4 Apr 2008 16:25:37 +0000 (16:25 +0000)]
Run transformation on new documentation

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

16 years agomod_session_crypto: Add a session encoding implementation capable
Graham Leggett [Fri, 4 Apr 2008 16:11:31 +0000 (16:11 +0000)]
mod_session_crypto: Add a session encoding implementation capable
of encrypting and decrypting sessions wherever they may be stored.
Introduces a level of privacy when sessions are stored on the
browser.

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

16 years agomod_session_cookie: Add a session implementation capable of storing
Graham Leggett [Fri, 4 Apr 2008 16:02:22 +0000 (16:02 +0000)]
mod_session_cookie: Add a session implementation capable of storing
session information within cookies on the browser. Useful for high
volume sites where server bound sessions are too resource intensive.

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

16 years agomod_session: Add a generic session interface to unify the different
Graham Leggett [Fri, 4 Apr 2008 15:58:15 +0000 (15:58 +0000)]
mod_session: Add a generic session interface to unify the different
attempts at saving persistent sessions across requests.

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

16 years agoAdd condition for <If> sections to core config merge
Nick Kew [Fri, 4 Apr 2008 14:50:58 +0000 (14:50 +0000)]
Add condition for <If> sections to core config merge
(a fix to r644253)

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

16 years agoAttempt to correct major bump from previous commit (r644253).
Chris Darroch [Thu, 3 Apr 2008 23:31:45 +0000 (23:31 +0000)]
Attempt to correct major bump from previous commit (r644253).
Add minor bump for r644525.  Hope this looks OK.

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

16 years agoTypo fixes courtesy of the French translation crew
Vincent Bray [Thu, 3 Apr 2008 22:57:36 +0000 (22:57 +0000)]
Typo fixes courtesy of the French translation crew

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

16 years agoUpdate transformations
Vincent Bray [Thu, 3 Apr 2008 22:45:43 +0000 (22:45 +0000)]
Update transformations

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

16 years agoFix a couple of links.
Vincent Bray [Thu, 3 Apr 2008 22:45:08 +0000 (22:45 +0000)]
Fix a couple of links.

Submitted by: Vincent Deffontaines (aka gryzor)

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

16 years agoAvoid calling access control hooks for internal requests with
Chris Darroch [Thu, 3 Apr 2008 21:51:07 +0000 (21:51 +0000)]
Avoid calling access control hooks for internal requests with
configurations which match those of the initial request.  Revert to
the original behaviour (call access control hooks for internal requests
with URIs different from the initial request) if any access control hooks
or providers are not registered as permitting this optimization.
Introduce wrappers for access control hook and provider registration
which can accept additional mode and flag data.

The configuration walk optimizations were originally proposed a while
ago (see http://marc.info/?l=apache-httpd-dev&m=116536713506234&w=2);
they have been used since then in production systems and appear to be
stable and effective.  They permit certain combinations of modules
and clients to function efficiently, especially when a deeply recursive
series of internal requests, such as those generated by certain WebDAV
requests, are all subject to the identical authentication and authorization
directives.

The major change from the original proposal is a cleaner mechanism for
detecting modules which may expect the old behaviour.  This has been
tested successfully with Subversion's mod_authz_svn, which specifically
requires the old behaviour when performing path-based authorization based
against its own private access control configuration files.

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

16 years agoclose PR 44381
Jim Jagielski [Thu, 3 Apr 2008 16:21:20 +0000 (16:21 +0000)]
close PR 44381

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

16 years agoHTTPD Core: Implement <If> sections for conditional (runtime) configuration.
Nick Kew [Thu, 3 Apr 2008 10:23:12 +0000 (10:23 +0000)]
HTTPD Core: Implement <If> sections for conditional (runtime) configuration.
N.B. This is a first pass, and has a way to go!

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

16 years agoAvoid returning NULL from ap_expr_string.
Nick Kew [Thu, 3 Apr 2008 00:34:20 +0000 (00:34 +0000)]
Avoid returning NULL from ap_expr_string.
Empty string works and won't cause segfault.

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

16 years agoExpression evaluation: treat null expression as unconditional, not segfault.
Nick Kew [Wed, 2 Apr 2008 23:08:22 +0000 (23:08 +0000)]
Expression evaluation: treat null expression as unconditional, not segfault.

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

16 years ago* Prevent a segfault if the destination URI of a copy / move operation is
Ruediger Pluem [Wed, 2 Apr 2008 20:55:16 +0000 (20:55 +0000)]
* Prevent a segfault if the destination URI of a copy / move operation is
  not under DAV control. Return 405 (Method not allowed) instead.

PR: 44734

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

16 years agoadjust charset info for svnmailer
André Malo [Wed, 2 Apr 2008 16:55:52 +0000 (16:55 +0000)]
adjust charset info for svnmailer

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

16 years agomove Japanese output files to utf-8
André Malo [Wed, 2 Apr 2008 15:48:46 +0000 (15:48 +0000)]
move Japanese output files to utf-8

1) build boostrap
2) svn mv *.html.ja.euc-jp *.html.ja.utf8
3) build all

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

16 years agoprepare moving ja output files to utf-8
André Malo [Wed, 2 Apr 2008 15:16:41 +0000 (15:16 +0000)]
prepare moving ja output files to utf-8

Submitted by: Takashi Sato <serai lans-tv.com>
PR: 44699

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

16 years agoupdate transformation
André Malo [Wed, 2 Apr 2008 15:07:57 +0000 (15:07 +0000)]
update transformation

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

16 years agoRemove ap_expr_clone from the API (same day it was added:-)
Nick Kew [Mon, 31 Mar 2008 22:10:36 +0000 (22:10 +0000)]
Remove ap_expr_clone from the API (same day it was added:-)

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

16 years agoAdd upgrading section to mod_filter docs.
Nick Kew [Mon, 31 Mar 2008 13:49:56 +0000 (13:49 +0000)]
Add upgrading section to mod_filter docs.

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

16 years agoUpdate mod_filter to use ap_expr
Nick Kew [Mon, 31 Mar 2008 13:14:02 +0000 (13:14 +0000)]
Update mod_filter to use ap_expr
Advantage: supports more complex expressions while simplifying mod_filter
(c.f. PR 43956 - this means chaining is no longer necessary)
NOTE: this changes FilterProvider syntax, so can't be backported to 2.2.

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

16 years agoUpdate mod_include for ap_expr update
Nick Kew [Mon, 31 Mar 2008 12:29:05 +0000 (12:29 +0000)]
Update mod_include for ap_expr update

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

16 years agoFlesh out ap_expr with:
Nick Kew [Mon, 31 Mar 2008 12:16:58 +0000 (12:16 +0000)]
Flesh out ap_expr with:
 * Re-usable parse trees
 * Canonical string parser function (candidate)

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

16 years agoDocument the fact that ap_expr was added.
Nick Kew [Sun, 30 Mar 2008 11:44:15 +0000 (11:44 +0000)]
Document the fact that ap_expr was added.

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

16 years ago* Add some doxygen stub / stuff
Ruediger Pluem [Sat, 29 Mar 2008 22:33:51 +0000 (22:33 +0000)]
* Add some doxygen stub / stuff

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

16 years ago* Prevent multiple "execution" of ap_expr.h contents when included multiple
Ruediger Pluem [Sat, 29 Mar 2008 22:29:39 +0000 (22:29 +0000)]
* Prevent multiple "execution" of ap_expr.h contents when included multiple
  times and allow it to be included by C++ files.

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

16 years ago* For AP_MAX_REG_MATCH we need to ensure that httpd.h is there, otherwise we
Ruediger Pluem [Sat, 29 Mar 2008 22:25:07 +0000 (22:25 +0000)]
* For AP_MAX_REG_MATCH we need to ensure that httpd.h is there, otherwise we
  fail to compile exports.c

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

16 years agoThou shalt not let tabs creep in.
Nick Kew [Sat, 29 Mar 2008 19:56:55 +0000 (19:56 +0000)]
Thou shalt not let tabs creep in.

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

16 years agoUpdate mod_include to use ap_expr API
Nick Kew [Sat, 29 Mar 2008 17:18:21 +0000 (17:18 +0000)]
Update mod_include to use ap_expr API

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

16 years agoIntroduce ap_expr expression parser API
Nick Kew [Sat, 29 Mar 2008 17:13:28 +0000 (17:13 +0000)]
Introduce ap_expr expression parser API

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

16 years agoUpdate Timeout section, the semantics changed completely
Joe Orton [Thu, 27 Mar 2008 15:45:34 +0000 (15:45 +0000)]
Update Timeout section, the semantics changed completely
since 1.3 and the caveats on signals not being reset
thankfully no longer apply either.

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

16 years agoRemove useless test.
Jean-Frederic Clere [Thu, 27 Mar 2008 14:44:19 +0000 (14:44 +0000)]
Remove useless test.

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

16 years agonote required APR/httpd versions
Chris Darroch [Wed, 26 Mar 2008 19:47:02 +0000 (19:47 +0000)]
note required APR/httpd versions

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

16 years agoUpdate transformations
Vincent Bray [Wed, 26 Mar 2008 16:44:46 +0000 (16:44 +0000)]
Update transformations

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

16 years agoAdd a caveat about SetEnv running late
Vincent Bray [Wed, 26 Mar 2008 16:42:21 +0000 (16:42 +0000)]
Add a caveat about SetEnv running late

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

16 years agoUpdate transformation.
Chris Darroch [Tue, 25 Mar 2008 19:27:11 +0000 (19:27 +0000)]
Update transformation.

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

16 years agoFix minor typos and capitalizations.
Chris Darroch [Tue, 25 Mar 2008 19:25:42 +0000 (19:25 +0000)]
Fix minor typos and capitalizations.

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

16 years agoAdd AuthzMergeRules to example configuration, and avoid use of
Chris Darroch [Tue, 25 Mar 2008 19:25:02 +0000 (19:25 +0000)]
Add AuthzMergeRules to example configuration, and avoid use of
ISO SQL:1999 Booleans in example SQL.  Revise some introductory text.

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

16 years agoReturn AUTHZ_GRANTED not AUTHZ_DENIED when redirecting after
Chris Darroch [Tue, 25 Mar 2008 18:21:32 +0000 (18:21 +0000)]
Return AUTHZ_GRANTED not AUTHZ_DENIED when redirecting after
successful login/logout.  Use redirection URL from first row returned
by DB query, in the same manner as that used by mod_authn_dbd when
querying for a single record.

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

16 years agooh dear, thanks joe
André Malo [Fri, 21 Mar 2008 23:58:35 +0000 (23:58 +0000)]
oh dear, thanks joe

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

16 years agofixup on .tr extension
André Malo [Fri, 21 Mar 2008 23:36:17 +0000 (23:36 +0000)]
fixup on .tr extension

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

16 years agoupdate transformation
André Malo [Fri, 21 Mar 2008 21:14:11 +0000 (21:14 +0000)]
update transformation

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

16 years agoAdd Turkish translations
André Malo [Fri, 21 Mar 2008 21:09:33 +0000 (21:09 +0000)]
Add Turkish translations

Submitted by: Nilgün Belma Bugüner <nilgun belgeler.org>
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>

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

16 years agospelling fix
Eric Covener [Fri, 21 Mar 2008 19:00:16 +0000 (19:00 +0000)]
spelling fix

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

16 years agoPR 43211: Revise mod_authn_dbd and mod_authz_dbd documenation to reflect
Chris Darroch [Fri, 21 Mar 2008 07:49:47 +0000 (07:49 +0000)]
PR 43211: Revise mod_authn_dbd and mod_authz_dbd documenation to reflect
current APR DBD query statement parameter requirements.  Tidy up examples
and links to glossary and external sites.  Update transformation.

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

16 years ago* Initialize hash needed by ap_register_rewrite_mapfunc early enough.
Ruediger Pluem [Thu, 20 Mar 2008 21:26:22 +0000 (21:26 +0000)]
* Initialize hash needed by ap_register_rewrite_mapfunc early enough.

PR: 44641
Submitted by: Daniel Lescohier <daniel.lescohier cnet.com>
Reviewed by: rpluem, niq, wrowe, jim

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

16 years ago*) mod_authn_dbd: Disambiguate and tidy database authentication
Chris Darroch [Thu, 20 Mar 2008 19:21:21 +0000 (19:21 +0000)]
*) mod_authn_dbd: Disambiguate and tidy database authentication
   error messages.  PR 43210, committed in r639079.

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

16 years agoPR #43210: Disambiguate and tidy database authentication error messages.
Chris Darroch [Wed, 19 Mar 2008 23:57:00 +0000 (23:57 +0000)]
PR #43210: Disambiguate and tidy database authentication error messages.
Based on patch from Phil Endecott.

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

16 years agommn bump for chroot (r611483)
Nick Kew [Wed, 19 Mar 2008 20:51:28 +0000 (20:51 +0000)]
mmn bump for chroot (r611483)

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

16 years agoDocument new ChrootDir directive (r611483)
Nick Kew [Wed, 19 Mar 2008 20:46:11 +0000 (20:46 +0000)]
Document new ChrootDir directive (r611483)

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

16 years agodocco sync
Jim Jagielski [Mon, 17 Mar 2008 14:37:35 +0000 (14:37 +0000)]
docco sync

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