Urlmanager Permalink

Hi!

I’m new on Yii and I like it! Thank ouy so much!

I have a site that use Yii and I have a trouble with urlManager because I have the following urls:




{host}/antyhing-else-100.html

{host}/another-thing-101.html

{host}/okay-this-is-permalink-101.html



But I don’t know exactly what is the correct rule to point to a controller/action.


'rules'=>array(

 '/<\d\w\-+>-<id:\d+>' => array('detail/index','urlSuffix'=>'.html', caseSensitive=>false), // Not work, I made this regex

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

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

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

),

I try a lot options but the page I got HTTP 404 and I need to show that page.

Can you help me?

Thanks!