title: Kohana 3.3 catch-all route
body: <p>How can I define a route that will catch all requests and forward them to one specific controller? I've already tried adding the default route</p>
  
  <pre><code>Route::set('default', '(&lt;controller&gt;(/&lt;action&gt;(/&lt;id&gt;)))')
      -&gt;defaults(array(
           'directory' =&gt; 'site',
           'controller' =&gt; 'foobar',
           'action' =&gt; 'foobar',
  ));
  </code></pre>
  
  <p>or</p>
  
  <pre><code>Route::set('default', '(.*)')
      -&gt; defaults(array(
          'directory' =&gt; 'site',
          'controller' =&gt; 'foobar',
          'action' =&gt; 'foobar',
  ));
  </code></pre>
  
  <p>to my <strong>bootstrap.php</strong>, but it doesn't work. After typing localhost/a I get either</p>
  
  <pre><code>Unable to find a route to match the URI: a
  </code></pre>
  
  <p>or </p>
  
  <pre><code>The requested URL a was not found on this server.
  </code></pre>
  
  <p>error. I'm sure that the controller is valid, as </p>
  
  <pre><code>Route::set('foobar', 'foo') 
      -&gt; defaults(array(
          'directory' =&gt; 'site',
          'controller' =&gt; 'foobar',
          'action' =&gt; 'foobar',
  ));
  </code></pre>
  
  <p>works fine.</p>
  
  <p>I'm using Kohana 3.3.</p>