From ca208b8a01b892f3caeea6c5998617e1dc66dd8d Mon Sep 17 00:00:00 2001
From: Eric Covener
Date: Fri, 5 Dec 2014 13:41:05 +0000
Subject: [PATCH] add some hints about using expressions in mod_headers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1643277 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_headers.xml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/docs/manual/mod/mod_headers.xml b/docs/manual/mod/mod_headers.xml
index 2729a412b46..7979bab95cb 100644
--- a/docs/manual/mod/mod_headers.xml
+++ b/docs/manual/mod/mod_headers.xml
@@ -503,6 +503,25 @@ available in 2.4.10 and later
more efficient than %s.
+ Note on expression values
+ When the value parameter uses the ap_expr
+ parser, some expression syntax will differ from examples that evaluate
+ boolean expressions such as <If>:
+
+ - The starting point of the grammar is 'string' rather than 'expr'.
+ - Function calls use the %{funcname:arg} syntax rather than
+ funcname(arg).
+ - Multi-argument functions are not currently accessible from this
+ starting point
+ - Quote the entire parameter, such as
+
+ Header set foo-checksum "expr=%{md5:foo}"
+
+
+
+
+
+
For edit there is both a value argument
which is a regular expression,
and an additional replacement string. As of version 2.4.7
--
2.47.3