From: Christophe Jaillet Date: Fri, 23 Sep 2016 04:24:33 +0000 (+0000) Subject: Fix doc as spotted by Francois B in online doc X-Git-Tag: 2.5.0-alpha~1137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=052f59a781e2b6f25ce775f43fe9c6c86f72bbaf;p=thirdparty%2Fapache%2Fhttpd.git Fix doc as spotted by Francois B in online doc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1762012 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/expr.xml b/docs/manual/expr.xml index cc63aba5211..92332efcda9 100644 --- a/docs/manual/expr.xml +++ b/docs/manual/expr.xml @@ -594,12 +594,12 @@ listfunction ::= listfuncname "(" word ")"
- Example expressions + Example expressions

The following examples show how expressions might be used to evaluate requests:

- - + + # Compare the host name to example.com and redirect to www.example.com if it matches <If "%{HTTP_HOST} == 'example.com'"> Redirect permanent "/" "http://www.example.com/" @@ -650,9 +650,9 @@ listfunction ::= listfuncname "(" word ")" Header set foo-checksum "expr=%{md5:foo}" # This delays the evaluation of the condition clause compared to <If> -Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#" +Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path\.php$#" - +