Problem with url rules.

I've 2 entry scripts, like in cookbook 33.

here is my htaccess file



Options +FollowSymLinks


IndexIgnore */*


RewriteEngine on





# if a directory or a file exists, use it directly


RewriteCond %{REQUEST_FILENAME} !-f


RewriteCond %{REQUEST_FILENAME} !-d


RewriteRule acp.* backend.php





RewriteCond %{REQUEST_FILENAME} !-f


RewriteCond %{REQUEST_FILENAME} !-d


RewriteRule . index.php


All urls with "acp" goes to backend.

here is my url rule in config

'/acp/news/<_c:(post|category)' => 'news/<_c>/index'

news is module, post controller with index action.

this doesn't work for me. if i write

'/acp/news/post' => 'news/post/index'

it works fine.

here is the hole urlmanager config



        'urlManager'=>array(


            'urlFormat'=>'path',


            'urlSuffix'=>'.html', 


            'showScriptName'=>false,


            'rules' => array(


			   '/acp' => 'dash/index',


			   


			   /* settings links */


			   '/acp/settings' => 'settings/index',


			   '/acp/settings/<_a>' => 'settings/<_a>',


			   


			   /* news&category links */


			   '/acp/news' => 'news/default/index',


			   '/acp/news/<_c:(post|category)' => 'news/<_c>/index',


			   '/acp/news/<_c:(post|category)>/create'=>'news/<_c>/create',


			   '/acp/news/<_c:(post|category)>/<id:d+>/<_a:(edit|delete)>'=>'news/<_c>/<_a>',


			   


			   /* */


            ),


        ),


and some small question - it is possible to make something like urlprefix, to add 'acp' to all urls automatically.

You missed a ">" at the end.

oops… sry :) thx  ;D