From e372fb87ac07cac719a19f191360d6633070afbf Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Fri, 8 Apr 2011 14:28:05 +0000 Subject: [PATCH] Remove more unnecessary anchors from rewrite examples. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090265 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_rewrite.html.en | 4 ++-- docs/manual/mod/mod_rewrite.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index e3dbc67be5..6dba431583 100644 --- a/docs/manual/mod/mod_rewrite.html.en +++ b/docs/manual/mod/mod_rewrite.html.en @@ -676,10 +676,10 @@ RewriteRule ...some special stuff for any of these hosts... use the following:

-RewriteCond  %{HTTP_USER_AGENT}  ^Mozilla
+RewriteCond  %{HTTP_USER_AGENT}  Mozilla
 RewriteRule  ^/$                 /homepage.max.html  [L]
 
-RewriteCond  %{HTTP_USER_AGENT}  ^Lynx
+RewriteCond  %{HTTP_USER_AGENT}  Lynx
 RewriteRule  ^/$                 /homepage.min.html  [L]
 
 RewriteRule  ^/$                 /homepage.std.html  [L]
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index adf76883ca..9b3fa51d47 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -852,10 +852,10 @@ RewriteRule ...some special stuff for any of these hosts...
 
 
 
-RewriteCond  %{HTTP_USER_AGENT}  ^Mozilla
+RewriteCond  %{HTTP_USER_AGENT}  Mozilla
 RewriteRule  ^/$                 /homepage.max.html  [L]
 
-RewriteCond  %{HTTP_USER_AGENT}  ^Lynx
+RewriteCond  %{HTTP_USER_AGENT}  Lynx
 RewriteRule  ^/$                 /homepage.min.html  [L]
 
 RewriteRule  ^/$                 /homepage.std.html  [L]
-- 
2.40.0