diff options
author | Rich Bowen <rbowen@apache.org> | 2011-04-08 16:15:17 +0200 |
---|---|---|
committer | Rich Bowen <rbowen@apache.org> | 2011-04-08 16:15:17 +0200 |
commit | 5a71facd8269573a031776313471e29204cf850f (patch) | |
tree | 7fadc25738cce5708135f6d721a9f75477726099 /docs/manual/rewrite | |
parent | * server/util_expr_eval.c (req_table_func): Try r->err_headers_out for (diff) | |
download | apache2-5a71facd8269573a031776313471e29204cf850f.tar.xz apache2-5a71facd8269573a031776313471e29204cf850f.zip |
Remove unnecessary .* from regex, as noted in
http://stackoverflow.com/questions/5587148/regex-patterns-in-apache-rewritecond-and-friends-full-or-partial-match
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090255 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/rewrite')
-rw-r--r-- | docs/manual/rewrite/remapping.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/manual/rewrite/remapping.xml b/docs/manual/rewrite/remapping.xml index adbfdf64d1..2fe37f5b9d 100644 --- a/docs/manual/rewrite/remapping.xml +++ b/docs/manual/rewrite/remapping.xml @@ -488,8 +488,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>] |