ulrmanager with "-" ??

I have a trouble with urlmanager.I have a trouble with urlmanager. My config is below:




'urlManager' => array(

            'urlFormat' => 'path',

            'showScriptName' => false,

            'rules' => array(

                'useStrictParsing'=>true,

                '<controller:\w+>/<id:\d+>' => '<controller>/view',

                '<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',

                '<controller:\w+>/<action:\w+>' => '<controller>/<action>',

                '/'=>'site',

                '/new-post"=>'newpost',

                '/new-post/list-post/<cat:\w+>' =>'new/listpost/',

            ),

        ),



with link : http://blog.com/new-post/list-post/Yii-framework -> not work and display erro 404

And with link : http://blog.com/bai-viet/danh-sach/Database -> successfull

I try with link : http://blog.com/baiviet/danhsach/cat/Yii-framework --> ok

So How does it handle well, it’s hard

'/new-post"=>‘newpost’, ??

try put

in first place, see what happens

oh thank . But it not work. When my url consit “-” is when My url consist "-"so does not work, and my view doesn’t send value to controller.

Oh thank, i have done.