From: Christophe Jaillet Date: Fri, 23 Sep 2016 04:50:02 +0000 (+0000) Subject: xforms X-Git-Tag: 2.4.24~230 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10e495ac8961f2c84f6b0dd60551e95954541a34;p=thirdparty%2Fapache%2Fhttpd.git xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1762016 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/expr.html.en b/docs/manual/expr.html.en index 87af8f4a2e2..61d662a6274 100644 --- a/docs/manual/expr.html.en +++ b/docs/manual/expr.html.en @@ -23,8 +23,7 @@
Apache > HTTP Server > Documentation > Version 2.4

Expressions in Apache HTTP Server

-

Available Languages:  edited  | - en  | +

Available Languages:  en  |  fr 

@@ -257,12 +256,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 @@ -514,12 +513,13 @@ listfunction ::= listfuncname "(" word ")"
top

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>
@@ -532,7 +532,7 @@ listfunction ::= listfuncname "(" word ")"(" word ")"
+Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path\.php$#"
top
@@ -613,8 +613,7 @@ Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path is available for versions 2.4.4 and later.

-

Available Languages:  edited  | - en  | +

Available Languages:  en  |  fr 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.