]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add a note about string comparison operators
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 25 Nov 2019 22:16:39 +0000 (22:16 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 25 Nov 2019 22:16:39 +0000 (22:16 +0000)
PR 63919

(r1870427 in trunk)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1870428 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.xml

index 4c478fc6851bd0e8d102f1546fce9168a3bbf8e5..9c912bc8c4e5432262063c046ff45359f751f741 100644 (file)
@@ -821,6 +821,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>