Manual:$wgUsePathInfo/de

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgUsePathInfo and the translation is 54% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎magyar • ‎polski • ‎português do Brasil • ‎فارسی • ‎中文 • ‎日本語
URLs and file paths: $wgUsePathInfo
Ob "schöne" URLs verwendet werden sollen.
Eingeführt in Version:1.2.1
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(Wahrheitswert)
Standardwert:(dynamisch erzeugt)

Details

Whether to use 'pretty' URLs (or Short URL), e.g. index.php/Page_title

Diese schlägt häufig fehl, wenn PHP auf CGI-Modus eingestellt ist. PATH_INFO may be correct if cgi.fix_pathinfo is set, but then again it may not; lighttpd converts incoming path data to lowercase on systems with case-insensitive filesystems, and there have been reports of problems on Apache as well. To be safe we'll continue to keep it off by default in these instances.

Override this to false if $_SERVER['PATH_INFO'] contains unexpectedly incorrect garbage, or to true if it is really correct.

Warnung Warnung: The default $wgArticlePath will be set based on this value at runtime, but if you have customized it, having this incorrectly set to true can cause redirect loops when "pretty URLs" are used.

Standardwert

$wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
	( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
	( strpos( PHP_SAPI, 'isapi' ) === false );


Siehe auch