Improve docs.
This commit is contained in:
@@ -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' => 'HTTP_X_FORWARDED_FOR',
|
array('1.2.3.4' => 'HTTP_X_FORWARDED_FOR');
|
||||||
'5.6.7.8' => '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>
|
||||||
|
Reference in New Issue
Block a user