title: Codeigniter -> getting 404 error. Simple routes not working
body: <p>I am an asp.net guy and this is the first time I've dealt with PHP.</p>
  
  <p>Anyhow, I've struggled to migrate an existing site to a new server.</p>
  
  <p>This site is using codeigniter.</p>
  
  <p>When I call <a href="http://mydomain/admin" rel="nofollow">http://mydomain/admin</a>
  I get a 404 error!</p>
  
  <p>But if I call:</p>
  
  <p><a href="http://mydomain/index.php/admin" rel="nofollow">http://mydomain/index.php/admin</a></p>
  
  <p>it works!</p>
  
  <p>I have placed an .htaccess file on the root:</p>
  
  <pre><code>RewriteEngine on
  RewriteCond $1 !^(index\.php|images|stylesheets|scripts|robots\.txt)
  RewriteRule ^(.*)$ /index.php/$1 [L]
  </code></pre>
  
  <p>I have set in the config.php:</p>
  
  <pre><code>$config['index_page'] = '';
  </code></pre>
  
  <p>My routes.php:</p>
  
  <pre><code>$route['default_controller'] = 'welcome';
  $route['scaffolding_trigger'] = '';
  </code></pre>
  
  <p>I have no idea why it does not work. It must be something very simple I guess...</p>
  
  <p>Thank you!</p>