From 80f5bdd29e6207d4d46ba35d869d93fe49379578 Mon Sep 17 00:00:00 2001 From: André Malo Date: Fri, 26 Dec 2008 21:45:59 +0000 Subject: fix validation errors git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@729539 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_lbmethod_bybusyness.xml | 2 +- docs/manual/mod/mod_lbmethod_byrequests.xml | 2 +- docs/manual/mod/mod_lbmethod_bytraffic.xml | 2 +- docs/manual/mod/mod_rewrite.xml | 12 ++++++------ docs/manual/rewrite/rewrite_flags.xml | 3 +-- 5 files changed, 10 insertions(+), 11 deletions(-) (limited to 'docs') diff --git a/docs/manual/mod/mod_lbmethod_bybusyness.xml b/docs/manual/mod/mod_lbmethod_bybusyness.xml index 6b8154e08e..0b3b05a684 100644 --- a/docs/manual/mod/mod_lbmethod_bybusyness.xml +++ b/docs/manual/mod/mod_lbmethod_bybusyness.xml @@ -31,7 +31,7 @@ Split off from mod_proxy_balancer in 2.3 - This document is still under development. +

This document is still under development.

mod_proxy mod_proxy_balancer diff --git a/docs/manual/mod/mod_lbmethod_byrequests.xml b/docs/manual/mod/mod_lbmethod_byrequests.xml index fd8b96515e..28a91c24f6 100644 --- a/docs/manual/mod/mod_lbmethod_byrequests.xml +++ b/docs/manual/mod/mod_lbmethod_byrequests.xml @@ -31,7 +31,7 @@ Split off from mod_proxy_balancer in 2.3 - This document is still under development. +

This document is still under development.

mod_proxy mod_proxy_balancer diff --git a/docs/manual/mod/mod_lbmethod_bytraffic.xml b/docs/manual/mod/mod_lbmethod_bytraffic.xml index b76b61cad4..f64daf650d 100644 --- a/docs/manual/mod/mod_lbmethod_bytraffic.xml +++ b/docs/manual/mod/mod_lbmethod_bytraffic.xml @@ -31,7 +31,7 @@ Split off from mod_proxy_balancer in 2.3 - This document is still under development. +

This document is still under development.

mod_proxy mod_proxy_balancer diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 525b5ed767..3518fd5a9d 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1264,15 +1264,15 @@ cannot use $N in the substitution string!

Apache has to unescape URLs before mapping them, so backreferences will be unescaped at the time they are applied. Using the B flag, non-alphanumeric characters in backreferences - will be escaped. For example, consider the rule: + will be escaped. For example, consider the rule:

RewriteRule ^(/.*)$ /index.php?show=$1 - This will map /C++ to /index.php?show=/C++. - But it will also map /C%2b%2b to - /index.php?show=/C++, because the %2b - has been unescaped. With the B flag, it will instead map to - /index.php?show=/C%2b%2b.

+

This will map /C++ to + /index.php?show=/C++. But it will also map + /C%2b%2b to /index.php?show=/C++, because + the %2b has been unescaped. With the B flag, it will + instead map to /index.php?show=/C%2b%2b.

This escaping is particularly necessary in a proxy situation, when the backend may break if presented with an unescaped URL.

diff --git a/docs/manual/rewrite/rewrite_flags.xml b/docs/manual/rewrite/rewrite_flags.xml index 2648d56999..53afe72470 100644 --- a/docs/manual/rewrite/rewrite_flags.xml +++ b/docs/manual/rewrite/rewrite_flags.xml @@ -172,12 +172,11 @@ that does not contain the literal . character.

This can be also used to force the handler based on some conditions. For example, the following snippet used in per-server context allows .php files to be displayed by mod_php -if they are requested with the .phps extension: +if they are requested with the .phps extension:

RewriteRule ^(/source/.+\.php)s$ $1 [H=application/x-httpd-php-source] -

The regular expression above - ^(/source/.+\.php)s$ - will match any request that starts with /source/ followed by 1 or -- cgit v1.2.3