hide controller in url

Is it possible to hide controller in the url so that an url like http://mysite.com/site/about would look like http://mysite.com/about ?

theese should be helpful:

http://www.yiiframework.com/forum/index.php?/topic/5927-default-controller-for-root/

http://www.yiiframework.com/forum/index.php?/topic/5372-change-default-controller-action/

Below is configuration of urlManager that worked for me, but in format: http://mysite.com/about.html. If we strip ‘.html’ from the end, I think you will need some additional logic, that will check if static page from url exist or not, and if it don’t exist, check if controller with that name exist.


'urlManager' => array (

            'urlFormat' => 'path',

            'caseSensitive' => 'false',

            'showScriptName'=>false,

            'rules' => array (

                '<page:\w+>.html' => '/site/page/view/<page>',

            ),

        ),