Improve docs.

This commit is contained in:
Michal Čihař
2006-11-18 19:40:38 +00:00
parent cceeae91e9
commit ec842735f4

View File

@@ -1408,13 +1408,15 @@ ALTER TABLE `pma_column_comments`
href="#servers_allowdeny_order">IP Allow/Deny</a>. This list is by href="#servers_allowdeny_order">IP Allow/Deny</a>. This list is by
default empty, you need to fill in some trusted proxy servers if you default empty, you need to fill in some trusted proxy servers if you
want to use rules for IP addresses behind proxy.<br /><br /> want to use rules for IP addresses behind proxy.<br /><br />
Following example enables use of X-Forwarded-For header for proxy
1.2.3.4 and Coming-From header from 5.6.7.8: The following example specifies that phpMyAdmin should trust a
<pre> HTTP_X_FORWARDED_FOR (<tt>X-Forwared-For</tt>) header coming from the proxy 1.2.3.4:
<pre>
$cfg['TrustedProxies'] = $cfg['TrustedProxies'] =
array('1.2.3.4' =&gt; 'HTTP_X_FORWARDED_FOR', array('1.2.3.4' =&gt; 'HTTP_X_FORWARDED_FOR');
'5.6.7.8' =&gt; 'HTTP_COMING_FROM'); </pre>
</pre> The $cfg['Servers'][$i]['AllowDeny']['rules'] directive uses the
client's IP address as usual.
</dd> </dd>
<dt id="cfg_GD2Available">$cfg['GD2Available'] string</dt> <dt id="cfg_GD2Available">$cfg['GD2Available'] string</dt>