]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove unnecessary .*s from regex.
authorRich Bowen <rbowen@apache.org>
Fri, 8 Apr 2011 14:17:00 +0000 (14:17 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 8 Apr 2011 14:17:00 +0000 (14:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1090259 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/remapping.html.en

index 7fe26b417e19dfc8b12943cfe95d0a7bb1582359..9708e5da289aa39ae71ed0a427c07e70b5bffe33 100644 (file)
@@ -462,8 +462,8 @@ com       http://www.example.com/<br />
 RewriteCond %{HTTP_USER_AGENT}  ^<strong>Mozilla/3</strong>.*<br />
 RewriteRule ^foo\.html$         foo.<strong>NS</strong>.html          [<strong>L</strong>]<br />
 <br />
-RewriteCond %{HTTP_USER_AGENT}  ^<strong>Lynx/</strong>.*         [OR]<br />
-RewriteCond %{HTTP_USER_AGENT}  ^<strong>Mozilla/[12]</strong>.*<br />
+RewriteCond %{HTTP_USER_AGENT}  ^<strong>Lynx/</strong>         [OR]<br />
+RewriteCond %{HTTP_USER_AGENT}  ^<strong>Mozilla/[12]</strong><br />
 RewriteRule ^foo\.html$         foo.<strong>20</strong>.html          [<strong>L</strong>]<br />
 <br />
 RewriteRule ^foo\.html$         foo.<strong>32</strong>.html          [<strong>L</strong>]