From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgCookieSecure and the translation is 50% complete.
Cookies: $wgCookieSecure
Whether cookies are secured.
Eingeführt in Version:1.6.0 (r12253)
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(boolean or special value 'detect')
Standardwert:(siehe unten)


Whether cookies should only be sent over HTTPS (Secure attribute of cookies, see section in RFC 6265). HTTPS-only sites should set this to true, to avoid cookie theft. If configured with the default value, 'detect', the runtime value is calculated by looking at the protocol that the request came in under. Sites using reverse proxies, load balancing or some other method which converts HTTPS requests into HTTP ones need to set the X-Forwarded-Proto header for detection to work correctly. (Siehe auch $wgVaryOnXFP .)


MediaWiki Version:
$wgCookieSecure = 'detect';
MediaWiki Versions:
1.6 – 1.17
$wgCookieSecure = ($wgProto == 'https');

Siehe auch