Jump to content

Handbuch:$wgSquidPurgeUseHostHeader

From mediawiki.org
This page is a translated version of the page Manual:$wgSquidPurgeUseHostHeader and the translation is 22% complete.
Einstellungen für den HTTP-Proxy (CDN): $wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
Eingeführt in Version:1.21.0 (Gerrit change 27965; git #0771d643)
Veraltet in Version:1.33.0 (Gerrit change 468608; git #6c14dcfc)
Entfernt in Version:1.42.0 (Gerrit change 993153; git #c1043ec8)
Erlaubte Werte:(Wahrheitswert)
Standardwert:true

Set this to false to support Squid configured in forward-proxy mode.

If this is set to true, a Host header will be sent, and only the path component of the URL will appear on the request line, as if the request were a non-proxy HTTP 1.1 request. Varnish only supports this style of request. Squid supports this style of request only if reverse-proxy mode (http_port ... accel) is enabled.

If this is set to false, no Host header will be sent, and the absolute URL will be sent in the request line, as is the standard for an HTTP proxy request in both HTTP 1.0 and 1.1. This style of request is not supported by Varnish, but is supported by Squid in either configuration (forward or reverse).