summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2011-04-08 16:28:05 +0200
committerRich Bowen <rbowen@apache.org>2011-04-08 16:28:05 +0200
commite372fb87ac07cac719a19f191360d6633070afbf (patch)
tree2e9c826aa0d5a353971896d93d14dc0a5f5b8bce /docs/manual/mod
parentRemove unnecessary .* from regex. (diff)
downloadapache2-e372fb87ac07cac719a19f191360d6633070afbf.tar.xz
apache2-e372fb87ac07cac719a19f191360d6633070afbf.zip
Remove more unnecessary anchors from rewrite examples.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090265 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod')
-rw-r--r--docs/manual/mod/mod_rewrite.html.en4
-rw-r--r--docs/manual/mod/mod_rewrite.xml4
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 e3dbc67be5..6dba431583 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 adf76883ca..9b3fa51d47 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]