[deployment-guide/comm-rel: 487/727] Updated the BrowserMatch directive description.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:05:49 UTC 2010


commit 213835e7ee7d4c55210917df44a6b788ff1e3a41
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Wed Aug 25 15:07:39 2010 +0200

    Updated the BrowserMatch directive description.

 en-US/The_Apache_HTTP_Server.xml |   30 ++++++++++++++++--------------
 1 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index f8b3022..9bdfe8f 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -566,21 +566,23 @@ AddIcon /icons/blank.png ^^BLANKICON^^</screen>
             </example>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>BrowserMatch</option></term>
+          <listitem>
+            <para>
+              The <option>BrowserMatch</option> directive allows you to modify the server behavior based on the client's web browser type. It takes the following form:
+            </para>
+            <screen>BrowserMatch <replaceable>pattern</replaceable> <replaceable>environment-variable</replaceable>...</screen>
+            <para>
+              The <replaceable>environment-variable</replaceable> is an environment variable to be set when the User-Agent HTTP header field matches the <replaceable>pattern</replaceable>. By default, the web server uses this directive to deny connections to specific browsers with known issues, and to disable keepalives and HTTP header flushes for browsers that are known to have problems with these actions.
+            </para>
+            <example id="example-apache-httpdconf-browsermatch">
+              <title>Using the <option>BrowserMatch</option> directive</title>
+              <screen>BrowserMatch "Mozilla/2" nokeepalive</screen>
+            </example>
+          </listitem>
+        </varlistentry>
       </variablelist>
-      <formalpara id="s2-apache-browsermatch">
-        <title>BrowserMatch</title>
-        <indexterm>
-          <primary><command>BrowserMatch</command></primary>
-          <secondary>Apache configuration directive</secondary>
-        </indexterm>
-        <indexterm>
-          <primary>configuration directives, Apache</primary>
-          <secondary><command>BrowserMatch</command></secondary>
-        </indexterm>
-        <para>
-          The <command>BrowserMatch</command> directive allows the server to define environment variables and take appropriate actions based on the User-Agent HTTP header field — which identifies the client's Web browser type. By default, the Web server uses <command>BrowserMatch</command> to deny connections to specific browsers with known problems and also to disable keepalives and HTTP header flushes for browsers that are known to have problems with those actions.
-        </para>
-      </formalpara>
       <formalpara id="s2-apache-cachedirectives">
         <title>Cache Directives</title>
         <indexterm>


More information about the docs-commits mailing list