This commit is contained in:
Marc Delisle
2006-11-19 00:18:15 +00:00
parent f5a8bd567b
commit 5b7575d8c8

View File

@@ -1458,7 +1458,7 @@ ALTER TABLE `pma_column_comments`
want to use rules for IP addresses behind proxy.<br /><br /> want to use rules for IP addresses behind proxy.<br /><br />
The following example specifies that phpMyAdmin should trust a The following example specifies that phpMyAdmin should trust a
HTTP_X_FORWARDED_FOR (<tt>X-Forwared-For</tt>) header coming from the proxy 1.2.3.4: HTTP_X_FORWARDED_FOR (<tt>X-Forwarded-For</tt>) header coming from the proxy 1.2.3.4:
<pre> <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');