From fa0a06cefafa93123bad61ef89624d4ebdfaffb2 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Fri, 23 Sep 2016 04:45:46 +0000 Subject: [PATCH] xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1762014 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/expr.html.en | 14 +++++++------- docs/manual/expr.xml.fr | 2 +- docs/manual/expr.xml.meta | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/manual/expr.html.en b/docs/manual/expr.html.en index b856ef3742..058a8ec311 100644 --- a/docs/manual/expr.html.en +++ b/docs/manual/expr.html.en @@ -269,12 +269,12 @@ listfunction ::= listfuncname "(" word ")"TIME_YEAR The current year (e.g. 2010) TIME_MON - The current month (1, ..., 12) + The current month (01, ..., 12) TIME_DAY - The current day of the month + The current day of the month (01, ...) TIME_HOUR The hour part of the current time - (0, ..., 23) + (00, ..., 23) TIME_MIN The minute part of the current time TIME_SEC @@ -541,12 +541,12 @@ listfunction ::= listfuncname "(" word ")"

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
+    
+    
# 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/"
 </If>
@@ -596,7 +596,7 @@ listfunction ::= listfuncname "(" word ")"
+Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path\.php$#"
top
diff --git a/docs/manual/expr.xml.fr b/docs/manual/expr.xml.fr index 340f583044..616f73939a 100644 --- a/docs/manual/expr.xml.fr +++ b/docs/manual/expr.xml.fr @@ -1,7 +1,7 @@ - + diff --git a/docs/manual/expr.xml.meta b/docs/manual/expr.xml.meta index d5a2e5e1a5..ea324a8bb2 100644 --- a/docs/manual/expr.xml.meta +++ b/docs/manual/expr.xml.meta @@ -8,6 +8,6 @@ en - fr + fr -- 2.50.1