Manual talk:$wgSquidServers

Jump to navigation Jump to search

What is the delimiter on this array value? Could someone post usage with multiple values? Thanks. -- 15:32, 30 January 2007 (UTC)

It's an array, so it already can contain multiple values:

$wgUseSquid = true;
$wgSquidServersNoPurge = array('');
$wgSquidServers = array('', '');

I am using Squid as a reverse proxy to an Apache server running Mediawiki and is always shown as the IP. I have set Apache to see X-Forwarded-for and the $wgUseSquid and $wgSquidServers are being used. I cannot find anything online to help with this, any ideas? --Benyg 01:02, 22 February 2008 (UTC)

Have you tried enabling Manual:$wgUsePrivateIPs? -- 18:24, 9 July 2009 (UTC)