The default Access module
' Default_module ' = ' Home ',
The default controller is index
The default action is index
When you explicitly set the index.php in the Home portal file
$_get[' m ']= ' Home ';
$_get[' C ']= ' Index ';
This behavior appears to be superfluous (because this is the default configuration),
In PathInfo mode, the following links do not have problems
http://localhost/tp/index.php/home/user/login/username/aaa/password/bbb
But in URL normal mode
http://localhost/tp/index.php?m=home&c=user&a=login&username=aaa&password=bbb
Error, because C (Controller) is explicitly specified as index, there are two ways to do this:
Either you comment out $_get[' c ']= ' Index ';
Either you replace the C alias ' Var_controller ' + ' cc ' in the config file,
Problems can be solved
Problems with the default module,controller,action settings for TP