title: Codeigniter cannot access controller without index.php
body: <p>My local xampp codeigniter projec's url was 
  <a href="http://localhost/ci_yudeesh/index.php" rel="nofollow noreferrer">http://localhost/ci_yudeesh/index.php</a>
  But then wanted to remove the <strong>index.php</strong> part from the url so I followed the steps given in the userguide.</p>
  
  <p>After that i could access the project without <strong>index.php</strong> with the url
  <a href="http://localhost/ci_yudeesh/" rel="nofollow noreferrer">http://localhost/ci_yudeesh/</a></p>
  
  <p>I have a controller named <strong>Home</strong> and I can access this using <a href="http://localhost/ci_yudeesh/index.php/home" rel="nofollow noreferrer">http://localhost/ci_yudeesh/index.php/home</a>
  , but when try to access this using <a href="http://localhost/ci_yudeesh/home" rel="nofollow noreferrer">http://localhost/ci_yudeesh/home</a> it gives this error:</p>
  
  <p><a href="https://i.stack.imgur.com/f9DPJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f9DPJ.png" alt="error image"></a></p>
  
  <p>this is my config:</p>
  
  <pre><code>$config['base_url'] = 'http://localhost/ci_yudeesh/';
  $config['index_page'] = '';
  $config['uri_protocol'] = 'REQUEST_URI';
  </code></pre>
  
  <p>this is my .htaccess:</p>
  
  <pre><code>&lt;IfModule authz_core_module&gt;
      Require all denied
  &lt;/IfModule&gt;
  &lt;IfModule !authz_core_module&gt;
      Deny from all
  &lt;/IfModule&gt;
  
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L]
  </code></pre>
  
  <p>this is my route:</p>
  
  <pre><code>$route['default_controller'] = 'Home';
  $route['404_override'] = '';
  $route['translate_uri_dashes'] = FALSE;
  </code></pre>
  
  <p>Can someone help me fixing this? I tried all the other answers to similar type questions but none worked. </p>