Loading docs/manual/expr.xml +3 −0 Original line number Diff line number Diff line Loading @@ -581,6 +581,9 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>" # Function example in string context Header set foo-checksum "expr=%{md5:foo}" # This delays the evaluation of the condition clause compared to <If> Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#" </highlight> </section> Loading docs/manual/mod/mod_headers.xml +6 −1 Original line number Diff line number Diff line Loading @@ -540,7 +540,12 @@ available in 2.4.10 and later</compatibility> <dt><code>expr=<var>expression</var></code></dt> <dd>The directive is applied if and only if <var>expression</var> evaluates to true. Details of expression syntax and evaluation are documented in the <a href="../expr.html">ap_expr</a> documentation.</dd> documented in the <a href="../expr.html">ap_expr</a> documentation. <example> # This delays the evaluation of the condition clause compared to <If> Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#" </example> </dd> </dl> <p>Except in <a href="#early">early</a> mode, the Loading Loading
docs/manual/expr.xml +3 −0 Original line number Diff line number Diff line Loading @@ -581,6 +581,9 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>" # Function example in string context Header set foo-checksum "expr=%{md5:foo}" # This delays the evaluation of the condition clause compared to <If> Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#" </highlight> </section> Loading
docs/manual/mod/mod_headers.xml +6 −1 Original line number Diff line number Diff line Loading @@ -540,7 +540,12 @@ available in 2.4.10 and later</compatibility> <dt><code>expr=<var>expression</var></code></dt> <dd>The directive is applied if and only if <var>expression</var> evaluates to true. Details of expression syntax and evaluation are documented in the <a href="../expr.html">ap_expr</a> documentation.</dd> documented in the <a href="../expr.html">ap_expr</a> documentation. <example> # This delays the evaluation of the condition clause compared to <If> Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#" </example> </dd> </dl> <p>Except in <a href="#early">early</a> mode, the Loading