[deployment-guide/comm-rel: 527/727] Updated the MaxKeepAliveRequests directive description.
Jaromir Hradilek
jhradile at fedoraproject.org
Tue Oct 19 13:09:14 UTC 2010
commit 9b49a74e7880d54a90a90aa5b83ced6bf912440e
Author: Jaromir Hradilek <jhradile at redhat.com>
Date: Tue Aug 31 15:02:10 2010 +0200
Updated the MaxKeepAliveRequests directive description.
Seriously guys, is anyone able to type that repeatedly without making a
typing error? Oh, how glad I am my editor can complete words for me...
en-US/The_Apache_HTTP_Server.xml | 32 +++++++++++++++++---------------
1 files changed, 17 insertions(+), 15 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index 71122e5..37652f9 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -708,7 +708,7 @@ AddIcon /icons/blank.png ^^BLANKICON^^</screen>
<term><option>CacheMaxExpire</option></term>
<listitem>
<para>
- The <option>CacheMaxExpire</option> directive allows you to specify a maximum amount of time to cache a document. It takes the following form:
+ The <option>CacheMaxExpire</option> directive allows you to specify the maximum amount of time to cache a document. It takes the following form:
</para>
<screen>CacheMaxExpire <replaceable>time</replaceable></screen>
<para>
@@ -1422,6 +1422,22 @@ ErrorDocument 404 /404-not_found.html</screen>
</example>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>MaxKeepAliveRequests</option></term>
+ <listitem>
+ <para>
+ The <option>MaxKeepAliveRequests</option> directive allows you to specify the maximum number of requests for a persistent connection. It takes the following form:
+ </para>
+ <screen>MaxKeepAliveRequests <replaceable>number</replaceable></screen>
+ <para>
+ A high <replaceable>number</replaceable> can improve the performence of the server. Note that using <literal>0</literal> allows unlimited number of requests. The default option is <option>100</option>.
+ </para>
+ <example id="example-apache-httpdconf-maxkeepaliverequests">
+ <title>Using the <option>MaxKeepAliveRequests</option> option</title>
+ <screen>MaxKeepAliveRequests 100</screen>
+ </example>
+ </listitem>
+ </varlistentry>
</variablelist>
<formalpara id="s2-apache-indexoptions">
<title>IndexOptions</title>
@@ -1449,20 +1465,6 @@ ErrorDocument 404 /404-not_found.html</screen>
<para>
<command>IndexOptions</command> has a number of other parameters which can be set to control the appearance of server generated directories. The <command>IconHeight</command> and <command>IconWidth</command> parameters require the server to include HTML <command>HEIGHT</command> and <command>WIDTH</command> tags for the icons in server generated webpages. The <command>IconsAreLinks</command> parameter combines the graphical icon with the HTML link anchor, which contains the URL link target.
</para>
- <formalpara id="s2-apache-maxkeepaliverequests">
- <title>MaxKeepAliveRequests</title>
- <indexterm>
- <primary><command>MaxKeepAliveRequests</command></primary>
- <secondary>Apache configuration directive</secondary>
- </indexterm>
- <indexterm>
- <primary>configuration directives, Apache</primary>
- <secondary><command>MaxKeepAliveRequests</command></secondary>
- </indexterm>
- <para>
- This directive sets the maximum number of requests allowed per persistent connection. The Apache Project recommends a high setting, which improves the server's performance. <command>MaxKeepAliveRequests</command> is set to <command>100</command> by default, which should be appropriate for most situations.
- </para>
- </formalpara>
<formalpara id="s2-apache-namevirtualhost">
<title>NameVirtualHost</title>
<indexterm>
More information about the docs-commits
mailing list