Hi guys,I have in a module in backend two controllers,called DefaultController and LPersonArtController.It’s used to be published in main.php like this:
'modules' => [
'app_einstellung' => [
'class' => 'backend\modules\app_einstellung\AppEinstellung',
],
],
AppEinstellung is coded like this:
<?php
namespace backend\modules\app_einstellung;
class AppEinstellung extends \yii\base\Module
{
public $controllerNamespace = 'backend\modules\app_einstellung\controllers';
public function init()
{
parent::init();
}
}
I have set for easier doing prettyUrl to false. In folder views are two subfolders
1.: default(with an index.php)
2.: lpersonart(with several CRUD-Files,but also an index.php)
If I gonna browse following Url:
http://localhost/yii2_perswitch/backend/web/index.php?r=app_einstellung/default/index
I will get output like this:
app_einstellung/default/index
This is the view content for action "index". The action belongs to the controller "backend\modules\app_einstellung\controllers\DefaultController" in the "app_einstellung" module.
You may customize this page by editing the following file:
E:\xampp\htdocs\yii2_perswitch\backend\modules\app_einstellung\views\default\index.php
But If I gonna browse following Url:
http://localhost/yii2_perswitch/backend/web/index.php?r=app_einstellung/lpersonart/index
I will get 404-error.
I use Windows,so it’s case-insensitive
Any ideas,how to fix this?