title: Yii advanced url rewrite
body: <p>pay attention to that ANYTHING_ELSE
  So, I have my controllers and actions that I want to behave as normal in response to examples like this:</p>
  
  <pre><code>// for UserContoller with actionList and actionEdit
  user/list
  user/edit/25
  </code></pre>
  
  <p>But for everything that doesn't fall under specific controllers and actions i want them to fall under one default controller and action like: BlogController and actionView. That is where ANYTHING_ELSE comes.</p>
  
  <pre><code>// ANYTHING_ELSE can be:
  this-is-a-test-page
  this/is/another/page/with/lots/of/slashes
  this-has-extension.html
  
  
  'urlManager' =&gt; array(
    'urlFormat' =&gt; 'path',
    'showScriptName' =&gt; false,
    'rules' =&gt; array(
      '&lt;controller:\w+&gt;/&lt;id:\d+&gt;' =&gt; '&lt;controller&gt;/view',
      '&lt;controller:\w+&gt;/&lt;action:\w+&gt;/&lt;id:\d+&gt;' =&gt; '&lt;controller&gt;/&lt;action&gt;',
      '&lt;controller:\w+&gt;/&lt;action:\w+&gt;' =&gt; '&lt;controller&gt;/&lt;action&gt;',
      'ANYTHING_ELSE' =&gt; 'blog/view',
     ),
  ),
  </code></pre>