I have UserControler and I run it in virtual server http://basic.com/index.php?r=user/index. How can I set up UserController and action index to be the default when I go to http://basic.com
UserControler
UserController
index
Did you try in your config:
'defaultRoute' => 'user/index'
Default Controller