You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2011/04/08 16:16:46 UTC
svn commit: r1090258 -
/httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
Author: rbowen
Date: Fri Apr 8 14:16:46 2011
New Revision: 1090258
URL: http://svn.apache.org/viewvc?rev=1090258&view=rev
Log:
Remove unnecessary .* from regex.
Modified:
httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en?rev=1090258&r1=1090257&r2=1090258&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en Fri Apr 8 14:16:46 2011
@@ -485,8 +485,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>]