title: Code Igniter - URL Rewrite
body: <p>Hey, i'm trying to get a project to work, but i am having trouble with the rewrite module.<br>
  I'm running Wamp over Windows XP. I changed httpd.conf to change the root of localhost to:</p>
  
  <pre><code>DocumentRoot "C:/wamp/www/project/docroot/"
  </code></pre>
  
  <p>I have htaccess </p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  </code></pre>
  
  <p>my Apache has the rewrite module Activated.<br>
  my base_url() in config.php is '<a href="http://localhost/" rel="nofollow noreferrer">http://localhost/</a>'<br>
  in routes.php i have:  </p>
  
  <pre><code>$route['default_controller'] = "home";  
  $route['our-recipes'] = "recipes";  
  and more pairs
  </code></pre>
  
  <p>when i point the browser to <a href="http://localhost/" rel="nofollow noreferrer">http://localhost/</a> i get the homepage of my site, but when i click on any internal link like to 'our-recipes' it loads but i get the same homepage, with the new url on the location bar. if i try to access '<a href="http://localhost/recipes" rel="nofollow noreferrer">http://localhost/recipes</a>' i get the same result.</p>
  
  <p>this is my folder structure:<br>
  <img src="https://i.stack.imgur.com/erPcn.png" alt="folder_structure"></p>
  
  <p>Can anyone please solve this for me??</p>