summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2019-11-25 22:14:48 +0000
committerChristophe Jaillet <jailletc36@apache.org>2019-11-25 22:14:48 +0000
commitf8d464d94823fe366687507a04fd944d208f1ee3 (patch)
tree2e889eda01a5b3570b8128572f0b1ffcbf19dfdf
parent69eb02f4c0673fff2e28823612073c356acb8778 (diff)
downloadhttpd-f8d464d94823fe366687507a04fd944d208f1ee3.tar.gz
Add a note about string comparison operators
PR 63919 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1870427 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/mod/mod_rewrite.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index c3816eb149..7e9963f58a 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -828,6 +828,15 @@ AliasMatch "^/myapp" "/opt/myapp-1.2.3"
<em>CondPattern</em>, or is equal to <em>CondPattern</em>
(the two strings are equal, character for character).</dd>
</dl>
+ <note><title>Note</title>
+ The string comparison operator is part of the <em>CondPattern</em>
+ argument and must be included in the quotes if those are used. Eg.
+
+ <highlight language="config">
+RewriteCond %{HTTP_USER_AGENT} "=This Robot/1.0"
+ </highlight>
+ </note>
+
</li>
<li>