Manual:$wgSquidServersNoPurge

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎中文
Squid: $wgSquidServersNoPurge
Same as $wgSquidServersManual:$wgSquidServers, except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
Introduced in version: 1.4.0
Removed in version: still in use
Allowed values: IPv4 & IPv6 addresses and/or Classless Inter-Domain Routing (CIDR) blocks
Default value: array()
Prior to 1.23 CIDR notation was not supported

Other settings: Alphabetical | By Function

Details[edit | edit source]

This variable is about telling MediaWiki an array of CIDR blocks where any IP adress part of the range has to be considered as a Proxy server.

Same as $wgSquidServersManual:$wgSquidServers, except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges.

If you have individual IP adresses, refer to $wgSquidServers

All documentation in Manual:$wgSquidServers#Configuration example with Varnish is valid, but with difference described below.

// In LocalSettings.php
$wgUseSquid = true;
$wgSquidServersNoPurge = array();
$wgSquidServersNoPurge[] = "192.0.2.0/24";