[deployment-guide/comm-rel: 537/727] Updated the ProxyRequests directive description.
Jaromir Hradilek
jhradile at fedoraproject.org
Tue Oct 19 13:10:05 UTC 2010
commit 9ebc76868ee5f86e3f6557d975feeb5c4c20b121
Author: Jaromir Hradilek <jhradile at redhat.com>
Date: Tue Aug 31 17:22:10 2010 +0200
Updated the ProxyRequests directive description.
en-US/The_Apache_HTTP_Server.xml | 68 ++++++++++++++++++++++++++++---------
1 files changed, 51 insertions(+), 17 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index 728a3bf..704afff 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -1637,6 +1637,57 @@ ErrorDocument 404 /404-not_found.html</screen>
</example>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>ProxyRequests</option></term>
+ <listitem>
+ <para>
+ The <option>ProxyRequests</option> directive allows you to enable forward proxy requests. It takes the following form:
+ </para>
+ <screen>ProxyRequests <replaceable>option</replaceable></screen>
+ <para>
+ The <replaceable>option</replaceable> has to be a valid keyword as described in <xref linkend="table-apache-httpdconf-proxyrequests" />. The default option is <option>Off</option>.
+ </para>
+ <table id="table-apache-httpdconf-proxyrequests">
+ <title>Available <option>ProxyRequests</option> options</title>
+ <tgroup cols="2">
+ <colspec colname="option" colnum="1" colwidth="20*" />
+ <colspec colname="description" colnum="2" colwidth="60*" />
+ <thead>
+ <row>
+ <entry>
+ Option
+ </entry>
+ <entry>
+ Description
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ <option>On</option>
+ </entry>
+ <entry>
+ Enables forward proxy requests.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <option>Off</option>
+ </entry>
+ <entry>
+ Disables forward proxy requests.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <example id="example-apache-httpdconf-proxyrequests">
+ <title>Using the <option>ProxyRequests</option> directive</title>
+ <screen>ProxyRequests On</screen>
+ </example>
+ </listitem>
+ </varlistentry>
</variablelist>
<formalpara id="s2-apache-indexoptions">
<title>IndexOptions</title>
@@ -1664,23 +1715,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-proxyrequests">
- <title>ProxyRequests</title>
- <indexterm>
- <primary><command>ProxyRequests</command></primary>
- <secondary>Apache configuration directive</secondary>
- </indexterm>
- <indexterm>
- <primary>configuration directives, Apache</primary>
- <secondary><command>ProxyRequests</command></secondary>
- </indexterm>
- <indexterm>
- <primary>proxy server</primary>
- </indexterm>
- <para>
- To configure the Apache HTTP Server to function as a proxy server, remove the hash mark (<command>#</command>) from the beginning of the <command><IfModule mod_proxy.c></command> line, the ProxyRequests, and each line in the <command><Proxy></command> stanza. Set the <command>ProxyRequests</command> directive to <command>On</command>, and set which domains are allowed access to the server in the <command>Allow from</command> directive of the <command><Proxy></command> stanza.
- </para>
- </formalpara>
<formalpara id="s2-apache-readmename">
<title>ReadmeName</title>
<indexterm>
More information about the docs-commits
mailing list