'yii\web\UrlManager', 'hostInfo' => $params['backendHostInfo'], 'baseUrl' => '', 'enablePrettyUrl' => true, 'showScriptName' => false, 'rules' => [ '' => 'site/index', '<_a:login|logout>' => 'auth/<_a>', '<_c:[\w\-]+>' => '<_c>/index', '<_c:[\w\-]+>/' => '<_c>/view', '<_c:[\w\-]+>/<_a:[\w-]+>' => '<_c>/<_a>', '<_c:[\w\-]+>//<_a:[\w\-]+>' => '<_c>/<_a>', ], ];