Return-Path:
X-Original-To: apmail-httpd-cvs-archive@www.apache.org
Delivered-To: apmail-httpd-cvs-archive@www.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id 1B34910661
for ;
Fri, 5 Dec 2014 13:41:07 +0000 (UTC)
Received: (qmail 39481 invoked by uid 500); 5 Dec 2014 13:41:07 -0000
Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org
Received: (qmail 39412 invoked by uid 500); 5 Dec 2014 13:41:06 -0000
Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm
Precedence: bulk
Reply-To: dev@httpd.apache.org
list-help:
list-unsubscribe:
List-Post:
List-Id:
Delivered-To: mailing list cvs@httpd.apache.org
Received: (qmail 39402 invoked by uid 99); 5 Dec 2014 13:41:06 -0000
Received: from hades.apache.org (HELO hades.apache.org) (140.211.11.105)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 13:41:06 +0000
Received: from hades.apache.org (localhost [127.0.0.1])
by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id
792FAAC092E;
Fri, 5 Dec 2014 13:41:05 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r1643277 -
/httpd/httpd/trunk/docs/manual/mod/mod_headers.xml
Date: Fri, 05 Dec 2014 13:41:05 -0000
To: cvs@httpd.apache.org
From: covener@apache.org
X-Mailer: svnmailer-1.0.9
Message-Id: <20141205134105.792FAAC092E@hades.apache.org>
Author: covener
Date: Fri Dec 5 13:41:05 2014
New Revision: 1643277
URL: http://svn.apache.org/r1643277
Log:
add some hints about using expressions in mod_headers
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_headers.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_headers.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_headers.xml?rev=1643277&r1=1643276&r2=1643277&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_headers.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_headers.xml Fri Dec 5 13:41:05 2014
@@ -503,6 +503,25 @@ available in 2.4.10 and later%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