В конфиг добавил код
Код: Выделить всё
'components' => [
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
],
...
]
Код: Выделить всё
http://localhost/gii
Код: Выделить всё
The requested URL /gii was not found on this server.
Код: Выделить всё
showScriptName => true
Код: Выделить всё
http://localhost/index.php/gii