From: Christophe Jaillet Date: Mon, 25 Nov 2019 22:14:48 +0000 (+0000) Subject: Add a note about string comparison operators X-Git-Tag: 2.5.0-alpha2-ci-test-only~1769 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8d464d94823fe366687507a04fd944d208f1ee3;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index c3816eb149d..7e9963f58ad 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" CondPattern, or is equal to CondPattern (the two strings are equal, character for character). + Note + The string comparison operator is part of the CondPattern + argument and must be included in the quotes if those are used. Eg. + + +RewriteCond %{HTTP_USER_AGENT} "=This Robot/1.0" + + +