From: Rich Bowen Date: Fri, 8 Apr 2011 14:28:05 +0000 (+0000) Subject: Remove more unnecessary anchors from rewrite examples. X-Git-Tag: 2.3.12~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e372fb87ac07cac719a19f191360d6633070afbf;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index e3dbc67be5b..6dba4315835 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 adf76883caa..9b3fa51d476 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]