I have created rbac module with Gii inside my basic template.
When I visit
http://localhost/yii2-basic/web/rbac
it works.
But then I wanted to use urlManager rule that I saw in Yii2 cookbook that will make site controller disappear from the url.
So my new urlManager configuration looks like this
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'rules' => [
'<alias:\w+>' => 'site/<alias>',
],
],
But now, http://localhost/yii2-basic/web/rbac ends in 404.
What can I do ?