reqenv |
@@ -457,6 +465,11 @@ listfunction ::= listfuncname "(" word ")"
The functions marked as "restricted" are not available in some modules
like mod_include.
+ When the functions req
or http
are used,
+ the header name will automatically be added to the Vary header of the
+ HTTP response, except where otherwise noted for the directive accepting
+ the expression.
+
In addition to string-valued functions, there are also list-valued functions which
take one string as argument and return a wordlist, i.e. a list of strings. The wordlist
can be used with the special -in
operator.
diff --git a/docs/manual/mod/mod_log_config.xml b/docs/manual/mod/mod_log_config.xml
index d2f1fc71dc..feda90c371 100644
--- a/docs/manual/mod/mod_log_config.xml
+++ b/docs/manual/mod/mod_log_config.xml
@@ -461,7 +461,8 @@ CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b"
environment. Alternatively, the condition
can be expressed as arbitrary boolean expression. If the condition is not satisfied, the request
- will not be logged.
+ will not be logged. References to HTTP headers in the expression
+ will not cause the header names to be added to the Vary header.
Environment variables can be set on a per-request
basis using the mod_setenvif
diff --git a/docs/manual/mod/mod_log_debug.xml b/docs/manual/mod/mod_log_debug.xml
index 1556b664ed..f1517449a2 100644
--- a/docs/manual/mod/mod_log_debug.xml
+++ b/docs/manual/mod/mod_log_debug.xml
@@ -93,8 +93,9 @@
This directive causes a user defined message to be logged to the
error log. The message can use variables and functions from the
- ap_expr syntax. The messages are logged at
- loglevel info.
+ ap_expr syntax. References to HTTP headers
+ will not cause header names to be added to the Vary header. The
+ messages are logged at loglevel info.
The hook specifies before which phase of request procesing the message
will be logged. The following hooks are supported:
@@ -122,7 +123,8 @@
The optional expression allows to restrict the message if a
condition is met. The details of the expression syntax are described in
- the ap_expr documentation.
+ the ap_expr documentation. References to HTTP
+ headers will not cause the header names to be added to the Vary header.
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index edfdd2e9c5..0479e5e721 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -567,9 +567,11 @@ Alias /myapp /opt/myapp-1.2.3
- If the TestString has the special value expr
, the
- CondPattern will be treated as an
- ap_expr.
+ If the TestString has the special value expr
,
+ the CondPattern will be treated as an
+ ap_expr. HTTP headers referenced in the
+ expression will be added to the Vary header if the novary
+ flag is not given.
Other things you should be aware of:
--
2.40.0