]> granicus.if.org Git - apache/commitdiff
Remove embarrassing stuck-in-the-past recipe.
authorRich Bowen <rbowen@apache.org>
Wed, 19 Feb 2014 15:03:09 +0000 (15:03 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 19 Feb 2014 15:03:09 +0000 (15:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1569778 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/remapping.xml

index 335ad31a3226c179afae36edefe11673fd62acda..52427529ab29a8d4717bed4421e52d0481958d70 100644 (file)
@@ -447,46 +447,6 @@ com       http://www.example.com/<br />
 
 </section>
 
-<section id="browser-dependent-content">
-
-  <title>Browser Dependent Content</title>
-
-  <dl>
-    <dt>Description:</dt>
-
-    <dd>
-      <p>We wish to provide different content based on the browser, or
-      user-agent, which is requesting the content.</p>
-    </dd>
-
-    <dt>Solution:</dt>
-
-    <dd>
-      <p>We have to decide, based on the HTTP header "User-Agent",
-      which content to serve. The following config
-      does the following: If the HTTP header "User-Agent"
-      contains "Mozilla/3", the page <code>foo.html</code>
-      is rewritten to <code>foo.NS.html</code> and the
-      rewriting stops. If the browser is "Lynx" or "Mozilla" of
-      version 1 or 2, the URL becomes <code>foo.20.html</code>.
-      All other browsers receive page <code>foo.32.html</code>.
-      This is done with the following ruleset:</p>
-
-<highlight language="config">
-RewriteCond %{HTTP_USER_AGENT}  ^<strong>Mozilla/3</strong>.*
-RewriteRule ^foo\.html$         foo.<strong>NS</strong>.html          [<strong>L</strong>]
-
-RewriteCond %{HTTP_USER_AGENT}  ^Lynx/ [OR]
-RewriteCond %{HTTP_USER_AGENT}  ^Mozilla/[12]
-RewriteRule ^foo\.html$         foo.<strong>20</strong>.html          [<strong>L</strong>]
-
-RewriteRule ^foo\.html$         foo.<strong>32</strong>.html          [<strong>L</strong>]
-</highlight>
-    </dd>
-  </dl>
-
-</section>
-
 <section id="canonicalurl">
 
 <title>Canonical URLs</title>