title: I want to remove index.php from codeigniter url
body: <p>I want to remove index.php from codeigniter url 
  my current configurations I tried so far with zero results are</p>
  
  <p>folder structure:
  xampp\htdocs\Codeigniter\application\controllers\olx\olx.php
  xampp\htdocs\Codeigniter\application\views\olx\frmSignup</p>
  
  <p>my HTACCESS file on the location
  xampp\htdocs\Codeigniter.HTACCESS with the following contents nothing else in .HTACCESS file for me</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /olx
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [L] 
  </code></pre>
  
  <p>mod_rewrite is enabled checked using phpinfo();</p>
  
  <p>following changes made to config.php file</p>
  
  <pre><code>$config['base_url'] = 'http://mypc/olx';
  $config['index_page'] = '';
  </code></pre>
  
  <p>when try to access this url</p>
  
  <pre><code>http://mypc/codeigniter/olx/frmSignup i get 404 error
  </code></pre>
  
  <p>changes made to routes.php are</p>
  
  <pre><code>$route['default_controller'] = 'olx';
  $route['olx/frmSignup']  = 'olx/frmSignup';
  </code></pre>
  
  <p>please help I want to access my app without index.php. i am working on localhost with Windows7</p>