summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_remoteip.html.en
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2012-04-27 21:06:57 +0200
committerAndré Malo <nd@apache.org>2012-04-27 21:06:57 +0200
commit03cc6f7d4e45e03e9aac99ecf742fbba8a7814dd (patch)
tree8ec120f1a2e07562c6bc374a0937152b3cae335c /docs/manual/mod/mod_remoteip.html.en
parent- style (diff)
downloadapache2-03cc6f7d4e45e03e9aac99ecf742fbba8a7814dd.tar.xz
apache2-03cc6f7d4e45e03e9aac99ecf742fbba8a7814dd.zip
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331546 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_remoteip.html.en')
-rw-r--r--docs/manual/mod/mod_remoteip.html.en36
1 files changed, 12 insertions, 24 deletions
diff --git a/docs/manual/mod/mod_remoteip.html.en b/docs/manual/mod/mod_remoteip.html.en
index c2e0a5af7d..f55d2bc43b 100644
--- a/docs/manual/mod/mod_remoteip.html.en
+++ b/docs/manual/mod/mod_remoteip.html.en
@@ -136,19 +136,15 @@ via the request headers.
other directives are used, <code class="module"><a href="../mod/mod_remoteip.html">mod_remoteip</a></code> will trust all
hosts presenting a <code class="directive">RemoteIPHeader</code> IP value.</p>
- <div class="example"><h3>Internal (Load Balancer) Example</h3><p><code>
- <pre class="prettyprint lang-config">
+ <div class="example"><h3>Internal (Load Balancer) Example</h3><pre class="prettyprint lang-config">
RemoteIPHeader X-Client-IP
</pre>
+</div>
- </code></p></div>
-
- <div class="example"><h3>Proxy Example</h3><p><code>
- <pre class="prettyprint lang-config">
+ <div class="example"><h3>Proxy Example</h3><pre class="prettyprint lang-config">
RemoteIPHeader X-Forwarded-For
</pre>
-
- </code></p></div>
+</div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
@@ -167,14 +163,12 @@ via the request headers.
presented in this header, including private intranet addresses, are
trusted when passed from these proxies.</p>
- <div class="example"><h3>Internal (Load Balancer) Example</h3><p><code>
- <pre class="prettyprint lang-config">
+ <div class="example"><h3>Internal (Load Balancer) Example</h3><pre class="prettyprint lang-config">
RemoteIPHeader X-Client-IP
RemoteIPTrustedProxy 10.0.2.0/24
RemoteIPTrustedProxy gateway.localdomain
</pre>
-
- </code></p></div>
+</div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
@@ -223,13 +217,11 @@ gateway.localdomain #The front end balancer
this header, while any intermediate
<code class="directive">RemoteIPInternalProxy</code> addresses are discarded.</p>
- <div class="example"><h3>Example</h3><p><code>
- <pre class="prettyprint lang-config">
+ <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">
RemoteIPHeader X-Forwarded-For
RemoteIPProxiesHeader X-Forwarded-By
</pre>
-
- </code></p></div>
+</div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
@@ -250,14 +242,12 @@ RemoteIPProxiesHeader X-Forwarded-By
2000::/3 block) are not trusted as the useragent IP, and are left in the
<code class="directive">RemoteIPHeader</code> header's value.</p>
- <div class="example"><h3>Trusted (Load Balancer) Example</h3><p><code>
- <pre class="prettyprint lang-config">
+ <div class="example"><h3>Trusted (Load Balancer) Example</h3><pre class="prettyprint lang-config">
RemoteIPHeader X-Forwarded-For
RemoteIPTrustedProxy 10.0.2.16/28
RemoteIPTrustedProxy proxy.example.com
</pre>
-
- </code></p></div>
+</div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
@@ -277,13 +267,11 @@ RemoteIPTrustedProxy proxy.example.com
each whitespace or newline separated entry is processed identically to
the <code class="directive">RemoteIPTrustedProxy</code> directive.</p>
- <div class="example"><h3>Trusted (Load Balancer) Example</h3><p><code>
- <pre class="prettyprint lang-config">
+ <div class="example"><h3>Trusted (Load Balancer) Example</h3><pre class="prettyprint lang-config">
RemoteIPHeader X-Forwarded-For
RemoteIPTrustedProxyList conf/trusted-proxies.lst
</pre>
-
- </code></p></div>
+</div>
<div class="example"><h3>conf/trusted-proxies.lst contents</h3><p><code>
# Identified external proxies;<br />