From f15eeb09b6e525531be633eab1eb5e1d20758900 Mon Sep 17 00:00:00 2001 From: larnu Date: Thu, 27 Nov 2014 20:40:14 +0100 Subject: [PATCH] Update runtime-routing.md Shouldn't showScriptName be false to hide entry script name? --- docs/guide/runtime-routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/runtime-routing.md b/docs/guide/runtime-routing.md index 0ca3898757..68319ac244 100644 --- a/docs/guide/runtime-routing.md +++ b/docs/guide/runtime-routing.md @@ -258,7 +258,7 @@ The rest of the properties are optional. However, their configuration shown abov particular application requirement. > Note: In order to hide the entry script name in the created URLs, besides setting - [[yii\web\UrlManager::showScriptName|showScriptName]] to be true, you may also need to configure your Web server + [[yii\web\UrlManager::showScriptName|showScriptName]] to be false, you may also need to configure your Web server so that it can correctly identify which PHP script should be executed when a requested URL does not explicitly specify one. If you are using Apache Web server, you may refer to the recommended configuration as described in the [Installation](start-installation.md#recommended-apache-configuration) section.