You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/11/25 22:16:39 UTC

svn commit: r1870428 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml

Author: jailletc36
Date: Mon Nov 25 22:16:39 2019
New Revision: 1870428

URL: http://svn.apache.org/viewvc?rev=1870428&view=rev
Log:
Add a note about string comparison operators
PR 63919

(r1870427 in trunk)

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml?rev=1870428&r1=1870427&r2=1870428&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml Mon Nov 25 22:16:39 2019
@@ -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>