From 4066de283e029016235ddb343175caccd885ba5a Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Wed, 23 Mar 2011 21:17:19 +0000 Subject: [PATCH] Remove trunk-specific functionality that made it back into the 2.2 docs. Oops. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1084744 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/rewrite/rewritemap.html.en | 33 -------------------------- docs/manual/rewrite/rewritemap.xml | 32 ------------------------- 2 files changed, 65 deletions(-) diff --git a/docs/manual/rewrite/rewritemap.html.en b/docs/manual/rewrite/rewritemap.html.en index bb5d1555ed7..79fc3f21718 100644 --- a/docs/manual/rewrite/rewritemap.html.en +++ b/docs/manual/rewrite/rewritemap.html.en @@ -39,7 +39,6 @@ configuration.
  • dbm: DBM Hash File
  • int: Internal Function
  • prg: External Rewriting Program
  • -
  • dbd or fastdbd: SQL Query
  • Summary
  • See also

    top
    @@ -358,11 +357,6 @@ by many requests. a context that does not have RewriteEngine set to on.

    -

    This feature utilizes the rewrite-map mutex, - which is required for reliable communication with the program. - The mutex mechanism and lock file can be configured with the - Mutex directive.

    -

    A simple example is shown here which will replace all dashes with underscores in a request URI.

    @@ -401,33 +395,6 @@ this process, or if the script itself is very slow.
    top
    -

    dbd or fastdbd: SQL Query

    - - -

    When a MapType of dbd or fastdbd is - used, the MapSource is a SQL SELECT statement that takes a single - argument and returns a single value.

    - -

    mod_dbd will need to be configured to point at - the right database for this statement to be executed.

    - -

    There are two forms of this MapType. - Using a MapType of dbd causes the query to be - executed with each map request, while using fastdbd - caches the database lookups internally. So, while - fastdbd is more efficient, and therefore faster, it - won't pick up on changes to the database until the server is - restarted.

    - -

    If a query returns more than one row, a random row from -the result set is used.

    - -

    Example

    -RewriteMap myquery "fastdbd:SELECT destination FROM rewrite WHERE source = %s" -

    - -
    top
    -

    Summary

    diff --git a/docs/manual/rewrite/rewritemap.xml b/docs/manual/rewrite/rewritemap.xml index 35899514df9..8b6db54bf04 100644 --- a/docs/manual/rewrite/rewritemap.xml +++ b/docs/manual/rewrite/rewritemap.xml @@ -358,11 +358,6 @@ by many requests. module="mod_rewrite">RewriteEngine set to on.

    -

    This feature utilizes the rewrite-map mutex, - which is required for reliable communication with the program. - The mutex mechanism and lock file can be configured with the - Mutex directive.

    -

    A simple example is shown here which will replace all dashes with underscores in a request URI.

    @@ -401,33 +396,6 @@ this process, or if the script itself is very slow. - -
    - dbd or fastdbd: SQL Query - -

    When a MapType of dbd or fastdbd is - used, the MapSource is a SQL SELECT statement that takes a single - argument and returns a single value.

    - -

    mod_dbd will need to be configured to point at - the right database for this statement to be executed.

    - -

    There are two forms of this MapType. - Using a MapType of dbd causes the query to be - executed with each map request, while using fastdbd - caches the database lookups internally. So, while - fastdbd is more efficient, and therefore faster, it - won't pick up on changes to the database until the server is - restarted.

    - -

    If a query returns more than one row, a random row from -the result set is used.

    - - Example -RewriteMap myquery "fastdbd:SELECT destination FROM rewrite WHERE source = %s" - - -
    Summary -- 2.47.2