title: The requested URL was not found on this server' in XAMPP; Used Answers in Other Threads
body: <p>I am using the latest version of CodeIgniter and XAMPP.  <strong>I have searched stackoverflow and followed te suggestion from other threads with the same problem, to no avail.</strong></p>
  
  <p>I have several CI projects running oin my localhost b(each with their own CI install).  I recently started a new project and went through the following steps to remove index.php from appearing in the URL:</p>
  
  <ol>
  <li><p>Changed <code>$config['index_page'] = "index.php"</code> to
  <code>$config['index_page'] = ''</code> in config.php</p></li>
  <li><p>Changed  <code>$config['uri_protocol'] = "AUTO"</code> to
  <code>$config['uri_protocol'] = "REQUEST_URI"</code> in config.php.</p></li>
  <li><p>Updated the .htaccess file to the following:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L]
  &lt;/IfModule&gt;
  </code></pre></li>
  <li><p>Restarted apache</p></li>
  </ol>
  
  <p>Yet I am still getting this error.</p>
  
  <p>I have confirmed that mod_rewrite is installed in my XAMPP config.  Plus, I am using rewrite rules for the other projects on my locolhost and they are working fine.  I also made sure that update the base_url in the config:  <code>$config['base_url'] = 'http://'.$_SERVER['HTTP_HOST'].'/folder_name';</code></p>
  
  <p>I have tried variations on the .htaccess file that I have found in other answers, yet an still at a loss.  I've done this before; what's different!?</p>
  
  <p>EDIT: I am only getting this error when trying to explicitly go to a controller/method.  I have the default controller set to my login controller, so going to <a href="http://localhost/folder_name" rel="nofollow noreferrer">http://localhost/folder_name</a> correctly hits the Login/login() controller/method.  However, if I change the url to go to <a href="http://localhost/folder_name/login/login" rel="nofollow noreferrer">http://localhost/folder_name/login/login</a>, I get the 404 error.  However, <a href="http://localhost/folder_name/index.php/login/login/" rel="nofollow noreferrer">http://localhost/folder_name/index.php/login/login/</a> eorks just fine still.</p>