From: Rich Bowen Date: Tue, 12 Jul 2011 13:12:14 +0000 (+0000) Subject: Rebuild changes. X-Git-Tag: 2.2.20~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a149485440f5d8620c26fc8128a787b490cc17f;p=thirdparty%2Fapache%2Fhttpd.git Rebuild changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1145580 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/avoid.html.en b/docs/manual/rewrite/avoid.html.en index b5e6ae51299..9a9b2259131 100644 --- a/docs/manual/rewrite/avoid.html.en +++ b/docs/manual/rewrite/avoid.html.en @@ -51,7 +51,6 @@ files to work with, you may need to resort to
  • URL Aliasing
  • Virtual Hosting
  • Simple Proxying
  • -
  • Environment Variable Testing
  • See also

    top
    @@ -190,34 +189,6 @@ other RewriteRules in effect in the same scope, as a ProxyPass, and so may preempt what you're trying to accomplish.

    -
    top
    -
    -

    Environment Variable Testing

    - -

    mod_rewrite is frequently used to take a particular -action based on the presence or absense of a particular environment -variable or request header. This can be done more efficiently using the -<If>.

    - -

    Consider, for example, the common scenario where -RewriteRule is used to enforce a canonical -hostname, such as www.example.com instead of -example.com. This can be done using the <If> direct, as shown here:

    - -

    -<If "$req{Host} = 'example.com'">
    -RedirectMatch (.*) http://www.example.com$1 -</If> -

    - -

    This technique can be used to take actions based on any request -header, response header, or environment variable, replacing -mod_rewrite in many common scenarios.

    - -

    See especially the expression evaluation -documentation for a overview of what types of expressions you can -use in <If> sections, and in certain other directives.

    -

    Available Languages:  en