From: Christophe Jaillet Date: Mon, 25 Nov 2019 22:16:39 +0000 (+0000) Subject: Add a note about string comparison operators X-Git-Tag: 2.4.42~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fa126bcdc010cd1264a67b485d28f916d5c9d64;p=thirdparty%2Fapache%2Fhttpd.git Add a note about string comparison operators 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 --- diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 4c478fc6851..9c912bc8c4e 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -821,6 +821,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" + + +