diff options
author | Rich Bowen <rbowen@apache.org> | 2011-04-08 16:50:47 +0200 |
---|---|---|
committer | Rich Bowen <rbowen@apache.org> | 2011-04-08 16:50:47 +0200 |
commit | 53b7c7519658aa8fd502efe4b063cb75d334a929 (patch) | |
tree | 2b6a1c7cff6fa75d19fc0638605d1a6bb9c4b89d /docs/manual/mod | |
parent | Remove more unnecessary anchors from rewrite examples. (diff) | |
download | apache2-53b7c7519658aa8fd502efe4b063cb75d334a929.tar.xz apache2-53b7c7519658aa8fd502efe4b063cb75d334a929.zip |
hernan gonzalez <hgonzalez gmail.com> points out that the USER_AGENT
strings were probably more accurate with the leading ^ anchor.
Rebuilds a few other changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090284 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod')
-rw-r--r-- | docs/manual/mod/mod_rewrite.html.en | 4 | ||||
-rw-r--r-- | docs/manual/mod/mod_rewrite.xml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index 6dba431583..e3dbc67be5 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: </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] diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 9b3fa51d47..adf76883ca 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... <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] |