Jump to content

Handbuch:$wgLocalVirtualHosts

From mediawiki.org
This page is a translated version of the page Manual:$wgLocalVirtualHosts and the translation is 56% complete.
HTTP-Client: $wgLocalVirtualHosts
Lokale virtuelle Hosts.
Eingeführt in Version:1.25.0 (Gerrit change 157712; git #3114dbea)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array)
Standardwert:[]

Details

This lists domains that are configured as virtual hosts on the same machine. It is expected that each domain can be identified by its hostname alone, without any ports.

Dies betrifft Folgendes:

  • MWHttpRequest - If a request is to be made to a domain listed here, or any subdomain thereof, then $wgLocalHTTPProxy will be used as a proxy (instead of $wgHTTPProxy ). Command-line scripts are not affected by this setting and will always use the proxy if it is configured.