From: Christophe Jaillet Date: Fri, 23 Sep 2016 04:45:46 +0000 (+0000) Subject: xforms X-Git-Tag: 2.5.0-alpha~1135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa0a06cefafa93123bad61ef89624d4ebdfaffb2;p=thirdparty%2Fapache%2Fhttpd.git xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1762014 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/expr.html.en b/docs/manual/expr.html.en index b856ef3742c..058a8ec3115 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 340f5830442..616f73939a9 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 d5a2e5e1a51..ea324a8bb25 100644 --- a/docs/manual/expr.xml.meta +++ b/docs/manual/expr.xml.meta @@ -8,6 +8,6 @@ en - fr + fr