]> 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:14:48 +0000 (22:14 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 25 Nov 2019 22:14:48 +0000 (22:14 +0000)
PR 63919

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1870427 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.xml

index c3816eb149d86fe9018df7c10293f89168ecae19..7e9963f58adccf73e8e38596497013d82e30c48c 100644 (file)
@@ -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>