From d5174b9fcdfaa325960892575c358181c07d60f6 Mon Sep 17 00:00:00 2001
From: Eric Covener
Date: Sun, 1 Dec 2013 11:23:22 +0000
Subject: If the "value" argument is prefixed with expr=, parse it with ap_expr
rather than mod_headers' built-in format strings.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1546801 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_headers.xml | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
(limited to 'docs')
diff --git a/docs/manual/mod/mod_headers.xml b/docs/manual/mod/mod_headers.xml
index d10b6ef7c8..8e0087b4df 100644
--- a/docs/manual/mod/mod_headers.xml
+++ b/docs/manual/mod/mod_headers.xml
@@ -301,13 +301,12 @@ Header merge Cache-Control no-store env=NO_STORE
Header
Configure HTTP response headers
Header [condition] add|append|echo|edit|edit*|merge|set|unset|note
-header [value] [replacement]
+header [[expr=]value]] [replacement]
[early|env=[!]variable]|expr=expression]
server configvirtual host
directory.htaccess
FileInfo
-Default condition was temporarily changed to "always" in 2.3.9 and 2.3.10
This directive can replace, merge or remove HTTP response
@@ -421,9 +420,12 @@ Header merge Cache-Control no-store env=NO_STORE
add
a value is specified as the next argument.
If value
contains spaces, it should be surrounded by double quotes.
- value may be a character string, a string containing format
- specifiers or a combination of both. The following format specifiers
- are supported in value:
+ value may be a character string, a string containing
+ mod_headers specific format specifiers (and character
+ literals), or an ap_expr expression prefixed
+ with expr=
+
+ The following format specifiers are supported in value: