title: Pass variable to default codeigniter controller
body: <p>I have my codeigniter setup with a default controller.  It's accessible as follows:</p>
  
  <pre><code>site.com/index.php 
  </code></pre>
  
  <p>But it's actually:</p>
  
  <pre><code>site.com/project/index
  </code></pre>
  
  <p>Where index is the default function.</p>
  
  <p>I would like to do the following:</p>
  
  <pre><code>site.com/project7362
  </code></pre>
  
  <p>But it actually wants:</p>
  
  <pre><code>site.com/project/index/project7362
  </code></pre>
  
  <p>Where project name is a variable that is pass into the index function.  But by default it looks for project-name as a controller.  Is there a way to avoid this?</p>
  
  <p>Essentially what I'm hoping to accomplish is to pass a variable directly after the domain name.  A user may create a project, and I want that project to be accessible at domain.com/project_id</p>