title: Removing index,.php from codigniter on xamp not working
body: <p>i have installed codigniter on xamp but I have searched on google and have tried many things but stil when I type in address it shows me object not found but when I add index.php it is working fine how do I remove index.php and make it work properly </p>
  
  <p>Here is my .htaccess</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /mywebsite
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php/$1 [PT,L]
  </code></pre>
  
  <p>This is my config.php</p>
  
  <pre><code>$config['base_url'] = '/mywebsite';
  $config['index_page'] = '';
  $config['uri_protocol'] = 'REQUEST_URI';
  </code></pre>
  
  <p>This is my routes .php</p>
  
  <pre><code>$route['default_controller'] = "home";
  $route['404_override'] = 'c404';
  $route['post/(:any)/(:any)'] = "blog/viewPost/$2";
  $route['category/(:any)/(:any)'] = "blog/viewPostcategory/$2/$1";
  $route['search'] = "blog/search";
  $route['symbol/(:any)'] = "companies/view/$1";
  </code></pre>