]> granicus.if.org Git - apache/log
apache
16 years agoNo var declarations in the middle of the code.
Guenter Knauf [Wed, 9 Apr 2008 12:40:14 +0000 (12:40 +0000)]
No var declarations in the middle of the code.

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

16 years agoChange the directives within the mod_session* modules to be valid
Graham Leggett [Wed, 9 Apr 2008 12:39:33 +0000 (12:39 +0000)]
Change the directives within the mod_session* modules to be valid
both inside and outside the location/directory sections, as suggested
by wrowe.

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

16 years agoUpdate transformations.
Graham Leggett [Wed, 9 Apr 2008 12:03:33 +0000 (12:03 +0000)]
Update transformations.

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

16 years agomod_auth_form: Add a module capable of allowing end users to log
Graham Leggett [Wed, 9 Apr 2008 11:46:46 +0000 (11:46 +0000)]
mod_auth_form: Add a module capable of allowing end users to log
in using an HTML form, storing the credentials within mod_session.

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

16 years agoAdd a function to the http filters that is able to parse an HTML
Graham Leggett [Wed, 9 Apr 2008 11:39:58 +0000 (11:39 +0000)]
Add a function to the http filters that is able to parse an HTML
form request with the type of application/x-www-form-urlencoded.

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

16 years agooops - checked in wrong makefile.
Guenter Knauf [Wed, 9 Apr 2008 02:45:08 +0000 (02:45 +0000)]
oops - checked in wrong makefile.

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

16 years ago* Fix eol-style
Guenter Knauf [Wed, 9 Apr 2008 02:23:48 +0000 (02:23 +0000)]
* Fix eol-style

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

16 years agoadded new chache modules to NetWare build.
Guenter Knauf [Wed, 9 Apr 2008 02:01:27 +0000 (02:01 +0000)]
added new chache modules to NetWare build.

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

16 years agoInsert prototypes to remove compiler warnings. [Joe Orton]
Graham Leggett [Tue, 8 Apr 2008 23:12:12 +0000 (23:12 +0000)]
Insert prototypes to remove compiler warnings. [Joe Orton]

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

16 years agoadded include dir.
Guenter Knauf [Tue, 8 Apr 2008 19:58:50 +0000 (19:58 +0000)]
added include dir.

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

16 years ago* modules/cache/mod_socache_dbm.c: Fix some dodgy formatting, thanks rpluem.
Joe Orton [Tue, 8 Apr 2008 16:04:12 +0000 (16:04 +0000)]
* modules/cache/mod_socache_dbm.c: Fix some dodgy formatting, thanks rpluem.

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

16 years agoAdjust socache init interface to take sizing hints, and namespace tag
Joe Orton [Tue, 8 Apr 2008 15:47:48 +0000 (15:47 +0000)]
Adjust socache init interface to take sizing hints, and namespace tag
for memcache:

* modules/cache/ap_socache.h (struct ap_socache_hints): New structure.
  Change init callback to take namespace string and hints structure pointer.

* modules/cache/mod_socache_dc.c (socache_dc_init): Adjust accordingly.

* modules/cache/mod_socache_dbm.c (struct ap_socache_instance_t): Rename
  timeout field to expiry_interval.
  (socache_dbm_init, socache_dbm_create): Take expiry interval from
  hints rather than hard-code to 30.
  (socache_dbm_expire): Update for timeout field rename.

* modules/cache/mod_socache_shmcb.c (socache_shmcb_init): Adjust for
  hints and namespace; adjust subcache index sizing heuristics to use
  passed-in hints.

* modules/cache/mod_socache_memcache.c (struct ap_socache_instance_t):
  Add tag, taglen fields.
  (socache_mc_init): Store the passed-in namespace in instance
  structure.
  (mc_session_id2sz): Adjust to not take context, use configured
  tag as string prefix, and not use a return value.
  (socache_mc_store, socache_mc_retrieve, socache_mc_remove):
  Adjust for mc_session_id2sz interface changes.

* modules/ssl/ssl_scache.c (ssl_scache_init): Pass namespace and hints
  to socache provider init function.

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

16 years agoadded session modules to NetWare build.
Guenter Knauf [Tue, 8 Apr 2008 15:03:29 +0000 (15:03 +0000)]
added session modules to NetWare build.

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

16 years agoMissed in r645940:
Joe Orton [Tue, 8 Apr 2008 14:30:41 +0000 (14:30 +0000)]
Missed in r645940:

* modules/ssl/ssl_scache.c: Switch to using socache constants.

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

16 years ago* modules/ssl/ssl_engine_config.c: Remove unused macro.
Joe Orton [Tue, 8 Apr 2008 14:22:47 +0000 (14:22 +0000)]
* modules/ssl/ssl_engine_config.c: Remove unused macro.

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

16 years agoSession cache interface redesign, Part 9:
Joe Orton [Tue, 8 Apr 2008 14:21:24 +0000 (14:21 +0000)]
Session cache interface redesign, Part 9:

Switch mod_ssl to use the ap_socache interface.

* modules/ssl/ssl_scache_shmcb.c, modules/ssl/ssl_scache_memcache.c,
  modules/ssl/ssl_scache_dc.c, modules/ssl/ssl_scache_dbm.c: Remove
  files.

* modules/ssl/mod_ssl.c (modssl_register_scache): Remove function.

* modules/ssl/ssl_private.h: Remove modssl_sesscache_provider etc.
  (SSLModConfigRec): Switch to using socache types.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLSessionCache): Switch to
  use socache provider.

* modules/ssl/ssl_engine_mutex.c, modules/ssl/ssl_scache.c: Switch to
  using socache constants.

* modules/ssl/config.m4: Drop distache/memcache configuration, remove
  old objects.

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

16 years ago* Fix eol-style
Ruediger Pluem [Tue, 8 Apr 2008 14:09:03 +0000 (14:09 +0000)]
* Fix eol-style

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

16 years agoadded eol-style property to makefiles.
Guenter Knauf [Tue, 8 Apr 2008 14:07:35 +0000 (14:07 +0000)]
added eol-style property to makefiles.

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

16 years agoadded makefiles for NetWare.
Guenter Knauf [Tue, 8 Apr 2008 14:02:49 +0000 (14:02 +0000)]
added makefiles for NetWare.

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

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

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

16 years ago* modules/cache/ap_socache.h: Add ap_socache_instance_t object type.
Joe Orton [Tue, 8 Apr 2008 13:49:52 +0000 (13:49 +0000)]
* modules/cache/ap_socache.h: Add ap_socache_instance_t object type.
  Adjust the provider interface to use this instance type throughout.

* modules/cache/mod_socache_dbm.c,
  modules/cache/mod_socache_memcache.c,
  modules/cache/mod_socache_shmcb.c,
  modules/cache/mod_socache_dc.c: Adjust all implementations to
  define the instance object in place of the "struct context", and
  to take this object directly in the provider interface.

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

16 years ago* Fix eol-style property.
Ruediger Pluem [Tue, 8 Apr 2008 13:49:49 +0000 (13:49 +0000)]
* Fix eol-style property.
  Changes to mod_session.c only fix line endings again. No functional
  changes.

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

16 years agoAdd util_cookies.c and .h to the netware build
Guenter Knauf [Tue, 8 Apr 2008 12:59:04 +0000 (12:59 +0000)]
Add util_cookies.c and .h to the netware build

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

16 years agoPatch from Takashi Sato. Cheers.
Tony Stevenson [Tue, 8 Apr 2008 12:48:43 +0000 (12:48 +0000)]
Patch from Takashi Sato.  Cheers.

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

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