Manual:$wgHTTPProxy

From Linux Web Expert

Revision as of 07:32, 19 September 2023 by imported>Tgr (WMF) (→‎== See also ==)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> HTTP client</translate>: $wgHTTPProxy
Proxy to use for cURL requests
<translate> Introduced in version:</translate>1.5.0 (r9860)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(string containing IP:Port)
<translate> Default value:</translate>'' (1.34+)
false (1.5-1.33)

Details

Proxy to use for cURL (or PHP fopen_url if cURL not available) requests, for example in side-uploads (uploads from an external URL). Format is: IP address of the proxy, a colon, and the port number.

Since August 2016, MediaWiki will not fallback to using the http_proxy environment variable, due to the vulnerability called httpoxy.

See also