Thread:Project:Support desk/Using a range of IP addresses within $wgSquidServers

Hi,

I looked around and could not find an answer on the web for this, and so other tests failed. For $wgUsePrivateIPs (http://www.mediawiki.org/wiki/Manual:$wgUsePrivateIPs) to work, it has to be accompanied with $wgSquidServers (http://www.mediawiki.org/wiki/Manual:$wgSquidServers).

My issue is that $wgSquidServers syntax allows to mention only one IP address at a time for an array of addresses, but I placed my wiki behind a proxy service that has many possible reverse proxy servers, which are distributed between non-continuous ranges. I couldn't find a ways to declare an IP range in this command, as listing each and every possible IP address of these proxy servers is not a reasonable possibility.

I tried the following (alongside "$wgUsePrivateIPs = true;"): 1. $wgSquidServers = array('198.143.32.0-198.143.63.255'); 2. $wgSquidServers = array('198.143.32.0'-'198.143.63.255'); 3. $wgSquidServers = array('198.143.32.0/19'); but, non helped and the proxy server address was displayed.

Does anyone know how to solve this?