From f8d464d94823fe366687507a04fd944d208f1ee3 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 25 Nov 2019 22:14:48 +0000 Subject: [PATCH] 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 --- 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 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" + + +
  • -- 2.47.3