From e372fb87ac07cac719a19f191360d6633070afbf Mon Sep 17 00:00:00 2001
From: Rich Bowen
-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... -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] -- 2.40.0