]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove more unnecessary anchors from rewrite examples.
authorRich Bowen <rbowen@apache.org>
Fri, 8 Apr 2011 14:28:05 +0000 (14:28 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 8 Apr 2011 14:28:05 +0000 (14:28 +0000)
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
docs/manual/mod/mod_rewrite.xml

index e3dbc67be5b27a115a58e03f802e3bd53ce07c09..6dba4315835a2ae361995bf52d5aeadf8cb3c860 100644 (file)
@@ -676,10 +676,10 @@ RewriteRule ...some special stuff for any of these hosts...
         use the following: </p>
 
 <div class="example"><pre>
-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]
index adf76883caaa39c635f731ed06817f0a57a8e082..9b3fa51d47690b3bc93816781d95515326aab7cd 100644 (file)
@@ -852,10 +852,10 @@ RewriteRule ...some special stuff for any of these hosts...
 
 <example>
 <pre>
-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]