Yii2 Advanced installed on the linux hosting, how to start gii? The problem is that I tried to paste the config code in trace:
'modules' => [
'bootstrap' => ['gii','debug'],
'gii' => [
'class' => \yii\gii\Module::className(),
'allowedIPs' => ['IP']
],
'debug' => \yii\debug\Module::className(),
// ..........
],
But it turns out the 404 error. If I understand correctly, then it should be in the file main-local.php to register, Yes?
'allowedIPs' => ['IP'] In the beginning, it is better to remove, because maybe you have a dynamic ip and access is blocked because of him, as well check for the presence of UrlManager rules for gii, the situation is not excluded that You don't get to the gii module by entering the path to it in the browser