From 5fa126bcdc010cd1264a67b485d28f916d5c9d64 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 25 Nov 2019 22:16:39 +0000 Subject: [PATCH] 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 --- docs/manual/mod/mod_rewrite.xml | 9 +++++++++ 1 file changed, 9 insertions(+) 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" + + +
  • -- 2.47.3