title: codeigniter localhost setup 404 page not found error
body: <p>I have a localhost setup(i use apache's virtualhost setup) for a site I am working on with codeigniter. I use SVN for the site. </p>
  
  <p>I decided to change the localhost-domain name and the root-folder name(this is the folder from within which I check out SVN) to which the localhost-domain points.</p>
  
  <p>To show a better picture, I changed;<br /></p>
  
  <pre><code>sledge-vicky.localhost  to  hammer-vicky.localhost
  </code></pre>
  
  <p>Changed the document-root's name from "sledge" to "hammer". Have changed the document root,directory paths in the virtualhost setup too;</p>
  
  <pre><code>&lt;VirtualHost hammer-vicky.localhost&gt;
   DocumentRoot D:\xampp\htdocs\vicky\projects\hammer
   ServerName hammer-vicky.localhost
  
   &lt;Directory "D:\xampp\htdocs\vicky\projects\hammer"&gt;
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
   &lt;/Directory&gt; 
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Have set the domain-name in windows' hosts file. Have set/changed the base-url and database settings in config.php and database.php too(I use environment dir; <strong>_environment/vicky/config.php, _environment/vicky/database.php</strong> ). </p>
  
  <p>In the code where we switch to the required app-environment, I have set the code to switch to my app-environment too.</p>
  
  <p><strong>http://sledge-vicky.localhost/</strong> was working fine. 
  After the local-domain name and root-folder name change, accessing <strong>http://hammer-vicky.localhost/</strong>  throws a '404 page not found error'. </p>
  
  <p>Any idea what could be wrong?. </p>